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.AnalyticNext.GRID_STOP_ATTENUATION.Alphabet.Progress |
| 2 | |
| 3 | set_option warningAsError false |
| 4 | |
| 5 | /-! # Repair any finite list or compatible presentation port |
| 6 | |
| 7 | Uniform proof, paid by aggregate per tag, not the sum over all tags at |
| 8 | any single hook. Missing slots still not guaranteed. This port reuses |
| 9 | exact algebra and keeps the vacuum *in place*. -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.AnalyticNext.GridStop.Alphabet |
| 13 | open RG Marker Wilson Lattice Multi Finset |
| 14 | open scoped Topology Matrix.Norms.Frobenius BigOperators Classical |
| 15 | variable {V : Type} [Fintype V] [DecidableEq V] {R : Census V} |
| 16 | variable {G : Gauge} {n : Side} (P : Rep G n) (X : V→Support n) |
| 17 | |
| 18 | structure Attempt (G : Gauge) (n : Side) (V : Type) where |
| 19 | tag : V |
| 20 | pack : Pack n |
| 21 | includeSite : Site n |
| 22 | value : Config G n → ℂ |
| 23 | price : ℝ |
| 24 | |
| 25 | namespace Attempt |
| 26 | variable (A : Attempt G n V) {Y : Rep G n} |
| 27 | |
| 28 | def eligible (δ κ μ : ℝ) := Costed P A.pack A.includeSite A.value δ κ μ A.price (X A.tag) |
| 29 | |
| 30 | def effect (x : V) : Pulse G n := if x=A.tag then nullPay P A.pack A.includeSite A.value else 0 |
| 31 | def asks (x : V) : ℝ := if x=A.tag then A.price else 0 |
| 32 | variable {κ δ μ : ℝ} |
| 33 | omit [Fintype V] in |
| 34 | lemma nonneg (h : A.eligible P X δ κ μ) (i : V) : 0 ≤ A.asks i := by |
| 35 | obtain ⟨a,ha,_,he⟩ := h.stowed |
| 36 | unfold asks; split |
| 37 | · apply le_trans ?_ he |
| 38 | exact mul_nonneg (add_nonneg (by norm_num) h.vacuum) (div_nonneg (mul_nonneg (burn_pos ..).le ha) h.κpos.le) |
| 39 | exact le_rfl |
| 40 | end Attempt |
| 41 | |
| 42 | variable (A : Attempt G n V) (L : List (Attempt G n V)) (D : Hot R → Pulse G n) |
| 43 | |
| 44 | def debt (i : V) : ℝ := (L.map (·.asks i)).sum |
| 45 | def acts (i : V) : Pulse G n := (L.map (·.effect P i)).sum |
| 46 | |
| 47 | def changed : Hot R → Pulse G n := |
| 48 | L.foldr (fun a y => edited P a.tag y a.pack a.includeSite a.value) D |
| 49 | |
| 50 | lemma changed_many : Multi.many P R (changed P L D)= many P R D := by |
| 51 | induction L with |
| 52 | | nil => rfl |
| 53 | | cons a l h => exact (edited_many ..).trans h |
| 54 | |
| 55 | omit [Fintype V] in |
| 56 | lemma edited_each (i : V) : edited P A.tag D A.pack A.includeSite A.value (Hot.one R i)=D (Hot.one R i)+A.effect P i := by |
| 57 | unfold Attempt.effect; by_cases he : i=A.tag |
| 58 | · subst i; rw [if_pos rfl,edited_at] |
| 59 | rw [if_neg he, dormant P A.tag _ _ _ _ _ (show A.tag ∉ ({i}:Finset V) by simp [Ne.symm he]), add_zero] |
| 60 | |
| 61 | omit [Fintype V] in |
| 62 | lemma changed_one (i : V) : changed P L D (Hot.one R i)=D (Hot.one R i)+acts P L i := by |
| 63 | induction L with |
| 64 | | nil => exact (add_zero _).symm |
| 65 | | cons a l h => |
| 66 | rw [show changed P (a::l) D=edited P a.tag (changed P l D) a.pack a.includeSite a.value from rfl] -- need exact args |
| 67 | rw [edited_each,h,add_assoc] |
| 68 | exact congr_arg (_+·) (by simp [acts,add_comm]) |
| 69 | |
| 70 | variable {σ ρ χ ξ μ δ κ μ' : ℝ} |
| 71 | omit [Fintype V] in |
| 72 | theorem changed_credit (hc : ∀ i,(X i).Nonempty) (hv : P.Lawful σ ρ χ ξ μ) (ht : Mint P δ μ') (he : ∀ a∈L,Attempt.eligible P X a δ κ μ') |
| 73 | (k : V → ℝ) (_hk : ∀ i,0<k i) (hD : ∀ i,Multi.Credit P.p δ κ (covers X i) (D i) (Poly.toll k i.val)) : |
| 74 | ∀ i, Multi.Credit P.p δ κ (covers X i) (changed P L D i) (Poly.toll (k+debt L) i.val) := by |
| 75 | induction L with |
| 76 | | nil => intro i; rw [show k+debt [] = k by ext; simp [debt]]; exact hD _ |
| 77 | | cons x l hx => |
| 78 | have hl : ∀ a∈l,a.eligible P X δ κ μ' := fun _ h => he _ (List.mem_cons_of_mem _ h) |
| 79 | have hh := hx hl |
| 80 | let g := k+debt l |
| 81 | rw [show changed P (x::l) D=edited P x.tag (changed P l D) x.pack x.includeSite x.value from rfl] |
| 82 | rw [show k+debt (x::l)=advance x.tag g (w:=x.price) by ext j; by_cases h : j=x.tag <;> simp [g,advance,debt,h,Attempt.asks] ; ring] |
| 83 | exact edit_prices P X x.tag (changed P l D) x.pack x.includeSite x.value g hh hc hv ht (he x (List.mem_cons_self ..)) |
| 84 | end YM.AnalyticNext.GridStop.Alphabet |