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.Expose |
| 2 | import YM.ProjectorNext.PROJECTOR_CALIBRATION.Model |
| 3 | |
| 4 | /-! # Triangle by the engineering-order probes on *all* real jets -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.ProjectorNext.Calibration |
| 8 | open Lattice Wilson RG Source Source.Drops Function Filter Labels Work Tensor Next.Foundations Push.CutoffProjectors |
| 9 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff |
| 10 | variable {G : Gauge} {H : Hol G} {d : ℕ} |
| 11 | |
| 12 | section Slots |
| 13 | variable (F : Labels.Frame G d) |
| 14 | |
| 15 | private lemma recombine (x : F.Coeff) : F.coords.symm x = ∑ i, x i • F.basis i := by |
| 16 | have he := F.basis.sum_repr (F.coords.symm x) |
| 17 | symm |
| 18 | convert he using 2 |
| 19 | rename_i i h; change x i • _ = F.coords (F.coords.symm x) i • _; rw [F.coords.apply_symm_apply] |
| 20 | |
| 21 | private lemma basis_value (i : F.Index) (J : Jet G) (n : ℕ) : |
| 22 | iteratedDeriv n (fun t => Labels.read (scaleJet J t) (F.basis i).val) 0 = |
| 23 | if n=(F.grades i).1 then (↑(n.factorial) : ℂ)*Labels.read J (F.basis i).val else 0 := by |
| 24 | simp_rw [read_weight (F.pure i)] |
| 25 | rw [iteratedDeriv_smul_const (contDiffAt_id.pow _) _, iteratedDeriv_fun_pow_zero]; split_ifs <;> simp_all [Complex.real_smul] |
| 26 | |
| 27 | /-- Engineering-filtered source and probe formula, even k>D if useful |
| 28 | (the label is already truncated). -/ |
| 29 | lemma sources (x : F.Coeff) (J : Jet G) (k : ℕ) : |
| 30 | iteratedDeriv k (fun t => Labels.read (scaleJet J t) (F.coords.symm x).val) 0 = |
| 31 | (↑(k.factorial) : ℂ) * ∑ i : F.Index, if k=(F.grades i).1 then x i * Labels.read J (F.basis i).val else 0 := by |
| 32 | simp_rw [recombine F,AddSubmonoidClass.coe_finsetSum,map_sum, Submodule.coe_smul_of_tower, map_smul] |
| 33 | have he (i : F.Index) : ContDiffAt ℝ (k : WithTop ℕ∞) (fun t => x i*Labels.read (scaleJet J t) (F.basis i).val) 0 := |
| 34 | contDiffAt_const.mul (read_smooth J (F.basis i).val _).contDiffAt |
| 35 | simp only [smul_eq_mul] |
| 36 | rw [iteratedDeriv_fun_sum (fun i _ => he i),Finset.mul_sum]; refine Finset.sum_congr rfl fun i _ => ?_ |
| 37 | rw [iteratedDeriv_const_mul _ (read_smooth J _ _).contDiffAt, basis_value] |
| 38 | split_ifs <;> ring |
| 39 | |
| 40 | lemma witnessed (x : F.Coeff) (J : Jet G) (k : Fin (d+1)) : probe F (J,k) x = |
| 41 | (↑(k.val.factorial) : ℂ) * ∑ i : F.Index, if k.val=(F.grades i).1 then x i * Labels.read J (F.basis i).val else 0 := |
| 42 | (probe_eq F _ _).trans (sources F x J k.val) |
| 43 | |
| 44 | lemma distinguishes {x y : F.Coeff} {i : F.Index} (h : ∀ J : Jet G, |
| 45 | let k := ⟨(F.grades i).1,Nat.lt_succ_of_le (F.bound i)⟩ |
| 46 | probe F (J,k) x=probe F (J,k) y) : x i=y i := by |
| 47 | let k := (F.grades i).1 |
| 48 | let p (x : F.Coeff) : Label G d := ∑ j : F.Index, if k=(F.grades j).1 then x j • F.basis j else 0 |
| 49 | have he (x : F.Coeff) (J) : Labels.read J (p x).val = ∑ i : F.Index, if k=(F.grades i).1 then x i * Labels.read J (F.basis i).val else 0 := by |
| 50 | unfold p; rw [AddSubmonoidClass.coe_finsetSum,map_sum]; refine Finset.sum_congr rfl fun j _ => ?_ |
| 51 | split_ifs |
| 52 | · rw [Submodule.coe_smul_of_tower,map_smul,smul_eq_mul] |
| 53 | exact map_zero _ |
| 54 | have hp : p x=p y := by |
| 55 | refine Subtype.ext (Labels.eval_ext _ _ fun J => ?_) |
| 56 | rw [he,he]; have hz := h J |
| 57 | simp_rw [witnessed] at hz |
| 58 | exact mul_left_cancel₀ (show (k.factorial:ℂ)≠0 by exact_mod_cast Nat.factorial_ne_zero k) hz |
| 59 | have hx (x : F.Coeff) : F.basis.repr (p x) i = x i := by |
| 60 | simp_rw [p,map_sum,Finsupp.finsetSum_apply] |
| 61 | rw [Finset.sum_eq_single i] |
| 62 | · simp [k] |
| 63 | · intro j _ hj; split_ifs <;> simp [Finsupp.single_eq_of_ne hj.symm] |
| 64 | simp |
| 65 | rw [← hx x,← hx y,hp] |
| 66 | end Slots |
| 67 | |
| 68 | namespace Machine |
| 69 | variable (M : Machine H d) (F : Labels.Frame G d) |
| 70 | |
| 71 | /- k-tier equation cancellation, no assumption the frame itself chosen |
| 72 | to start with equation basis. Read shell contribution at all weight h |
| 73 | (including k=0). -/ |
| 74 | lemma canceled (w : equationSpace F) (J : Jet G) (k : ℕ) : |
| 75 | (∑ i : F.Index, if k=(F.grades i).1 then w.val i * tally (F.basis i) (M.U (trunk d J)) else 0) = 0 := by |
| 76 | let A := M.U (trunk d J) |
| 77 | let j := expand d A |
| 78 | have ht (t : ℝ) : Labels.read (scaleJet j t) (F.coords.symm w.val).val = 0 := by |
| 79 | have hU (x : Snap G d) : Labels.read (expand d (M.U x)) (F.coords.symm w.val).val = 0 := by |
| 80 | obtain ⟨Y,hY⟩ := M.toSplit.constrained x |
| 81 | rw [hY]; exact (equation_iff F).1 w.2 _ |
| 82 | have he : scaleJet j t = expand d (M.U (stretch t (trunk d J))) := by |
| 83 | unfold j; rw [← dilated] |
| 84 | congr 1 |
| 85 | funext l; change (t^(l.val+2)) • (M.Q l _) = M.Q l ((t^(l.val+2)) • _); rw [map_smul] |
| 86 | rw [he]; exact hU _ |
| 87 | have he := sources F w.val j k |
| 88 | rw [funext ht] at he |
| 89 | rw [show iteratedDeriv k (fun _ : ℝ => (0:ℂ)) 0=0 by change iteratedDeriv k 0 0=0; simp] at he |
| 90 | apply mul_left_cancel₀ (show (k.factorial:ℂ) ≠ 0 by exact_mod_cast Nat.factorial_ne_zero k) |
| 91 | rw [mul_zero] |
| 92 | exact he.symm |
| 93 | |
| 94 | theorem certified : triangular (M.trophy F) := by |
| 95 | intro x i h |
| 96 | apply distinguishes F |
| 97 | intro J |
| 98 | let k : Fin (d+1) := ⟨(F.grades i).1,Nat.lt_succ_of_le (F.bound i)⟩ |
| 99 | change probe F (J,k) _ = _ |
| 100 | rw [M.spends F x (J,k),witnessed F (x:F.Coeff)] |
| 101 | have he (j : F.Index) : x.val j*M.calendar F j (J,k) 0 0 = |
| 102 | (↑(k.val.factorial):ℂ)*((if k.val=(F.grades j).1 then x.val j*Labels.read J (F.basis j).val else 0)- |
| 103 | if k.val=(F.grades j).1 then x.val j*tally (F.basis j) (M.U (trunk d J)) else 0) := by |
| 104 | by_cases ht : (F.grades j).1<k.val |
| 105 | · simp only [h j ht,zero_mul,ite_self,sub_self,mul_zero] |
| 106 | rw [M.as_recorded]; dsimp only; rw [M.crossed F j J k.val (le_of_not_gt ht)] |
| 107 | split_ifs |
| 108 | · simp [Complex.real_smul]; ring |
| 109 | ring |
| 110 | simp_rw [he,← Finset.mul_sum, Finset.sum_sub_distrib, M.canceled,sub_zero]; rfl |
| 111 | end Machine |
| 112 | end YM.ProjectorNext.Calibration |