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.WilsonBulk.Transit.Carrier |
| 2 | import YM.Work.F08.Rows |
| 3 | |
| 4 | /-! |
| 5 | # Bridge to BLOCH kernel alphabet |
| 6 | |
| 7 | Row/col costs & both period fits. Applicability e.g. center `A_tree` |
| 8 | and curvature projections. First clause in large/small σ uniform proofs. |
| 9 | Doesn't know shape symmetry restrictions needed later. -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.WilsonBulk.Sheet |
| 13 | open scoped Topology Classical ENNReal BigOperators |
| 14 | open Filter Function Pert.Bulk Finset Lattice Laurent Bloch Equiv |
| 15 | open Work.F08 |
| 16 | variable {X Y X' Y' U U' : Type} {α β : Type} {L c f : Side} {σ θ p q : ℝ} {n : ℕ} |
| 17 | -- reindex ambient spaces in either position |
| 18 | lemma ferries {P : X→X'} {Q : Y→Y'} {G : Duct X Y} {H : Duct X' Y'} (he : GaugeLine P Q G H) |
| 19 | (e : U≃ X) (E : U'≃ X') {F : U→ U'} (h : ∀ x,P (e x)=E (F x)) : |
| 20 | GaugeLine F Q (G ∘ e) (H ∘ E) := by |
| 21 | constructor |
| 22 | · intro x y; rw [Function.comp_apply,← h,he.row]; rfl |
| 23 | intro x y |
| 24 | let p : {z//F z=x}≃{z//P z=E x}:= Equiv.subtypeEquiv e (fun j=> by rw [h, E.injective.eq_iff]) |
| 25 | rw [Function.comp_apply, he.col, ← p.tsum_eq _]; rfl |
| 26 | |
| 27 | def spotCost (L : Side) (σ : ℝ) : Duct (Market α) (Market β) := fun x y=> σ*delta L x.1 y.1 |
| 28 | lemma delta_shape (hs : 0 ≤ σ) (h : σ/L.val≤θ) : Geometry (lawn α) (lawn β) θ σ (spotCost L σ) := by |
| 29 | intro x z y w |
| 30 | unfold spotCost; apply (mul_le_mul_of_nonneg_left (inv_scaled (L:=L) x.1 y.1 z.1 w.1) hs).trans |
| 31 | calc _ = σ*delta L x.1 y.1 + σ*delta L z.1 w.1 + (σ/L.val)*sep x.1 z.1 := by ring |
| 32 | _ ≤ _ := add_le_add_right (mul_le_mul_of_nonneg_right h (sep_nonneg ..)) _ -- maybe add order |
| 33 | |
| 34 | def flavor (x : Co c α) : {w:Market α//small c α w=x}≃ {z//wrap c z=x.1} where |
| 35 | toFun u := ⟨u.val.1,by have h:=congr_arg Prod.fst u.property; exact h⟩ |
| 36 | invFun v:= ⟨(v.val,x.2),Prod.ext v.property rfl⟩ |
| 37 | left_inv p:= by apply Subtype.ext; refine Prod.ext rfl ?_; have h:=congr_arg Prod.snd p.property; exact h.symm |
| 38 | right_inv _ := Subtype.ext rfl |
| 39 | lemma bidding (u : Market α→ℝ) (x : Co c α) : ∑' z:{w:Market α//small c α w=x},u z.val =∑' z, if wrap c z=x.1 then u (z,x.2) else 0 := by |
| 40 | rw [← (flavor x).symm.tsum_eq _]; refine Eq.trans (tsum_subtype (s:={z|wrap c z=x.1}) (fun z=>u (z,x.2))) ?_ |
| 41 | exact tsum_congr fun z=> by rw [Set.indicator_apply]; simp only [Set.mem_setOf_eq] |
| 42 | |
| 43 | variable [Fintype α] [Fintype β] |
| 44 | lemma plain_gauge (F : Row α β) : GaugeLine (small c α) (small c β) (plain F) (F.acts c) := by |
| 45 | constructor |
| 46 | · intro x y; rw [bidding]; exact (matches_plain F x y).symm |
| 47 | intro x y; rw [bidding (fun v=> plain F v y) x]; have h:= (matches_plain (c:=c) (transRows F) y x).symm; rw [acts_trans] at h |
| 48 | apply h.trans; unfold display; apply tsum_congr; intro z |
| 49 | split |
| 50 | · unfold plain transRows; congr; abel |
| 51 | exact rfl |
| 52 | lemma plain_audited {F : Row α β} (hσ : 0 ≤ σ) (h : F.strip θ p) (hp : 0 ≤ p) (he : σ ≤ θ) (hh : (n:ℝ)*σ ≤ θ) : |
| 53 | AuditLine (plain F) (spotCost 1 σ) n ((Fintype.card β)*p) ((Fintype.card α)*p) := by -- need σ≥0 |
| 54 | constructor |
| 55 | · positivity |
| 56 | · positivity |
| 57 | · intro x y; exact mul_nonneg (by assumption) (delta_nonneg ..) |
| 58 | · intro x; rw [ENNReal.ofReal_mul (by positivity : 0≤(Fintype.card β:ℝ)), ENNReal.ofReal_natCast]; exact convert_market _ _ (fun v=> (plain0 h he).1 x v) |
| 59 | intro y; rw [ENNReal.ofReal_mul (by positivity : 0≤(Fintype.card α:ℝ)), ENNReal.ofReal_natCast]; |
| 60 | unfold spotCost; simp_rw [← mul_assoc]; apply convert_market; exact fun v=> (plain0 h hh).2 v y |
| 61 | |
| 62 | omit [Fintype α] in |
| 63 | def district (L : Side) (α : Type) : Market α ≃ Market (Co L α) where |
| 64 | toFun x:= (Stationary.rent L x.1,wrap L x.1,x.2) |
| 65 | invFun x:= (colony L (x.2.1,x.1),x.2.2) |
| 66 | left_inv x:= by refine Prod.ext ?_ rfl; exact (colony L).apply_symm_apply x.1 |
| 67 | right_inv x:= by |
| 68 | obtain ⟨hv,h⟩:= (@Stationary.rent_raw L x.1 _ x.2.1 (show colony L (x.2.1,x.1)=_ from rfl)); exact Prod.ext h (Prod.ext hv rfl) |
| 69 | |
| 70 | omit [Fintype α] in |
| 71 | lemma towns (g : Ratio c f) (x : Market α) : small c (Co g.count α) (district _ α x)=splitCo g α (small f α x) := by |
| 72 | rw [split_co]; have h := Stationary.rent_balance g.count x.1 |
| 73 | unfold small |
| 74 | simp only [g.residue_wrap]; refine Prod.ext ?_ rfl |
| 75 | rw [show wrap f x.1=g.assemble (wrap c (Stationary.rent g.count x.1),wrap g.count x.1) from by |
| 76 | rw [Ratio.assemble,Ratio.embed_wrap,← map_add,add_comm,h.symm],g.assemble_parent]; rfl |
| 77 | lemma install_gauge (g : Ratio c f) (H : Cross g.count α β) : GaugeLine (small f α) (small c β) (install H) (installed g H) := |
| 78 | ferries (plain_gauge H) (district g.count α) (splitCo g α) (towns g) |
| 79 | omit [Fintype α] [Fintype β] in |
| 80 | lemma install_roll (H : Cross L α β) (x : Market α) (y : Market β) (z : Cover) : |
| 81 | install H (roll (L.val • z) α x) (roll z β y)=install H x y := by |
| 82 | let u:= Stationary.rent L x.1; have hz : x.1=lift (wrap L x.1) + L.val • u:= Stationary.rent_balance .. |
| 83 | obtain ⟨h,hp⟩:= (@Stationary.rent_raw L (u+z) _ (wrap L x.1) (show x.1+ L.val • z= _ by rw [smul_add,← add_assoc,hz.symm])) |
| 84 | simp only [install,roll_apply,h,hp]; rw [add_sub_add_right_eq_sub] |
| 85 | lemma install_audited {F : Cross L α β} (h : F.strip θ p) (hp : 0≤p) (hs : 0≤σ) (he : σ≤θ) (hh : (n:ℝ)*σ≤θ) : |
| 86 | AuditLine (install F) (spotCost L σ) n ((Fintype.card β)*(Real.exp (4*σ)*p)) ((Fintype.card α)* ((L.val:ℝ)^4*(Real.exp (4*(n*σ))*p))) := by |
| 87 | constructor |
| 88 | · positivity |
| 89 | · positivity |
| 90 | · intro x y; exact mul_nonneg hs (delta_nonneg ..) |
| 91 | · intro y; rw [ENNReal.ofReal_mul (by positivity : 0≤(Fintype.card β:ℝ)), ENNReal.ofReal_natCast]; exact convert_market _ _ (fun i=> cross_row h hs he y i) |
| 92 | intro y; rw [ENNReal.ofReal_mul (by positivity : 0≤(Fintype.card α:ℝ)), ENNReal.ofReal_natCast]; |
| 93 | unfold spotCost; simp_rw [← mul_assoc (n:ℝ) σ _]; apply convert_market; exact fun i=> cross_col h hp (by positivity) hh i y |
| 94 | end YM.WilsonBulk.Sheet |