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 YM.RG.ActivityBounds |
| 2 | import Mathlib.MeasureTheory.Measure.Haar.InnerProductSpace |
| 3 | import YM.Wilson.Symmetry |
| 4 | |
| 5 | /-! |
| 6 | # Transport rows and canonical atoms |
| 7 | |
| 8 | Body of eq:ved. |
| 9 | |
| 10 | Paths are on the cover, not bounded by the torus *distance*. |
| 11 | |
| 12 | All-face orientation channels from applied to the WHOLE exponent terms |
| 13 | using the pulled configurations. |
| 14 | |
| 15 | These definitions specify the normalized |
| 16 | kinetic read (`metric_zero`, loop jets, affine test on E). |
| 17 | |
| 18 | They do not require |
| 19 | the particular Fourier strip estimates by which one hopes to construct the |
| 20 | arrays. |
| 21 | |
| 22 | They *do* require symmetry, width, iteration and remainder budgets in |
| 23 | the history. |
| 24 | |
| 25 | Existential; no uniqueness of fitted representations as functions |
| 26 | is claimed or used. |
| 27 | |
| 28 | Cf. |
| 29 | -/ |
| 30 | |
| 31 | set_option autoImplicit false |
| 32 | noncomputable section |
| 33 | namespace YM.RG |
| 34 | open Lattice Wilson MeasureTheory Filter Set |
| 35 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators |
| 36 | |
| 37 | /-- One based transported curvature slot, cover units. -/ |
| 38 | structure Slot where |
| 39 | walk : Walk |
| 40 | plaq : PlaqAxes |
| 41 | |
| 42 | namespace Slot |
| 43 | variable (a : Slot) |
| 44 | |
| 45 | def offset : Cover := stop 0 a.walk |
| 46 | |
| 47 | def stencil : Finset Cover := (visits 0 a.walk).toFinset ∪ |
| 48 | (visits a.offset (square a.plaq.val.1 a.plaq.val.2)).toFinset |
| 49 | |
| 50 | def length := a.walk.length + 4 |
| 51 | |
| 52 | def eval {G : Gauge} (U : CoverConfig G) : G.Color := |
| 53 | G.adjoint (travel U 0 a.walk) (G.curvature (faceValue U (a.offset,a.plaq))) |
| 54 | |
| 55 | def atSite {G : Gauge} {n : Side} (U : Config G n) (x : Site n) : G.Color := |
| 56 | a.eval (expandAt x U) |
| 57 | |
| 58 | theorem eval_norm {G : Gauge} (U : CoverConfig G) : ‖a.eval U‖ ≤ 2 := by |
| 59 | unfold eval |
| 60 | rw [G.norm_adjoint] |
| 61 | exact (G.curvature_norm _).trans (G.chord_le_two _) |
| 62 | |
| 63 | @[fun_prop] theorem cont {G : Gauge} : Continuous (a.eval (G := G)) := by |
| 64 | unfold eval Gauge.adjoint |
| 65 | have hm (F) (hc : Continuous (F : CoverConfig G → G.Mat)) : |
| 66 | Continuous fun U => G.projectColor (F U) := G.projectColor.continuous_of_finiteDimensional.comp hc |
| 67 | refine hm _ ?_ |
| 68 | have ha := show Continuous fun U : CoverConfig G => G.colorMat (G.curvature (faceValue U (a.offset,a.plaq))) from |
| 69 | G.colorMat.continuous_of_finiteDimensional.comp (G.continuous_curvature.comp (continuous_travel _ _)) |
| 70 | unfold Gauge.conjugate; fun_prop |
| 71 | |
| 72 | theorem covered {G : Gauge} : LocalOn a.stencil (a.eval (G := G)) := by |
| 73 | intro U V h |
| 74 | rw [eval, eval] |
| 75 | have hh : travel U 0 a.walk = travel V 0 a.walk := |
| 76 | travel_local _ _ _ _ fun e he hm ↦ h e (Finset.mem_union_left _ (List.mem_toFinset.mpr he)) |
| 77 | (Finset.mem_union_left _ (List.mem_toFinset.mpr hm)) |
| 78 | have ht : faceValue U (a.offset,a.plaq) = faceValue V (a.offset,a.plaq) := |
| 79 | travel_local _ _ _ _ fun e he hm ↦ h e (Finset.mem_union_right _ (List.mem_toFinset.mpr he)) |
| 80 | (Finset.mem_union_right _ (List.mem_toFinset.mpr hm)) |
| 81 | rw [hh,ht] |
| 82 | end Slot |
| 83 | |
| 84 | structure Atom (G : Gauge) (k : ℕ) where |
| 85 | leg : Fin k → Slot |
| 86 | coeff : (Fin k → G.ColorIndex) → ℝ |
| 87 | |
| 88 | namespace Atom |
| 89 | variable {G : Gauge} {k : ℕ} {n : Side} (a : Atom G k) |
| 90 | |
| 91 | def length := ∑ i, (a.leg i).length |
| 92 | |
| 93 | def magnitude := ∑ b, |a.coeff b| |
| 94 | |
| 95 | def budget (σ : ℝ) := a.magnitude * Real.exp (σ * a.length) |
| 96 | |
| 97 | def poly (x : Fin k → G.Color) := ∑ b, a.coeff b * ∏ i, x i (b i) |
| 98 | |
| 99 | def Invariant : Prop := ∀ u x, a.poly (fun i => G.adjoint u (x i)) = a.poly x |
| 100 | |
| 101 | def stencil : Finset Cover := insert 0 (Finset.univ.biUnion fun i => (a.leg i).stencil) |
| 102 | |
| 103 | def footprint (x : Site n) := a.stencil.image fun p => wrap n p + x |
| 104 | |
| 105 | def unmasked (U : Config G n) (x : Site n) := a.poly fun i => (a.leg i).atSite U x |
| 106 | |
| 107 | def placed (p : BudgetPoint) (U : Config G n) (x : Site n) := |
| 108 | masked p.threshold (a.footprint x) (fun V => a.unmasked V x) U |
| 109 | |
| 110 | theorem lower_budget (σ : ℝ) (h : 0 < σ) : a.magnitude ≤ a.budget σ := |
| 111 | le_mul_of_one_le_right (by unfold magnitude; positivity) (Real.one_le_exp (by positivity)) |
| 112 | |
| 113 | @[fun_prop] theorem unmasked_cont (x : Site n) : Continuous fun U => a.unmasked U x := by |
| 114 | unfold unmasked poly Slot.atSite expandAt; fun_prop |
| 115 | |
| 116 | theorem unmasked_bound (U : Config G n) (x : Site n) : |a.unmasked U x| ≤ a.magnitude * 2^k := by |
| 117 | have hh (i j) : |(a.leg i).atSite U x j| ≤ 2 := calc |
| 118 | _ = |inner ℝ (EuclideanSpace.basisFun G.ColorIndex ℝ j) ((a.leg i).atSite U x)| := by simp only [EuclideanSpace.basisFun_inner] |
| 119 | _ ≤ _ := (abs_real_inner_le_norm _ _).trans <| by |
| 120 | rw [OrthonormalBasis.norm_eq_one, one_mul]; exact Slot.eval_norm .. |
| 121 | unfold unmasked poly magnitude |
| 122 | rw [Finset.sum_mul] |
| 123 | apply le_trans (Finset.abs_sum_le_sum_abs _ _) |
| 124 | apply Finset.sum_le_sum; intro i _ |
| 125 | rw [abs_mul, Finset.abs_prod] |
| 126 | refine mul_le_mul_of_nonneg_left ?_ (abs_nonneg _) |
| 127 | convert Finset.prod_le_prod (fun _ _ ↦ abs_nonneg _) (fun k _ ↦ hh k (i k)) using 1 |
| 128 | simp |
| 129 | |
| 130 | lemma placed_bound (p : BudgetPoint) (U : Config G n) (x : Site n) : |
| 131 | |a.placed p U x| ≤ a.magnitude * 2^k := by |
| 132 | unfold placed |
| 133 | by_cases h : Healthy p.threshold (a.footprint x) U |
| 134 | · rw [masked_eq _ _ _ _ h]; exact a.unmasked_bound .. |
| 135 | rw [masked_ne _ _ _ _ h]; unfold magnitude; simp only [abs_zero]; positivity |
| 136 | end Atom |
| 137 | |
| 138 | /-- Parameters for clipping per stage. -/ |
| 139 | structure Clip where |
| 140 | direct : ℝ |
| 141 | linear : ℝ |
| 142 | relaxation : ℝ |
| 143 | quadratic_pos : 0 < direct |
| 144 | tail_pos : 0 < linear |
| 145 | kink : linear < direct / 16 |
| 146 | radius_pos : 0 < relaxation |
| 147 | |
| 148 | /-- Data from (denotational arrays on the cover). |
| 149 | `ℓ^U` always uses actual Ad along the paths. -/ |
| 150 | structure PathData (G : Gauge) where |
| 151 | row : PlaqAxes → ℕ → (ℝ × Slot) |
| 152 | loop : ℕ → Atom G 2 |
| 153 | cubic : ℕ → Atom G 3 |
| 154 | quartic : ℕ → Atom G 4 |
| 155 | namespace PathData |
| 156 | variable {n : Side} {G : Gauge} (R : PathData G) |
| 157 | |
| 158 | def symbol0 (i j : PlaqAxes) := |
| 159 | ∑' k : ℕ, if (R.row i k).2.plaq = j then (R.row i k).1 else 0 |
| 160 | |
| 161 | def metric_zero (c : Clip) : Prop := ∀ i j : PlaqAxes, |
| 162 | (if i=j then c.direct else 0) + (∑ k, R.symbol0 k i * R.symbol0 k j) = if i=j then 1 else 0 |
| 163 | |
| 164 | def loop_coeff (a : Fin 2 → PlaqAxes) (x : Fin 2 → G.ColorIndex) (k : ℕ) := |
| 165 | if (fun i => ((R.loop k).leg i).plaq) = a then (R.loop k).coeff x else 0 |
| 166 | |
| 167 | def loop_jets : Prop := ∀ i x, (∑' k, R.loop_coeff i x k) = 0 ∧ ∀ l : Axis, |
| 168 | (∑' k, R.loop_coeff i x k * |
| 169 | ((((R.loop k).leg 1).offset l - ((R.loop k).leg 0).offset l : ℤ) : ℝ)) = 0 |
| 170 | |
| 171 | /-- Weight clauses. Include actual `Summable` requirements explicitly also for |
| 172 | any unguarded moments in the normalization. -/ |
| 173 | structure Bounds (c : Clip) (σ C Λ : ℝ) : Prop where |
| 174 | width : 0 < σ |
| 175 | rows (p : PlaqAxes) : SumBudget (fun i ↦ |(R.row p i).1| * Real.exp (σ * (R.row p i).2.length)) C |
| 176 | two : SumBudget (fun i ↦ (R.loop i).budget σ) Λ |
| 177 | three : SumBudget (fun i ↦ (R.cubic i).budget σ) C |
| 178 | four : SumBudget (fun i ↦ (R.quartic i).budget σ) C |
| 179 | invariant (i : ℕ) : (R.loop i).Invariant ∧ (R.cubic i).Invariant ∧ (R.quartic i).Invariant |
| 180 | symTerms (p q : PlaqAxes) : Summable fun k => if (R.row p k).2.plaq = q then (R.row p k).1 else 0 |
| 181 | metric : R.metric_zero c |
| 182 | loopTerms (i x) : Summable (R.loop_coeff i x) ∧ ∀ l : Axis, |
| 183 | Summable (fun k => R.loop_coeff i x k * |
| 184 | ((((R.loop k).leg 1).offset l - ((R.loop k).leg 0).offset l : ℤ) : ℝ)) |
| 185 | loop_normal : R.loop_jets |
| 186 | |
| 187 | def ellTerms (p : Face (Per n)) (i : ℕ) (U : Config G n) := |
| 188 | (R.row p.2 i).1 • ((R.row p.2 i).2.atSite U p.1) |
| 189 | |
| 190 | def ell (U : Config G n) (p : Face (Per n)) := ∑' i, R.ellTerms p i U |
| 191 | |
| 192 | theorem ell_dominated {σ C Λ : ℝ} {c : Clip} (h : R.Bounds c σ C Λ) (p : Face (Per n)) : |
| 193 | Dominated (R.ellTerms p) := by |
| 194 | obtain ⟨-,H,-⟩ := h.rows p.2 |
| 195 | refine ⟨_, H.mul_right 2, ?_⟩ |
| 196 | intro i U |
| 197 | rw [ellTerms, norm_smul, Real.norm_eq_abs] |
| 198 | apply mul_le_mul ?_ (Slot.eval_norm ..) (norm_nonneg _) (by positivity) |
| 199 | apply le_mul_of_one_le_right (by positivity) |
| 200 | exact Real.one_le_exp (mul_nonneg h.width.le (by positivity)) |
| 201 | |
| 202 | theorem ell_meas (p : Face (Per n)) (c : Clip) (σ C Λ : ℝ) (_ : R.Bounds c σ C Λ) : |
| 203 | Measurable fun U => R.ell U p := by |
| 204 | unfold ell |
| 205 | apply Measurable.tsum |
| 206 | intro i |
| 207 | refine Continuous.measurable ?_ |
| 208 | unfold ellTerms Slot.atSite expandAt; fun_prop |
| 209 | |
| 210 | def kept (c : Clip) (t : ℝ) (x : Site n) (U : Config G n) : Prop := |
| 211 | ∀ p : Face (Per n), G.chord (faceValue U p) ≤ t * Real.exp (separation x p.1 / c.relaxation) |
| 212 | |
| 213 | lemma kept_closed (c : Clip) (t : ℝ) (x : Site n) : IsClosed {U : Config G n | kept c t x U} := by |
| 214 | simp only [kept, setOf_forall] |
| 215 | apply isClosed_iInter; intro p |
| 216 | exact isClosed_le (by unfold faceValue; fun_prop) continuous_const |
| 217 | |
| 218 | def clipped (c : Clip) (t : ℝ) (s : ℝ) : ℝ := |
| 219 | if s ≤ t then c.direct * s^2/2 else c.linear*t*s |
| 220 | |
| 221 | def baseTerm (c : Clip) (p : BudgetPoint) (U : Config G n) (x : Face (Per n)) : ℝ := by |
| 222 | classical |
| 223 | exact clipped c p.threshold (G.chord (faceValue U x)) + |
| 224 | (if kept c p.threshold x.1 U then ‖R.ell U x‖^2/2 else 0) |
| 225 | |
| 226 | def atomSeries {k : ℕ} (F : ℕ → Atom G k) (p : BudgetPoint) (U : Config G n) (x : Site n) := |
| 227 | ∑' i, (F i).placed p U x |
| 228 | |
| 229 | lemma atom_dominated {σ C : ℝ} {k : ℕ} (F : ℕ → Atom G k) (p : BudgetPoint) (x : Site n) |
| 230 | (hp : 0 < σ) (hb : SumBudget (fun i ↦ (F i).budget σ) C) : |
| 231 | Dominated fun i U => (F i).placed p U x := |
| 232 | ⟨_, hb.2.1.mul_right (2^k), fun i U ↦ ((F i).placed_bound p U x).trans <| |
| 233 | mul_le_mul_of_nonneg_right ((F i).lower_budget σ hp) (by positivity)⟩ |
| 234 | |
| 235 | /-- In a given orientation channel. -/ |
| 236 | def principal (c : Clip) (p : BudgetPoint) (β : ℝ) (U : Config G n) : ℝ := |
| 237 | β * ((∑ f, R.baseTerm c p U f) + ∑ x : Site n, |
| 238 | (atomSeries R.cubic p U x + atomSeries R.quartic p U x)) + ∑ x, atomSeries R.loop p U x |
| 239 | |
| 240 | /-- Average over signed channels of the WHOLE action. -/ |
| 241 | def inChannels (c : Clip) (p : BudgetPoint) (β : ℝ) (U : Config G n) := |
| 242 | (Fintype.card Signed : ℝ)⁻¹ * ∑ s : Signed, R.principal c p β (pull s 0 U) |
| 243 | end PathData |
| 244 | end YM.RG |