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.Cells.Transforms |
| 2 | import YM.Euclid.Comparator |
| 3 | |
| 4 | /-! |
| 5 | One per weight d; one common aligned series for its full detecting set of |
| 6 | columns. Strict centered link tiling at side another |
| 7 | level; this picks the option E's geometry A claims to realize. `atK` uses |
| 8 | the exact local placements on the k-grid, and recompute free |
| 9 | coefficients there, scaled by **actual** r. No assumption on how near |
| 10 | cross-cell copies would be at scale r; construction must also arrange their |
| 11 | distances via allowed side and plateau. |
| 12 | -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.Cells |
| 16 | open Function Set Filter MeasureTheory |
| 17 | open Wilson Lattice Maxwell |
| 18 | open scoped ContDiff Topology BigOperators |
| 19 | |
| 20 | variable {G : Gauge} (C : Family G) (f : Extraction.Order) (S : Table C.book) |
| 21 | |
| 22 | abbrev standard (C : Family G) := freeTable C.labels |
| 23 | |
| 24 | /-- Cluster template. Main input is unspecified first slot. -/ |
| 25 | structure SampleRow (o : Type*) where |
| 26 | extra : ℕ |
| 27 | cap : extra ≤ 1 |
| 28 | uses : Fin extra → o |
| 29 | expected : Points (extra+1) |
| 30 | probes : expected∈ generic (extra+1) |
| 31 | |
| 32 | namespace SampleRow |
| 33 | -- Input always first slot, arbitrary **quotient** labels on corresponding table. |
| 34 | def tests {B : Type*} (D : SampleRow B) {L : Register G} (S : Table L) {d : ℕ} (lam : B → S.Field d) |
| 35 | (X : S.Field d) := S.useAt S D.expected (Fin.cons ⟨d,X⟩ (fun i => ⟨d,lam (D.uses i)⟩)) |
| 36 | end SampleRow |
| 37 | |
| 38 | structure Columns (S : Table C.book) (d : ℕ) where |
| 39 | dim : ℕ |
| 40 | H : (standard C).RealSpin |
| 41 | basis : Module.Basis (Fin (dim+1)) ℂ ((standard C).Field d) |
| 42 | realBasis i : (standard C).conj H d (basis i) = basis i |
| 43 | initial : basis 0 = (standard C).unit d |
| 44 | amount : ℕ |
| 45 | row : Fin amount → SampleRow (Fin (dim+1)) |
| 46 | full : Injective (fun x => (fun i => (row i).tests (standard C) basis x)) |
| 47 | |
| 48 | namespace Columns |
| 49 | variable {C S} {d : ℕ} |
| 50 | |
| 51 | /-- The series indexed by k uses probes centered at 0 in a side-b cell. |
| 52 | Length retuning per row not needed. -/ |
| 53 | structure Trials (X : Columns C S d) where |
| 54 | depth : Extraction.Sequence |
| 55 | width : Extraction.Sequence -- really side level; strict to ensure shrink |
| 56 | window k : width k ≤ depth k |
| 57 | scale : ℕ → ℝ |
| 58 | positive k : 0 < scale k |
| 59 | zoom : Tendsto scale atTop (𝓝 0) |
| 60 | mark (k : ℕ) (i : Fin X.amount) : Fin ((X.row i).extra+1) → Cover |
| 61 | -- k,N,p, coordinate: actual cutoff v. |
| 62 | lift (k N p : ℕ) : Fin (X.dim+1) → C.book.Ref d |
| 63 | later (k : ℕ) : Fin (X.dim+1) → C.book.Ref d |
| 64 | gap : ℕ → ℝ |
| 65 | allowed k : 0 ≤ gap k |
| 66 | small : Tendsto gap atTop (𝓝 0) |
| 67 | |
| 68 | namespace Trials |
| 69 | variable {X : Columns C S d} (Z : X.Trials) |
| 70 | |
| 71 | def realPlace (k i) := Extraction.Order.grid C (Z.depth k) (Z.mark k i) |
| 72 | |
| 73 | def tested (k : ℕ) (i) : Points ((X.row i).extra+1) := (Z.scale k)⁻¹ • Z.realPlace k i |
| 74 | |
| 75 | def names (i : Fin X.amount) (c : Fin (X.dim+1)) (s : Fin ((X.row i).extra+1)) : Fin (X.dim+1) := |
| 76 | Fin.cons (α := fun _ => Fin (X.dim+1)) c (X.row i).uses s |
| 77 | |
| 78 | /-- Include the entire corrected cylinder. With o=0 there are only singleton terms; |
| 79 | with extra=1 there are the two singletons and only pair. Pair output |
| 80 | `FG−aG−bF+a*b−(S₁₂−a*b)` as required by commuting square-zero markers. -/ |
| 81 | def singleton (k : ℕ) (i c s) := (standard C).useAt (standard C) |
| 82 | (points (fun _ : Fin 1 => Z.tested k i s)) (fun _ => ⟨d,X.basis (names (X := X) i c s)⟩) |
| 83 | |
| 84 | def cumulant (k : ℕ) (i c s t) := (standard C).useAt (standard C) |
| 85 | (points ![Z.tested k i s, Z.tested k i t]) |
| 86 | ![⟨d,X.basis (names (X := X) i c s)⟩,⟨d,X.basis (names (X := X) i c t)⟩] - Z.singleton k i c s * Z.singleton k i c t |
| 87 | |
| 88 | def weigh (k N p : ℕ) (i : Fin X.amount) (c : Fin (X.dim+1)) (j : Fin ((X.row i).extra+1)) : Config G (C.side N p) → ℂ := C.O N p (d := d) |
| 89 | (Z.lift k N p (names (X := X) i c j)) (location C.S (Z.depth k) N p (Z.mark k i j)) |
| 90 | def subtract1 (k N p i c j) := fun U => Z.weigh k N p i c j U - Z.singleton k i c j |
| 91 | |
| 92 | def subtract2 (k N p i c j t) := fun U => Z.subtract1 k N p i c j U * Z.subtract1 k N p i c t U - Z.cumulant k i c j t |
| 93 | |
| 94 | /-- Eventual for each fixed k in iterated limsup. Fit all s and data, |
| 95 | including literal unchanged coefficients and orientation-conjugated copies from |
| 96 | `rootTest`. For pair bounds only order s<t. Sides always a^(some level), link |
| 97 | seams through that calendar. -/ |
| 98 | structure Valid : Prop where |
| 99 | /-- Concretize "allowed rescaling lengths" with A placements; use plateau through tested h. (May not need A large buffer factors for reconstruction here, those become separate producer conditions.) -/ |
| 100 | ratios : ∃ b : ℝ, 0 < b ∧ ∀ k, Z.scale k = C.S.a (Z.depth k) * ((C.path.levels.clock.monitor (Z.depth k))^b) |
| 101 | same_stage k m (hq : Z.width k ≤ m) (hN : m ≤ Z.depth k) : |
| 102 | C.path.levels.clock.J m=C.path.levels.clock.J (Z.depth k) |
| 103 | scale_down : StrictAnti Z.scale |
| 104 | conjugate (k N p i) : star (Z.lift k N p i) = Z.lift k N p i |
| 105 | unit (k N p) : Z.lift k N p 0 = C.refUnit d |
| 106 | responds (k i) : f.limits (fun _ => True) (fun N p => Z.lift k N p i) (Z.later k i) |
| 107 | bounded (k : ℕ) : ∃ A : ℝ, ∀ p, ∀ᶠ j : ℕ in atTop, ∀ i, ‖Z.lift k (f.mesh j) p i‖ ≤ A |
| 108 | span : ∀ᶠ k in atTop, Submodule.span ℂ (Set.range fun i => S.project d (Z.later k i)) = ⊤ |
| 109 | tuned i : Tendsto (fun k => Z.tested k i) atTop (𝓝 (X.row i).expected) |
| 110 | seams : ∃ η : ℝ, 0 < η ∧ ∀ k i j a, |
| 111 | |Z.realPlace k i j a| ≤ C.S.a (Z.width k)*((2:ℝ)⁻¹-η) |
| 112 | generic (k i) : Z.realPlace k i ∈ YM.generic _ |
| 113 | cheap (k : ℕ) (ε : ℝ) (he : 0 < ε) : f.late fun N p => ∃ h : Z.depth k ≤ N, |
| 114 | let T := center C.S p ((Z.window k).trans h) 0 |
| 115 | ∀ i c s, |
| 116 | Interior (T.chamber 0) (Z.weigh k N p i c s) ∧ |
| 117 | T.rootTest (C.beta N p) (Z.subtract1 k N p i c s) ≤ Z.gap k + ε ∧ |
| 118 | ∀ t, s<t → T.rootTest (C.beta N p) (Z.subtract2 k N p i c s t) ≤ Z.gap k + ε |
| 119 | |
| 120 | lemma refresh (H : Z.Valid f) (g) : Z.Valid (f.refine g) where |
| 121 | ratios := H.ratios |
| 122 | same_stage := H.same_stage |
| 123 | scale_down := H.scale_down |
| 124 | conjugate := H.conjugate |
| 125 | unit := H.unit |
| 126 | responds k i := Extraction.Order.retained (H.responds k i) |
| 127 | bounded k := by |
| 128 | obtain ⟨A,h⟩ := H.bounded k |
| 129 | exact ⟨A,fun p => g.mesh.cofinal.eventually (h p)⟩ |
| 130 | span := H.span |
| 131 | tuned := H.tuned |
| 132 | seams := H.seams |
| 133 | generic := H.generic |
| 134 | cheap k ε h := Extraction.Order.late_refine f g (H.cheap k ε h) |
| 135 | end Trials |
| 136 | end Columns |
| 137 | |
| 138 | def RankWidths : Prop := ∀ d : ℕ, ∃ X : Columns C S d, ∃ Y : X.Trials, Y.Valid f |
| 139 | end YM.Cells |