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.Push.RELAY_MARK.HGroup |
| 2 | |
| 3 | /-! |
| 4 | # From triangular jet test to actual SectionData production |
| 5 | |
| 6 | Does *not* require switching to threshold-dependent sections to |
| 7 | make the equation space. One portfolio for T per d before any L,N, |
| 8 | period, t, β, derivative budget queries. Critical to deliver such |
| 9 | section in RAuthors, whichever planner proof is later used. -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.Push.Mark |
| 13 | open Function Set MeasureTheory Labels Wilson Source Lattice |
| 14 | open scoped Topology ContDiff Matrix.Norms.Frobenius BigOperators InnerProductSpace |
| 15 | variable {G : Gauge} {H : Hol G} {d : ℕ} {p : Label G d} {F : Switch G d} |
| 16 | |
| 17 | def regrade (F : Switch G d) := (LinearMap.fst ℂ ..) ∘ₗ F |
| 18 | def reel (F : Switch G d) := (LinearMap.snd ℂ ..) ∘ₗ F |
| 19 | |
| 20 | section Triangular |
| 21 | |
| 22 | private lemma gradePart_above (p : Label G d) (m) (h : p.val∈above m) : gradePart m p=0 := by |
| 23 | classical |
| 24 | apply Subtype.ext; change piece m p.val=0 |
| 25 | ext i |
| 26 | rw [MvPolynomial.coeff_weightedHomogeneousComponent]; split |
| 27 | next he => |
| 28 | rw [MvPolynomial.coeff_zero]; by_contra hu |
| 29 | have ht : stamp m < stamp (weight i) := (MvPolynomial.mem_restrictSupport_iff ℂ).mp h (MvPolynomial.mem_support_iff.mpr hu) |
| 30 | rw [show weight i = m from he] at ht; exact (lt_irrefl _) ht |
| 31 | simp |
| 32 | |
| 33 | private lemma gradePart_before {a b : ℕ × ℕ} (p : Label G d) (h : p.val∈rise b) (he : stamp a < stamp b) : |
| 34 | gradePart a p=0 := gradePart_above _ a (rise_later he h) |
| 35 | |
| 36 | private lemma rise_order (p : Label G d) (b : ℕ × ℕ) (h : ∀ a∈code d, gradePart a p ≠ 0 → stamp b ≤ stamp a) : p.val∈rise b := by |
| 37 | classical |
| 38 | rw [← fees p, Submodule.coe_sum]; refine Submodule.sum_mem _ fun i hi=>?_ |
| 39 | by_cases hc : gradePart i p=0 |
| 40 | · simp [hc] |
| 41 | exact rise_anti (h i hi hc) (rise_sector i (gradePart_mem i p)) |
| 42 | |
| 43 | lemma regrade_tri (h : Campaign H d F) (p : Label G d) (a) (_ha : a∈code d) (he : p.val∈rise a) : |
| 44 | ((regrade F p).val-p.val)∈above a := by |
| 45 | classical |
| 46 | rw [← fees p, map_sum, Submodule.coe_sum,Submodule.coe_sum,← Finset.sum_sub_distrib]; |
| 47 | refine Submodule.sum_mem _ fun b hb=>?_ |
| 48 | by_cases hp : stamp b<stamp a |
| 49 | · rw [gradePart_before p he hp,map_zero]; simp |
| 50 | exact above_anti (le_of_not_gt hp) (h.each b hb _ (gradePart_mem ..)).takes.grow |
| 51 | |
| 52 | private lemma low_part (hp : p ≠ 0) : ∃ b∈code d, p.val∈rise b ∧ gradePart b p≠0 := by |
| 53 | classical |
| 54 | let W : Set (ℕ ×ₗ ℕ) := {x| ∃ b∈code d,x=stamp b ∧ gradePart b p≠0} |
| 55 | have ht : W.Nonempty := by |
| 56 | have he : ∃ b∈code d, gradePart b p≠0 := by |
| 57 | by_contra! h |
| 58 | exact hp ((fees p).symm.trans (Finset.sum_eq_zero (fun i hi=> h i hi))) |
| 59 | obtain ⟨b,h,hb⟩ := he; exact ⟨_,b,h,rfl,hb⟩ |
| 60 | obtain ⟨y,hy,hh⟩ := wellFounded_lt.has_min W ht |
| 61 | obtain ⟨b,hb,rfl,hc⟩ := hy |
| 62 | exact ⟨b,hb,rise_order p b (fun a ha hk => le_of_not_gt (hh _ ⟨a,ha,rfl,hk⟩)),hc⟩ |
| 63 | |
| 64 | private lemma fixed_first (h : Campaign H d F) (p : Label G d) (a) (_ha : a∈code d) (he : p.val∈rise a) : |
| 65 | gradePart a (regrade F p) = gradePart a p := sub_eq_zero.mp (by |
| 66 | rw [← map_sub]; exact gradePart_above _ a (regrade_tri h p a _ha he)) |
| 67 | |
| 68 | lemma regrade_inj (h : Campaign H d F) : Injective (regrade F) := LinearMap.ker_eq_bot.mp (LinearMap.ker_eq_bot'.mpr fun p he=>by |
| 69 | by_contra hp; obtain ⟨b,hb,hc,hq⟩ := low_part hp |
| 70 | rw [← fixed_first h p b hb hc,he,map_zero] at hq; exact hq rfl) |
| 71 | |
| 72 | def twist (h : Campaign H d F) : Label G d ≃ₗ[ℂ] Label G d := |
| 73 | LinearEquiv.ofBijective (regrade F) ⟨regrade_inj h,(LinearMap.injective_iff_surjective).1 (regrade_inj h)⟩ |
| 74 | |
| 75 | lemma inverse_tier (h : Campaign H d F) (p : Label G d) (a) (he : p.val∈rise a) : ((twist h).symm p).val∈rise a := by |
| 76 | let x := (twist h).symm p |
| 77 | have ht : regrade F x=p := (twist h).apply_symm_apply _ |
| 78 | change x.val∈_ |
| 79 | by_cases h0 : x=0 |
| 80 | · simp [h0] |
| 81 | obtain ⟨b,hb,hx,hj⟩ := low_part h0 |
| 82 | apply rise_anti ?_ hx |
| 83 | apply le_of_not_gt; intro hv |
| 84 | rw [← fixed_first h x b hb hx,ht] at hj |
| 85 | exact hj (gradePart_before p he hv) |
| 86 | end Triangular |
| 87 | |
| 88 | section Reel |
| 89 | |
| 90 | lemma cost_reel (h : Campaign H d F) (p : Label G d) (a) (ha : p.val∈rise a) : reel F p∈powered G a.2 := by |
| 91 | classical |
| 92 | rw [← fees p,map_sum]; refine Submodule.sum_mem _ fun b hb=>?_ |
| 93 | by_cases hv : stamp b < stamp a |
| 94 | · rw [gradePart_before p ha hv,map_zero]; exact Submodule.zero_mem _ |
| 95 | exact power_drop (stamp_monotone (le_of_not_gt hv)) (h.each b hb _ (gradePart_mem ..)).takes.cost |
| 96 | |
| 97 | lemma form_reel (h : Campaign H d F) (p : Label G d) : Forms H d (reel F p) (twist h p).val := by |
| 98 | rw [← fees p,map_sum,map_sum,Submodule.coe_sum] |
| 99 | exact Forms.sum _ _ _ (fun b hb=> (h.each b hb _ (gradePart_mem ..)).takes.glyph) |
| 100 | lemma paid_reel (h : Campaign H d F) (p : Label G d) (hv : p∈Maxwell.equationIdeal G d) : Micro (reel F p) := by |
| 101 | rw [← fees p,map_sum]; exact Submodule.sum_mem (micros G) |
| 102 | (fun b hb=> (h.each b hb _ (gradePart_mem ..)).exacts (clip_sectors p hv b)) |
| 103 | lemma reel_gauge (h : Campaign H d F) (p : Label G d) : GaugeInvariant (reel F p) := by |
| 104 | rw [← fees p,map_sum]; intro t U |
| 105 | simp only [Finset.sum_apply]; exact Finset.sum_congr rfl (fun b hb=> (h.each b hb _ (gradePart_mem ..)).takes.gauge t U) |
| 106 | lemma reel_real (h : Imprint H d F) (p : Label G d) : reel F (realBar p)=star (reel F p) := congr_arg Prod.snd (h.real_ p) |
| 107 | lemma twist_real (h : Imprint H d F) (p : Label G d) : twist h.toCampaign (realBar p)=realBar (twist h.toCampaign p) := congr_arg Prod.fst (h.real_ p) |
| 108 | lemma reel_orient (h : Imprint H d F) (s : Signed) (p) : reel F (theta s p)=reel F p ∘ pull s 0 := congr_arg Prod.snd (h.signed s p) |
| 109 | lemma twist_orient (h : Imprint H d F) (s : Signed) (p) : twist h.toCampaign (theta s p)=theta s (twist h.toCampaign p) := congr_arg Prod.fst (h.signed s p) |
| 110 | lemma twist_unit (h : Campaign H d F) : twist h (unit G d)=unit G d := congr_arg Prod.fst h.start |
| 111 | lemma reel_unit (h : Campaign H d F) : reel F (unit G d)=1 := congr_arg Prod.snd h.start |
| 112 | end Reel |
| 113 | end YM.Push.Mark |