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.Pert.Lattice.Plate |
| 2 | /-! Finitely shifted finite-order curvature differences transported to an actual source site. |
| 3 | Native scalar division by the link coupling once per slot is put in the later field reader. -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.Pert.Bare |
| 7 | open Lattice Function Filter Orb |
| 8 | open scoped Topology ContDiff Matrix.Norms.Frobenius |
| 9 | variable {G : Gauge} {n : Side} {j : ℕ} |
| 10 | |
| 11 | def walk (r : Fin j→Axis) (s : Finset (Fin j)) := (s.toList.map fun i => posDir (r i)) |
| 12 | lemma displaced {X : Type*} [AddCommGroup X] [One X] (r : Fin j → Axis) (s : Finset (Fin j)) (x : Four X) : |
| 13 | stop x (walk r s) = x + ∑ i ∈ s, (step (r i) : Four X) := by |
| 14 | have H (l : List (Fin j)) (z : Four X) (h : l.Nodup) : stop z (l.map fun i => posDir (r i)) = z+(∑ i ∈ l.toFinset, step (r i)) := by |
| 15 | induction l generalizing z with |
| 16 | | nil => simp [stop] |
| 17 | | cons a l ih => simp only [List.map_cons,stop,List.toFinset_cons, Step.vec_pos, ih _ (List.nodup_cons.mp h).2]; rw [Finset.sum_insert (by simpa using (List.nodup_cons.mp h).1)]; abel |
| 18 | simp [walk,H,s.nodup_toList,s.toList_toFinset] |
| 19 | |
| 20 | def sign (s : Finset (Fin j)) : ℝ := (-1)^((sᶜ).card) |
| 21 | lemma sign_eq (s : Finset (Fin j)) : sign s = (-1 : ℝ)^(j-s.card) := by simp [sign,Finset.card_compl] |
| 22 | lemma sign_reindexed (σ : Equiv.Perm (Fin j)) (s : Finset (Fin j)) : sign (s.map σ.toEmbedding) = sign s := by simp only [sign_eq,Finset.card_map] |
| 23 | |
| 24 | variable (j) in |
| 25 | def diffU {X : Type*} [AddCommGroup X] [One X] (U : Lattice.Links X G.El) (x : Four X) : Response G j := fun i k γ => |
| 26 | (j.factorial : ℝ)⁻¹ • ∑ s, sign s • plateU U x (walk γ s) i k |
| 27 | lemma diff_gauge {X : Type*} [AddCommGroup X] [One X] (t : Four X → G.El) (U : Lattice.Links X G.El) (x : Four X) : |
| 28 | diffU j (gauge t U) x = fun i k γ => G.adjoint (t x) (diffU j U x i k γ) := by |
| 29 | funext i k γ; simp only [diffU,plate_gauge,map_smul,map_sum] |
| 30 | def rawJet {X : Type*} [AddCommGroup X] [One X] (h : ℝ) (U : Lattice.Links X G.El) (x : Four X) (j : ℕ) : Labels.Taylor G j := |
| 31 | h^(-(j+2:ℤ)) • radialMap (j:=j) (diffU j U x) |
| 32 | lemma rawJet_gauge {X : Type*} [AddCommGroup X] [One X] (h : ℝ) (t : Four X → G.El) (U : Lattice.Links X G.El) (x : Four X) : |
| 33 | rawJet h (gauge t U) x j = Labels.Taylor.paint (t x) (rawJet h U x j) := by |
| 34 | rw [rawJet,rawJet,map_smul,diff_gauge]; congr 1; exact radial_color _ _ |
| 35 | |
| 36 | def leading (x : Site n) : Potential G n →ₗ[ℝ] Response G j := |
| 37 | LinearMap.pi (fun i => LinearMap.pi (fun k => LinearMap.pi fun r => (j.factorial : ℝ)⁻¹ • ∑ s, sign s • curL (stop x (walk r s)) i k)) |
| 38 | @[simp] lemma leading_apply (x : Site n) (v : Potential G n) (i k : Axis) (γ : Fin j→Axis) : |
| 39 | leading x v i k γ = (j.factorial : ℝ)⁻¹ • ∑ s, sign s • cur v.val (stop x (walk γ s)) i k := by simp only [leading,LinearMap.pi_apply,LinearMap.smul_apply,LinearMap.sum_apply,Pi.smul_apply]; rfl |
| 40 | @[simp] lemma diff_zero (x : Site n) : diffU j (positiveLinks (0:Potential G n)) x = 0 := by |
| 41 | funext i k γ; unfold diffU; |
| 42 | change _ • ∑ s, sign s • plate (G:=G) x (walk γ s) i k 0 = _ |
| 43 | simp only [plate_flat,smul_zero,Finset.sum_const_zero]; rfl |
| 44 | @[simp] lemma rawJet_zero (h : ℝ) (x : Site n) : rawJet h (positiveLinks (0:Potential G n)) x j = 0 := by simp [rawJet] |
| 45 | lemma diff_smooth (x : Site n) : ContDiffAt ℝ ω (fun a : Potential G n => diffU j (positiveLinks a) x) 0 := |
| 46 | contDiffAt_pi.mpr fun i => contDiffAt_pi.mpr fun k => contDiffAt_pi.mpr fun γ => |
| 47 | (ContDiffAt.sum (fun s _ => ContDiffAt.const_smul (𝕜:=ℝ) (sign s) (plate_diff (G:=G) x (walk γ s) i k))).const_smul ((j.factorial:ℝ)⁻¹) |
| 48 | set_option maxHeartbeats 600000 in |
| 49 | lemma rawJet_smooth (h : ℝ) (x : Site n) : ContDiffAt ℝ ω (fun a : Potential G n => rawJet h (positiveLinks a) x j) 0 := by |
| 50 | unfold rawJet |
| 51 | let K : Response G j →L[ℝ] Labels.Taylor G j := (radialMap (j:=j) (G:=G)).toContinuousLinearMap |
| 52 | have he := ContinuousLinearMap.contDiff (𝕜:=ℝ) (E:=Response G j) (F:=Labels.Taylor G j) (n:=ω) K |
| 53 | exact (he.contDiffAt.comp (f:=fun a : Potential G n => diffU j (positiveLinks a) x) (0:Potential G n) (diff_smooth (G:=G) (j:=j) x)).const_smul (h^(-(j+2:ℤ))) |
| 54 | lemma diff_deriv (x : Site n) : HasFDerivAt (𝕜:=ℝ) (f:=fun a : Potential G n => diffU j (positiveLinks a) x) (f':=(leading x).toContinuousLinearMap) (0:Potential G n) := by |
| 55 | refine hasFDerivAt_pi'.mpr (fun i => hasFDerivAt_pi'.mpr (fun k => hasFDerivAt_pi'.mpr (fun γ => ?_))) |
| 56 | convert! (HasFDerivAt.sum (x:=(0:Potential G n)) (u:=Finset.univ) (fun s _ => (((plate_diff (G:=G) x (walk γ s) i k).differentiableAt (by simp)).hasFDerivAt.const_smul (sign s)))).const_smul ((j.factorial : ℝ)⁻¹) using 1 |
| 57 | · ext1 z; simp only [diffU,Pi.smul_apply,Finset.sum_apply,plate] |
| 58 | ext1 v |
| 59 | change leading x v i k γ= _; rw [leading_apply] |
| 60 | simp only [ContinuousLinearMap.smul_apply, ContinuousLinearMap.sum_apply,plate_deriv]; rfl |
| 61 | |
| 62 | def topJet (h : ℝ) (x : Site n) (j : ℕ) : Potential G n →ₗ[ℝ] Labels.Taylor G j := h^(-(j+2 : ℤ)) • radialMap ∘ₗ (leading x) |
| 63 | lemma jet_deriv (h : ℝ) (x : Site n) : HasFDerivAt (𝕜:=ℝ) (f:=fun a : Potential G n => rawJet h (positiveLinks a) x j) (f':=(topJet h x j).toContinuousLinearMap) (0:Potential G n) := by |
| 64 | let L := (radialMap (G:=G) (j:=j)).toContinuousLinearMap |
| 65 | convert! (L.hasFDerivAt.comp (g:=fun u => L u) (f:=fun a : Potential G n => diffU j (positiveLinks a) x) 0 (diff_deriv ..)).const_smul (h^(-(j+2 : ℤ))) using 1 |
| 66 | end YM.Pert.Bare |