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.Ward.Extreme |
| 2 | |
| 3 | /-! |
| 4 | # Continue full Ward VALUES for all labels on walks |
| 5 | -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.Ward |
| 9 | open Metric Function Set Filter Analysis Table OS |
| 10 | open scoped Topology InnerProductSpace ContDiff BigOperators |
| 11 | variable {G : Gauge} {L : Register G} {S : Table L} {a : Axis} {n : ℕ} |
| 12 | |
| 13 | variable (W : DiffPlan S) (T : SpinRows S) (H : S.Hierarchy) (V : Chamber S a) |
| 14 | include H |
| 15 | lemma channel (P : W.Derivatives S) (Y : Collinear W T) (C : commutes W T) (x : Points n) (k b) (K : Ortho.Skew) (p : Fin n → S.Tag) |
| 16 | (s : ℝ) (hv : Earliest (cast x k b s) a k ∨ Latest (cast x k b s) a k) : AnalyticAt ℝ (angular W T p K ∘ cast x k b) s := by |
| 17 | let V := Classical.choice (realization H a) |
| 18 | have ha (i : Fin n → S.Tag) : ContDiffAt ℝ ω (disc i ∘ cast x k b) s := AnalyticAt.contDiffAt |
| 19 | (hv.elim (first_adv V H W T P Y C _ _ _ _ _) (last_adv V H W T P Y C _ _ _ _ _)) |
| 20 | apply ContDiffAt.analyticAt |
| 21 | unfold Function.comp angular |
| 22 | apply ContDiffAt.sum |
| 23 | intro i hi; apply (ha _).add (ContDiffAt.sum _) |
| 24 | intro u hu |
| 25 | have he : ContDiffAt ℝ ω (cast x k b) s := contDiffAt_const.add (contDiffAt_id.smul contDiffAt_const) |
| 26 | exact ((factor i u K).contDiff.contDiffAt.comp s he).smul (ha _) |
| 27 | |
| 28 | omit H in |
| 29 | private lemma unique {f : ℝ → ℂ} {a : ℝ} (h : AnalyticAt ℝ f a) (he : ∀ n, iteratedDeriv n f a=0) : |
| 30 | f =ᶠ[𝓝 a] 0 := by |
| 31 | obtain ⟨p,r,hp⟩ := h |
| 32 | have H n : p n=0 := by |
| 33 | apply ContinuousMultilinearMap.ext; intro x |
| 34 | rw [FormalMultilinearSeries.apply_eq_prod_smul_coeff] |
| 35 | have ht := hp.factorial_smul 1 n |
| 36 | rw [← iteratedDeriv_eq_iteratedFDeriv,he,← Nat.cast_smul_eq_nsmul ℝ] at ht |
| 37 | have hh : p.coeff n=0 := (smul_eq_zero_iff_right (by positivity : (Nat.factorial n:ℝ)≠0)).mp ht |
| 38 | rw [hh,smul_zero];rfl |
| 39 | filter_upwards [eball_mem_nhds a hp.r_pos] with t ht |
| 40 | have hw := hp.hasSum (y := t-a) (show _ from by |
| 41 | rw [mem_eball, ← edist_sub_right t a a, sub_self] at ht; exact ht) |
| 42 | simp only [H,_root_.zero_apply,add_sub_cancel] at hw |
| 43 | exact hw.unique hasSum_zero |
| 44 | |
| 45 | def Still (x : Points n) := ∀ (p : Fin n → S.Tag) K, angular W T p K x=0 |
| 46 | omit H in |
| 47 | lemma opened (a : Axis) (j : Fin n) : IsOpen {x : Points n | Earliest x a j ∨ Latest x a j} := by |
| 48 | have ho : IsOpen {x : Points n| Earliest x a j} := by |
| 49 | rw [show {x : Points n | Earliest x a j}= conf n ∩ ⋂ i, ⋂ _ : i≠j, {x : Points n | x j a<x i a} by |
| 50 | ext p; simp [Earliest]] |
| 51 | refine (conf_open _).inter (isOpen_iInter_of_finite fun i => isOpen_iInter_of_finite fun hi => ?_) |
| 52 | exact isOpen_lt (by fun_prop) (by fun_prop) |
| 53 | have hu : IsOpen {x : Points n| Latest x a j} := by |
| 54 | rw [show {x : Points n | Latest x a j}= conf n ∩ ⋂ i, ⋂ _ : i≠j, {x : Points n | x i a<x j a} by |
| 55 | ext p; simp [Latest]] |
| 56 | refine (conf_open _).inter (isOpen_iInter_of_finite fun i => isOpen_iInter_of_finite fun hi => ?_) |
| 57 | exact isOpen_lt (by fun_prop) (by fun_prop) |
| 58 | exact ho.union hu |
| 59 | |
| 60 | lemma stood (P : W.Derivatives S) (Y : Collinear W T) (C : commutes W T) |
| 61 | (x : Points n) (k : Fin n) (b) (u v : ℝ) (h : ∀ i∈uIcc u v, Earliest (cast x k b i) a k ∨ Latest (cast x k b i) a k) |
| 62 | (hp : Still W T (cast x k b v)) : Still W T (cast x k b u) := by |
| 63 | let z := cast x k b |
| 64 | have hU := right_mem_uIcc (a := u) (b := v) |
| 65 | have hv := h _ hU |
| 66 | have hz : z v∈conf _ := hv.elim And.left And.left |
| 67 | intro p g |
| 68 | let f := angular W T p g ∘ z |
| 69 | have hh : AnalyticOnNhd ℝ f (uIcc u v) := fun i hi => channel W T H P Y C x k b g p i (h _ hi) |
| 70 | have he := unique (hh v hU) (fun m => jet_line W T H P C g p x k b v hz (fun w => hp w g) m) |
| 71 | exact (hh.eqOn_zero_of_preconnected_of_eventuallyEq_zero (isPreconnected_uIcc) hU he) left_mem_uIcc |
| 72 | |
| 73 | /-- Relation oriented from x to y. Directions and extreme witness *per |
| 74 | segment*, not a claim about the whole path always in one normal. -/ |
| 75 | inductive Walk (n : ℕ) : Points n → Points n → Prop |
| 76 | | id (x : Points n) : Walk n x x |
| 77 | | bridge (x : Points n) (i a b s) (h : ∀ t∈uIcc 0 s, Earliest (cast x i b t) a i ∨ Latest (cast x i b t) a i) : Walk n x (cast x i b s) |
| 78 | | transit {x y z} : Walk n x y → Walk n y z → Walk n x z |
| 79 | lemma along (P : W.Derivatives S) (Y : Collinear W T) (C : commutes W T) {x y : Points n} (h : Walk n x y) |
| 80 | (hy : Still W T y) : Still W T x := by |
| 81 | induction h with |
| 82 | | id => exact hy |
| 83 | | bridge x i a b s hp => simpa only [start] using stood W T H P Y C _ _ _ _ _ hp hy |
| 84 | | transit _ _ ih im => exact ih (im hy) |
| 85 | end YM.Ward |