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.TraceExtension.Perfect.Mori |
| 2 | set_option autoImplicit false |
| 3 | noncomputable section |
| 4 | namespace YM.Trace.Perfect |
| 5 | open Function Filter Matrix Lattice Precision Laurent Stationary Bloch Exterior Tree RG Wilson Finset Push.Uniform |
| 6 | open scoped BigOperators Topology ContDiff Matrix.Norms.Frobenius Classical |
| 7 | variable {P:Patch}{Z:KernelChoices}{p:Clip}{G:Gauge}{μ A α B D H u v C:ℝ}{f:Side} {V:Type}{F:Filter V} |
| 8 | set_option quotPrecheck false |
| 9 | variable {X: V→ Slide G P Z p μ A α B} (h : LotFee F X u v H D) |
| 10 | local notation "F!"=>fun w=>(X w).f |
| 11 | local notation "C!"=>fun w=>(X w).c |
| 12 | variable (X) |
| 13 | def tours (J:∀ w,Site (X w).f→Peat G (X w).f) (w:V)(x:Site (X w).f) := ballX (inheritJ (X w).wood (X w).ρ (J w x)) |
| 14 | def turns (Y:∀ w,Site (X w).f→Gal G (X w).f) (w:V)(x:Site (X w).f) := bottom (inheritY (X w).wood (X w).ρ (X w).t (Y w x)) |
| 15 | variable {X} {J:∀ w:V,Site (X w).f→Peat G (X w).f}{K:∀ w:V,Site (X w).f→Gal G (X w).f} {k:ℕ} |
| 16 | lemma tourS (hx:∀ w x,J w x∈loom G (X w).f): Tour X (fun w x=> ballX (J w x)) (tours X J):= by |
| 17 | refine ⟨fun w x=>(loom_read (hx w x)).2.2,fun w x=>(loom_read (hx w x)).2.1,fun w x=>?_,fun w x=>?_⟩ |
| 18 | · obtain ⟨h,_⟩:=hx w x; exact inn_letter h (X w).law (X w).t x |
| 19 | obtain ⟨h,_⟩:=hx w x; exact moonset h (X w).law (X w).t |
| 20 | lemma tourY (hx:∀ w x,K w x∈rains G (X w).f): Tour X (fun w x=>bottom (K w x)) (turns X K):= by |
| 21 | refine ⟨fun w x=>(rain_read (hx w x)).2.2.1,fun w x=>(rain_read (hx w x)).2.1,fun w x=> ?_,fun w x=>?_⟩ |
| 22 | · obtain ⟨h,_⟩:= hx w x; exact grants_pin (X w).t (X w).law (X w).size.1 x (X w).price _ h |
| 23 | obtain ⟨h,_⟩:= hx w x; exact mantle (X w).law (X w).size.1 (X w).t (X w).price h |
| 24 | variable (x:∀ w, Site (X w).c) |
| 25 | lemma drips (S:Sheaf)(w:V)(j:ℕ) : ballX (Dart.hum (X w).wood (X w).ρ P.L S j (J w) (x w))=Tour.ill X (tours X J) j S w (x w):=by |
| 26 | let r:=(X w).s.ratio; let A:= (P.L.val:ℝ); let K := inheritJ (X w).wood (X w).ρ ∘ J w |
| 27 | change topF (A^j • verse S r K (x w))= _; rw [map_smul,show topF _=_ from congr_fun (verse_map topF K r S) (x w)]; rfl |
| 28 | lemma dropY (S:Sheaf)(w:V) : bottom (Dart.mel (X w).wood (X w).ρ (X w).t P.L S (K w) (x w))=Tour.ill X (turns X K) 5 S w (x w):=by |
| 29 | let r:=(X w).s.ratio; let A:= (P.L.val:ℝ); let J := inheritY (X w).wood (X w).ρ (X w).t ∘ K w |
| 30 | change follic (A^5 • verse S r J (x w))=_; rw[map_smul,show follic _=_ from congr_fun (verse_map follic J r S) (x w)]; rfl |
| 31 | |
| 32 | local notation "LX"=> (P.L.val:ℝ) |
| 33 | local notation "cₗ"=> (2:ℝ)^13*H^2 |
| 34 | local notation "Sₗ"=> Tour.allSheaf |
| 35 | |
| 36 | structure Bank (H D:ℝ)(L:Side)(W:ℝ)(d f e E:ℕ→ℝ) : Prop where |
| 37 | maj i : 0 ≤ d i |
| 38 | piv i : 0 ≤ f i |
| 39 | J : 3*(Tour.allSheaf*(2^13*H^2*(W+(d 2+W)/(L.val:ℝ)))) ≤ f 2 |
| 40 | Q : 3*(Tour.allSheaf*2^13*H^2/(L.val:ℝ)* d 2) ≤ f 2 |
| 41 | epos i : 0 ≤ e i |
| 42 | Epos i : 0 ≤ E i |
| 43 | elm : Tour.allSheaf*(2^13*H^2)/(L.val:ℝ) * e 2≤ E 2 |
| 44 | tall i : 2 < i→ i≤4→ 3*((L.val:ℝ)^5*Tour.allSheaf*(((2*H/(L.val:ℝ)^2)^i*d i)+ ∑ z∈univ.erase (OrderedFinpartition.atomic i), D^z.length*d z.length))≤ f i |
| 45 | scarf i : 2 < i→ i≤4→ ((L.val:ℝ)^5*Tour.allSheaf*(((2*H/(L.val:ℝ)^2)^i*e i)+ ∑ z∈univ.erase (OrderedFinpartition.atomic i), D^z.length*e z.length))≤ E i |
| 46 | variable {W:ℝ}{d f' e E:ℕ→ℝ}(hW:0 ≤ W)(hb: Bank H D P.L W d f' e E) |
| 47 | include h hb |
| 48 | lemma wind (V:Tit G→Tit G→ℝ)(hp:Tour X (fun w x=>ballX (J w x)) (tours X J)) (hP:∀ x,Tip F x (fun w=>ballX (J w (x w))) V 4) |
| 49 | {J'}(hS:Tour X (fun w x=>ballX (J' w x)) (tours X J'))(h':∀ x,Tip F x (fun w=>ballX (J' w (x w))) V 4) |
| 50 | (hf:∀ x,Ear F x (fun w=>ballX (J' w (x w))) v 2 W)(hj:∀ x,Ear F x (fun w=>ballX (J w (x w))) v 2 (d 2)) (S:Sheaf)(hs:S.radius ≤ 140*P.L.val)(he:S.debt ≤ Sₗ): |
| 51 | 0≤ W→ Ear F x (fun w=>Tour.ill X (tours X J) 4 S w (x w)) u 2 (f' 2/3):=by |
| 52 | intro hW |
| 53 | have hx:=Tour.boolJ h hp V hP hS h' W (d 2) hW (hb.maj 2) hf hj x |
| 54 | have hL:LX>0:= side_pos _; have hD:=hb.maj 2 |
| 55 | apply (Tour.bill 4 _ _ hs he _ (by positivity) x hx).up |
| 56 | calc |
| 57 | _ = Sₗ*(2^13*H^2*(W+(d 2+W)/LX)):=by field_simp |
| 58 | _ ≤ _:=by linarith only [hb.J] |
| 59 | lemma windY (V:Tit G→Tit G→ℝ)(hU:∀ i j,ScoreG i+ScoreG j<5 → V i j=0)(hp:Tour X (fun w x=>bottom (K w x)) (turns X K))(hP:∀ x,Tip F x (fun w=>bottom (K w (x w))) V 5) |
| 60 | {J'}(hS:Tour X (fun w x=>bottom (J' w x)) (turns X J'))(h':∀ x,Tip F x (fun w=>bottom (J' w (x w))) V 5) |
| 61 | (hf:∀ x,Ear F x (fun w=>bottom (J' w (x w))) v 2 W)(hj:∀ x,Ear F x (fun w=>bottom (K w (x w))) v 2 (d 2))(S:Sheaf)(hs:S.radius ≤ 140*P.L.val)(he:S.debt ≤ Sₗ): |
| 62 | 0≤ W→Ear F x (fun w=>Tour.ill X (turns X K) 5 S w (x w)) u 2 (f' 2/3):=by |
| 63 | intro hW |
| 64 | have hx:=Tour.boolY h hp V hU hP hS h' W (d 2) hW (hb.maj 2) hf hj x |
| 65 | have hL:LX>0:= side_pos _; have hD:=hb.maj 2 |
| 66 | apply (Tour.bill 5 _ _ hs he _ (by positivity) x hx).up |
| 67 | calc |
| 68 | _ = Sₗ*(2^13*H^2*(W+(d 2+W)/LX)):=by field_simp |
| 69 | _ ≤ _:=by linarith only [hb.J] |
| 70 | lemma windQ (hp:Tour X (fun w x=>ballX (J w x)) (tours X J))(hh:∀ x,Ear F x (fun w=>ballX (J w (x w))) v 2 (d 2))(S:Sheaf)(hs:S.radius≤140*P.L.val)(he:S.debt≤ Sₗ) : Ear F x (fun w=>Tour.ill X (tours X J) 3 S w (x w)) u 2 (f' 2/3) :=by |
| 71 | have hL:LX>0:=side_pos _; have hx:=hb.maj 2 |
| 72 | apply (Tour.bill 3 _ _ hs he _ (by positivity) x (fun q hq=> Tour.lvl2 h hp _ hx hh x q hq)).up |
| 73 | calc |
| 74 | _ = Sₗ*2^13*H^2/LX *d 2:=by field_simp |
| 75 | _ ≤ _:=by linarith only[hb.Q] |
| 76 | lemma windE (hp:Tour X (fun w x=>ballX (J w x)) (tours X J))(hh:∀ x,Ear F x (fun w=>ballX (J w (x w))) v 2 (e 2))(hv:∀ x,Tip F x (fun w=> ballX (J w (x w))) 0 5)(S:Sheaf)(hs:S.radius≤140*P.L.val)(he:S.debt ≤ Sₗ): |
| 77 | Ear F x (fun w=>Tour.ill X (tours X J) 5 S w (x w)) u 2 (E 2):=by |
| 78 | have hL:LX>0:=side_pos _; have hx:= hb.epos 2; apply (Tour.bill 5 _ _ hs he _ (by positivity) x (fun q hq=> Tour.boar h hp x q hq (hh _) (hv _))).up |
| 79 | apply le_trans _ hb.elm |
| 80 | field_simp |
| 81 | have hz:=Tour.sheaf_debt_pos; nlinarith only[hx,hz,sq_nonneg H, mul_nonneg (mul_nonneg (sq_nonneg H) hz.le) hx] |
| 82 | lemma windB {U:∀ w,Site (X w).f→Acr G (X w).f→ℝ}{V':∀ w,Site (X w).f→Acr G (X w).c→ℝ}(hp:Tour X U V')(n:ℕ)(h₀: 2 < n)(hn:n≤4)(g:ℕ)(hg:g≤5)(S:Sheaf)(hs:S.radius ≤ 140*P.L.val)(he:S.debt ≤ Sₗ): |
| 83 | ( (∀ x i,i ≤ n→2 ≤ i→ Ear F x (fun w=> U w (x w)) v i (d i)) → Ear F x (fun w=>Tour.ill X V' g S w (x w)) u n (f' n/3)) ∧ |
| 84 | ((∀ x i,i ≤ n→2 ≤ i→ Ear F x (fun w=> U w (x w)) v i (e i)) → Ear F x (fun w=>Tour.ill X V' g S w (x w)) u n (E n)):=by |
| 85 | have hh (X':ℕ→ℝ)(hx:∀ i,0 ≤ X' i)(hU:∀ x i,i ≤ n→2 ≤ i→Ear F x (fun w=>U w (x w)) v i (X' i)): Ear F x (fun w=>Tour.ill X V' g S w (x w)) u n (LX^5*Sₗ*(((2*H/LX^2)^n*X' n)+ ∑ z∈univ.erase (OrderedFinpartition.atomic n), D^z.length*X' z.length)):=by |
| 86 | have hL : 1≤LX:=by exact_mod_cast P.L.property |
| 87 | have hV:= Tour.sheaf_debt_pos; have hc:0 ≤ D:= h.sum.2.2.2.2.2.2; have hz:0 ≤ H:= h.sum.2.2.2.2.2.1 |
| 88 | have hv:0≤ ((2*H/LX^2)^n*X' n)+ ∑ z∈univ.erase (OrderedFinpartition.atomic n), D^z.length*X' z.length:= add_nonneg (mul_nonneg (by positivity) (hx _)) (Finset.sum_nonneg fun i _=> mul_nonneg (pow_nonneg hc _) (hx _)) |
| 89 | have ha:= Tour.bill g n S hs he _ hv x (fun q hq=>hp.boon h _ q hq n h₀.le hn X' hx (hU _)) |
| 90 | refine ha.up (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right (pow_le_pow_right₀ hL hg) hV.le) hv) |
| 91 | constructor |
| 92 | · intro h; apply (hh d hb.maj h).up; linarith only[hb.tall n h₀ hn] |
| 93 | intro h; exact (hh e hb.epos h).up (hb.scarf n h₀ hn) |
| 94 | end YM.Trace.Perfect |