CosmoFit.FTPowerLaw¶
- class CosmoFit.FTPowerLaw(params)[source]¶
Bases:
Cosmologyf(T) gravity, Bengochea-Ferraro power-law model.
f(T) modified gravity is the torsion counterpart of
FQExponential. Where f(Q) builds gravity from non-metricity with a flat, torsion-free connection, f(T) builds it from torsion with a flat, metric-compatible one; both reduce to general relativity when f is the identity, and both differ from it otherwise. This is a genuine modification of the field equations, not a dark-energy fluid added on top of GR.The model implemented here is the power law of Bengochea & Ferraro (2009), the standard benchmark of the f(T) literature:
f(T) = T + alpha * T^n, T = 6 H^2
Conventions, and why they do not matter here. Half the f(T) literature writes the flat-FLRW torsion scalar as
T = +6H^2and half asT = -6H^2(with the power law then writtenf = T + alpha (-T)^n, so that the power is taken of a positive number).cosmofit.theoryuses the negative convention; this class was derived in the positive one. Both were worked through, and they give the same E(z) and the same mu(a) – the sign difference is absorbed by theE(0) = 1closure, and the two are checked against each other rather than assumed equal. Either way general relativity sits atf(T) = T.The Friedmann equation. Varying the lapse in the minisuperspace tetrad action gives
kappa*rho = (2 T f_T - f)/2, the sign fixed by demanding thatf(T) = Treturn3H^2 = kappa*rho. For the power law, writingA = alpha (6 H0^2)^(n-1)for the dimensionless amplitude, this collapses toE^2 + (2n - 1) * A * E^(2n) = Omega_m * (1+z)^3
which is transcendental in
E^2for generalnand is solved by vectorized Newton iteration, exactly asFQExponentialdoes.dEdzcomes from implicit differentiation of the same relation, closed-form givenE(z).``A`` is not a free parameter. Requiring
E(0) = 1closes the model:A = (Omega_m - 1) / (2n - 1)
so
nis the only quantity beyond flat LCDM’sH0andOmega_m– the same “one extra number” structure as this library’s f(Q). Substituting the closure back collapses the Friedmann relation to a form with no free amplitude in it at all,E^2 + (Omega_m - 1) * E^(2n) = Omega_m * (1+z)^3
which is what
EanddEdzactually solve. Writing it this way matters numerically as well as tidily:Aitself diverges atn = 1/2, but the combination(2n-1) Athat the background depends on is justOmega_m - 1, finite everywhere. The background therefore has no pole atn = 1/2; onlymudoes, and onlymuguards against it.Two limits follow immediately and are both covered by the test suite:
n = 0givesE^2 = Omega_m (1+z)^3 + (1 - Omega_m), i.e. flat LCDM exactly, sincef = T + alphais TEGR plus a cosmological constant.n = 1givesE^2 = (1+z)^3, Einstein-de Sitter, sincef = (1 + alpha) Tis a rescaled TEGR with no constant term and the rescaling cancels out of the Friedmann equation.
n = 1/2is a genuine singularity of the growth sector rather than a numerical one. Holding the background fixed there forcesalphato diverge, which sendsf_Tto infinity andmuto zero: gravity switches off.E(z)is perfectly well defined at that point and is returned;muraises instead of handing back a number that came from cancelling infinities. The default bounds stay on the branchn < 1/2, which contains the LCDM limit.On the branch
n > 1/2the Friedmann relation can have no real solution past some redshift, because its left-hand side turns over: atn = 2andOmega_m = 0.315there is noEabovez = 0.05.E(z)returns NaN there rather than the value an unconverged Newton iteration happens to land on. This is not a corner worth reaching for – the default bounds keep well away from it – but it is worth stating, because the unguarded version returned finite, plausible, non-monotonic numbers instead.Omega_de(z)is reported, as for f(Q), as an effective/geometric dark-energy densityE(z)^2 - Omega_m (1+z)^3. There is no second fluid; the acceleration is entirely from the modified gravitational sector. Flat only –Omega_kis ignored, sinceT = 6H^2is itself a flat-FLRW identity. Radiation is dropped, as in every other model here.Growth of structure.
mu(a, k)is the sub-horizon, quasi-static effective gravitational couplingG_eff/G_N = 1/f_T, which for this model ismu = 1 / (1 + n * A * E^(2n-2))
scale-independent, so
kis accepted for interface consistency withCosmology.mu()and ignored – the same situation as f(Q), and unlike f(R), whose chameleon screening makes itsmugenuinely k-dependent.n = 0givesmu = 1identically, so the LCDM limit above is a limit of the growth history too, not only of the background.Provenance. The Friedmann equation, the closure condition,
dEdzandmuabove were derived symbolically in the wljs-gr-toolkit GR-06 notebook rather than transcribed, and every step was checked against a limit where the answer is already known: that varying the lapse returnsa^3 (2 T f_T - f), thatf(T) = Tgives3H^2, thatn = 0reproduces flat LCDM exactly, thatn = 1gives Einstein-de Sitter, thatmu = 1at bothn = 0andA = 0, and that thedEdzexpression agrees with implicit differentiation of the Friedmann relation. The tests intests/test_ft.pyre-check the LCDM and TEGR limits on the Python side.One caveat worth carrying. The same toolkit’s GR-08 notebook finds that f(T)’s extra Lorentz modes have kinetic terms that vanish identically around flat FLRW: they do not propagate at linear order there, which is strong coupling, and means linear perturbation theory is not a reliable guide to them. The
muabove is a statement about the metric sector, which is well behaved; it is not a claim that the full theory is healthy around this background. Gravitational waves in f(T) are exactly luminal,c_GW^2 = 1, so GW170817 does not constrain it.References
Bengochea & Ferraro (2009), “Dark torsion as the cosmic speed-up”, Phys. Rev. D 79, 124019, arXiv:0812.1205.
Linder (2010), “Einstein’s Other Gravity and the Acceleration of the Universe”, Phys. Rev. D 81, 127301, arXiv:1005.3039.
Nesseris, Basilakos, Saridakis & Perivolaropoulos (2013), “Viable f(T) models are practically indistinguishable from LCDM”, Phys. Rev. D 88, 103010, arXiv:1308.6142.
- Parameters:
params (CosmologyParameters)
- __init__(params)¶
- Parameters:
params (CosmologyParameters)
Methods
E(z)Dimensionless Hubble parameter (solves the transcendental Friedmann equation -- see the class docstring).
H(z)Omega_de(z)Effective/geometric dark-energy density -- see the class docstring for why this isn't a real second fluid here.
Omega_matter(z)Matter density at redshift
z, in units of today's critical density -- i.e. theOmega_m (1+z)^3term as it appears insideE(z)^2, before dividing byE(z)^2.__init__(params)background_jumps()Redshifts at which this model's
E(z)is discontinuous.coupling(z)f_Ton this model's own background -- the quantity whose reciprocal ismu, and whose sign decides whether that reciprocal means anything.dEdz(z)Derivative of E(z), by implicit differentiation of the Friedmann relation (closed-form given E(z), no extra root-finding).
matter_exchange(z)Rate at which matter gains energy from the dark sector, in units of the expansion rate:
psi = Q / (H rho_m), withrho_m' + 3 rho_m = Q / H(' = d/dln a).mu(a[, k])Effective gravitational coupling
G_eff/G_N = 1/f_T = 1/(1 + n A E^(2n-2))-- scale-independent, sokis ignored.plain_name()This model's name as plain text:
MODEL_NAMEif it declares one, else the class name.plot_label()This model's name as it should appear in a figure legend or title --
MODEL_LABEL(LaTeX) if it declares one, elseplain_name().refresh()Rebuild internal numerical tables after the underlying
paramsobject has been mutated in place (e.g. byparams.update(theta)during an MCMC step).viability([z])Whether this model is one worth fitting, checked along its own background.
Attributes
A_planckA_sEXTRA_PARAMSExtra parameters this model adds beyond CosmologyParameters.
FLAT_ONLYWhether this model is defined for a flat universe only.
H0MBMODEL_LABELa LaTeX math string where the plain name is really a set of symbols (
LCDM->$\Lambda$CDM), None where the plain name is already what a reader should see (an acronym likeCPL).MODEL_NAMEPlain-text name for this model, for tables, JSON and log lines.
N_effOmega_bOmega_de0Omega_kOmega_malphacompute_rdWhether
rdis computed from the physical densities (rd_computed()) rather than read from the freerdparameter.derive_sigma8Whether
sigma8is derived from the Boltzmann code rather than read from the freesigma8parameter.hReduced Hubble constant,
H0 / 100.ln1e10Asm_nunn_somega_b_h2Physical baryon density,
Omega_b h^2-- the combination BBN and the CMB actually constrain.omega_cdm_h2Physical cold dark matter density,
Omega_c h^2-- matter less baryons.omega_m_h2Physical matter density,
Omega_m h^2.rdThe sound horizon at the drag epoch [Mpc] that the BAO likelihoods divide by.
sigma8Present-day
sigma_8, the normalization every growth prediction is built on.tau_reiow0wa