Arithmetic and algebra

This SageMath notebook does arithmetic and algebra for the paper A theory of the dark matter.

The section numbering follows the paper. Equation numbers refer to equations in the paper.

Preamble

Code for displaying equations.

The numerical values of fundamental constants and basic physical quantities are stored in the dictionary value[].

Physical units such as 's' and 'GeV' are defined as algebraic variables.

The dictionary formula[] will contain the formulas for derived physical quantities. For example, formula[kappa] = 8*pi*G.

The function valof(x) substitutes in a formula x to obtain a numerical value.

The function print_values(x1,x2,...) prints formulas xn with their numerical values.

1.3 Physical parameters

Units and fundamental constants as variables

declare units as variables

declare fundamental constants and physical parameters as variables

Values of the fundamental constants from NIST 2018

The constant $\kappa = 8 \pi G$.

convert to c=1 units with unit of energy = GeV

Standard Model coupling constants from PDG (2020, 2021)

measured quantities

derived quantities

Cosmological parameters

units of distance

The value of 1 parsec in meters is taken from IAU 2015 Resolution B2, note 4 which references the definition as exactly 64000/$\pi$ au and the definition of au from IAU 2012 Resolution B2.

From Particle Data Group 2020 Particle Physics Booklet

time and energy scales

2.2 Initial CGF energy

elliptic parameter $k^{2}_{\mathrm{EW}}=\frac12$ and elliptic integral of first kind $K_{\mathrm{EW}}=K(k_{\mathrm{EW}})=K'(k_{\mathrm{EW}})$

2.4 Start of the electroweak transition at $a=a_{\mathrm{EW}}$

2.6 Realizing the electroweak transition

4.5 Parametrize the time evolution by $k^2$

5.1 $\Omega_{\mathrm{CGF}} + \Omega_{\Lambda}=1$

5.2 $w_{\mathrm{CGF}} =0$

5.3 The CGF in the present

5.4 CGF equation of state

5.5 Adiabatic condition for $a\ge a_{\mathrm{EW}}$

6.4 Temperature after $a_{\mathrm{EW}}$

6.7 Semiclassical approximation