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.MultiNext.VACUUM_STABILITY.FirstGas |
| 2 | |
| 3 | set_option warningAsError false |
| 4 | |
| 5 | /-! |
| 6 | # A single countable output, padded as required by MULTISOURCE |
| 7 | -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.Multi.Vacuum |
| 11 | open RG Lattice Wilson Filter Finset Function MeasureTheory Text Cluster Syllable Corona Alternatives Desk Rejoin Stamp Restock |
| 12 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff Classical |
| 13 | |
| 14 | namespace Pad |
| 15 | variable {A F : Type*} {I J : Type} |
| 16 | |
| 17 | def pick (I : Type) [Countable I] : ℕ ≃ (I ⊕ ℕ) := Classical.choice nonempty_equiv_of_countable |
| 18 | |
| 19 | def wide [Countable I] (f : I → A) (a : A) := Sum.elim f (fun _ => a) ∘ pick I |
| 20 | |
| 21 | lemma all [Countable I] (f : I → A) (a : A) (P : A → Prop) (i : ℕ) (hf : ∀ i,P (f i)) (ha : P a) : P (wide f a i) := by |
| 22 | unfold wide; dsimp only [Function.comp_apply]; obtain x|x := pick I i |
| 23 | · exact hf _ |
| 24 | exact ha |
| 25 | |
| 26 | lemma wider [Countable I] (f : I → A) (a : A) (g : I→F) (b : F) (P : A → F → Prop) (i : ℕ) |
| 27 | (hf : ∀ i,P (f i) (g i)) (hh : P a b) : P (wide f a i) (wide g b i) := by |
| 28 | unfold wide; dsimp only [Function.comp_apply]; obtain x|x:=pick I i |
| 29 | · exact hf _ |
| 30 | exact hh |
| 31 | |
| 32 | lemma padding_left {f : I ⊕ J → ℂ} (hg : ∀ j : J,f (.inr j)=0) : ∑' i,f i=∑' i,f (.inl i) := by |
| 33 | symm |
| 34 | apply Sum.inl_injective.tsum_eq |
| 35 | rintro (i|j) H |
| 36 | · exact ⟨i,rfl⟩ |
| 37 | exact False.elim (H (hg _)) |
| 38 | |
| 39 | lemma padding_right {f : I ⊕ J → ℂ} (hg : ∀ j : I,f (.inl j)=0) : ∑' i,f i=∑' i,f (.inr i) := by |
| 40 | symm |
| 41 | apply Sum.inr_injective.tsum_eq |
| 42 | rintro (i|j) H |
| 43 | · exact False.elim (H (hg _)) |
| 44 | exact ⟨j,rfl⟩ |
| 45 | |
| 46 | lemma wide_sum [Countable I] (f : I → A) (a : A) (u : A → ℂ) (h : u a=0) : |
| 47 | ∑' i, u (wide f a i)=∑' i,u (f i) := |
| 48 | ((pick I).tsum_eq (u ∘ Sum.elim f fun _ => a)).trans <| padding_left fun _ => h |
| 49 | |
| 50 | lemma wide_cost [Countable I] (f : I → A) (a : A) (g : I → ℝ) (u : A → ℝ → ℝ) (hx : u a 0=0) {c : ℝ} |
| 51 | (h : SumBudget (fun i => u (f i) (g i)) c) : SumBudget (fun i => u (wide f a i) (wide g 0 i)) c := by |
| 52 | let x (i : I ⊕ ℕ) := u (Sum.elim f (fun _ => a) i) (Sum.elim g (fun _ => 0) i) |
| 53 | have ht : SumBudget (x ∘ Sum.inr) 0 := by simp [x,hx,Function.comp_def,SumBudget] |
| 54 | have hh := Absolute.union (f:=x) h ht |
| 55 | rw [add_zero] at hh |
| 56 | exact ⟨fun i => hh.1 _, (pick I).summable_iff.mpr hh.2.1, ((pick I).tsum_eq _).trans_le hh.2.2⟩ |
| 57 | end Pad |
| 58 | |
| 59 | variable {V I J : Type} {n : Side} {G : Gauge} [Countable I] [Countable J] |
| 60 | |
| 61 | /-- packaging lemma, exposed also for other constructions of the reservoir -/ |
| 62 | structure Armoire (V : Type) (G : Gauge) (n : Side) (I J : Type) where |
| 63 | e : I → SmoothLetter V G n |
| 64 | k : J → Pack n × Stamp V (Config G n) |
| 65 | pay : V → ℂ |
| 66 | |
| 67 | namespace Armoire |
| 68 | variable (Y : Armoire V G n I J) |
| 69 | |
| 70 | private def spare : SmoothLetter V G n := { zone := {0}, stamp := ⟨0,0⟩, anchor := 0, origin := by simp } |
| 71 | private def gap : Pack n × Stamp V (Config G n) := ⟨⟨⟨{0},{0}⟩,by simp⟩,0,0⟩ |
| 72 | |
| 73 | def dressed (P : Rep G n) : Reservoir P V where |
| 74 | support i := (Pad.wide Y.e spare i).zone |
| 75 | D i := (Pad.wide Y.e spare i).stamp.say |
| 76 | k i := (Pad.wide Y.k gap i).1 |
| 77 | K i := (Pad.wide Y.k gap i).2.say |
| 78 | pay := Y.pay |
| 79 | |
| 80 | variable (P : Rep G n) |
| 81 | |
| 82 | omit [Countable I] [Countable J] in |
| 83 | structure Complete (L : V → Support n → Prop) : Prop where |
| 84 | letters i : let w := Y.e i |
| 85 | P.p.Regular w.zone w.stamp.ink ∧ (∀ x∈w.stamp.name.support,L x w.zone) ∧ (w.stamp.name=0 → w.stamp.ink=0) |
| 86 | holder i : let w := (Y.k i).2; let q := (Y.k i).1 |
| 87 | Legible P.p q w.ink ∧ (∀ x∈w.name.support,L x q.zone) ∧ (w.name=0 → w.ink=0) |
| 88 | |
| 89 | variable [Fintype V] |
| 90 | |
| 91 | |
| 92 | |
| 93 | structure Insured (A : Set (V→ℂ)) (κ : ℝ) : Prop where |
| 94 | earns z : z ∈ A → ∃ f, (∀ i, 0 ≤ f i ∧ ∀ x∈(Y.e i).zone,P.p.supBounds x (Y.e i).zone ((Y.e i).stamp.tell z) (f i)) ∧ |
| 95 | Ac.Hit (fun i => (Y.e i).zone) P.p.B f (Rates.radius P.p) 1 |
| 96 | guns z : z ∈ A → ∃ f, (∀ i, 0 ≤ f i ∧ ∀ U, ‖(Y.k i).2.tell z U‖ ≤ f i) ∧ |
| 97 | Ac.Hit (fun i => (Y.k i).1.zone) P.p.B f (Rates.radius P.p) κ |
| 98 | |
| 99 | |
| 100 | |
| 101 | |
| 102 | |
| 103 | |
| 104 | end Armoire |
| 105 | end YM.Multi.Vacuum |