Yang–Mills: the 2026 Lean construction, rerun and read; the mass gap still open
OpenAI's 2026 Lean construction of 4D Yang–Mills as the expert group keeps it: settle what it proves, rerun it, read it; uniqueness and the mass gap are open, and Clay's problem unsolved

| 1 | import Mathlib.Analysis.Complex.ExponentialBounds |
| 2 | import Mathlib.Analysis.Fourier.Convolution |
| 3 | import Mathlib.LinearAlgebra.Lagrange |
| 4 | import Mathlib.MeasureTheory.Measure.Decomposition.RadonNikodym |
| 5 | import YM.Next.BOUNDARY.Coordinates |
| 6 | import YM.Next.FREE_KERNELS.Signal |
| 7 | import YM.Next.SCHEDULE.Blocks |
| 8 | import YM.Next.UV_STRESS.Across |
| 9 | import YM.Push.BETA_TRANSPORT.Comparisons |
| 10 | import YM.Push.BETA_TRANSPORT.Margins |
| 11 | import YM.Push.COMMON_WITNESSES.Link |
| 12 | import YM.Push.CUTOFF_PROJECTORS.Along |
| 13 | import YM.Push.PRICE_COMPILER.Post |
| 14 | import YM.Work.A01.Conserve |
| 15 | import YM.Work.A01.Mirror |
| 16 | |
| 17 | /-! Admissible changes to a Lighthouse under the *actual* delta side |
| 18 | condition. Not preservation assertions for an already-chosen weak comparison! -/ |
| 19 | set_option autoImplicit false |
| 20 | noncomputable section |
| 21 | namespace YM.UVNext.FreeStress |
| 22 | open Maxwell Labels Table Climb Work.A01 Work.A15 Next.UVStress Function Set MeasureTheory Filter Analysis |
| 23 | open scoped Topology ContDiff BigOperators Matrix.Norms.Frobenius |
| 24 | variable {G : Gauge} {L : Register G} {S : Table L} (HS : S.Hierarchy) {J : S.Stress} |
| 25 | variable {p : Climb.Parts S} {A : Ward.SpinRows S} (h : StressLaws S J p A) |
| 26 | include HS h |
| 27 | |
| 28 | lemma scale_stress (c : ℝ) : StressLaws S (((c:ℝ):ℂ) • J) (c • p) (c • A) where |
| 29 | translation := by |
| 30 | intro n x hx q χ w b d B |
| 31 | rw [← translationFlux_apply hx w HS.smooth q, map_smul, translationFlux_apply hx w HS.smooth q,h.translation hx q w, ← front_eval q x,← map_smul] |
| 32 | rw [front_eval]; congr 3 |
| 33 | rotation := by |
| 34 | intro n x hx q χ w g d B |
| 35 | rw [← angularFlux_apply hx w HS.smooth q, map_smul, angularFlux_apply hx w HS.smooth q,h.rotation hx q w,← front_eval q x,← map_smul] |
| 36 | rw [front_eval]; congr 3 |
| 37 | |
| 38 | omit h in |
| 39 | def pulsed (J : S.Stress) : S.Stress := fun a b => S.conj HS.spin _ (J a b) |
| 40 | omit h in |
| 41 | private lemma refl_tag (p : S.Tag) : realTag HS.spin (realTag HS.spin p) = p := by |
| 42 | cases p; simp [realTag]; exact S.reflect_star .. |
| 43 | |
| 44 | lemma reflected_law |
| 45 | (hp : ∀ d b (v : S.Field d), S.conj HS.spin _ (p d b (S.conj HS.spin d v))=p d b v) |
| 46 | (hA : ∀ d a (v : S.Field d), S.conj HS.spin _ (A d a (S.conj HS.spin d v))=A d a v) : |
| 47 | StressLaws S (pulsed HS J) p A := by |
| 48 | -- flux in *real*-reflected words (pairs of tag and position), no axis reflection |
| 49 | have H1 {d n : ℕ} {x : Points (n+1)} (hx : x∈conf _) (q : Fin n → S.Tag) {χ} (hχ : Window x χ) (B : S.Field d) (V : E4→E4) : |
| 50 | flux (pulsed HS J) χ V x q B = star (flux J χ V x (realTag HS.spin ∘ q) (S.conj HS.spin d B)) := by |
| 51 | have he (a b : Axis) (y : E4) : term (pulsed HS J) χ V x q B a b y = |
| 52 | star (term J χ V x (realTag HS.spin ∘ q) (S.conj HS.spin d B) a b y) := by |
| 53 | by_cases ht : D (basis a) χ y=0 |
| 54 | · simp [term,ht] |
| 55 | have hw := separated_of_D hx hχ ht |
| 56 | unfold term; rw [star_mul', ← real_eval HS.laws.toSymmetric HS.spin hw, comp_cons, comp_cons, |
| 57 | show realTag HS.spin ∘ realTag HS.spin ∘ q = q from funext fun i => refl_tag HS (q i)] |
| 58 | simp only [realTag,pulsed,S.reflect_star,Complex.star_def,Complex.conj_ofReal] |
| 59 | simp_rw [flux,he, star_neg,star_sum, Complex.star_def, integral_conj] |
| 60 | have H2 {d n : ℕ} {x : Points (n+1)} (hx : x∈conf _) (q : Fin n → S.Tag) (B : S.Field d) : |
| 61 | star (S.useAt S x (Fin.cons ⟨d,B⟩ (realTag HS.spin ∘ q))) = S.useAt S x (Fin.cons ⟨d,S.conj HS.spin d B⟩ q) := by |
| 62 | rw [← real_eval HS.laws.toSymmetric HS.spin hx,comp_cons,show realTag HS.spin ∘ realTag HS.spin ∘ q=q from funext fun i => refl_tag HS (q i)] |
| 63 | rfl |
| 64 | constructor |
| 65 | · intro n x hx q χ w b d B |
| 66 | rw [← flux_translation,H1 hx q w,flux_translation,h.translation hx _ w,H2 hx q,hp] |
| 67 | intro n x hx q χ w g d B |
| 68 | rw [← flux_spin,H1 hx q w,flux_spin,h.rotation hx _ w,H2 hx q,hA] |
| 69 | |
| 70 | omit h in |
| 71 | private def reflectC (d : ℕ) : S.Field d →L[ℝ] S.Field d := LinearMap.toContinuousLinearMap |
| 72 | { toFun := S.conj HS.spin d |
| 73 | map_add' := map_add _ |
| 74 | map_smul' t v := by simp only [RCLike.real_smul_eq_coe_smul (K:=ℂ),map_smulₛₗ]; simp } |
| 75 | |
| 76 | omit h in |
| 77 | lemma lie_real (W : DiffPlan S) (R : S.Rotation) (hR : R.Laws W HS.spin) (d a) (v : S.Field d) : |
| 78 | S.conj HS.spin _ (R.lie d a (S.conj HS.spin d v))=R.lie d a v := by |
| 79 | let L := reflectC HS d |
| 80 | have he := L.hasFDerivAt.comp_hasDerivAt (0:ℝ) (hR.infinitesimal d a (L v)) |
| 81 | have ht := hR.infinitesimal d a v |
| 82 | have hv (t : ℝ) : L (R.act d (Ortho.oneParameter a t) (L v)) = R.act d (Ortho.oneParameter a t) v := by |
| 83 | change S.conj HS.spin _ _ = _; rw [hR.real, show S.conj HS.spin d (L v)=v from S.reflect_star ..] |
| 84 | change HasDerivAt (L ∘ _) _ _ at he; simp_rw [Function.comp_def,hv] at he; exact he.unique ht |
| 85 | |
| 86 | omit h in |
| 87 | def white (J : S.Stress) := (1/2:ℂ) • (J+pulsed HS J) |
| 88 | |
| 89 | lemma averaged_white (W : DiffPlan S) (R : S.Rotation) (hR : R.Laws W HS.spin) (ho : W.Orientation HS.spin) |
| 90 | (hv : W.deriv=p ∧ R.lie=A) : StressLaws S (white HS J) W.deriv R.lie := by |
| 91 | obtain ⟨rfl,rfl⟩ := hv |
| 92 | have hp := reflected_law HS h (fun d b v => by rw [ho.realDer,S.reflect_star]) (lie_real HS W R hR) |
| 93 | constructor |
| 94 | · intro n x hx q χ w b d B |
| 95 | rw [white, ← translationFlux_apply hx w HS.smooth, map_smul, map_add]; simp_rw [translationFlux_apply] |
| 96 | rw [h.translation hx q w,hp.translation hx q w,smul_eq_mul]; ring |
| 97 | intro n x hx q χ w g d B |
| 98 | rw [white, ← angularFlux_apply hx w HS.smooth,map_smul,map_add]; simp_rw [angularFlux_apply] |
| 99 | rw [h.rotation hx q w,hp.rotation hx q w,smul_eq_mul]; ring |
| 100 | |
| 101 | omit h in |
| 102 | lemma white_real (J : S.Stress) (a b : Axis) : S.conj HS.spin _ (white HS J a b) = white HS J a b := by |
| 103 | unfold white pulsed |
| 104 | simp only [Pi.smul_apply,Pi.add_apply,map_smulₛₗ,map_add,S.reflect_star,add_comm (S.conj _ _ _)] |
| 105 | rw [show (starRingEnd ℂ) (1/2)= (1/2:ℂ) by rw [map_div₀,map_one,← one_add_one_eq_two,map_add,map_one] |
| 106 | ] |
| 107 | |
| 108 | omit h in |
| 109 | lemma plainTensor (W : DiffPlan S) (R : S.Rotation) (hR : R.Laws W HS.spin) (J : S.Stress) (he : Tensorial R J) : Tensorial R (white HS J) := by |
| 110 | intro K a b |
| 111 | unfold white pulsed |
| 112 | simp only [Pi.smul_apply,Pi.add_apply,map_smul,map_add, ← hR.real,he K a b, map_sum, map_smulₛₗ, Finset.smul_sum,Finset.sum_add_distrib,smul_add] |
| 113 | apply congr_arg₂ (·+·) <;> apply Finset.sum_congr rfl <;> intro i _ <;> apply Finset.sum_congr rfl <;> intro j _ |
| 114 | · rw [smul_comm] |
| 115 | · rw [show (starRingEnd ℂ) ((↑(K.val i a * K.val j b)):ℂ) = (↑(K.val i a * K.val j b):ℂ) by simp, smul_comm] |
| 116 | |
| 117 | |
| 118 | omit h HS in |
| 119 | def fossil (t : Axis→Axis→ℂ) : S.Stress := fun a b => t a b • S.unit 4 |
| 120 | |
| 121 | omit h HS in |
| 122 | private lemma air_integral (χ : E4→ℝ) (w : ContDiff ℝ ∞ χ) (hc : HasCompactSupport χ) |
| 123 | (c : Axis → Axis → ℂ) (hs : ∀ a b,c a b=c b a) (V : E4→E4) (hV : ∀ i : Axis, ContDiff ℝ ∞ fun y => V y i) |
| 124 | (hv : killing V) : |
| 125 | ∑ a : Axis, ∑ b : Axis, ∫ y : E4, D (basis a) χ y • (V y b • c a b) = 0 := by |
| 126 | let f (a b : Axis) (y : E4) : ℂ := V y b • c a b |
| 127 | have hf (a b) : ContDiff ℝ ∞ (f a b) := (hV b).smul contDiff_const |
| 128 | have hg (a b : Axis) : |
| 129 | (∫ y : E4, χ y • D (basis a) (f a b) y) = -(∫ y, D (basis a) χ y • f a b y) := by |
| 130 | apply integral_smul_fderiv_eq_neg_fderiv_smul_of_integrable |
| 131 | · exact cutoff_integrable (hc.fderiv_apply ℝ _) (continuous_iff_continuousAt.mpr fun _ => |
| 132 | (dSmooth (m:=∞) w.contDiffAt _ (by simp)).continuousAt) fun _ _ => (hf _ _).continuous.continuousAt |
| 133 | · exact cutoff_integrable hc w.continuous fun y _ => (dSmooth (m:=∞) (hf _ _).contDiffAt _ (by simp)).continuousAt |
| 134 | · exact cutoff_integrable hc w.continuous fun _ _ => (hf _ _).continuous.continuousAt |
| 135 | · exact fun _ _ => w.differentiable (by simp) _ |
| 136 | exact fun _ _ => (hf _ _).differentiable (by simp) _ |
| 137 | let Z (a b : Axis) := ∫ y, D (basis a) χ y • f a b y |
| 138 | have ht (a b : Axis) : Z a b = - Z b a := by |
| 139 | apply neg_injective |
| 140 | unfold Z; rw [neg_neg,← hg a b,show (∫ y, D (basis b) χ y • f b a y)=-(∫ y, χ y • D (basis b) (f b a) y) by rw [hg b a, neg_neg], ← integral_neg] |
| 141 | apply integral_congr_ae; filter_upwards with y |
| 142 | have he (a b : Axis) : D (basis a) (f a b) y = (D (basis a) (fun y => V y b) y) • c a b := by |
| 143 | let T := (ContinuousLinearMap.id ℝ ℝ).smulRight (c a b) |
| 144 | change fderiv ℝ (T ∘ fun y => V y b) y (basis a) = _ |
| 145 | rw [fderiv_comp y T.differentiableAt ((hV b).differentiable (by simp) y), T.fderiv,ContinuousLinearMap.comp_apply]; rfl |
| 146 | rw [he a b, hv a b y,neg_smul, hs a b,he, smul_neg] |
| 147 | have hh : (∑ a, ∑ b, Z a b) = - (∑ a, ∑ b, Z a b) := by |
| 148 | rw [← Finset.sum_neg_distrib,Finset.sum_comm] |
| 149 | refine Finset.sum_congr rfl (fun a _ => ?_); rw [← Finset.sum_neg_distrib] |
| 150 | exact Finset.sum_congr rfl (fun b _ => ht _ _) |
| 151 | linear_combination (norm:=ring1) hh/2 |
| 152 | |
| 153 | omit h in |
| 154 | lemma unit_shell (t : Axis→Axis→ℂ) (he : ∀ a b,t a b=t b a) : StressLaws S (fossil (S:=S) t) 0 0 := by |
| 155 | have H {d n : ℕ} {x : Points (n+1)} (hx : x∈conf _) (q : Fin n→S.Tag) |
| 156 | (B : S.Field d) {χ} (hw : Window x χ) (V : E4→E4) (hV : ∀ i : Axis,ContDiff ℝ ∞ fun y => V y i) |
| 157 | (hv : killing V) : flux (fossil t) χ V x q B = 0 := by |
| 158 | let z := S.useAt S x (Fin.cons ⟨d,B⟩ q) |
| 159 | have ht (a b) (y) : term (fossil t) χ V x q B a b y = D (basis a) χ y • (V y b • (t a b * z)) := by |
| 160 | by_cases ha : D (basis a) χ y=0 |
| 161 | · simp [term,ha] |
| 162 | have hsep := separated_of_D hx hw ha |
| 163 | unfold term fossil |
| 164 | rw [← front_eval _ _ 4 _, map_smul,front_eval,S.at_unit HS.laws hsep,show Points.tail (Points.cons y x)=x from PiLp.ext fun _ => rfl] |
| 165 | simp [z,Complex.real_smul,mul_assoc] |
| 166 | simp_rw [flux,ht,air_integral χ hw.1 hw.2.1 _ (fun a b => congr_arg (·*z) (he a b)) _ hV hv,neg_zero] |
| 167 | constructor |
| 168 | · intro n x hx q χ w b d B |
| 169 | rw [← flux_translation,H hx q B w _ (fun _ => contDiff_const) (killing_const _)] |
| 170 | exact (front_eval q x _ (0 : S.Field (d+1)) ▸ map_zero (frontRead q x (d+1))).symm |
| 171 | intro n x hx q χ w g d B |
| 172 | rw [← flux_spin]; change flux (fossil t) χ (orbital g (x 0)) x q B = _; rw [H hx q B w _ (smooth_orbital _ _) (killing_orbital _ _)] |
| 173 | rw [← front_eval]; exact (map_zero (frontRead q x d)).symm |
| 174 | |
| 175 | lemma add_unit (t : Axis→Axis→ℂ) (he : ∀ a b,t a b=t b a) : StressLaws S (J+fossil t) p A := by |
| 176 | have hi := unit_shell HS t he |
| 177 | constructor |
| 178 | · intro n x hx q χ w b d B |
| 179 | rw [← translationFlux_apply hx w HS.smooth, map_add]; simp_rw [translationFlux_apply] |
| 180 | rw [h.translation hx q w,hi.translation hx q w, show ((0:Climb.Parts S) d b B)=0 from rfl, ← front_eval q x _ 0,map_zero,add_zero] |
| 181 | intro n x hx q χ w g d B |
| 182 | rw [← angularFlux_apply hx w HS.smooth,map_add]; simp_rw [angularFlux_apply] |
| 183 | rw [h.rotation hx q w,hi.rotation hx q w, show (0:Ward.SpinRows S) d g B = 0 from rfl,← front_eval q x _ 0,map_zero,add_zero] |
| 184 | |
| 185 | end YM.UVNext.FreeStress |