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.Next.WARD_BIN.Energy |
| 2 | import YM.Work.G02 |
| 3 | import YM.Work.G03 |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | /-! |
| 9 | # Detect the divergence of curvature jets by positively oriented links |
| 10 | |
| 11 | Everything here is independent of any physical limit. Work on the lattice cover. |
| 12 | Finite sampling at positive edges, including transport back to the base 0; |
| 13 | `sample` uses the actual Lie gradient expression `euler`, not a prescribed finite difference. |
| 14 | Show (in agreement with the linear term at ) it reads a difference of |
| 15 | plaquette nets with a minus sign at leading order. Shrinking a test grid then extracts |
| 16 | top homogeneous degree, so finite **linear combinations** of these samples implement |
| 17 | prescribed divergence through that degree. No differentiability assertion about the |
| 18 | rounding procedure or face masks. No limit related to cutoffs `N,p` here. |
| 19 | -/ |
| 20 | set_option autoImplicit false |
| 21 | noncomputable section |
| 22 | namespace YM.WardBin |
| 23 | open Function Lattice Wilson RG Labels Source Source.Drops Bid MeasureTheory Filter Set |
| 24 | open Work.G03 |
| 25 | open scoped Topology ContDiff Matrix.Norms.Frobenius BigOperators |
| 26 | variable {G : Gauge} {k d : ℕ} |
| 27 | |
| 28 | /-- One definite transporter to the starting vertex. Later charged as full stencil. -/ |
| 29 | def toBond (e : Edge Cover) (U : CoverConfig G) := travel U 0 (route 0 e.1 1) |
| 30 | |
| 31 | /-- Transported test of Euler. -/ |
| 32 | def sample (e : Edge Cover) (U : CoverConfig G) : G.Color := G.adjoint (toBond e U) (euler U e) |
| 33 | |
| 34 | lemma sample_gauge (e : Edge Cover) (U : CoverConfig G) (t : Cover → G.El) : |
| 35 | sample e (Lattice.gauge t U) = G.adjoint (t 0) (sample e U) := by |
| 36 | unfold sample toBond; rw [euler_gauge, travel_gauge, route_end, ← G.adjoint_mul, |
| 37 | inv_mul_cancel_right, G.adjoint_mul] |
| 38 | |
| 39 | /-- Linearization uses radial links before engineering truncation along |
| 40 | `scaleJet`, here simply differentiating in ordinary radial *inputs*. -/ |
| 41 | def linearSample (H : Hol G) (e : Edge Cover) : Snap G d →L[ℝ] G.Color := |
| 42 | fderiv ℝ (fun J => sample e (H.links d (expand d J) 1)) 0 |
| 43 | |
| 44 | private theorem linkSum_wheel (A : Snap G d) (x : Cover) (i j : Axis) : |
| 45 | Exterior.linkSum (access A) x (oriented (posDir i) (posDir j)) + |
| 46 | Exterior.linkSum (access A) x (oriented (posDir i) (negDir j)) = |
| 47 | ∑ k ∈ Finset.range (d-1), |
| 48 | (net (expand d A k) j i (castPos (x-step j)) 1 - net (expand d A k) j i (castPos x) 1) := by |
| 49 | let Y := access A |
| 50 | have hz : Exterior.linkSum Y x (oriented (posDir i) (posDir j)) = |
| 51 | - Exterior.linkSum Y x (square j i) := by |
| 52 | change Exterior.linkSum _ _ (square i j) = _ |
| 53 | rw [square_sum, square_sum]; abel |
| 54 | have he : Exterior.linkSum Y x (oriented (posDir i) (negDir j)) = |
| 55 | Exterior.linkSum Y (x-step j) (square j i) := by |
| 56 | rw [square_sum]; unfold oriented |
| 57 | have h₁ : x+step i - step j = x-step j + step i := by abel |
| 58 | simp only [Exterior.linkSum, posDir, negDir,Step.used,Step.vec,Step.rev, |
| 59 | Bool.not_false,Bool.not_true, Bool.false_eq_true, ↓reduceIte, add_zero, h₁, |
| 60 | sub_add_cancel, ← sub_eq_add_neg] |
| 61 | simp only [add_sub_cancel_right]; abel |
| 62 | have hs (x : Cover) (i j : Axis) : Exterior.linkSum Y x (square i j) = |
| 63 | ∑ k ∈ Finset.range (d-1), net (expand d A k) i j (castPos x) 1 := by |
| 64 | unfold Y; rw [square_sum]; simp_rw [edge_sum,castPos_step, net, partial_eq_diff, |
| 65 | Finset.sum_sub_distrib]; abel |
| 66 | change Exterior.linkSum Y _ _ + Exterior.linkSum Y _ _ = _ |
| 67 | rw [he,hz,hs,hs]; rw [Finset.sum_sub_distrib]; abel |
| 68 | |
| 69 | -- pull the differentiated wheel back to the base with the chosen transport. |
| 70 | private def spun (e : Edge Cover) (a : Step) (U : CoverConfig G) := |
| 71 | toBond e U * wheel e a U * (toBond e U)⁻¹ |
| 72 | |
| 73 | private lemma spun_germ (H : Hol G) (e : Edge Cover) (a : Step) : |
| 74 | AnalyticAt ℝ (fun J : Snap G d => G.curvature (spun e a (H.links d (expand d J) 1))) 0 ∧ |
| 75 | ∀ J : Snap G d, HasDerivAt (fun t : ℝ => G.curvature |
| 76 | (spun e a (H.links d (expand d (t • J)) 1))) |
| 77 | (Exterior.linkSum (access J) e.1 (oriented (posDir e.2) a)) 0 := by |
| 78 | let U := fun J : Snap G d => H.links d (expand d J) 1 |
| 79 | let T := fun J : Snap G d => G.mat (toBond e (U J)) |
| 80 | let W := fun J : Snap G d => G.mat (wheel e a (U J)) |
| 81 | let N := fun J : Snap G d => T J * W J * star (T J) |
| 82 | have hT : AnalyticAt ℝ T 0 := (Work.G02.walkGerm H d _ _).1 |
| 83 | have hW : AnalyticAt ℝ W 0 := (Work.G02.walkGerm H d _ _).1 |
| 84 | let I : G.Mat →L[ℝ] G.Mat := ContinuousLinearMap.id ℝ G.Mat |
| 85 | let S := (starL' ℝ (A := G.Mat)).toContinuousLinearMap |
| 86 | let L := G.projectColor.toContinuousLinearMap.comp ((1/2 : ℝ) • (I - S)) |
| 87 | have hN : AnalyticAt ℝ N 0 := (hT.mul hW).mul ((S.analyticAt _).comp hT) |
| 88 | have hg (J : Snap G d) : G.curvature (spun e a (U J)) = L (N J) := rfl |
| 89 | change AnalyticAt ℝ (fun J => G.curvature (spun e a (U J))) 0 ∧ _ |
| 90 | constructor |
| 91 | · simp_rw [hg]; exact (L.analyticAt _).comp hN |
| 92 | intro A |
| 93 | let y := Exterior.linkSum (access A) e.1 (oriented (posDir e.2) a) |
| 94 | let z := Exterior.linkSum (access A) (0:Cover) (route 0 e.1 1) |
| 95 | have hu : U 0 = 1 := funext fun i => (Work.G02.linkGerm H d i).2.1 |
| 96 | have hT : HasDerivAt (fun t : ℝ => T (t • A)) (G.colorMat z) 0 := |
| 97 | (Work.G02.walkGerm H d _ _).2 A |
| 98 | have hY : HasDerivAt (fun t : ℝ => N (t • A)) (G.colorMat y) 0 := by |
| 99 | have hW : HasDerivAt (fun t : ℝ => W (t • A)) (G.colorMat y) 0 := |
| 100 | (Work.G02.walkGerm H d _ _).2 A |
| 101 | apply ((hT.mul hW).mul hT.star).congr_deriv |
| 102 | simp only [G.colorMat_skew,Pi.mul_apply,zero_smul] |
| 103 | rw [show T 0 = 1 by dsimp only [T]; rw [hu]; simp [toBond,Pressure.one], |
| 104 | show W 0 = 1 by dsimp only [W]; rw [hu]; simp [wheel,Pressure.one]] |
| 105 | simp only [one_mul,star_one,mul_one]; abel |
| 106 | change HasDerivAt (fun t : ℝ => G.curvature (spun e a (U (t • A)))) _ 0 |
| 107 | simp_rw [hg]; refine (L.hasFDerivAt.comp_hasDerivAt 0 hY).congr_deriv ?_ |
| 108 | change G.projectColor ((1/2 : ℝ) • (G.colorMat y-star (G.colorMat y))) = y |
| 109 | rw [G.colorMat_skew, sub_neg_eq_add, ← two_smul ℝ, smul_smul, div_mul_cancel₀ _ two_ne_zero, |
| 110 | one_smul,G.project_colorMat] |
| 111 | |
| 112 | private lemma sample_parts (e : Edge Cover) (U : CoverConfig G) : sample e U = |
| 113 | ∑ i : Axis with i ≠ e.2, (G.curvature (spun e (posDir i) U)+ |
| 114 | G.curvature (spun e (negDir i) U)) := by |
| 115 | unfold sample euler; simp only [spun,map_sum,map_add,G.curvature_conjugate] |
| 116 | |
| 117 | /-- The sample itself is analytic in truncated radial data. -/ |
| 118 | lemma sample_germ (H : Hol G) (d : ℕ) (e : Edge Cover) : |
| 119 | AnalyticAt ℝ (fun J : Snap G d => sample e (H.links d (expand d J) 1)) 0 := by |
| 120 | simp_rw [sample_parts] |
| 121 | exact Finset.analyticAt_fun_sum _ fun j _ => (spun_germ H e (posDir j)).1.add |
| 122 | (spun_germ H e (negDir j)).1 |
| 123 | |
| 124 | private lemma tangent {F : Type*} [NormedAddCommGroup F] [NormedSpace ℝ F] (x : F) : |
| 125 | HasDerivAt (fun t : ℝ => t • x) x 0 := by simpa using! (hasDerivAt_id' (0 : ℝ)).smul_const x |
| 126 | |
| 127 | lemma sample_net (H : Hol G) (x : Cover) (i : Axis) (A : Snap G d) : linearSample H (x,i) A = |
| 128 | ∑ m ∈ Finset.range (d-1), ∑ j : Axis with j≠i, (net (expand d A m) j i (castPos (x-step j)) 1 - |
| 129 | net (expand d A m) j i (castPos x) 1) := by |
| 130 | let F := fun t : ℝ => H.links d (expand d (t • A)) 1 |
| 131 | apply (show HasDerivAt (fun t : ℝ => sample (x,i) (F t)) (linearSample H (x,i) A) 0 from |
| 132 | (sample_germ H d (x,i)).differentiableAt.hasFDerivAt.comp_hasDerivAt_of_eq 0 |
| 133 | (tangent A) |
| 134 | (by simp)).unique |
| 135 | simp_rw [sample_parts]; rw [Finset.sum_comm] |
| 136 | refine HasDerivAt.fun_sum fun j _ => ?_ |
| 137 | rw [← linkSum_wheel]; exact ((spun_germ H (x,i) (posDir j)).2 A).add |
| 138 | ((spun_germ H (x,i) (negDir j)).2 A) |
| 139 | |
| 140 | end YM.WardBin |