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.Packets.FlatStep |
| 2 | |
| 3 | /-! |
| 4 | # Using Beds as translation-invariant analytic curvature packets |
| 5 | -/ |
| 6 | noncomputable section |
| 7 | namespace YM.RG08.Flat |
| 8 | open Filter Finset Pert.Bulk Laurent Lattice Bloch Stationary Function Matrix RG08.Packets RG Precision |
| 9 | open scoped Topology ENNReal |
| 10 | |
| 11 | set_option autoImplicit false |
| 12 | variable {α : Type} [Fintype α] {c f : Side} |
| 13 | {Y H : Bed} {p q σ : ℝ} {R S : Row α α} |
| 14 | |
| 15 | def saddle (R : Row α α) : Packet 1 α := fun x y=> plain R x (y 0) |
| 16 | |
| 17 | theorem settled (h : R.strip σ p) : Folded σ (saddle R) (Fintype.card α * p) := by |
| 18 | intro x |
| 19 | rw [← (identify (Market α)).symm.tsum_eq] |
| 20 | rw [ENNReal.ofReal_mul (by positivity : 0 ≤ (Fintype.card α :ℝ)),ENNReal.ofReal_natCast] |
| 21 | apply convert_market |
| 22 | intro i |
| 23 | have he := (plain0 h (le_refl _)).1 x i |
| 24 | simpa [saddle,identify,expense,delta,sep_comm] using he -- simp sep_comm expensive? |
| 25 | |
| 26 | omit [Fintype α] in |
| 27 | theorem display_sub {A : Kernel α α} {B : Kernel α α} (x : Market α) (y : Co c α) |
| 28 | (hA : Summable (A x))(hB:Summable (B x)) : |
| 29 | display (fun x y=>A x y-B x y) c x y = display A c x y - display B c x y := by |
| 30 | let s := {z:Cover | wrap c z=y.1} |
| 31 | classical |
| 32 | have h {T : Kernel α α} (hT : Summable (T x)) : Summable fun z=> if wrap c z = y.1 then T x (z,y.2) else 0 := by |
| 33 | have H : Summable fun z : Cover=> T x (z,y.2) := by |
| 34 | apply hT.comp_injective (i:=fun z=> (z,y.2)) |
| 35 | intro a b h; exact congr_arg Prod.fst h |
| 36 | exact (H.indicator s).congr fun z=>Set.indicator_apply .. |
| 37 | rw [display,display,display,← Summable.tsum_sub (h hA) (h hB)] |
| 38 | refine tsum_congr fun _=> ?_; split <;> simp |
| 39 | |
| 40 | def roadSum (R : Row α α) (a b : α) := ∑'z,R a b z |
| 41 | |
| 42 | omit [Fintype α] in |
| 43 | theorem roadSum_price (R : Row α α) (a b : α) : Complex.ofReal (roadSum R a b)=R.read 0 a b := by |
| 44 | rw [roadSum,Row.read,Matrix.of_apply,Laurent.read]; simp [← Complex.ofReal_tsum] |
| 45 | |
| 46 | omit [Fintype α] in |
| 47 | theorem saddle_sum {R : Row α α} (x : Market α) (i : α) : |
| 48 | (∑' z,saddle R x fun _=> (z,i))=roadSum R x.2 i := by |
| 49 | rw [← (Equiv.addRight x.1).tsum_eq] |
| 50 | refine tsum_congr fun z=>?_ ; unfold saddle plain; rw [show ((Equiv.addRight x.1) z)=z+x.1 from rfl]; simp |
| 51 | |
| 52 | theorem turn_class {b b': Clip} {e D e' D' : ℝ} (hY : Floor Y b c e D) (hH : Floor H b' c e' D') |
| 53 | (hp : Y.metric.strip σ p) (hq : H.metric.strip σ q) (hσ : 0 ≤ σ)(he : 0 ≤ p)(he' : 0 ≤ q): |
| 54 | let B : Packet 1 Faces := fun x y=> saddle Y.metric x y - saddle H.metric x y |
| 55 | neutral B ∧ town 1 B ∧ Folded σ B (Fintype.card Faces*(p+q)) ∧ Sigil B c (quadratic Y c-quadratic H c) := by |
| 56 | intro B |
| 57 | have hy := settled hp |
| 58 | have hh := settled hq |
| 59 | refine ⟨?_,fun x y u=>?_,?_,Y.metric.acts c-H.metric.acts c,?_,?_⟩ |
| 60 | · intro x i |
| 61 | have h {K : Packet 1 Faces} {v : ℝ} (h : Folded σ K v) : |
| 62 | Summable (fun z:Cover=> K x (fun _=> (z,i))) := by |
| 63 | have H : Injective fun z:Cover=> ((z,i):Market Faces) := fun _ _ he=> congr_arg Prod.fst he |
| 64 | have he := (bill_folded x hσ h).comp_injective H |
| 65 | exact he |
| 66 | change ∑' z,(saddle Y.metric x (fun _=>(z,i))-saddle H.metric x (fun _=>(z,i)))=0 |
| 67 | rw [Summable.tsum_sub (h hy) (h hh), saddle_sum,saddle_sum,sub_eq_zero] |
| 68 | apply Complex.ofReal_injective |
| 69 | rw [roadSum_price,roadSum_price,hY.starts,hH.starts] |
| 70 | · change plain Y.metric _ _ - plain H.metric _ _ = _ |
| 71 | rw [pass_one Y.metric x y u,pass_one H.metric x y u]; rfl |
| 72 | · rw [mul_add]; exact (ticket_folded ..).1 (((ticket_folded ..).2 hy).sub ((ticket_folded ..).2 hh) (by positivity) (by positivity)) |
| 73 | · intro x y |
| 74 | change display (fun x y=> plain Y.metric x y-plain H.metric x y) _ x y = _ |
| 75 | rw [display_sub x y (cost_any (plain0 hp (le_refl _)).1 hσ _) (cost_any (plain0 hq (le_refl _)).1 hσ _), matches_plain Y.metric x y,matches_plain H.metric x y] |
| 76 | rfl |
| 77 | unfold quadratic Precision.K |
| 78 | rw [Matrix.mul_sub,Matrix.sub_mul] |
| 79 | end YM.RG08.Flat |