An independent derivative of the CLASS Boltzmann code (not a fork) implementing Afterglow Dark Energy:
T. G. Martin and I.-G. Koh, Afterglow Dark Energy: Apparent Phantom Crossing from Hidden Confinement, Tested Against Planck, DESI DR2, and Pantheon+, submitted to PDU (2026). SSRN: Preprint on SSRN · Code archive DOI:
If gravity is a macroscopic thermodynamic equation of state in Jacobson's sense, a Lorentz-invariant equilibrium vacuum contributes no null heat flow and drops out of the source law; cosmic acceleration then requires a medium that is persistently out of equilibrium. This model supplies one. A hidden pure SU(2) sector confines at a dynamically generated meV scale, and the gapped post-confinement phase is described causally (Müller–Israel–Stewart) by a memory variable Σ with relaxation time c_D/H. The homogeneous branch gives ρ_X = 3c_DΣ and an intrinsic, non-phantom equation of state
w_X = −1 + 1/(3c_D) (accelerating for c_D > 1/2, never phantom)
Matter loading renormalises the relaxation rate through one fixed signed kernel,
Ψ(r) = 4r(r−1)/(1+r)³, r = ρ_c/ρ_X,
whose zero sits at matter–dark-energy equality. That single structure fixes the exchange law Q = −(β/c_D) H Ψ(r) ρ_X, its sign reversal at equality, and an effective equation of state w_eff = −1 + [1 − βΨ(r)]/(3c_D) that can appear to cross −1 while the physical fluid never does. One amplitude, β, carries the interaction; the data resolve the ratio g ≡ β/c_D. Two negatives are derived rather than assumed: the intrinsic sector cannot cross the phantom divide, and the interaction cannot solve the coincidence problem (no fixed point of the density-ratio flow exists below g* ≈ 0.7).
Planck NPIPE CamSpec TTTEEE + low-ℓ + lensing, DESI DR2 BAO, and Pantheon+, three converged MCMC branches (Cobaya, R−1 ≤ 6.7×10⁻³):
- the isolated β = 0 branch survives the full stack;
- g ≡ β/c_D < 0.20 at 95% credibility, set through geometry and the CMB;
- reconstructed transition amplitude ε_Σ = 0.012 (+0.023 / −0.008);
- Bayesian evidence vs ΛCDM inconclusive on all branches, |Δlog Z| < 1, with a mild lean toward finite c_D.
Posterior summaries, per-branch marginals, and the ledger of what these
chains do and do not support: phase3_summary.md.
The growth-channel extension (Phase 3.5) is pre-registered, with priors
fixed in the paper's Appendix F and timed to the DESI 2025–2026
releases.
make clean; make -j class
./class afterglow.ini # ΛCDM-compatible defaults
python -m pytest test/ # 65 assertions, background + perturbations
Tag afterglow (commit b9d78d9) is the exact state behind the paper's chains.
source/afterglow/,include/afterglow/— the module; comments cite paper equationsafterglow.ini— sample inputtest/test_afterglow_bg.py,test/test_afterglow_pt.py— unit suite; linear-order background Bianchi residual 8.5×10⁻¹⁷README_AFTERGLOW.md— parameters and design notes;PLAN_AFTERGLOW.md— equation-to-code mapphase3_summary.md,chains_summary.json— resultsATTRIBUTION.md,LICENSE,README_CLASS.md— upstream CLASS terms, and the MIT grant on the modifications, preserved verbatim.
Educational companions; open locally in a browser:
afterglow_simple.html— ρ_X, p_X, w, and a, plainlyafterglow_interactive_learn.html— the kernel, w_X(c_D), the exchangeafterglow_class_connection.html— how dρ_X/dN enters the integratorphase3_branches_explorer.html— posterior contours, branch by branchphase3_ym_anchor.html— the β number line against the structural bounds 3√3/2 and 2√3phase3_geometry_lesson.html— why you pull the 2D KDE before storytelling
| Eq. | Meaning |
|---|---|
| (31) | Intrinsic EoS w_X = −1 + 1/(3c_D) |
| (32) | Density ratio r = ρ_c/ρ_X |
| (35) | Signed kernel Ψ(r) |
| (37)–(38) | Loading–unloading relaxation law |
| (42) | Derived exchange law Q |
| (44)–(45) | Background continuity equations |
| (47) | Effective equation of state w_eff |
| (84), (86)–(88) | Stabilised closure and perturbation system |
| (65), (56) | Source-free scaling and late-time asymptotics |
Numbers refer to the preprint
(SSRN 10.2139/ssrn.7097478).
In-code comments reference the working draft's numbering;
the mapping is maintained in PLAN_AFTERGLOW.md.
Synchronous gauge, CLASS normalisations. The glue functions return d/dN with N = ln a; relate to cosmic time by d/dt = H · d/dN.
Publications using this code should cite the reference paper above and CLASS II (D. Blas, J. Lesgourgues, and T. Tram, JCAP 07 (2011) 034). Chains produced with the pipeline should also cite Cobaya (J. Torrado and A. Lewis, JCAP 05 (2021) 057).
Original CLASS portions remain under the CLASS authors' terms, free use
with citation of CLASS II; the afterglow modifications are MIT,
© 2025–2026 T. G. Martin and I.-G. Koh. See LICENSE and
ATTRIBUTION.md.
Tom.Martin@suffolk.edu · issues welcome via the tracker.
