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.Bid.Phase |
| 2 | |
| 3 | /-! |
| 4 | # Actual stencil transfers for alpha-product tests at RankWidths. No need |
| 5 | joint Gram powers proof inside bids -- expose topology & limiting procedure. |
| 6 | -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.Bid |
| 10 | open Set Filter Function MeasureTheory OS OS.Ground Org Org.Phase Spec Table Word Analysis Extraction Retain Cells Wilson |
| 11 | open scoped Topology NNReal InnerProductSpace BigOperators ContDiff ENNReal |
| 12 | variable {G : Gauge} {C : Family G} {F : Order} {S : Table C.book} {V : Chamber S timeAxis} |
| 13 | |
| 14 | /-- One fixed episode, each word on comparison grid k. Distinct & generic |
| 15 | within words (other words may occupy same points). Polynomials allow constants. |
| 16 | The coefficients of linear combination may be independent of mesh N here. |
| 17 | -/ |
| 18 | structure Episode (C : Family G) (F : Order) (k : ℕ) where |
| 19 | num : ℕ |
| 20 | factor : Fin num→ℂ |
| 21 | image (i : Fin num) : ℕ |
| 22 | seats (i : Fin num) (j : Fin (image i)) : Lattice.Cover |
| 23 | gen (i : Fin num) : Order.grid C k (seats i)∈generic _ |
| 24 | weight (i : Fin num) : Fin (image i) → ℕ |
| 25 | point (i : Fin num) (j : Fin (image i)) : C.label (weight i j) |
| 26 | current (i : Fin num) (j : Fin (image i)) (N p : ℕ) : C.label (weight i j) |
| 27 | views i j : F.limits (fun _ => True) (current i j) (point i j) |
| 28 | |
| 29 | namespace Episode |
| 30 | variable {k b : ℕ} (E : Episode C F k) |
| 31 | |
| 32 | def word (i : Fin E.num) : C.book.Word := realize (fun j => ⟨_,E.point i j⟩) (Order.grid C k (E.seats i)) |
| 33 | def cluster (A : Spread V) : A.algebra := ∑ i,E.factor i • M A (E.word i) ((realized _ _).2 (generic_conf _ (E.gen i))) |
| 34 | |
| 35 | def cuts (N p) (u : Lattice.Cover) (v : Config G (C.side N p)) := ∑ i, E.factor i * ∏ j, |
| 36 | C.O N p (d:=E.weight i j) (E.current i j N p) (location C.S k N p (E.seats i j+u)) v |
| 37 | |
| 38 | def Sold (b : ℕ) (g : ℝ) : Prop := ∀ ε : ℝ, 0<ε → F.late fun N p => ∃ h : b≤N, |
| 39 | let A := center C.S p h 0 |
| 40 | Interior (A.chamber 0) (E.cuts N p 0) ∧ A.rootTest (C.beta N p) (E.cuts N p 0) ≤ g+ε |
| 41 | |
| 42 | /-- offset, in **k-sites**, count *2*t*i. all four axes even. -/ |
| 43 | def step (C : Family G) {b k : ℕ} (h : b≤k) (t j : ℕ) : Lattice.Cover := fun _ => ↑((C.S.toDepth h 0).count.val*(2*t*j)) |
| 44 | -- 2*m consecutive; even positions use ordinary bar (after ground proof). |
| 45 | def twice (h : b≤k) (t m N p) (v : Config G (C.side N p)) := ∏ j : Fin (2*m), |
| 46 | if j.val%2=0 then star (E.cuts N p (step C h t j.val) v) else E.cuts N p (step C h t j.val) v |
| 47 | |
| 48 | def flick (h : b≤k) (t m : ℕ) (i : Fin (2*m) → Fin E.num) := (List.ofFn fun j : Fin (2*m) => |
| 49 | let w := E.word (i j) |
| 50 | carry (if j.val%2=0 then Word.conjugate w else w) (C.S.gridPoint k (step C h t j.val))).flatten |
| 51 | |
| 52 | def price (m : ℕ) (i : Fin (2*m) → Fin E.num) := ∏ j : Fin (2*m), if j.val%2=0 then star (E.factor (i j)) else E.factor (i j) |
| 53 | |
| 54 | def fromCut (h : b≤ k) (t m N p : ℕ) := moment (C.beta N p) (E.twice h t m N p) |
| 55 | def wanted (h : b≤k) (t m : ℕ) (S : Table C.book) := ∑ i,E.price m i * S.expect (E.flick h t m i) |
| 56 | end Episode |
| 57 | |
| 58 | /-- geometer/budget user -/ |
| 59 | def B15 : Prop := ∀ {G : Gauge} {C : Family G} {F S} (_ : Seed C F S) {k b} (e : b≤k) (E : Episode C F k) (g : ℝ), |
| 60 | 0 ≤ g → E.Sold b g → ∀ (t : ℕ), 0 < t → ∀ (n : ℕ) (ε : ℝ),0 < ε → F.late fun N p => ‖E.fromCut e t n N p‖≤ (g+ε)^(2*n) |
| 61 | |
| 62 | /-- limit of tested pairs (or whole trains), before φ. -/ |
| 63 | def B16 : Prop := ∀ {G : Gauge} {C : Family G} {F S} (_ : Seed C F S) {k b} (e : b≤ k) (E : Episode C F k), ∀ n, |
| 64 | ∀ᶠ t in atTop, Tendsto (fun i : ℕ × ℕ => E.fromCut e t n i.1 i.2) F.fuse (𝓝 (E.wanted e t n S)) |
| 65 | |
| 66 | def B17 : Prop := ∀ {G : Gauge} {C : Family G} {F S} (_ : Seed C F S) (V : Chamber S timeAxis) (A : Spread V), |
| 67 | Theme V A → Steady V → Phase.reflects (C:=C) V A → ∀ b k (p : b ≤ k) (E : Episode C F k) n, |
| 68 | Tendsto (fun t => E.wanted p t n S) atTop (𝓝 (inner ℂ V.omega0 (((star (E.cluster A)*E.cluster A)^n:A.algebra).val V.omega0))) |
| 69 | |
| 70 | -- build ep |
| 71 | structure Sends {V : Chamber S timeAxis} (A : Spread V) (F : Order) (b k : ℕ) (c : ℝ) (v : A.algebra) : Prop where |
| 72 | germ : ∃ E : Episode C F k, E.cluster A=v ∧ E.Sold b c |
| 73 | |
| 74 | def B18 : Prop := ∀ {G : Gauge} {C : Family G} {F S} (_ : Seed C F S) (V : Chamber S timeAxis) (A : Spread V), |
| 75 | Theme V A → ∀ d (X : Columns C S d) (Q : X.Trials) (K : Columns.Trials.Valid F Q), |
| 76 | (∀ k i c j, Sends A F (Q.width k) (Q.depth k) (Q.gap k) (Retain.Δone Q A k i c j)) ∧ |
| 77 | (∀ k i c j x (h : j<x), Sends A F (Q.width k) (Q.depth k) (Q.gap k) (Retain.Δtwo Q K A k i c j x h)) |
| 78 | |
| 79 | -- Sanity check scaling for B15-B17 consumer. |
| 80 | private lemma fees (h : B15) (B : B16) (L : B17) (s : Seed C F S) (A : Spread V) (ht : Theme V A) (he : Steady V) (hp : Phase.reflects (C:=C) V A) |
| 81 | {b k} {v : A.algebra} {c : ℝ} (hc : 0 ≤ c) (hb : b ≤ k) (p : Sends A F b k c v) : Retain.Tall A v c := by |
| 82 | obtain ⟨E,hR,H⟩ := p.germ |
| 83 | subst v; intro n |
| 84 | let X := (inner ℂ V.omega0 (((star (E.cluster A)*E.cluster A)^n:A.algebra).val V.omega0)).re |
| 85 | have hv ε (hε : 0 < ε) : X ≤ (c+ε)^(2*n) := by |
| 86 | refine le_of_tendsto (Complex.continuous_re.continuousAt.tendsto.comp (L s V A ht he hp b k hb E n)) ?_ |
| 87 | filter_upwards [B s hb E n,eventually_gt_atTop 0] with t hP hg |
| 88 | refine le_of_tendsto (Complex.continuous_re.continuousAt.tendsto.comp hP) ?_ |
| 89 | change ∀ᶠ i : ℕ × ℕ in F.fuse, _ |
| 90 | have ht : ∀ᶠ i in F.fuse, ‖E.fromCut hb t n i.1 i.2‖ ≤ (c+ε)^(2*n) := h s hb E c hc H _ hg _ ε hε |
| 91 | exact ht.mono fun i H => (Complex.re_le_norm _).trans H |
| 92 | have ht : Tendsto (fun ε : ℝ => (c+ε)^(2*n)) (𝓝[>] 0) (𝓝 (c^(2*n))) := by |
| 93 | simpa only [add_zero] using ((show Continuous (fun ε : ℝ => (c+ε)^(2*n)) by fun_prop).tendsto 0).mono_left (nhdsWithin_le_nhds (s:=Ioi (0:ℝ))) |
| 94 | exact ge_of_tendsto ht (Eventually.mono self_mem_nhdsWithin (fun i hi => hv i hi)) |
| 95 | |
| 96 | lemma episode (h : B15) (B : B16) (L : B17) (Y : B18) (s : Seed C F S) (A : Spread V) (ht : Theme V A) (he : Steady V) (hp : Phase.reflects (C:=C) V A) |
| 97 | {d : ℕ} {X : Columns C S d} (Q : X.Trials) (K : Columns.Trials.Valid F Q) : Retain.Funds Q K A := by |
| 98 | obtain ⟨T,E⟩ := Y s V A ht d X Q K |
| 99 | exact ⟨fun k i c j => fees h B L s A ht he hp (Q.allowed k) (Q.window k) (T k i c j), |
| 100 | fun k i c j x H => fees h B L s A ht he hp (Q.allowed k) (Q.window k) (E k i c j x H)⟩ |
| 101 | end YM.Bid |