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.Next.BOUNDARY.Stage |
| 2 | import YM.Push.COMMON_WITNESSES.GridBills |
| 3 | import YM.Push.COMMON_WITNESSES.Origins |
| 4 | |
| 5 | /-! |
| 6 | # From centred single-field receipts to the finite Grill receipts |
| 7 | |
| 8 | Geometry/payment isolation. All roots below already include reflection |
| 9 | hand; `ordinary` gets us back to the required real pair. Test all choices |
| 10 | of frame for those fields (a finite set). No assuming a joint plot on the |
| 11 | limiting S. We must still *buy* the single-field hypothesis at the |
| 12 | production sites (open). |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Push.Common |
| 17 | open Function Filter Set Extraction Cells Table Lattice MeasureTheory Next.Extract Wilson OS |
| 18 | open scoped Topology BigOperators ContDiff |
| 19 | open Extraction.Spin |
| 20 | |
| 21 | variable {G : Gauge} {C : Family G} {d : ℕ} |
| 22 | variable {h N p n : ℕ} |
| 23 | |
| 24 | def flipBook (f : Bool) : Signed := if f then Signed.mirror timeAxis else 1 |
| 25 | |
| 26 | variable (x : Fin n → Cover) (u : Caps n) (hu : ∀ i, u i ≤ d) |
| 27 | |
| 28 | def stems (f : Bool) := (flipBook f).act ∘ x |
| 29 | |
| 30 | def recipe (f : Bool) (s : Combo C u) (i : Fin n) : Flavour C d := |
| 31 | ⟨⟨u i,Nat.lt_succ_of_le (hu i)⟩, s i, flipBook f,false⟩ |
| 32 | |
| 33 | lemma recipes (f : Bool) (s : Combo C u) : herb ∘ recipe u hu f s = C.book.move (flipBook f) ∘ baseWord C u s := by |
| 34 | funext i; change token C.book _ ⟨_,false⟩ = _; unfold token; simp only [Bool.false_eq_true,↓reduceIte]; rfl |
| 35 | |
| 36 | def jump (t i : ℕ) : Cover := fun _ => t*i |
| 37 | |
| 38 | variable (hN : h ≤ N) (Z : Flavour C d → Config G (C.side N p) → ℂ) |
| 39 | |
| 40 | |
| 41 | def platter (f : Bool) (s : Combo C u) (t j : ℕ) := production hN Z (recipe u hu f s) (stems x f) (jump t j) |
| 42 | |
| 43 | def tasting (s : Combo C u) (t j : ℕ) (q : Config G (C.side N p)) := |
| 44 | platter x u hu hN Z false s t j q - platter x u hu hN Z true s t j q |
| 45 | |
| 46 | lemma tasting_eq (hw : C.Makes) (hc : ∀ i : Flavour C d, C.ref (herb i).1 ≤ N) (s : Combo C u) (t j : ℕ) (q : Config G (C.side N p)) : |
| 47 | tasting x u hu hN (bornField N p) s t j q = Grid.flash (C:=C) h (baseWord C u s) x N p t j q := by |
| 48 | unfold tasting platter; rw [in_fields hN hw hc,in_fields hN hw hc,recipes,recipes] |
| 49 | have hh : C.book.move 1 ∘ baseWord C u s = baseWord C u s := funext fun i => Spin.move_one .. |
| 50 | have he : stems x false = x := funext fun i => by simp [stems,flipBook] |
| 51 | simp only [he,flipBook, ↓reduceIte, Bool.false_eq_true, hh]; rfl |
| 52 | |
| 53 | variable {W R δ : ℝ} (hz : ∀ i, DirectedField hN i (Z i) R δ) (H : C.Makes) |
| 54 | variable (hw : ∀ i : Flavour C d, centeredBudget C (herb i) W h N p) |
| 55 | |
| 56 | include hz |
| 57 | private lemma stature (s : Combo C u) (f : Bool) (t j : ℕ) (_hr : 0 ≤ R) : |
| 58 | let F := platter x u hu hN Z f s t j |
| 59 | Measurable F ∧ ∀ q, ‖F q‖ ≤ R^n ∧ star (F q) = F q := by |
| 60 | intro F |
| 61 | let W := canvas C hN p |
| 62 | let c := places C hN p (stems x f) (jump t j) |
| 63 | let r i := relocate hN (c i) (recipe u hu f s i) |
| 64 | have he i : Interior (W.chamber (c i)) (W.copy (c i) (Z (r i))) := |
| 65 | W.copies (c i) (hz _).behind |
| 66 | change Measurable (fun q => ∏ i, W.copy (c i) (Z (r i)) q) ∧ _ |
| 67 | refine ⟨Finset.measurable_prod _ (fun i _ => (he i).borel),?_⟩ |
| 68 | intro q |
| 69 | change ‖∏ i,W.copy (c i) (Z (r i)) q‖ ≤ R^n ∧ _ |
| 70 | have hy i : W.copy (c i) (Z (r i)) q = Z (r i) (pull (W.omega (c i)) (W.translateBy (c i)) q) := by |
| 71 | unfold Tiling.copy; split; exacts [(hz _).ordinary _,rfl] |
| 72 | constructor |
| 73 | · simp_rw [norm_prod,hy]; exact (Finset.prod_le_prod (fun i _ => norm_nonneg _) (fun i _ => (hz _).size _)).trans_eq |
| 74 | (by simp) |
| 75 | change star (∏ i,W.copy (c i) (Z (r i)) q) = ∏ i,W.copy (c i) (Z (r i)) q |
| 76 | simp_rw [star_prod,hy, show ∀ i q, star (Z i q)=Z i q from fun i q => (hz i).ordinary q] |
| 77 | |
| 78 | include H hw hu in |
| 79 | /-- One finite cut to pay the bills. |
| 80 | |
| 81 | Keep the same Z throughout (e.g. do |
| 82 | not re-choose for each pair needed in the Gram comparison). |
| 83 | |
| 84 | `gap` token here δ |
| 85 | is an absolute comparison error permitting ANY ε invocation later. -/ |
| 86 | lemma sample_finite (hb : 0 ≤ W) (hR : 0 ≤ R) (hδ : 0 ≤ δ) (hδ' : δ ≤ 1) |
| 87 | (k : ℕ) (A : GrillCosts) (ha : 2*R^n ≤ A.cap k) |
| 88 | (hm : 4*((↑(n+n : ℕ) : ℝ)*(δ*(W+1)^(n+n))) ≤ toll k) (t J : ℕ) |
| 89 | (hij : ∀ i j, i<j → j<J → A.past k i j≤t → ∀ a b : Bool, Injective |
| 90 | (Fin.append (places C hN p (stems x a) (jump t i)) (places C hN p (stems x b) (jump t j)))) : |
| 91 | ∃ y : Plots C u N p, Instalment C h x u A k N p t J y := by |
| 92 | let B := tasting x u hu hN Z |
| 93 | have hs (s i) : Measurable (B s t i) ∧ ∀ q, ‖B s t i q‖ ≤ A.cap k ∧ star (B s t i q) = B s t i q := by |
| 94 | obtain ⟨hf,hF⟩ := stature x u hu hN Z hz s false t i hR |
| 95 | obtain ⟨hh,hH⟩ := stature x u hu hN Z hz s true t i hR |
| 96 | refine ⟨hf.sub hh,fun q => ?_⟩ |
| 97 | dsimp only [B, tasting]; rw [star_sub,(hF q).2,(hH q).2] |
| 98 | exact ⟨(norm_sub_le ..).trans ((add_le_add (hF q).1 (hH q).1).trans (by linarith)),rfl⟩ |
| 99 | let y (i : ℕ) (s : Combo C u) (q : Config G (C.side N p)) := (B s t i q).re |
| 100 | have hy i s q : (y i s q : ℂ) = B s t i q := Complex.conj_eq_iff_re.1 ((hs s i).2 q).2 |
| 101 | refine ⟨y,⟨fun j _ s => ⟨Complex.continuous_re.measurable.comp (hs s j).1, fun q => |
| 102 | le_trans (Complex.abs_re_le_norm _) ((hs s j).2 q).1⟩,?_⟩⟩ |
| 103 | intro i j h1 h2 h3 s v |
| 104 | let c : ℝ := (↑(n+n : ℕ) : ℝ)*(δ*(W+1)^(n+n)) |
| 105 | let μ := law G (C.side N p) (C.beta N p) |
| 106 | let ZZ := bornField (C:=C) (d:=d) N p |
| 107 | let x1 D (a b : Bool) := ∫ q, platter x u hu hN D a s t i q * platter x u hu hN D b v t j q ∂μ |
| 108 | let core D := x1 D false false - x1 D false true - (x1 D true false - x1 D true true) |
| 109 | have ht (a b : Bool) : ‖x1 Z a b - x1 ZZ a b‖ ≤ c := |
| 110 | pair_filled hN Z W hb R δ hδ hδ' hz H hw _ _ _ _ _ _ (hij i j h1 h2 h3 _ _) |
| 111 | have he (D : Flavour C d → Config G (C.side N p) → ℂ) (H : ∀ a, Interior ((canvas C hN p).chamber 0) (D a)) : |
| 112 | (∫ q, (tasting x u hu hN D s t i q * tasting x u hu hN D v t j q).re ∂μ) = (core D).re := by |
| 113 | let X a := platter x u hu hN D a s t i |
| 114 | let Y a := platter x u hu hN D a v t j |
| 115 | let F a b q := ((X a q)*(Y b q)).re |
| 116 | have Hu a b : Integrable (fun q => X a q * Y b q) μ := lawfulPair hN D H _ _ _ _ _ _ |
| 117 | have HH a b : Integrable (F a b) μ := (Hu ..).re |
| 118 | have HY a : Integrable (fun q => F a false q - F a true q) μ := (HH a false).sub (HH a true) |
| 119 | have hb a b : (x1 D a b).re = ∫ q, F a b q ∂μ := (integral_re (Hu a b)).symm |
| 120 | change (∫ q, ((X false q - X true q)*(Y false q-Y true q)).re ∂μ) = _ |
| 121 | unfold core |
| 122 | simp_rw [sub_mul,mul_sub,Complex.sub_re,hb] |
| 123 | rw [integral_sub (HY _) (HY _),integral_sub (HH ..) (HH ..),integral_sub (HH ..) (HH ..)] |
| 124 | have hc i : C.ref (herb (C:=C) (d:=d) i).1 ≤ N := (hw i).choose_spec.1 |
| 125 | have heC : cross C h x u N p t i j s v = (core ZZ).re := by |
| 126 | unfold cross; simp_rw [← tasting_eq x u hu hN H hc] |
| 127 | exact he ZZ (fun a => ((hw a).choose_spec.2 0).1) |
| 128 | have heZ : (∫ q, y i s q * y j v q ∂μ) = (core Z).re := by |
| 129 | rw [← he Z (fun a => (hz a).behind)]; apply integral_congr_ae |
| 130 | refine Eventually.of_forall fun q => ?_ |
| 131 | change _ = (B s t i q * B v t j q).re |
| 132 | rw [← hy,← hy,← Complex.ofReal_mul,Complex.ofReal_re] |
| 133 | have hh : ‖core Z-core ZZ‖ ≤ 4*c := by |
| 134 | let m a b := x1 Z a b - x1 ZZ a b |
| 135 | rw [show core Z-core ZZ=m false false-m false true-(m true false-m true true) by unfold core m; ring] |
| 136 | refine (norm_sub_le ..).trans ?_ |
| 137 | have hb a : ‖m a false - m a true‖ ≤ c+c := (norm_sub_le ..).trans (add_le_add (ht ..) (ht ..)) |
| 138 | linarith [hb true,hb false] |
| 139 | rw [heC,heZ,← Complex.sub_re]; exact (Complex.abs_re_le_norm _).trans (hh.trans hm) |
| 140 | end YM.Push.Common |