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.Complex.Schwarz |
| 2 | import YM.AnalyticNext.QUARTIC_MATCH.Rephase |
| 3 | import YM.Next.FOUNDATIONS.LinkBounds |
| 4 | import YM.Work.F02 |
| 5 | |
| 6 | |
| 7 | /-! |
| 8 | # The leading projection of the unmasked correction |
| 9 | |
| 10 | The nonlinear path products are not replaced by their curvature-linear evaluations. |
| 11 | This transition concerns Taylor jets only and uses actual analytic estimates at the |
| 12 | charged path widths. Averaging on reoriented inputs is on the actual formulas. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.AnalyticNext.QuarticMatch |
| 17 | open Lattice RG Precision Bid Function Matrix Wilson Exterior Filter Laurent Tensor Joint |
| 18 | open Work.F03 |
| 19 | open scoped Topology ContDiff Matrix.Norms.Frobenius BigOperators |
| 20 | |
| 21 | section rays |
| 22 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 23 | {F : E → ℝ} |
| 24 | |
| 25 | /-- Vanishing read along rays with sparse lower jets. -/ |
| 26 | lemma ray_price (a : E) {k : ℕ} (h : ContDiffAt ℝ k F 0) |
| 27 | (hg : ∀ i<k, Tensor.coeff F i 0=0) : |
| 28 | Tendsto (fun t : ℝ => F (t • a)/t^k) (𝓝[≠] 0) (𝓝 (Tensor.diagonal (Tensor.coeff F k 0) a)) := by |
| 29 | let Q := fun t : ℝ => F (t • a) |
| 30 | let C := Tensor.diagonal (Tensor.coeff F k 0) a |
| 31 | have he : ContDiffAt ℝ k Q 0 := by apply ContDiffAt.comp (g:=F) _ _ (contDiffAt_id.smul contDiffAt_const); simpa using h |
| 32 | obtain ⟨s,hs,ht⟩ := he.contDiffOn (m:=↑k) le_rfl (by simp) |
| 33 | obtain ⟨ε,hε,hb⟩ := Metric.mem_nhds_iff.mp hs |
| 34 | let S := Metric.ball (0:ℝ) ε |
| 35 | have hp : S∈𝓝 0 := Metric.ball_mem_nhds _ hε |
| 36 | have hx := _root_.taylor_tendsto (convex_ball (0:ℝ) ε) (mem_of_mem_nhds hp) (ht.mono hb) |
| 37 | rw [nhdsWithin_eq_nhds.mpr hp] at hx |
| 38 | have hy (i : ℕ) (hi : i≤k) : Tensor.diagonal (Tensor.coeff F i 0) a = |
| 39 | (Nat.factorial i : ℝ)⁻¹ * iteratedDerivWithin i Q S 0 := by |
| 40 | rw [iteratedDerivWithin_eq_iteratedDeriv (Metric.isOpen_ball.uniqueDiffOn) (he.of_le (Nat.cast_le.mpr hi)) (mem_of_mem_nhds hp)] |
| 41 | rw [show iteratedDeriv i Q 0=_ from Next.Foundations.iteratedDeriv_on_line (h.of_le (Nat.cast_le.mpr hi)) a]; rfl |
| 42 | have hz (t : ℝ) : taylorWithinEval Q k S 0 t=t^k*C := by |
| 43 | rw [taylor_within_apply]; simp only [smul_eq_mul,sub_zero] |
| 44 | rw [Finset.sum_eq_single k] |
| 45 | · unfold C; rw [hy k le_rfl]; ring |
| 46 | · intro i hi h' |
| 47 | have ha := Finset.mem_range.mp hi |
| 48 | have he : i<k := by omega |
| 49 | rw [mul_comm ((i.factorial:ℝ)⁻¹),mul_assoc,← hy i he.le, hg i he]; exact mul_zero _ |
| 50 | simp |
| 51 | rw [show Tensor.diagonal (Tensor.coeff F k 0) a=0+C from (zero_add _).symm] |
| 52 | refine ((hx.mono_left nhdsWithin_le_nhds).add (g:=fun _ => C) tendsto_const_nhds).congr' ?_ |
| 53 | filter_upwards [show ∀ᶠ t : ℝ in 𝓝[≠] 0,t ≠ 0 from self_mem_nhdsWithin] with t hn |
| 54 | change ((t-0)^k)⁻¹ • (Q t - taylorWithinEval Q k S 0 t)+C=Q t / t^k |
| 55 | rw [hz t, smul_eq_mul]; field_simp; ring |
| 56 | |
| 57 | lemma paid_projection {R : E → ℝ} {n : ℕ} (h : ContDiffAt ℝ n F 0) |
| 58 | (hR : ∀ a : E, Tendsto (fun t : ℝ => F (t • a)/t^n) (𝓝[≠] 0) (𝓝 (R a))) : |
| 59 | (∀ i<n, Tensor.coeff F i 0=0) ∧ Tensor.diagonal (Tensor.coeff F n 0)=R := by |
| 60 | have hc : ∀ i<n, Tensor.coeff F i 0=0 := by |
| 61 | intro i; induction i using Nat.strong_induction_on with |
| 62 | | h i ih => |
| 63 | intro hi |
| 64 | obtain ⟨p,hp⟩ : ∃ p,n=i+(p+1) := ⟨n-(i+1),by omega⟩ |
| 65 | have ht : ContDiffAt ℝ i F 0 := h.of_le (Nat.cast_le.mpr hi.le) |
| 66 | refine Tensor.ext_diag _ _ (Tensor.coeff_symm ht) (fun _ _ => rfl) (funext fun a => ?_) |
| 67 | have hh : Tendsto (fun t : ℝ => t^(p+1)) (𝓝[≠] 0) (𝓝 (0:ℝ)) := by |
| 68 | simpa using! ((continuous_id.pow (p+1)).continuousAt (x:=(0:ℝ))).tendsto.mono_left (nhdsWithin_le_nhds (s:={0}ᶜ)) |
| 69 | have hv := (hR a).mul hh |
| 70 | rw [mul_zero] at hv |
| 71 | refine tendsto_nhds_unique (ray_price a ht (fun j hj => ih _ hj (hj.trans hi))) (hv.congr' ?_) |
| 72 | filter_upwards [show ∀ᶠ t : ℝ in 𝓝[≠] 0,t ≠ 0 from self_mem_nhdsWithin] with t ht |
| 73 | simp [hp,pow_add,div_eq_mul_inv] |
| 74 | field_simp |
| 75 | exact ⟨hc, funext fun a => tendsto_nhds_unique (ray_price a h hc) (hR a)⟩ |
| 76 | end rays |
| 77 | |
| 78 | section path |
| 79 | variable {G : Gauge} {c : Side} {n : ℕ} |
| 80 | |
| 81 | def impact (B : ℕ → Atom G n) (a : Dir G c) := Patch.average (fun i : Signed => uncut B (pull i 0 (represent a))) |
| 82 | lemma impact_cont {B : ℕ → Atom G n} {σ C} (h : 0 < σ) (hx : SumBudget (fun k => (B k).budget σ) C) : |
| 83 | ContDiffAt ℝ ω (impact (c:=c) B) 0 := by |
| 84 | have he (i : Signed) : ContDiffAt ℝ ω (fun a : Dir G c => uncut B (pull i 0 (represent a))) 0 := by |
| 85 | simp_rw [← rep_shifts] |
| 86 | exact (show ContDiffAt ℝ ω (fun a : Dir G c => uncut B (represent a)) ((shifts i (0:Site c)) 0) from |
| 87 | (map_zero (shifts i (0:Site c))).symm ▸ Work.F02.uncut_contDiffAt h hx |
| 88 | (fun i => (represent_smooth i).contDiffAt)).comp 0 (shifts i (0:Site c)).contDiff.contDiffAt |
| 89 | unfold impact Patch.average; exact contDiffAt_const.mul (ContDiffAt.sum fun i _ => he i) |
| 90 | |
| 91 | lemma impact_leading {B : ℕ → Atom G n} {σ C} (h : 0 < σ) (hx : SumBudget (fun k => (B k).budget σ) C) : |
| 92 | let U := impact (c:=c) B |
| 93 | (∀ i<n, Tensor.coeff U i 0=0) ∧ Tensor.diagonal (Tensor.coeff U n 0) = fun u => Patch.average fun s : Signed => |
| 94 | ∑ x : Site c, ∑' i, (B i).poly fun j => faceCurl (slotFace ((B i).leg j) x) (shifts s (0:Site c) u) := by |
| 95 | intro U; refine paid_projection ((impact_cont h hx).of_le le_top) (fun u => ?_) |
| 96 | unfold U impact Patch.average |
| 97 | simp only [mul_div_assoc, Finset.sum_div]; apply Tendsto.const_mul _ (tendsto_finsetSum _ _); intro i _ |
| 98 | simp_rw [← rep_shifts, map_smul]; exact atoms_limit _ _ h hx |
| 99 | |
| 100 | lemma coeff_eq {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] {F L : E → ℝ} {n : ℕ} |
| 101 | (h : Tensor.coeff F n 0=Tensor.coeff L n 0) : iteratedFDeriv ℝ n F 0=iteratedFDeriv ℝ n L 0 := |
| 102 | (smul_right_injective _ (show (Nat.factorial n : ℝ)⁻¹≠0 by positivity)) h |
| 103 | end path |
| 104 | end YM.AnalyticNext.QuarticMatch |