A Fully Mechanized Proof of the Photon Soul Framework: Variational Calculus and Gauge-Dynamical Bounds
Open-Source Lean 4 Verification Repository & Audit Metrics
The entire compilable formalization—1,163+ lines of strongly typed Lean 4 code grounded strictly in Mathlib4—is openly published for independent replication and verification via lake build at https://github.com/peterdeceuster5-afk/PhotonSoul.
| Verification Metric | Verified Value |
|---|---|
| GitHub Repository | github.com/peterdeceuster5-afk/PhotonSoul (PhotonSoul.lean) |
| Mendeley Data Archive | DOI: 10.17632/bpbsfr7345.1 (data.mendeley.com/datasets/bpbsfr7345/1) |
| Total Lines of Lean 4 Code | ~1,165 lines (Zero-Axiom Continuous Variational Calculus) |
| Build Jobs & Compilation Time | 5,799 jobs compiled cleanly in 11.0 seconds |
#print axioms photon_soul_conservation | Strictly standard foundation: propext, Classical.choice, Quot.sound |
Custom Axioms / sorry placeholders | 0 Custom Axioms • 0 sorrys |
The Four-Lemma Mechanized Proof Chain
Rather than asserting conservation via circular bridge axioms as in earlier conceptual versions, PhotonSoul.lean models 4D spacetime as X = EuclideanSpace ℝ (Fin 4) equipped with Haar/Lebesgue measure, represents differential $k$-forms as ContinuousAlternatingMap ℝ X ℝ (Fin k), integrates total action $S_{\text{tot}}$ via Mathlib's Bochner integral, and proves the generalized Maxwell equation through four coupled analytical lemmas:
-- Lemma 1: Differentiation Under the Integral Sign (Dominated Convergence) lemma deriv_under_integral (P_s : PolarizationForm) (A δA : Form1) ... : HasDerivAt (fun t => S_tot P_s (fun x => A x + t • δA x)) (∫ x : X, deriv_L_tot_eval P_s A δA x) 0 -- Lemma 2: Pointwise Algebraic Variation of the Lagrangian Density lemma variation_expansion (P_s : PolarizationForm) (A δA : Form1) (x : X) ... : deriv_L_tot_eval P_s A δA x = wedgePair22 (d δA) (hodgeStar (fieldStrength A) - P_s) x -- Lemma 3: 4D Integration by Parts (Stokes' Theorem via Fubini & volume_preserving_piFinSuccAbove) lemma stokes_integration_by_parts (δA : Form1) (ω : Form2) ... : ∫ x : X, wedgePair22 (d δA) ω x = -(∫ x : X, wedgePair13 δA (d ω) x) -- Lemma 4: Du Bois-Reymond Fundamental Lemma (ContDiffBump test forms) lemma fundamental_lemma_var (ω : Form3) (hω : Continuous ω) (h : ∀ δA : Form1, ContDiff ℝ 1 δA → HasCompactSupport δA → (∫ x : X, wedgePair13 δA ω x) = 0) : ω = 0 -- Main Theorem: Zero-Axiom Conservation Law theorem photon_soul_conservation (P_s : PolarizationForm) (A : Form1) (hA : ContDiff ℝ 2 A) (hP : ContDiff ℝ 1 P_s) (hL_int : Integrable (L_tot P_s A)) (h_stat : IsStationary P_s A) : d (hodgeStar (fieldStrength A) - P_s) = 0
1. Čech–de Rham & 1-Loop EFT Bounds
Local coordinate patches $U_i$ carry soul polarizations $P_s^{(i)}$ with $dP_s^{(i)} = J_{\text{top}}$ and overlap transitions $P_s^{(i)} - P_s^{(j)} = d\Lambda_{ij}$, preserving non-trivial bulk topology $[J_{\text{top}}] \neq 0$ while isolating the continuous chart variational kernel for Lean 4.
2. Exact Noether-Conserved $T^{\text{soul}}_{\mu\nu}$
Varying $S_{\text{soul}} = \int d^4x \sqrt{-g}\,\xi R \|P_s\|^2$ with respect to the inverse metric $g^{\mu\nu}$ recovers the contraction and integration-by-parts terms needed for $\nabla^\mu T_{\mu\nu} = 0$:
How to Cite Paper #117 & Repository
@article{deceuster2026photon_soul_mechanized_proof,
author = {De Ceuster, Peter},
title = {A Fully Mechanized Proof of the Photon Soul Framework: Variational Calculus and Gauge-Dynamical Bounds},
journal = {SIG Labs Academic Preprint Archive},
year = {2026},
month = {November},
day = {24},
pages = {1--4},
doi = {10.17632/bpbsfr7345.1},
note = {Addressed to Martin Hairer; Lean 4 source at https://github.com/peterdeceuster5-afk/PhotonSoul},
url = {https://peterdeceuster.uk/pen/photon-soul-mechanized-proof.html}
}
0009-0000-2126-3748