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.PCalc.Band |
| 2 | import YM.Pressure.Cost |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # drows , fixed orientation |
| 7 | |
| 8 | Unclamped quadratic through clipped path counts, R in absolute fine units. |
| 9 | Cross kernel installed by root cover routes here; choose these paths even |
| 10 | on winding overlaps. No random choice of cuts. Contributions charged with |
| 11 | ALL ancillary halo/mask reads. Adjoint M,N are physical adjoints at real |
| 12 | actual V even after cutoff. Do NOT assert M,M* exact at V! Formula proof |
| 13 | retains defects. Uncut base keeps tails per priority. |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.Pressure |
| 18 | open Filter Function Lattice RG RG.Patch Axial Wilson Finset Precision Exterior Bloch Laurent |
| 19 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators NNReal ComplexOrder |
| 20 | |
| 21 | abbrev Cell (n : Side) := Face (Per n) |
| 22 | abbrev Twin (n : Side) := Cell n × Bool |
| 23 | abbrev Bond (n : Side) := Edge (Site n) |
| 24 | def mesh {n} (x : Twin n) : Co n Layers2 := (x.1.1, if x.2 then .inr (plaquette x.1.2) else .inl (plaquette x.1.2)) |
| 25 | def pole {n} (e : Bond n) : Co n (TypeFace 1) := (e.1, coord e.2) |
| 26 | |
| 27 | variable {G : Gauge} {c f n : Side} |
| 28 | -- choices on \\bar V uses gauge rotations constant on blocks; equivalent to desired transported kernels. Unlike test ell always applied cut. |
| 29 | abbrev Pay (G : Gauge) := G.Color →L[ℝ] G.Color |
| 30 | |
| 31 | def rated (U : Config G n) (x : Site n) (w : Walk) (c : ℝ) : Pay G := c • (G.adjoint (travel U x w)).toContinuousLinearMap |
| 32 | |
| 33 | def priced {α β : Type*} (R d : ℕ) (U : Config G n) (K : Row α β) (p : Co n α) (q : Co n β) (i : Cover) : Pay G := |
| 34 | if (route 0 i 1).length*d ≤ R ∧ q.1=p.1+wrap n i then rated U p.1 (route 0 i 1) (K p.2 q.2 i) else 0 |
| 35 | |
| 36 | def lane {α β : Type*} (R d : ℕ) (U : Config G n) (K : Row α β) (p : Co n α) (q : Co n β) := |
| 37 | ∑' i, priced R d U K p q i |
| 38 | |
| 39 | variable (S : StepData c f) (M : Towers S.patch.L) |
| 40 | |
| 41 | def casted (R : ℕ) (V : Config G c) (x : Co f Layers2) (y : Co c Layers2) (i : Cover) : Pay G := |
| 42 | let r := S.ratio.residue x.1 |
| 43 | let w := route (lift r) (S.patch.L.val • i) 1 |
| 44 | if w.length ≤ R ∧ y.1=S.ratio.parent x.1+wrap c i then rated (replica S.ratio V) x.1 w (M.mf (r,x.2) y.2 i) else 0 |
| 45 | |
| 46 | def leap (R : ℕ) (V : Config G c) (x : Twin f) (y : Twin c) : Pay G := |
| 47 | ∑' i, casted S M R V (mesh x) (mesh y) i |
| 48 | |
| 49 | def kick (R : ℕ) (V : Config G c) (x : Bond c) (y : Twin c) := lane R S.patch.L.val V M.mn (pole x) (mesh y) |
| 50 | |
| 51 | def gk (R : ℕ) (V : Config G c) (x : Co c Gain) (y : Twin c) := lane R S.patch.L.val V M.o x (mesh y) |
| 52 | |
| 53 | section terms |
| 54 | variable (S : PathData G) |
| 55 | def toll (U : Config G n) (x : Cell n) := G.chord (faceValue U x) |
| 56 | |
| 57 | def shoot (A : Clip) (U : Config G n) (x : Cell n) := Real.sqrt A.direct • G.curvature (faceValue U x) |
| 58 | |
| 59 | def shortenTerm (R d : ℕ) (U : Config G n) (x : Cell n) (i : ℕ) := if (S.row x.2 i).2.length*d ≤ R then S.ellTerms x i U else 0 |
| 60 | |
| 61 | def shorten (R d : ℕ) (U : Config G n) (x : Cell n) := ∑' i, shortenTerm S R d U x i |
| 62 | |
| 63 | def plotted (A : Clip) (R d : ℕ) (U : Config G n) (x : Twin n) := if x.2 then shorten S R d U x.1 else shoot A U x.1 |
| 64 | |
| 65 | open scoped Classical in |
| 66 | def trunk (A : Clip) (R d : ℕ) (t : ℝ) (U : Config G n) (x : Cell n) := if PathData.kept A t x.1 U then ‖shorten S R d U x‖^2/2 else 0 |
| 67 | |
| 68 | def crown (A : Clip) (R d : ℕ) (t : ℝ) (U : Config G n) (x : Cell n) := trunk S A R d t U x+PathData.clipped A t (G.chord (faceValue U x)) |
| 69 | |
| 70 | open scoped Classical in |
| 71 | def thinned (A : Clip) (t : ℝ) (d R : ℕ) (U : Config G n) (x : Twin n) : G.Color := |
| 72 | if x.2 then if PathData.kept A t x.1.1 U then shorten S R d U x.1 else 0 else |
| 73 | (if toll U x.1=0 then 1 else min 1 (t/toll U x.1)) • shoot A U x.1 |
| 74 | |
| 75 | def cuff (A : Clip) (m : BudgetPoint) (d R : ℕ) (U : Config G n) (x : Cell n) := |
| 76 | S.baseTerm A m U x-crown S A R d m.threshold U x |
| 77 | end terms |
| 78 | |
| 79 | section |
| 80 | variable {α β : Type*} [Fintype α] [Fintype β] (g : α→β→Pay G) |
| 81 | |
| 82 | def zip (a : β→G.Color) (x : α) := ∑ y, g x y (a y) |
| 83 | |
| 84 | def unzip (a : α→G.Color) (x : β) := ∑ y, (g y x).adjoint (a y) |
| 85 | |
| 86 | lemma arity (p : α → G.Color) (q : β→G.Color) : |
| 87 | ∑ i, inner ℝ (zip g q i) (p i)=∑ i, inner ℝ (q i) (unzip g p i) := by |
| 88 | unfold zip unzip |
| 89 | simp_rw [sum_inner,inner_sum,ContinuousLinearMap.adjoint_inner_right]; rw [sum_comm] |
| 90 | end |
| 91 | |
| 92 | /-- Parameters e.g. from a single Movement. R measured fine, no |
| 93 | sup cardinal. `/100000` used below not here. -/ |
| 94 | structure Tube (G : Gauge) {c f : Side} (S : StepData c f) where |
| 95 | R : Towers S.patch.L |
| 96 | up : PathData G |
| 97 | high : Clip |
| 98 | down : PathData G |
| 99 | low : Clip |
| 100 | |
| 101 | namespace Tube |
| 102 | variable {S : StepData c f} (T : Tube G S) (R : ℕ) |
| 103 | |
| 104 | def vision (t' : ℝ) (V : Config G c) := thinned T.down T.low t' S.patch.L.val R V |
| 105 | |
| 106 | def Xf (U : Config G f) := plotted T.up T.high R 1 U |
| 107 | |
| 108 | def Xn (V : Config G c) := plotted T.down T.low R S.patch.L.val V |
| 109 | |
| 110 | def Z (S : StepData c f) (Q V : Config G c) (b : Bond c) := Real.sqrt S.kernel.penalty • G.curvature (V b * (Q b)⁻¹) |
| 111 | |
| 112 | def monetary (S : StepData c f) (Q V : Config G c) (x : Bond c) := |
| 113 | S.kernel.penalty*wire Q V x^2/2 |
| 114 | |
| 115 | abbrev Φ (V : Config G c) := leap S T.R R V |
| 116 | abbrev Φ' (V : Config G c) := kick S T.R R V |
| 117 | abbrev N (V : Config G c) := gk S T.R R V |
| 118 | |
| 119 | def Mv (s : ℝ) (V : Config G c) := zip (T.Φ R V) (T.vision R s V) |
| 120 | def Mw (s : ℝ) (V : Config G c) := zip (T.Φ' R V) (T.vision R s V) |
| 121 | |
| 122 | def workF (U : Config G f) (V : Config G c) (t s : ℝ) (x : Cell f) := |
| 123 | crown T.up T.high R 1 t U x + ∑ i : Bool, |
| 124 | (‖T.Mv R s V (x,i)‖^2/2 - inner ℝ (T.Mv R s V (x,i)) (T.Xf R U (x,i))) |
| 125 | |
| 126 | def workI (Q V : Config G c) (s : ℝ) (x : Bond c) := |
| 127 | monetary S Q V x + (‖T.Mw R s V x‖^2/2 - inner ℝ (T.Mw R s V x) (Z S Q V x)) |
| 128 | |
| 129 | def workC (V : Config G c) (s : ℝ) (x : Cell c) := |
| 130 | (∑ i : Bool, (inner ℝ (T.vision R s V (x,i)) (T.Xn R V (x,i)) - ‖T.vision R s V (x,i)‖^2/2)) - |
| 131 | crown T.down T.low R S.patch.L.val s V x |
| 132 | |
| 133 | def workL (U : Config G f) (Q V : Config G c) (s : ℝ) (x : Cell c) := |
| 134 | (∑ i : Bool, inner ℝ (T.vision R s V (x,i)) (unzip (T.Φ R V) (T.Xf R U) (x,i) + unzip (T.Φ' R V) (Z S Q V) (x,i) - T.Xn R V (x,i))) |
| 135 | |
| 136 | def workN (V : Config G c) (s : ℝ) (x : Co c Gain) := ‖zip (T.N R V) (T.vision R s V) x‖^2/2 |
| 137 | |
| 138 | def workD (V : Config G c) (s : ℝ) (x : Cell c) := |
| 139 | ∑ i : Bool, inner ℝ (T.vision R s V (x,i)) (T.vision R s V (x,i) - |
| 140 | (unzip (T.Φ R V) (T.Mv R s V) (x,i) + unzip (T.Φ' R V) (T.Mw R s V) (x,i) + unzip (T.N R V) (zip (T.N R V) (T.vision R s V)) (x,i)))/2 |
| 141 | |
| 142 | section globe |
| 143 | variable (U : Config G f) (Q V : Config G c) (t s : ℝ) |
| 144 | |
| 145 | lemma locates : (∑ x, T.workF R U V t s x) + (∑ x,T.workI R Q V s x) + (∑ x,T.workC R V s x)+ |
| 146 | (∑ x,T.workN R V s x)+(∑ x,T.workL R U Q V s x)+(∑ x,T.workD R V s x) = |
| 147 | (∑ x, crown T.up T.high R 1 t U x) + (∑ x, monetary S Q V x) - ∑ x,crown T.down T.low R S.patch.L.val s V x := by |
| 148 | let w := T.vision R s V |
| 149 | let e := T.Mv R s V |
| 150 | let f := T.Mw R s V |
| 151 | let g := zip (T.N R V) w |
| 152 | have hn := arity (T.N R V) g w |
| 153 | have hf := arity (T.Φ R V) e w |
| 154 | have he := arity (T.Φ' R V) f w |
| 155 | have h1 := arity (T.Φ R V) (T.Xf R U) w |
| 156 | have h2 := arity (T.Φ' R V) (Z S Q V) w |
| 157 | unfold g w e f Mv Mw at * |
| 158 | simp_rw [workF,workI,workC,workN,workL,workD,Mw,Mv,inner_sub_right,inner_add_right, real_inner_self_eq_norm_sq, Finset.sum_sub_distrib, Finset.sum_add_distrib, ← sum_div] |
| 159 | -- flatten |
| 160 | unfold Twin at * |
| 161 | simp_rw [Fintype.sum_prod_type, real_inner_self_eq_norm_sq] at * |
| 162 | simp only [Finset.sum_sub_distrib,Finset.sum_add_distrib,← sum_div] |
| 163 | linarith only [hn,hf,he,h1,h2] |
| 164 | end globe |
| 165 | end Tube |
| 166 | end YM.Pressure |