Skip to content

Swampland Conjectures

Kay Lehnert edited this page Feb 13, 2026 · 26 revisions

To assess the swampland conjectures, we computed a few additional quantities and made those available through the Python wrapper classy. The swampland conjectures are explained in the thesis and in more detail in the Hitchhiker's Guide to the Swampland. Here, we focus on the technical implementation.

We added various new variables:

  • $\phi_i$

Which we implemented in background.c

pba->phi_ini_scf_computed = pvecback_integration[pba->index_bi_phi_scf];
    pba->phi_prime_scf_computed = pvecback_integration[pba->index_bi_phi_prime_scf];
    if (pba->background_verbose > 2)
    {
      printf("[background] attractor_regime_scf=%d, phi_ini_scf_computed=%e, phi_prime_scf_computed=%e\n",
             pba->attractor_regime_scf,
             pba->phi_ini_scf_computed,
             pba->phi_prime_scf_computed);
    }
  }
  else
  {
    pba->phi_ini_scf_computed = 0.0;
    pba->phi_prime_scf_computed = 0.0;
    pba->attractor_regime_scf = 0;
    if (pba->background_verbose > 0)
    {
      printf("No scalar field present. No initial field values set.\n");
    }

background.h

double phi_ini_scf_computed;                    /**< computed initial \f$ \phi \f$ actually used after attractor/NaN checks */
double phi_prime_scf_computed;                  /**< computed initial \f$ d\phi/d\tau \f$ actually used after attractor/NaN checks */

cclassy.pxd

        double phi_ini_scf_computed
        double phi_prime_scf_computed

`classy.pyx`
```C
            elif name == 'phi_ini_scf_ic':
                value = self.ba.phi_ini_scf_computed
            elif name == 'phi_prime_scf_ic':
                value = self.ba.phi_prime_scf_computed

Clone this wiki locally