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.Forms.Pontoon |
| 2 | |
| 3 | noncomputable section |
| 4 | namespace YM.RG08.Forms |
| 5 | open Pert.Bulk Packets Finset Function |
| 6 | open scoped BigOperators Topology ENNReal Classical |
| 7 | set_option autoImplicit false |
| 8 | variable {I J:Type}{n:ℕ} |
| 9 | |
| 10 | def crossfire (K K':Cables n I J) (i:Fin n):Cables n I J:=fun j=>if j=i then K j-K' j else if j < i then K' j else K j |
| 11 | |
| 12 | theorem firing (K K':Cables n I J)(F F':Flake n I)(y:Tape n J)(x:Tape n I) : vat K F y x-vat K' F' y x= vat K (F-F') y x +∑ i,vat (crossfire K K' i) F' y x:=by |
| 13 | have he:=Finset.prod_sub_ordered (univ:Finset (Fin n)) (fun i=> K i (x i) (y i)) (fun i=> (K-K') i (x i) (y i)) |
| 14 | dsimp only [Pi.sub_apply] at he |
| 15 | simp only [sub_sub_cancel] at he |
| 16 | let h K (i:Fin n):ℝ:= (K:Cables n I J) i (x i) (y i) |
| 17 | have hh (i:Fin n):design (crossfire K K' i) x y=(h K i-h K' i)* (∏ j∈univ.filter (fun j=>j < i),h K' j) * ∏ j∈univ.filter (fun j:Fin n=>i<j), h K j:=by |
| 18 | unfold design;rw [←mul_prod_erase _ _ (mem_univ i)] |
| 19 | let s:=univ.erase i |
| 20 | have hl:univ.filter (fun j:Fin n=>j < i)= s.filter (fun j:Fin n=>j < i):=by ext j;simp [s];exact fun h=>ne_of_lt h |
| 21 | have hr:univ.filter (fun j:Fin n=>i<j)= s.filter (fun j:Fin n=> ¬j < i):=by |
| 22 | ext j;simp [s];constructor |
| 23 | · intro he; exact ⟨ne_of_gt he,he.le⟩ |
| 24 | rintro ⟨he,hj⟩;exact lt_of_le_of_ne hj (Ne.symm he) |
| 25 | have hs:(∏ j∈s,crossfire K K' i j (x j) (y j))=(∏ j∈s,if j < i then h K' j else h K j):=prod_congr rfl fun j hj=>by by_cases hc:j < i<;>simp [hc] <;>simp [crossfire,h,hc,(mem_erase.mp hj).1] |
| 26 | simp only [← show s=univ.erase i from rfl,hl,hr] |
| 27 | rw [hs,Finset.prod_ite];simp only [crossfire,h,ite_true, Pi.sub_apply,mul_assoc] |
| 28 | unfold vat;change F x * (design K x y) - F' x * (design K' x y)=_+∑ i,F' x*design (crossfire K K' i) x y |
| 29 | simp_rw [hh,←Finset.mul_sum] |
| 30 | dsimp [h,design] at * |
| 31 | rw [he];ring |
| 32 | |
| 33 | variable {K K' E:Cables n I J}{d:Ground I}{D:Ground J}{σ τ δ C P:ℝ}{F F':Flake n I} |
| 34 | /-- geometry checked also on mixed and difference lines; easier to state by disjunction in |
| 35 | positions. -/ |
| 36 | def shows (d:Ground I)(D:Ground J)(σ τ :ℝ)(E K K':Cables n I J):Prop:=∀ A:Cables n I J,(∀ i x y,A i x y≠0→K i x y≠0∨K' i x y≠0) → lighthouse d D σ τ E A |
| 37 | |
| 38 | structure Alley (d:Ground I)(D:Ground J)(σ τ δ P:ℝ)(E K K':Cables n I J):Prop where |
| 39 | gain : 0≤P |
| 40 | near : street E K fun _=>P |
| 41 | far : street E K' fun _=>P |
| 42 | change : street E (K-K') fun _=>P*δ |
| 43 | lights : shows d D σ τ E K K' |
| 44 | |
| 45 | lemma Alley.self (h:Alley d D σ τ δ P E K K') : lighthouse d D σ τ E K:=h.lights _ fun _ _ _ he=>Or.inl he |
| 46 | lemma Alley.other(h:Alley d D σ τ δ P E K K'):lighthouse d D σ τ E K':=h.lights _ fun _ _ _ he=>Or.inr he |
| 47 | lemma Alley.fire(h:Alley d D σ τ δ P E K K')(i:Fin n):lighthouse d D σ τ E (crossfire K K' i) := by |
| 48 | apply h.lights; intro j x y; unfold crossfire; split_ifs |
| 49 | · contrapose!; simp_all |
| 50 | · exact Or.inr |
| 51 | exact Or.inl |
| 52 | lemma Alley.street(h:Alley d D σ τ δ P E K K')(i:Fin n) : street E (crossfire K K' i) fun j=> if j=i then P*δ else P:=by |
| 53 | intro j; obtain rfl|hz:=eq_or_ne j i; · simpa [crossfire] using h.change j |
| 54 | by_cases hh:j < i |
| 55 | · simpa [crossfire,hz,hh] using h.far j |
| 56 | simpa [crossfire,hz,hh] using h.near j |
| 57 | |
| 58 | lemma Cot.rafts (hn : 0<n)(hc:Cot d σ δ C F F')(hk:Alley d D σ τ δ P E K K')(hδ:0≤δ): |
| 59 | raft K F-raft K' F'=raft K (F-F')+∑ i,raft (crossfire K K' i) F':=by |
| 60 | ext y |
| 61 | have he: Summable (vat K F y):=(raft_sum hn hc.near hc.gain hk.self hk.near y).of_norm |
| 62 | have hf: Summable (vat K' F' y):=(raft_sum hn hc.far hc.gain hk.other hk.far y).of_norm |
| 63 | have hd:Summable (vat K (F-F') y):=(raft_sum hn hc.compare (mul_nonneg hc.gain hδ) hk.self hk.near y).of_norm |
| 64 | have hs (i):Summable (vat (crossfire K K' i) F' y):=(raft_sum hn hc.far hc.gain (hk.fire i) (hk.street i) y).of_norm |
| 65 | unfold raft;rw [Pi.sub_apply,Pi.add_apply,Finset.sum_apply,← he.tsum_sub hf] |
| 66 | change (∑' x,(vat K F y x-vat K' F' y x))=(∑' x,vat K (F-F') y x)+∑ i,∑' x,vat (crossfire K K' i) F' y x |
| 67 | rw [← Summable.tsum_finsetSum (fun i _=>hs i)] -- ? |
| 68 | simp_rw [firing] |
| 69 | have ht:=summable_sum (s:=univ) fun i _=>hs i -- ? |
| 70 | exact hd.tsum_add ht |
| 71 | |
| 72 | lemma Cot.raft (hc:Cot d σ δ C F F')(hk:Alley d D σ τ δ P E K K')(hδ:0≤δ): Cot D τ δ ((n+1)*C*P^n) (raft K F) (raft K' F'):=by |
| 73 | have he:=hc.gain;have hv:=hk.gain |
| 74 | rcases eq_or_ne n 0 with hh|hh |
| 75 | · subst hh;exact Cot.scalar _ (by positivity) |
| 76 | have ha:C*∏ _: Fin n,P ≤ ((n:ℝ)+1)*C*P^n:=by simp;nlinarith [mul_nonneg he (pow_nonneg hv n),Nat.cast_nonneg (α:=ℝ) n] |
| 77 | refine ⟨by positivity,(hc.near.raft he hk.self hk.near).mono le_rfl ha (fun _=>le_rfl),(hc.far.raft he hk.other hk.far).mono le_rfl ha (fun _=>le_rfl),?_⟩ |
| 78 | rw [hc.rafts (Nat.pos_of_ne_zero hh) hk hδ] -- args? |
| 79 | let A:ℝ:=C*P^n*δ |
| 80 | have hA:0≤A:=by unfold A;positivity |
| 81 | have hx : Held D τ A (Forms.raft K (F-F')):=by |
| 82 | convert hc.compare.raft (mul_nonneg hc.gain hδ) hk.self hk.near using 1;simp [A];ring |
| 83 | have ht (i):Held D τ A (Forms.raft (crossfire K K' i) F'):=by |
| 84 | convert hc.far.raft he (hk.fire i) (hk.street i) using 1 |
| 85 | unfold A; rw [←mul_prod_erase _ (fun j=> if j=i then P*δ else P) (mem_univ i)] |
| 86 | rw [if_pos rfl,prod_eq_pow_card (b:=P) (by intro j hj;exact if_neg (mem_erase.mp hj).1),card_erase_of_mem (mem_univ ..),card_univ,Fintype.card_fin] |
| 87 | nth_rw 1 [show n=n-1+1 by omega] |
| 88 | rw [pow_succ];ring |
| 89 | convert hx.add (Held.sum univ _ _ (fun _ _=>hA) (fun i _=>ht i)) hA (Finset.sum_nonneg fun _ _=>hA) using 1;simp [A];ring |
| 90 | |
| 91 | end YM.RG08.Forms |