Repository navigation
York–Fejér ΔL² (v1.0)
What this is.
A minimal, theory-first, reproducible package that derives the universal quadratic lock correction
(\Delta L^{(2)}=\tfrac12,f''(x_q),\langle H_4^2\rangle,\chi_{\mathrm{TT}}^2,\Gamma^2)
from York–cubic geometry and verifies its propagation into ((\alpha^{-1}, m_r)) with fixed-seed, deterministic Python scripts.
Highlights
- No tuning or fitting; every factor is fixed by symmetry/calculus/sampling lemmas.
- Deterministic outputs under fixed seeds.
- One-shot runner (
run_all.ps1) plus a tiny verifier (quick_check.py). - Outputs live in
outputs/and mirror script names.
What’s included
.
├─ src/
│ ├─ fejer_lock_alpha.py
│ ├─ fejer_lock_sensitivity.py
│ ├─ fejer_quarter_fwhm.py
│ ├─ kappa_infty_solver.py
│ ├─ midedge_dirichlet_gamma.py
│ ├─ spherical_H4_norm.py
│ └─ york_constant_axis.py
├─ outputs/
│ ├─ fejer_lock_alpha.json
│ ├─ fejer_lock_sensitivity.json
│ ├─ fejer_quarter_fwhm.json
│ ├─ kappa_infty_solver.json
│ ├─ midedge_dirichlet_gamma.json
│ ├─ spherical_H4_norm.json
│ └─ york_constant_axis.json
├─ run_all.ps1
├─ quick_check.py
├─ requirements.txt
├─ LICENSE
└─ README.md
Reproduce in ~30 seconds
Requirements: Python 3.10+ on Windows; mpmath and numpy.
# from repo root
python -m pip install --upgrade pip
pip install mpmath numpy
# run everything & write outputs/
.\run_all.ps1
# smoke-test the numerical claims
python quick_check.py
If PowerShell execution is blocked:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
.\run_all.ps1
Non-Windows / no PowerShell? Run the scripts individually:
python src/midedge_dirichlet_gamma.py -o outputs/midedge_dirichlet_gamma.json
python src/kappa_infty_solver.py -o outputs/kappa_infty_solver.json
python src/fejer_lock_alpha.py -o outputs/fejer_lock_alpha.json
python src/fejer_lock_sensitivity.py -o outputs/fejer_lock_sensitivity.json
python quick_check.py
Verified outputs (v1.0)
The runner produces (matching the paper and theory):
midedge_dirichlet_gamma.json→"delta_L2": 3.071538094072599e-09kappa_infty_solver.json→"kappa_infty": 0.499268512001529552fejer_lock_alpha.json→"alpha_inv_final": 137.0359991762865fejer_lock_sensitivity.json→"ALL_PASSED": true
quick_check.py asserts these within tight tolerances and prints ALL PASS on success.
Notes on numerics
- High-precision paths use
mpmath(dps set inside scripts) and exact rationals where possible. - All seeds fixed; no randomized fitting or parameter tuning.
- Scripts are idempotent—re-running overwrites the same JSON with the same values.
Cite this software
BibTeX
@software{stieger_york_fejer_dL2_2025_v101,
author = {Gustav Stieger},
title = {quantumagi/york: York--Fej{\'e}r $\Delta L^{2}$ (v1.0)},
version = {v1.0.1},
year = {2025},
publisher = {Zenodo},
doi = {10.5281/zenodo.17095843},
url = {https://doi.org/10.5281/zenodo.17095843}
}Changelog
v1.0 (initial):
- Minimal script set (
src/), deterministicoutputs/, PowerShell runner, and JSON quick checks. - Matches paper constants and downstream ((\alpha^{-1}, m_r)) within the stated tolerances.
V1.0.1:
- MIT LICENSE added.