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.Extraction.Tame |
| 2 | import YM.Analysis.Multilinear |
| 3 | import YM.Euclid.Table |
| 4 | |
| 5 | /-! |
| 6 | # Single sequence for the multilinear limit, patch topology |
| 7 | |
| 8 | Actual label mixtures commute with the limits by multilinearity. |
| 9 | -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.Extraction |
| 13 | open Function Set Filter TopologicalSpace Metric |
| 14 | open scoped ContDiff Topology BigOperators |
| 15 | |
| 16 | namespace Meets |
| 17 | variable {X : Type*} [MetricSpace X] {T S : ℕ → X → ℂ} {f g : X → ℂ} {U : Set X} |
| 18 | |
| 19 | lemma plus (H : Meets U T f) (h : Meets U S g) : Meets U (fun i x => T i x + S i x) (f+g) := by |
| 20 | refine ⟨H.continuousOn.add h.continuousOn,?_⟩ |
| 21 | intro K hx hk ε he |
| 22 | filter_upwards [H.uniform K hx hk (ε/2) (by positivity), h.uniform K hx hk (ε/2) (by positivity)] with i hi hi' x hK |
| 23 | exact lt_of_le_of_lt (dist_add_add_le ..) <| (add_lt_add (hi x hK) (hi' x hK)).trans_eq (by ring) |
| 24 | |
| 25 | lemma times (H : Meets U T f) (c : ℂ) : Meets U (fun i x => c*T i x) (fun x => c*f x) := by |
| 26 | refine ⟨continuousOn_const.mul H.continuousOn,?_⟩ |
| 27 | intro K hx hk ε he |
| 28 | rcases eq_or_ne c 0 with e|e |
| 29 | · subst c; simp [he] |
| 30 | filter_upwards [H.uniform K hx hk (ε/‖c‖) (by positivity)] with i hi x hK |
| 31 | rw [dist_eq_norm,← mul_sub,norm_mul, ← dist_eq_norm,mul_comm] |
| 32 | exact (lt_div_iff₀ (by positivity : 0 < ‖c‖)).mp (hi x hK) |
| 33 | |
| 34 | lemma sums {ι : Type*} (F : ι → ℕ → X → ℂ) (B : ι → X → ℂ) (s : Finset ι) (H : ∀ i ∈ s, Meets U (F i) (B i)) : |
| 35 | Meets U (fun i x => ∑ k ∈ s, F k i x) (fun x => ∑ k ∈ s, B k x) := by |
| 36 | classical |
| 37 | induction s using Finset.induction_on with |
| 38 | | empty => |
| 39 | simp only [Finset.sum_empty]; exact ⟨continuousOn_const,fun _ _ _ _ h => by simp [h]⟩ |
| 40 | | @insert i s hv ih => |
| 41 | simp_rw [Finset.sum_insert hv] |
| 42 | exact (H _ (Finset.mem_insert_self ..)).plus (ih (fun k hk => H _ (Finset.mem_insert_of_mem hk))) |
| 43 | end Meets |
| 44 | |
| 45 | variable {G : Gauge} {L : Register G} |
| 46 | |
| 47 | /-- One coordinate in a table. -/ |
| 48 | abbrev Indices (L : Register G) := (n : ℕ) × (d : Caps n) × ((i : Fin n) → (L.grid.level (d i)).Index) |
| 49 | |
| 50 | def dial {n : ℕ} (d : Caps n) (i : Fin n) : Module.Basis ((L.grid.level (d i)).Index) ℂ (L.Ref (d i)) := |
| 51 | Pi.basisFun ℂ _ |
| 52 | |
| 53 | def stack (p : Indices L) (i : Fin p.1) : L.Token := ⟨p.2.1 i,dial p.2.1 i (L := L) (p.2.2 i)⟩ |
| 54 | |
| 55 | theorem components (P : Table L) (F : ℕ → Table L) (U : (n : ℕ) → Set (Points n)) (H : ∀ p : Indices L, |
| 56 | Meets (U p.1) (fun i x => (F i).read x (stack p)) (fun x => P.read x (stack p))) (n : ℕ) (v : Fin n → L.Token) : |
| 57 | Meets (U n) (fun i x => (F i).read x v) (fun x => P.read x v) := by |
| 58 | let d := fun i => (v i).1 |
| 59 | let w := fun i => (v i).2 |
| 60 | let E (i) := dial d i (L := L) |
| 61 | let X := Fintype.piFinset fun i => ((E i).repr (w i)).support |
| 62 | let c := fun y : ((i : Fin n) → (L.grid.level (d i)).Index) => ∏ i, (E i).repr (w i) (y i) |
| 63 | have he (S : Table L) (x : Points n) : S.read x v = ∑ y ∈ X, c y * S.read x (stack (L := L) ⟨n,d,y⟩) := |
| 64 | Multilabel.expansion E (S.value d x) w |
| 65 | simp_rw [he] |
| 66 | apply Meets.sums |
| 67 | exact fun i _ => (H ⟨n,d,i⟩).times _ |
| 68 | |
| 69 | def fitted (g : (p : Indices L) → Points p.1 → ℂ) : Table L where |
| 70 | value d x := Multilabel.ofBasis (dial (L := L) d) (fun i => g ⟨_,d,i⟩ x) |
| 71 | |
| 72 | @[simp] theorem knobs (g : (p : Indices L) → Points p.1 → ℂ) (d : Indices L) (x : Points d.1) : |
| 73 | (fitted g).read x (stack d) = g d x := Multilabel.applyBasis (dial (L := L) d.2.1) _ _ |
| 74 | |
| 75 | end YM.Extraction |