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.Picks |
| 2 | |
| 3 | /-! # Weight-triangular exposed law -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.ProjectorNext.Calibration |
| 7 | open Lattice RG Wilson Source Source.Drops Function Filter Tensor Work Labels Next.Foundations Push.CutoffProjectors |
| 8 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff InnerProductSpace |
| 9 | variable {G : Gauge} {H : Hol G} {d : ℕ} |
| 10 | namespace Machine |
| 11 | variable (M : Machine H d) (F : Labels.Frame G d) |
| 12 | |
| 13 | def tail (x : Snap G d) (t : ℝ) : Snap G d := fun i => ∑ j : Level d, if i≤j then |
| 14 | t^(j.val-i.val) • M.liftLeg i (firing j (x j)) else 0 |
| 15 | |
| 16 | private lemma relower (x : Snap G d) (j i : Level d) (h : j < i) : |
| 17 | M.liftLeg i (firing j (x j))=0 := by |
| 18 | have hv : firing j (x j)∈cutSpace G i := by |
| 19 | intro k hk; change Pi.single j _ k = _; exact Pi.single_eq_of_ne (h.trans hk).ne' _ |
| 20 | change M.liftAll (firing j (x j)) i = _ |
| 21 | rw [M.diagonal i _ hv, show (firing j (x j)) i=0 from Pi.single_eq_of_ne h.ne' _, map_zero] |
| 22 | |
| 23 | lemma collect (x : Snap G d) (t : ℝ) : M.liftAll (stretch t x) = stretch t (M.tail x t) := by |
| 24 | have he : stretch t x = ∑ j : Level d, t^(j.val+2) • firing j (x j) := by |
| 25 | have hs (j : Level d) : t^(j.val+2) • firing (G:=G) j (x j) = firing j ((t^(j.val+2)) • x j) := (map_smul ..).symm |
| 26 | funext i |
| 27 | simp_rw [hs,Finset.sum_apply] |
| 28 | change t^(i.val+2) • x i = ∑ j : Level d, ((firing j) (t^(j.val+2) • x j)) i |
| 29 | convert Eq.symm ((Finset.sum_pi_single i (fun j => t^(j.val+2) • x j) Finset.univ).trans (if_pos (Finset.mem_univ _))) using 1 |
| 30 | rfl |
| 31 | rw [he,map_sum] |
| 32 | simp_rw [map_smul] |
| 33 | funext i; rw [Finset.sum_apply] |
| 34 | change ∑ j : Level d, (t^(j.val+2)) • M.liftLeg i (firing j (x j)) = _ |
| 35 | simp_rw [stretch,LinearMap.pi_apply, LinearMap.smul_apply, LinearMap.proj_apply, tail,Finset.smul_sum] |
| 36 | refine Finset.sum_congr rfl fun j _ => ?_ |
| 37 | by_cases hj : i≤j |
| 38 | · rw [if_pos hj,smul_smul, ← pow_add, show (i.val+2)+(j.val-i.val)=j.val+2 by change i.val≤j.val at hj; omega] |
| 39 | rw [if_neg hj, M.relower _ _ _ (lt_of_not_ge hj), smul_zero,smul_zero] |
| 40 | |
| 41 | lemma tail_axis (x : Snap G d) : M.tail x 0=x-M.U x := by |
| 42 | funext i |
| 43 | unfold tail |
| 44 | rw [Finset.sum_eq_single i] |
| 45 | · have h : firing i (x i)∈cutSpace G i := fun k hk => Pi.single_eq_of_ne hk.ne' _ |
| 46 | rw [if_pos (le_refl i),Nat.sub_self,pow_zero,one_smul] |
| 47 | change M.liftAll (firing i (x i)) i = _; rw [M.diagonal i _ h] |
| 48 | change (firing i (x i) i) - M.Q i (firing i (x i) i) = x i-M.Q i (x i) |
| 49 | simp [firing] |
| 50 | · intro j _ hj |
| 51 | split |
| 52 | · rename_i h |
| 53 | rw [zero_pow (M₀:=ℝ) (Nat.sub_ne_zero_of_lt (Fin.lt_def.mp (lt_of_le_of_ne h hj.symm))), zero_smul] |
| 54 | rfl |
| 55 | simp |
| 56 | |
| 57 | private lemma power_smooth {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 58 | (n : ℕ) (y : E) : ContDiff ℝ ω (fun t : ℝ => t^n • y) := (contDiff_id.pow n).smul contDiff_const |
| 59 | |
| 60 | lemma tail_smooth (x : Snap G d) : ContDiff ℝ ω (M.tail x) := by |
| 61 | apply contDiff_pi.mpr |
| 62 | intro i; refine ContDiff.sum (s:=Finset.univ (α:=Level d)) ?_; intro j _; split |
| 63 | · exact power_smooth .. |
| 64 | exact contDiff_const |
| 65 | |
| 66 | private def freeform (i : F.Index) (A : Snap G d) t := Cross.mix (shade F i) M.U A (M.tail A t) |
| 67 | |
| 68 | private lemma admits (i : F.Index) (A : Snap G d) (t : ℝ) : Cross.mix (shade F i) M.U (stretch t A) (M.liftAll (stretch t A)) = |
| 69 | t^(F.grades i).1 • M.freeform F i A t := by |
| 70 | rw [M.collect]; unfold freeform |
| 71 | exact Cross.scaled_mix (shade F i) M.U (stretch t (G:=G) (d:=d)) (t^(F.grades i).1) (exposed (F.pure i) t) (fun X => by |
| 72 | funext j; change M.Q j (t^(j.val+2) • X j) = _; rw [map_smul]; rfl) _ _ |
| 73 | |
| 74 | /- h coefficient with residual completely smooth. Can use the scalar |
| 75 | Leibniz formula here: convert ℝ^n scaling explicitly to ℂ. -/ |
| 76 | lemma in_weight (k n : ℕ) (hk : k ≤ n) (z : ℝ → ℂ) (h : ContDiff ℝ ω z) : |
| 77 | iteratedDeriv k (fun t : ℝ => t^n • z t) 0 = if k=n then (↑(k.factorial) : ℝ) • z 0 else 0 := by |
| 78 | let f (t : ℝ) := Complex.ofRealCLM (t^n) |
| 79 | have hf : ContDiff ℝ ω f := Complex.ofRealCLM.contDiff.comp (contDiff_id.pow n) |
| 80 | have he (j : ℕ) : iteratedDeriv j f 0 = if j=n then ((j.factorial:ℕ) : ℂ) else 0 := by |
| 81 | change iteratedFDeriv ℝ j (Complex.ofRealCLM ∘ fun x : ℝ => x^n) 0 _ = _ |
| 82 | rw [Complex.ofRealCLM.iteratedFDeriv_comp_left (f:=fun t : ℝ => t^n) (by exact contDiffAt_id.pow n) le_rfl] |
| 83 | change ((iteratedDeriv j (fun t : ℝ => t^n) 0:ℝ):ℂ) = _ |
| 84 | rw [iteratedDeriv_fun_pow_zero]; split_ifs <;> simp_all |
| 85 | change iteratedDeriv k (fun t => f t*z t) 0 = _ |
| 86 | rw [iteratedDeriv_fun_mul (hf.of_le le_top).contDiffAt (h.of_le le_top).contDiffAt] |
| 87 | simp_rw [he] |
| 88 | by_cases hh : k=n |
| 89 | · subst n; rw [Finset.sum_eq_single k]; simp [Complex.real_smul]; intro j _ hj; simp [hj]; simp |
| 90 | rw [if_neg hh]; apply Finset.sum_eq_zero; intro i hi |
| 91 | have ht : i ≠ n := (lt_of_le_of_lt (Nat.le_of_lt_succ (Finset.mem_range.mp hi)) (lt_of_le_of_ne hk hh)).ne |
| 92 | simp [ht] |
| 93 | |
| 94 | theorem crossed (i : F.Index) (J : Jet G) (n : ℕ) (hk : n ≤ (F.grades i).1) : |
| 95 | iteratedDeriv n (fun t => Cross.mix (shade F i) M.U (course J t) (M.liftAll (course J t))) 0 = |
| 96 | if n=(F.grades i).1 then (↑(n.factorial) : ℝ) • (Labels.read J (F.basis i).val - tally (F.basis i) (M.U (trunk d J))) else 0 := by |
| 97 | simp_rw [course_eq, admits M F i, in_weight n _ hk (M.freeform F i (trunk d J)) |
| 98 | (contDiff_iff_contDiffAt.mpr fun _ => Cross.mix_smooth (shade F i) M.U contDiffAt_const (M.tail_smooth (trunk d J)).contDiffAt)] |
| 99 | simp_rw [freeform,M.tail_axis,Cross.restore] -- unnecessary |
| 100 | rw [label_leg (F.pure i),label_leg (F.pure i), tally, racts] |
| 101 | |
| 102 | end Machine |
| 103 | end YM.ProjectorNext.Calibration |