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.ProjectorNext.PROJECTOR_CALIBRATION.Reconstruct |
| 2 | |
| 3 | /-! # Divide out one amplitude per required zero factor, through finite jets |
| 4 | |
| 5 | Stay entirely finite. Smooth at zero is enough on the **actual Snap response** |
| 6 | (no uniform ODE radius); replace it by finite Taylor on Snap before extracting |
| 7 | the engine coefficient. Division here is amplitude (`θ`), NOT powers of h. |
| 8 | Use one spare Taylor order at d=0 so the divided law is actually defined |
| 9 | with the same first-order meaning also there. Supports in Unpack already |
| 10 | paid so this calculation on the cover controls the actual amount. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.ProjectorNext.Calibration.Coupon |
| 15 | open Function Filter Tensor Work Next.Foundations |
| 16 | open scoped Topology BigOperators ContDiff |
| 17 | variable {X Y V : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] [NormedAddCommGroup Y] [NormedSpace ℝ Y] |
| 18 | [NormedAddCommGroup V] [NormedSpace ℝ V] (d : ℕ) |
| 19 | |
| 20 | /-- (Taylor to d+1, nonconstant terms) with one amplitude removed. -/ |
| 21 | def trim (Z : X → Y) (θ : ℝ) (A : X) := |
| 22 | ∑ j∈Finset.range (d+1), θ^j • Tensor.diagonal (Tensor.coeff Z (j+1) 0) A |
| 23 | |
| 24 | lemma block_eq (Z : X → Y) (θ : ℝ) (A : X) : |
| 25 | G05.blockTaylor (d+1) Z (θ • A) = Z 0 + θ • trim d Z θ A := by |
| 26 | rw [G05.blockTaylor,Finset.sum_apply,Finset.sum_range_succ'] |
| 27 | rw [show Tensor.diagonal (Tensor.coeff Z 0 0) (θ • A)=Z 0 from Tensor.coeff_apply_zero ..] |
| 28 | simp_rw [trim, Tensor.homogeneous,Finset.smul_sum,smul_smul,pow_succ',add_comm (Z 0)] |
| 29 | |
| 30 | lemma trim_value (Z : X → Y) (A : X) : trim d Z 0 A = fderiv ℝ Z 0 A := by |
| 31 | rw [trim, Finset.sum_range_succ'] |
| 32 | simp only [zero_pow (Nat.succ_ne_zero _), zero_smul,Finset.sum_const_zero, pow_zero,one_smul,zero_add] |
| 33 | unfold Tensor.diagonal Tensor.coeff |
| 34 | simp [iteratedFDeriv_one_apply] |
| 35 | |
| 36 | lemma trim_smooth (Z : X → Y) : ContDiff ℝ ω (uncurry (trim d Z)) := by |
| 37 | refine ContDiff.sum (f:=fun i (p : ℝ × X) => p.1^i • Tensor.diagonal (Tensor.coeff Z (i+1) 0) p.2) (s:=Finset.range (d+1)) ?_ |
| 38 | intro i _; exact (contDiff_fst.pow _).smul ((diag_smooth _ _).comp contDiff_snd) |
| 39 | |
| 40 | /-- Compose a sensor `P` and a path in Snap, replacing only the Snap |
| 41 | response, preserving k=h jet (parameter fixed). -/ |
| 42 | lemma exchanged {k : ℕ} (hk : k≤d+1) {Z : X → Y} {P : Y → V} {r : ℝ → X} (θ : ℝ) |
| 43 | (hZ : ContDiffAt ℝ ω Z 0) (hP : ContDiff ℝ ω P) (hr : ContDiff ℝ ω r) (he : r 0=0) : |
| 44 | iteratedDeriv k (fun h : ℝ => P (Z (θ • r h))) 0 = |
| 45 | iteratedDeriv k (fun h => P (Z 0+θ • trim d Z θ (r h))) 0 := by |
| 46 | let f (t : ℝ) := θ • r t |
| 47 | have hf : ContDiff ℝ (↑(d+1:ℕ)) f := (contDiff_const (c:=θ)).smul (hr.of_le le_top) |
| 48 | have hz : f 0=0 := by simp [f,he] |
| 49 | have hu : ContDiffAt ℝ (↑(d+1:ℕ)) Z 0 := hZ.of_le le_top |
| 50 | let Y₀ := G05.blockTaylor (d+1) Z |
| 51 | have hv : ContDiff ℝ (↑(d+1:ℕ)) Y₀ := G05.blockTaylor_contDiff .. |
| 52 | have hL := hP.of_le (show (↑(d+1:ℕ) : WithTop ℕ∞) ≤ ω from le_top) |
| 53 | have ht : iteratedFDeriv ℝ k ((P ∘ Z) ∘ f) 0 = iteratedFDeriv ℝ k ((P ∘ Y₀) ∘ f) 0 := by |
| 54 | refine G05.jets_comp (d:=d+1) hf.contDiffAt hf.contDiffAt ?_ (hL.comp hv).contDiffAt rfl (fun _ _ => rfl) ?_ k hk |
| 55 | · rw [hz]; exact hL.contDiffAt.comp 0 hu |
| 56 | rw [hz]; exact G05.jets_comp hu hv.contDiffAt hL.contDiffAt hL.contDiffAt (G05.blockTaylor_zero ..).symm (fun j hj => (G05.blockTaylor_jets hu j hj).symm) (fun _ _ => rfl) |
| 57 | simp_rw [← block_eq] |
| 58 | exact congr_arg (fun T : Tensor.T ℝ V k => T fun _ => (1:ℝ)) ht |
| 59 | |
| 60 | lemma sensed {Z : X → Y} {P : Y → V} {r : ℝ → X} (θ : ℝ) |
| 61 | (hZ : ContDiffAt ℝ ω Z 0) (hP : ContDiff ℝ ω P) (hr : ContDiff ℝ ω r) (he : r 0=0) : |
| 62 | ContDiffAt ℝ ω (fun h => P (Z (θ • r h))) 0 := by |
| 63 | let f (t : ℝ) := θ • r t |
| 64 | have hh : ContDiffAt ℝ ω (P ∘ Z) (f 0) := by rw [show f 0=0 from (by simp [f,he])]; exact hP.contDiffAt.comp 0 hZ |
| 65 | exact hh.comp (0:ℝ) (((contDiff_const (c:=θ)).smul hr).contDiffAt (x:=0)) |
| 66 | |
| 67 | /-- Continuity of finite h jets of any precalculated smooth law with respect |
| 68 | to the parameters. -/ |
| 69 | private lemma vary {f : X × ℝ → Y} (h : ContDiff ℝ ω f) (k : ℕ) : |
| 70 | ContDiff ℝ ω (fun p : X × ℝ => iteratedDeriv k (fun t => f (p.1,t)) p.2) := by |
| 71 | induction k with |
| 72 | | zero => simpa only [iteratedDeriv_zero] using h |
| 73 | | succ k ih => |
| 74 | let A (p : X × ℝ) (t : ℝ) := iteratedDeriv k (fun r => f (p.1,r)) t |
| 75 | have he : ContDiff ℝ ω (fun p : X × ℝ => fderiv ℝ (A p) p.2) := ContDiff.fderiv (m:=ω) |
| 76 | (ih.comp (f:=fun p : (X × ℝ) × ℝ => (p.1.1,p.2)) (by fun_prop)) contDiff_snd (by simp) |
| 77 | simp_rw [iteratedDeriv_succ] |
| 78 | exact he.clm_apply (g:=fun _ => (1:ℝ)) contDiff_const |
| 79 | |
| 80 | lemma varies (k : ℕ) {f : X × ℝ → Y} (h : ContDiff ℝ ω f) : |
| 81 | ContDiff ℝ ω (fun p : X => iteratedDeriv k (fun t => f (p,t)) 0) := |
| 82 | (vary h k).comp (f:=fun p => (p,0)) (contDiff_id.prodMk contDiff_const) |
| 83 | |
| 84 | end YM.ProjectorNext.Calibration.Coupon |