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 Mathlib.Analysis.Calculus.ImplicitContDiff |
| 2 | import Mathlib.Analysis.Calculus.IteratedDeriv.FaaDiBruno |
| 3 | import YM.Analysis.Homogeneous |
| 4 | import YM.Analysis.Polydisc |
| 5 | import YM.Pressure.Rows |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | set_option warningAsError false |
| 11 | |
| 12 | /-! |
| 13 | # Terms on real curves |
| 14 | |
| 15 | Helpers for retaining actual Taylor jets, with the coefficient convention |
| 16 | of E (`1/k!`). We'll use these on real germ substitutions; we won't infer |
| 17 | any analytic width from the Taylor matching in this file. |
| 18 | -/ |
| 19 | set_option autoImplicit false |
| 20 | noncomputable section |
| 21 | namespace YM.CubicMatch |
| 22 | |
| 23 | open Filter Function |
| 24 | open scoped ContDiff Topology BigOperators |
| 25 | |
| 26 | variable {E F Z : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 27 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 28 | [NormedAddCommGroup Z] [NormedSpace ℝ Z] |
| 29 | {k : ℕ} |
| 30 | |
| 31 | /-- Terms of the path tested at the origin of its real parameter. -/ |
| 32 | def term (k : ℕ) (g : ℝ → E) := (k.factorial : ℝ)⁻¹ • iteratedDeriv k g 0 |
| 33 | |
| 34 | @[simp] lemma term_zero (g : ℝ → E) : term 0 g = g 0 := by simp [term] |
| 35 | @[simp] lemma term_one (g : ℝ → E) : term 1 g = deriv g 0 := by simp [term] |
| 36 | |
| 37 | lemma term_congr {g h : ℝ → E} (e : g =ᶠ[𝓝 0] h) : term k g = term k h := by |
| 38 | unfold term |
| 39 | rw [e.iteratedDeriv_eq k] |
| 40 | |
| 41 | lemma term_linear (L : E →L[ℝ] F) {g : ℝ → E} (e : ContDiffAt ℝ k g 0) : |
| 42 | term k (fun t => L (g t)) = L (term k g) := by |
| 43 | unfold term |
| 44 | rw [map_smul, iteratedDeriv, show (fun t => L (g t)) = L ∘ g from rfl, |
| 45 | L.iteratedFDeriv_comp_left e le_rfl] |
| 46 | rfl |
| 47 | |
| 48 | lemma term_add {g h : ℝ → E} (p : ContDiffAt ℝ k g 0) (q : ContDiffAt ℝ k h 0) : |
| 49 | term k (fun t => g t + h t) = term k g + term k h := by |
| 50 | unfold term; rw [show (fun t => g t + h t) = g+h from rfl, iteratedDeriv_add p q, smul_add] |
| 51 | |
| 52 | lemma term_sub {g h : ℝ → E} (p : ContDiffAt ℝ k g 0) (q : ContDiffAt ℝ k h 0) : |
| 53 | term k (fun t => g t - h t) = term k g - term k h := by |
| 54 | unfold term; rw [show (fun t => g t - h t) = g-h from rfl, iteratedDeriv_sub p q, smul_sub] |
| 55 | |
| 56 | lemma term_sum {ι : Type*} {s : Finset ι} {g : ι → ℝ → E} |
| 57 | (p : ∀ i∈s, ContDiffAt ℝ k (g i) 0) : |
| 58 | term k (fun t => ∑ i∈s, g i t) = ∑ i∈s, term k (g i) := by |
| 59 | unfold term; rw [iteratedDeriv_fun_sum p, Finset.smul_sum] |
| 60 | |
| 61 | |
| 62 | |
| 63 | /-- Localize the linear pullback to an actual germ. -/ |
| 64 | lemma jet_comp_linear {f : E → F} (L : Z →L[ℝ] E) {z : Z} (p : ContDiffAt ℝ k f (L z)) : |
| 65 | iteratedFDeriv ℝ k (f ∘ L) z = |
| 66 | (iteratedFDeriv ℝ k f (L z)).compContinuousLinearMap fun _ => L := by |
| 67 | obtain ⟨s,hs,hu⟩ := p.contDiffOn (m := ↑k) le_rfl (by simp) |
| 68 | obtain ⟨r,hr,hb⟩ := Metric.mem_nhds_iff.mp hs |
| 69 | have he := Metric.isOpen_ball (x := L z) (ε := r) |
| 70 | have hz := Metric.mem_ball_self (x := L z) hr |
| 71 | have h := he.preimage L.continuous |
| 72 | have hh := L.iteratedFDerivWithin_comp_right (hu.mono hb) he.uniqueDiffOn h.uniqueDiffOn hz (i := k) le_rfl |
| 73 | rwa [iteratedFDerivWithin_of_isOpen _ he hz, |
| 74 | iteratedFDerivWithin_of_isOpen _ h (Set.mem_preimage.mpr hz)] at hh |
| 75 | |
| 76 | lemma term_ray {f : E → F} (p : ContDiffAt ℝ k f 0) (x : E) : |
| 77 | term k (fun t : ℝ => f (t • x)) = Tensor.diagonal (Tensor.coeff f k 0) x := by |
| 78 | let L := ContinuousLinearMap.smulRight (ContinuousLinearMap.id ℝ ℝ) x |
| 79 | have h1 : L (1:ℝ)=x := one_smul _ _ |
| 80 | unfold term |
| 81 | change _ • (iteratedFDeriv ℝ k (f ∘ L) 0 fun _ => 1) = _ |
| 82 | rw [jet_comp_linear L (show ContDiffAt ℝ k f (L 0) by rw [map_zero]; exact p), map_zero] |
| 83 | simp only [ContinuousMultilinearMap.compContinuousLinearMap_apply,h1]; rfl |
| 84 | |
| 85 | /-- No acceleration terms from either function when comparing cubic of a residual whose |
| 86 | slope and Hessian vanish. -/ |
| 87 | lemma term_three_of_lowNull {f : E → F} {a : ℝ → E} (he : a 0 = 0) |
| 88 | (p : ContDiffAt ℝ 3 f 0) (q : ContDiffAt ℝ 3 a 0) (p₁ : fderiv ℝ f 0 = 0) |
| 89 | (p₂ : iteratedFDeriv ℝ 2 f 0 = 0) : |
| 90 | term 3 (f ∘ a) = Tensor.diagonal (Tensor.coeff f 3 0) (deriv a 0) := by |
| 91 | rw [term, iteratedDeriv_vcomp_three (f:=a) (g:=f) (by rw [he]; exact p) q, |
| 92 | he, p₁, p₂] |
| 93 | simp only [smul_zero, |
| 94 | zero_apply, add_zero]; rfl |
| 95 | |
| 96 | |
| 97 | |
| 98 | |
| 99 | |
| 100 | |
| 101 | |
| 102 | end YM.CubicMatch |