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.STRESS_FLUX.Scaling |
| 2 | |
| 3 | /-! |
| 4 | Represent all cutoff tests by ONE exact quotient field per flux (then by |
| 5 | linear maps in `Charges`), at every separated configuration including ties, |
| 6 | using no kernel comparisons off `conf`. |
| 7 | -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.StressFlux.Annular |
| 11 | open Matching Table Work.A01 Function Filter Set MeasureTheory |
| 12 | open scoped Topology BigOperators |
| 13 | variable {G : Gauge} {L : Register G} {S : Table L} {i d D n : ℕ} {V : E4 → E4} {W : DiffPlan S} {H : S.RealSpin} |
| 14 | |
| 15 | theorem total {U : Type*} [AddCommGroup U] [Module ℂ U] [FiniteDimensional ℂ U] {ι : Type*} (A : ι → U →ₗ[ℂ] ℂ) (b : ι → ℂ) |
| 16 | (h : ∀ n (s : Fin n → ι) (c : Fin n → ℂ), (∀ u, ∑ j, c j * A (s j) u = 0) → ∑ j, c j * b (s j) = 0) : |
| 17 | ∃ u, ∀ j, A j u = b j := by |
| 18 | classical |
| 19 | let P := Finsupp.linearCombination ℂ A |
| 20 | let Q := Finsupp.linearCombination ℂ b |
| 21 | have he : P.ker ≤ Q.ker := by |
| 22 | intro c hc |
| 23 | let e := (Fintype.equivFin c.support).symm |
| 24 | have ht (f : ι → ℂ) : ∑ j, c (e j) * f (e j) = ∑ j∈c.support, c j * f j := |
| 25 | (e.sum_comp fun j => c j * f j).trans (by simpa only [Finset.attach_eq_univ] using c.support.sum_attach (fun j => c j * f j)) |
| 26 | specialize h _ (fun j => e j) (fun j => c (e j)) |
| 27 | simp_rw [ht] at h |
| 28 | change Q c = 0 |
| 29 | simp only [Q,Finsupp.linearCombination_apply,Finsupp.sum,smul_eq_mul] |
| 30 | apply h |
| 31 | intro u |
| 32 | rw [ht (fun i => A i u)] |
| 33 | simpa only [P,Finsupp.linearCombination_apply,Finsupp.sum,LinearMap.sum_apply,LinearMap.smul_apply,smul_eq_mul,LinearMap.zero_apply] using LinearMap.congr_fun (show P c = 0 from hc) u |
| 34 | let R := (P.ker.liftQ Q he).comp P.quotKerEquivRange.symm.toLinearMap |
| 35 | obtain ⟨g,hg⟩ := R.exists_extend |
| 36 | obtain ⟨u,hu⟩ := (Module.evalEquiv ℂ U).surjective g |
| 37 | have ht (c) : g (P c) = Q c := by |
| 38 | rw [← P.quotKerEquivRange_apply_mk] |
| 39 | change (g.comp P.range.subtype) (P.quotKerEquivRange _) = Q c |
| 40 | rw [hg]; simp [R] |
| 41 | refine ⟨u,fun j => ?_⟩ |
| 42 | have hc : g (A j) = b j := by simpa only [P,Q,Finsupp.linearCombination_single,one_smul] using ht (Finsupp.single j 1) |
| 43 | rw [← hu] at hc; exact hc |
| 44 | |
| 45 | def Represents (J : S.Stress) (B : S.Field d) (V : E4 → E4) (u : S.Field D) := ∀ (n : ℕ) (x : Points (n+1)) (q : Fin n → S.Tag) (χ : E4 → ℝ), |
| 46 | x∈conf _ → Window x χ → about J χ V x q B = frontRead q x D u |
| 47 | |
| 48 | lemma pick0 (hs : S.Hierarchy) (hd : W.Derivatives S) {v : Axis → Axis → L.Ref 4} (hJ : Conserved W H (draw S v)) (B : L.Ref d) |
| 49 | (hv : Motion i V) (hS : Snip S v B D (3+i)) : ∃ u : S.Field D, ∀ (s : Audience L) (χ : E4 → ℝ), Window s.x χ → |
| 50 | about (draw S v) χ V s.x (S.classTokens ∘ s.tags) (S.project d B) = frontRead (S.classTokens ∘ s.tags) s.x D u := by |
| 51 | let J := draw S v |
| 52 | choose ψ hψ using fun s : Audience L => exists_window s.x (generic_conf _ s.avoids) |
| 53 | obtain ⟨u,hu⟩ := total (fun s : Audience L => S.injectFront s.tags s.x D) (fun s => about J (ψ s) V s.x (S.classTokens ∘ s.tags) (S.project d B)) |
| 54 | (fun m s c => shrunk hs hd hJ B hv hS s c _ (fun j => hψ (s j))) |
| 55 | refine ⟨S.project _ u,fun s χ hw => ?_⟩ |
| 56 | have he := independent_about hs.smooth hd hJ V hv.smooth hv.rigid (generic_conf _ s.avoids) hw (hψ s) (S.classTokens ∘ s.tags) (S.project d B) |
| 57 | have hc := S.at_project S hs.laws.toSymmetric (fun _ => le_rfl) (generic_conf _ s.avoids) (Fin.cons (α:=fun _ => L.Token) ⟨D,u⟩ s.tags) |
| 58 | rw [Fin.comp_cons] at hc |
| 59 | rw [he,front_eval] |
| 60 | exact (hu s).symm.trans hc.symm |
| 61 | |
| 62 | lemma pick (hs : S.Hierarchy) (hd : W.Derivatives S) {v : Axis → Axis → L.Ref 4} (hJ : Conserved W H (draw S v)) (B : L.Ref d) |
| 63 | (hv : Motion i V) (hS : Snip S v B D (3+i)) : ∃ u : S.Field D, Represents (draw S v) (S.project d B) V u := by |
| 64 | obtain ⟨u,hu⟩ := pick0 hs hd hJ B hv hS |
| 65 | refine ⟨u,fun n x q χ hx hw => ?_⟩ |
| 66 | let J := draw S v |
| 67 | let p := S.project d B |
| 68 | have hc t (ht : t ∈ generic (n+1)) (hh : Window t χ) : about J χ V t q p = frontRead q t D u := by |
| 69 | let a := -(t 0) |
| 70 | have he : q = S.classTokens ∘ (Ward.expose ∘ q) := funext fun i => (Ward.sends_back (q i)).symm |
| 71 | have hq := hu ⟨n,Points.across a t, by simp [a], Extraction.Order.nearGeneric a ht, Ward.expose ∘ q⟩ _ (shifted_window a hh) |
| 72 | have := moved J V a hs.translations (generic_conf _ ht) hh q p |
| 73 | change about J _ V _ _ p = _ at hq |
| 74 | rw [← he, this, front_eval, homogeneous hs.translations (generic_conf _ ht)] at hq |
| 75 | exact hq.trans (front_eval ..).symm |
| 76 | rw [front_eval] |
| 77 | let E := {t : Points (n+1) | t ∈ conf _ ∧ Window t χ} |
| 78 | have he : IsOpen E := isOpen_iff_mem_nhds.mpr fun t ht => ((conf_open _).eventually_mem ht.1).and (window_open ht.2) |
| 79 | apply Measure.eqOn_of_ae_eq (μ:=volume) (s:=E) |
| 80 | (f:=fun t => about J χ V t q p) (g:=fun t => S.useAt S t (Fin.cons ⟨D,u⟩ q)) _ |
| 81 | (fun t ht => (flux_continuous J V (fun b => (hv.smooth b).continuous) hs.smooth ht.1 ht.2 q p).continuousWithinAt) |
| 82 | ((S.class_smooth S hs.smooth _).continuousOn.mono fun _ ht => ht.1) (by rw [he.interior_eq]; exact subset_closure) (show x∈E from ⟨hx,hw⟩) |
| 83 | filter_upwards [ae_restrict_of_ae (Extraction.almostGeneric _), ae_restrict_mem he.measurableSet] with t ht hh |
| 84 | exact (hc t ht hh.2).trans (front_eval ..) |
| 85 | end YM.StressFlux.Annular |