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.RG08.Wallet.Furl |
| 2 | |
| 3 | /-! # Ribbon motion in qualitative and uniform earns -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.RG08 |
| 7 | open RG Laurent Lattice Wilson Bloch Next.Free Push.AbsoluteSums Finset Function Filter |
| 8 | open Stationary Analysis UVExt.Paths Matrix |
| 9 | open scoped Topology ContDiff Classical |
| 10 | variable {r : ℕ} |
| 11 | section guaranteed |
| 12 | variable {α β : Type} [Fintype α] [Fintype β] |
| 13 | variable {U V : Shale α r} {A : Row α β} {m : Side} {X : ℕ→Shale α r} |
| 14 | |
| 15 | def scrollL (U : Shale α r) (A : Row α β) := score (RG08.ribbon U (fun _=>A)) |
| 16 | omit [Fintype α] in |
| 17 | lemma scroll_price (K : Row α β) {w B C : ℝ} (h : Glow U ((r+1:ℕ)*w) B) (hw : 0≤w) (hh : 0≤C) |
| 18 | (he : K.strip ((r+1:ℕ)*w) C) : Glow (scrollL U K) w (((Fintype.card β:ℝ)^r*C^r)*B) := by |
| 19 | apply score_price _ hw |
| 20 | simpa only [prod_const,card_univ,Fintype.card_fin] using ribbon_price U (fun i=>K) h (by positivity) (fun _=>hh) (fun i=>he) |
| 21 | omit [Fintype α] in |
| 22 | lemma scroll_tune (h : Summable U) (ht : Whole A) : Tunable (scrollL U A) := score_tunable (ribbons_sum h (fun _=> ht)) |
| 23 | lemma scroll_play (h : Summable U) (ht : Whole A) (x : PAC β m) : stanza (scrollL U A) m x= stanza U m (A.acts m *ᵥ x) := by |
| 24 | unfold scrollL; rw [stanza_score (ribbons_sum h (fun _=>ht))]; exact ribbon_eval_all h (fun _=>ht) _ _ |
| 25 | omit [Fintype α] in |
| 26 | lemma scroll_less (h : Summable U) (p : Summable V) (ht : Whole A) : scrollL (U-V) A=scrollL U A-scrollL V A := by |
| 27 | unfold scrollL; rw [ribbon_less h p (fun _=>ht),score_sub (ribbons_sum h (fun _=>ht)) (ribbons_sum p (fun _=>ht))] |
| 28 | omit [Fintype α] in |
| 29 | lemma scroll_more (h : Summable U) (p : Summable V) (ht : Whole A) : scrollL (U+V) A=scrollL U A+scrollL V A := by |
| 30 | have hf : Summable (U+V) := h.add p; have he := scroll_less hf p ht; rw [add_sub_cancel_right] at he |
| 31 | exact eq_add_of_sub_eq he.symm |
| 32 | omit [Fintype α] in |
| 33 | lemma nobody (p : ℕ) (h : Whole A) : scrollL (0:Shale α p) A=0 := by |
| 34 | have hp : Summable (0:Shale α p) := summable_zero; simpa only [sub_self] using scroll_less hp hp h |
| 35 | omit [Fintype α] in |
| 36 | private lemma loan {M : ℝ} {α β : Type} {A : Row α β} (h : Whole A) (hv : 0<M) (n : ℕ) : |
| 37 | ∃ w B : ℝ, 0<w ∧ 0 ≤ B ∧ (↑(n+1:ℕ):ℝ)*w≤M ∧ A.strip ((n+1:ℕ)*w) B := by |
| 38 | obtain ⟨s,C,hs,H⟩:=h |
| 39 | let t:=min M s |
| 40 | have he : 0<t := lt_min hv hs |
| 41 | have ht : 0<((↑(n+1:ℕ)):ℝ) := by positivity |
| 42 | refine ⟨t/(↑(n+1:ℕ):ℝ),max C 0,div_pos he ht,le_max_right ..,by rw [mul_div_cancel₀ t ht.ne']; exact min_le_left ..,Work.F08.strip_mono H ?_ (le_max_left ..)⟩ |
| 43 | rw [mul_div_cancel₀ t ht.ne']; exact min_le_right .. |
| 44 | omit [Fintype α] in |
| 45 | lemma scroll_adm (h : Glows U) (ht : Whole A) : Glows (scrollL U A) := by |
| 46 | obtain ⟨w,C,hp,H⟩:=h; obtain ⟨b,D,hb,hD,hU,hV⟩ := loan ht hp r |
| 47 | exact ⟨_,_,hb,scroll_price _ (glow_less H hU le_rfl) hb.le hD hV⟩ |
| 48 | omit [Fintype α] in |
| 49 | lemma scroll_thread (h : Mending X U) (ht : Whole A) : Mending (fun i=> scrollL (X i) A) (scrollL U A) := by |
| 50 | have hf i := (Mending.ever h i).summable |
| 51 | have hh := h.1.summable |
| 52 | have he i : scrollL (X i) A-scrollL U A=scrollL (X i-U) A := (scroll_less (hf i) hh ht).symm |
| 53 | refine ⟨scroll_adm h.1 ht,?_⟩ |
| 54 | simp only [he]; obtain ⟨b,δ,hb,hδ,H⟩:=h.2 |
| 55 | obtain ⟨w,B,hw,hp,hS,hH⟩:= loan ht hb r |
| 56 | let z:= (Fintype.card β:ℝ)^r*B^r |
| 57 | exact ⟨_,fun i=> z*δ i,hw,by simpa using hδ.const_mul z,fun i=> scroll_price _ (glow_less (H i) hS le_rfl) hw.le hp hH⟩ |
| 58 | end guaranteed |
| 59 | |
| 60 | section variation |
| 61 | variable {I J : Type} {α β : I→Type} [∀ i,Fintype (α i)] [∀ i,Fintype (β i)] {y v w δ : I→ℝ} {x : I→Side} |
| 62 | variable {V T : ∀ i,Shale (α i) r} {C B : ∀ i,Row (α i) (β i)} |
| 63 | omit [∀ i,Fintype (α i)] in |
| 64 | lemma Voucher.score (h : 0≤w) (hp : Voucher y δ V ((r+1:ℕ) • w)) : Voucher y δ (fun i=> RG08.score (V i)) w := by |
| 65 | refine ⟨_,hp.choose_spec.1,fun i=> ?_⟩; have hh := hp.choose_spec.2 i; simp only [Pi.smul_apply,nsmul_eq_mul] at hh; exact score_price hh (h i) |
| 66 | omit [∀ i, Fintype (α i)] in |
| 67 | lemma remit (h : ∀ i, 0<w i) (hg : Audience y) (hδ : 0 ≤ δ) (hv : Both y δ V T ((r+1:ℕ) • w)) |
| 68 | (hf : RowBoth y δ C B ((r+1:ℕ) • w)) (hp : Weighed y (fun i=> (Fintype.card (β i):ℝ))) : |
| 69 | Both y δ (fun i=>scrollL (V i) (C i)) (fun i=>scrollL (T i) (B i)) w := by |
| 70 | let μ : I→ℝ := (r+1:ℕ) • w |
| 71 | have he i : 0<μ i := smul_pos (Nat.succ_pos _) (h i) |
| 72 | have hh : 0 ≤ w := fun i=> (h i).le |
| 73 | have hx : 0 ≤ μ := fun i=> (he i).le |
| 74 | have hA := bind_budget hx hv.fresh (A:=fun _=>C) (fun _=> hf.fresh) hp |
| 75 | have hB := bind_budget hx hv.again (A:=fun _=>B) (fun _=> hf.again) hp |
| 76 | constructor |
| 77 | · exact Voucher.score hh hA |
| 78 | · exact Voucher.score hh hB |
| 79 | let X i := RG08.ribbon ((V-T) i) (fun _=>C i) |
| 80 | let Y i := RG08.ribbon (T i) (fun _=> C i)-RG08.ribbon (T i) (fun _=> B i) |
| 81 | let Z i := RG08.ribbon (V i) (fun _=> C i)-RG08.ribbon (T i) (fun _=> B i) |
| 82 | have ht i : Summable (T i) := (hv.again.choose_spec.2 i).summable (ling_one (hx i)) |
| 83 | have hV i : Summable (V i) := (hv.fresh.choose_spec.2 i).summable (ling_one (hx i)) |
| 84 | have hc i := hf.fresh.status he i |
| 85 | have hm i := hf.again.status he i |
| 86 | rw [show _-_ = (fun i=>score (Z i)) from funext fun i => by |
| 87 | unfold Z; rw [score_sub (ribbons_sum (hV i) (fun _=>hc i)) (ribbons_sum (ht i) (fun _=>hm i))]; rfl] |
| 88 | apply Voucher.score hh |
| 89 | have hX : X+Y=Z := by ext1 i; unfold X Y Z; rw [Pi.add_apply,Pi.sub_apply (g:=T), ribbon_less (hV _) (ht _) (fun _=>hc _)]; abel |
| 90 | rw [← hX] |
| 91 | exact (bind_budget hx hv.moves (A:=fun _=>C) (fun _=>hf.fresh) hp).plus (exchangeR he hg hδ hv.again (fun _=>hf) hp) hg |
| 92 | end variation |
| 93 | end YM.RG08 |