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.Analysis.Homogeneous |
| 2 | import YM.Bid.Source |
| 3 | |
| 4 | /-! |
| 5 | # Real analytic germ of link transport in truncated radial connection data |
| 6 | |
| 7 | We use the integral equation in continuous matrix paths (sup norm). Locally |
| 8 | in `Snap` the linear Volterra operator has small norm, so that the actual given |
| 9 | `Hol` agrees with an analytic resolvent expression. This is used link by link; |
| 10 | no assertion of uniform analytic radii over an infinite stencil. |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | |
| 16 | namespace YM.Work.G02 |
| 17 | open Filter Function Set RG Wilson Lattice Labels Source Source.Drops InnerProductSpace MeasureTheory |
| 18 | open scoped Topology Matrix.Norms.Frobenius BigOperators |
| 19 | |
| 20 | section Operators |
| 21 | |
| 22 | variable {X Y : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 23 | [NormedAddCommGroup Y] [NormedSpace ℝ Y] |
| 24 | |
| 25 | /-- Bounded integration operator with base point zero. `projIcc` extends the |
| 26 | integrand for notation; only values in the unit interval are used. -/ |
| 27 | private def primitive [CompleteSpace Y] : C(unitInterval, Y) →L[ℝ] C(unitInterval, Y) := by |
| 28 | let π := projIcc (0 : ℝ) 1 zero_le_one |
| 29 | have hint (U : C(unitInterval, Y)) (a b : ℝ) : |
| 30 | IntervalIntegrable (fun s => U (π s)) volume a b := |
| 31 | (U.continuous.comp continuous_projIcc).intervalIntegrable a b |
| 32 | let L : C(unitInterval, Y) →ₗ[ℝ] C(unitInterval, Y) := { |
| 33 | toFun U := ⟨fun t => ∫ s in 0..(t : ℝ), U (π s), |
| 34 | (intervalIntegral.continuous_primitive (hint U) 0).comp continuous_subtype_val⟩ |
| 35 | map_add' U W := ContinuousMap.ext fun t => intervalIntegral.integral_add |
| 36 | (hint U 0 (t : ℝ)) (hint W 0 (t : ℝ)) |
| 37 | map_smul' r U := ContinuousMap.ext fun t => by |
| 38 | change (∫ s in 0..(t : ℝ), r • U (π s)) = r • ∫ s in 0..(t : ℝ), U (π s) |
| 39 | rw [intervalIntegral.integral_smul] } |
| 40 | refine L.mkContinuous 1 fun U => ?_ |
| 41 | rw [one_mul] |
| 42 | refine (ContinuousMap.norm_le (L U) (norm_nonneg U)).2 fun t => ?_ |
| 43 | change ‖∫ s in 0..(t : ℝ), U (π s)‖ ≤ ‖U‖ |
| 44 | calc |
| 45 | _ ≤ ‖U‖ * |(t : ℝ) - 0| := |
| 46 | intervalIntegral.norm_integral_le_of_norm_le_const fun s _ => U.norm_coe_le_norm (π s) |
| 47 | _ ≤ ‖U‖ := by |
| 48 | rw [sub_zero, abs_of_nonneg t.property.1] |
| 49 | exact mul_le_of_le_one_right (norm_nonneg U) t.property.2 |
| 50 | |
| 51 | /-- At zero a parameter-linear family of bounded operators implies analyticity of |
| 52 | solutions (germ) to `F(x) = a + T(x)(F(x))`. Differentiate the equation. -/ |
| 53 | private theorem fixedGerm [CompleteSpace Y] (T : X →L[ℝ] Y →L[ℝ] Y) |
| 54 | (F : X → Y) (a : Y) (h : ∀ x, F x = a + T x (F x)) : |
| 55 | AnalyticAt ℝ F 0 ∧ F 0 = a ∧ HasFDerivAt F (T.flip a) 0 := by |
| 56 | have hz : F 0 = a := by simpa using h 0 |
| 57 | have H : AnalyticAt ℝ F 0 := by |
| 58 | have hi : AnalyticAt ℝ (fun B : Y →L[ℝ] Y => Ring.inverse (1 - B)) (T 0) := by |
| 59 | rw [map_zero] |
| 60 | exact analyticAt_inverse_one_sub ℝ _ |
| 61 | apply AnalyticAt.congr (((ContinuousLinearMap.apply ℝ Y a).analyticAt _).comp |
| 62 | (hi.comp (T.analyticAt _))) |
| 63 | have ht : Tendsto T (𝓝 0) (𝓝 0) := by simpa using T.continuous.tendsto 0 |
| 64 | filter_upwards [ht.eventually (Metric.ball_mem_nhds 0 one_pos)] with x hx |
| 65 | have hu : IsUnit (1 - T x) := |
| 66 | isUnit_one_sub_of_norm_lt_one (show ‖T x‖ < 1 by simpa using hx) |
| 67 | have ha : (1 - T x) (F x) = a := by |
| 68 | change F x - T x (F x) = a |
| 69 | exact sub_eq_iff_eq_add.mpr (h x) |
| 70 | change Ring.inverse (1 - T x) a = F x |
| 71 | rw [← ha, ← mul_apply_eq_comp, Ring.inverse_mul_cancel _ hu, |
| 72 | one_apply_eq_self] |
| 73 | have hD := (hasFDerivAt_const a (0 : X)).add |
| 74 | (T.hasFDerivAt.clm_apply H.differentiableAt.hasFDerivAt) |
| 75 | refine ⟨H, hz, ?_⟩ |
| 76 | have he : (fun x => a + T x (F x)) = F := funext fun x => (h x).symm |
| 77 | simpa [Pi.add_def, he, hz] using hD |
| 78 | |
| 79 | /-- Restrict `f` to a line through the origin (for identifying `fderiv`). -/ |
| 80 | private theorem onRay {f : X → Y} {L : X →L[ℝ] Y} (h : HasFDerivAt f L 0) (J : X) : |
| 81 | HasDerivAt (fun t : ℝ => f (t • J)) (L J) 0 := by |
| 82 | have hd : HasDerivAt (fun t : ℝ => t • J) J 0 := by |
| 83 | simpa using! (hasDerivAt_id' (0 : ℝ)).smul_const J |
| 84 | exact h.comp_hasDerivAt_of_eq 0 hd (by simp) |
| 85 | |
| 86 | /-- Endpoint of the right-multiplication ODE, for a coefficient field `A` |
| 87 | linear in some finite-dimensional parameters. No dependence regularity is |
| 88 | assumed on the given solutions `u`. -/ |
| 89 | theorem endpointGerm {R : Type*} [NormedRing R] [NormedAlgebra ℝ R] [CompleteSpace R] |
| 90 | [FiniteDimensional ℝ X] |
| 91 | (A : X →ₗ[ℝ] ℝ → R) (hA : ∀ x : X, Continuous (A x)) |
| 92 | (u : X → ℝ → R) (hu : ∀ x, u x 0 = 1) |
| 93 | (hode : ∀ x t, HasDerivAt (u x) (u x t * A x t) t) : |
| 94 | AnalyticAt ℝ (fun x : X => u x 1) 0 ∧ u 0 1 = 1 ∧ |
| 95 | ∀ x : X, HasDerivAt (fun t : ℝ => u (t • x) 1) (∫ s in (0 : ℝ)..1, A x s) 0 := by |
| 96 | let B : X →ₗ[ℝ] C(unitInterval, R) := { |
| 97 | toFun x := ⟨fun t => A x t.val, (hA x).comp continuous_subtype_val⟩ |
| 98 | map_add' x y := ContinuousMap.ext fun t => congr_fun (A.map_add x y) (t : ℝ) |
| 99 | map_smul' r x := ContinuousMap.ext fun t => congr_fun (A.map_smul r x) (t : ℝ) } |
| 100 | let T : X →L[ℝ] C(unitInterval, R) →L[ℝ] C(unitInterval, R) := |
| 101 | ((ContinuousLinearMap.compL ℝ C(unitInterval, R) _ _) |
| 102 | (primitive (Y := R))).comp |
| 103 | ((ContinuousLinearMap.mul ℝ C(unitInterval, R)).flip.comp B.toContinuousLinearMap) |
| 104 | have hcont (x : X) : Continuous (u x) := continuous_iff_continuousAt.2 |
| 105 | fun t => (hode x t).continuousAt |
| 106 | let F (x : X) : C(unitInterval, R) := ⟨fun t => u x t.val, |
| 107 | (hcont x).comp continuous_subtype_val⟩ |
| 108 | let π := projIcc (0 : ℝ) 1 zero_le_one |
| 109 | have hp (t : unitInterval) (s : ℝ) (hs : s ∈ uIcc 0 (t : ℝ)) : (π s).val = s := by |
| 110 | rw [uIcc_of_le t.property.1] at hs |
| 111 | unfold π |
| 112 | rw [projIcc_of_mem _ (show s ∈ unitInterval from ⟨hs.1, hs.2.trans t.property.2⟩)] |
| 113 | have he (x : X) : F x = 1 + T x (F x) := by |
| 114 | refine ContinuousMap.ext fun t => ?_ |
| 115 | change u x (t : ℝ) = 1 + ∫ s in 0..(t : ℝ), u x (π s).val * A x (π s).val |
| 116 | rw [intervalIntegral.integral_congr |
| 117 | (show EqOn (fun s => u x (π s).val * A x (π s).val) (fun s => u x s * A x s) |
| 118 | (uIcc 0 (t : ℝ)) from fun s hs => by |
| 119 | change u x (π s).val * A x (π s).val = _ |
| 120 | rw [hp t s hs]), |
| 121 | intervalIntegral.integral_eq_sub_of_hasDerivAt |
| 122 | (fun s _ => hode x s) (((hcont x).mul (hA x)).intervalIntegrable _ _), hu x] |
| 123 | abel |
| 124 | obtain ⟨ha, hz, hd⟩ := fixedGerm T F 1 he |
| 125 | let V : C(unitInterval, R) →L[ℝ] R := ContinuousMap.evalCLM ℝ (1 : unitInterval) |
| 126 | refine ⟨(V.analyticAt _).comp ha, congr_arg V hz, fun x => ?_⟩ |
| 127 | apply (onRay (V.hasFDerivAt.comp 0 hd) x).congr_deriv |
| 128 | change (∫ s in 0..(1 : ℝ), (1 : R) * A x (π s).val) = _ |
| 129 | exact intervalIntegral.integral_congr (fun s hs => by |
| 130 | rw [hp 1 s hs, one_mul]) |
| 131 | |
| 132 | end Operators |
| 133 | |
| 134 | section Link |
| 135 | variable {G : Gauge} |
| 136 | |
| 137 | /-- Specialize to the positive link at scaling parameter one. The derivative |
| 138 | along an arbitrary direction of radial data is the integral with a **plus** |
| 139 | sign, and in the Lie subspace with the specified color scaling. -/ |
| 140 | theorem linkGerm (H : Hol G) (d : ℕ) (p : Edge Cover) : |
| 141 | AnalyticAt ℝ (fun J : Snap G d => G.mat (H.links d (expand d J) 1 p)) 0 ∧ |
| 142 | H.links d (expand d 0) 1 p = 1 ∧ |
| 143 | ∀ J : Snap G d, HasDerivAt (fun t : ℝ => G.mat (H.links d (expand d (t • J)) 1 p)) |
| 144 | (G.colorMat (access J p)) 0 := by |
| 145 | have hc (J : Snap G d) : Continuous (partConnection d (expand d J) 1 p) := by |
| 146 | unfold partConnection |
| 147 | simp only [potential, one_smul] |
| 148 | refine continuous_finsetSum _ fun j _ => ?_ |
| 149 | exact (Tensor.diag_smooth _ 1).continuous.comp (by fun_prop) |
| 150 | let A : Snap G d →ₗ[ℝ] ℝ → G.Mat := { |
| 151 | toFun J t := G.colorMat (partConnection d (expand d J) 1 p t) |
| 152 | map_add' J K := by |
| 153 | funext t |
| 154 | change G.colorMat _ = G.colorMat _ + G.colorMat _ |
| 155 | rw [← map_add] |
| 156 | congr 1 |
| 157 | simp only [partConnection, potential, one_smul, ← Finset.sum_add_distrib] |
| 158 | refine Finset.sum_congr rfl fun j hj => ?_ |
| 159 | simp only [Taylor.value, Tensor.diagonal, expand, dif_pos (Finset.mem_range.mp hj)] |
| 160 | rfl |
| 161 | map_smul' r J := by |
| 162 | funext t |
| 163 | change G.colorMat _ = r • G.colorMat _ |
| 164 | rw [← map_smul] |
| 165 | congr 1 |
| 166 | simp only [partConnection, potential, one_smul, Finset.smul_sum] |
| 167 | refine Finset.sum_congr rfl fun j hj => ?_ |
| 168 | simp only [Taylor.value, Tensor.diagonal, expand, dif_pos (Finset.mem_range.mp hj)] |
| 169 | rfl } |
| 170 | obtain ⟨ha, hz, hJ⟩ := endpointGerm A |
| 171 | (fun J => G.colorMat.continuous_of_finiteDimensional.comp (hc J)) |
| 172 | (fun J t => G.mat (H.flow d (expand d J) 1 p t)) |
| 173 | (fun J => by rw [(H.solves ..).1, G.mat_one]) |
| 174 | (fun J t => (H.solves d (expand d J) 1 p).2 t) |
| 175 | refine ⟨ha, G.mat_injective (hz.trans G.mat_one.symm), fun J => (hJ J).congr_deriv ?_⟩ |
| 176 | exact G.colorMat.toContinuousLinearMap.intervalIntegral_comp_comm |
| 177 | ((hc J).intervalIntegrable _ _) |
| 178 | |
| 179 | end Link |
| 180 | |
| 181 | section Walk |
| 182 | variable {G : Gauge} |
| 183 | |
| 184 | private theorem matStarGerm {X : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 185 | {F : X → G.Mat} (h : AnalyticAt ℝ F 0) : AnalyticAt ℝ (fun J => star (F J)) 0 := |
| 186 | (((starL' ℝ : G.Mat ≃L[ℝ] G.Mat).toContinuousLinearMap).analyticAt _).comp h |
| 187 | |
| 188 | /-- The same calculation as `Exterior.curvature_linear` for exponential |
| 189 | increments, but here for the actual cover links whose tangents `linkGerm` |
| 190 | gives. -/ |
| 191 | theorem walkGerm (H : Hol G) (d : ℕ) (w : Walk) (x : Cover) : |
| 192 | AnalyticAt ℝ (fun J : Snap G d => G.mat (travel (H.links d (expand d J) 1) x w)) 0 ∧ |
| 193 | ∀ J : Snap G d, |
| 194 | HasDerivAt (fun t : ℝ => G.mat (travel (H.links d (expand d (t • J)) 1) x w)) |
| 195 | (G.colorMat (Exterior.linkSum (access J) x w)) 0 := by |
| 196 | have hz : H.links d (expand d 0) 1 = 1 := funext fun p => (linkGerm H d p).2.1 |
| 197 | induction w generalizing x with |
| 198 | | nil => |
| 199 | simp only [travel, Exterior.linkSum, map_zero] |
| 200 | exact ⟨analyticAt_const, fun _ => hasDerivAt_const _ _⟩ |
| 201 | | cons l w ih => |
| 202 | have ha : AnalyticAt ℝ (fun J : Snap G d => G.mat (l.read (H.links d (expand d J) 1) x)) 0 := by |
| 203 | unfold Step.read |
| 204 | split |
| 205 | · simp only [G.mat_inv] |
| 206 | exact matStarGerm (linkGerm H d _).1 |
| 207 | · exact (linkGerm H d _).1 |
| 208 | obtain ⟨hb, hd⟩ := ih (x + l.vec) |
| 209 | constructor |
| 210 | · simp_rw [travel, G.mat_mul] |
| 211 | exact ha.mul hb |
| 212 | intro J |
| 213 | have hh : HasDerivAt (fun t : ℝ => G.mat (l.read (H.links d (expand d (t • J)) 1) x)) |
| 214 | (G.colorMat (if l.neg then -access J (l.used x) else access J (l.used x))) 0 := by |
| 215 | unfold Step.read |
| 216 | split |
| 217 | · rw [map_neg, ← G.colorMat_skew] |
| 218 | simp only [G.mat_inv] |
| 219 | exact ((linkGerm H d (l.used x)).2.2 J).star |
| 220 | · exact (linkGerm H d _).2.2 J |
| 221 | simp_rw [travel, G.mat_mul] |
| 222 | apply (hh.mul (hd J)).congr_deriv |
| 223 | simp only [zero_smul, hz, Pressure.one, |
| 224 | show l.read (1 : CoverConfig G) x = 1 from by simp [Step.read], |
| 225 | G.mat_one, mul_one, one_mul, Exterior.linkSum, map_add] |
| 226 | |
| 227 | /-- Compute `initial` without any symmetry hypothesis. Conjugating the small |
| 228 | face loop by the walk realizes `Slot.eval`; the connector contributions |
| 229 | cancel in its differential. -/ |
| 230 | theorem slotGerm (H : Hol G) (d : ℕ) (v : Slot) : |
| 231 | AnalyticAt ℝ (takes H d v) 0 ∧ ∀ J, Blurb H d v J = glow J v := by |
| 232 | let U (J : Snap G d) := H.links d (expand d J) 1 |
| 233 | let Z (J : Snap G d) := travel (U J) 0 v.walk |
| 234 | let w := square v.plaq.val.1 v.plaq.val.2 |
| 235 | let Y (J : Snap G d) := faceValue (U J) (v.offset, v.plaq) |
| 236 | let B (J : Snap G d) := Z J * Y J * (Z J)⁻¹ |
| 237 | have haz : AnalyticAt ℝ (fun J => G.mat (Z J)) 0 := (walkGerm H d v.walk 0).1 |
| 238 | have hay : AnalyticAt ℝ (fun J => G.mat (Y J)) 0 := (walkGerm H d w v.offset).1 |
| 239 | have hab : AnalyticAt ℝ (fun J => G.mat (B J)) 0 := by |
| 240 | simp only [B, G.mat_mul, G.mat_inv] |
| 241 | exact (haz.mul hay).mul (matStarGerm haz) |
| 242 | have he (J) : takes H d v J = |
| 243 | G.projectColor ((1/2 : ℝ) • (G.mat (B J) - star (G.mat (B J)))) := |
| 244 | (G.curvature_conjugate (Z J) (Y J)).symm |
| 245 | have ha : AnalyticAt ℝ (takes H d v) 0 := by |
| 246 | rw [funext he] |
| 247 | have hf : AnalyticAt ℝ (fun J => (1/2 : ℝ) • (G.mat (B J) - star (G.mat (B J)))) 0 := |
| 248 | (hab.sub (matStarGerm hab)).const_smul (c := (1/2 : ℝ)) |
| 249 | exact (G.projectColor.toContinuousLinearMap.analyticAt _).comp hf |
| 250 | refine ⟨ha, fun J => ?_⟩ |
| 251 | have hu : U 0 = 1 := funext fun i => (linkGerm H d i).2.1 |
| 252 | have hz : Z 0 = 1 := by dsimp only [Z]; rw [hu]; exact Pressure.one _ |
| 253 | have hy : Y 0 = 1 := by dsimp only [Y]; rw [hu]; exact Pressure.one _ |
| 254 | let z := G.colorMat (Exterior.linkSum (access J) 0 v.walk) |
| 255 | let y := G.colorMat (glow J v) |
| 256 | have dz : HasDerivAt (fun t : ℝ => G.mat (Z (t • J))) z 0 := (walkGerm H d v.walk 0).2 J |
| 257 | have dy : HasDerivAt (fun t : ℝ => G.mat (Y (t • J))) y 0 := (walkGerm H d w v.offset).2 J |
| 258 | have db : HasDerivAt (fun t : ℝ => G.mat (B (t • J))) y 0 := by |
| 259 | simp only [B, G.mat_mul, G.mat_inv] |
| 260 | apply ((dz.mul dy).mul dz.star).congr_deriv |
| 261 | simp only [Pi.mul_apply, zero_smul, hz, hy, G.mat_one, mul_one, one_mul, star_one, |
| 262 | show star z = -z from G.colorMat_skew _] |
| 263 | abel |
| 264 | have ht : HasDerivAt (fun t : ℝ => (1/2 : ℝ) • |
| 265 | (G.mat (B (t • J)) - star (G.mat (B (t • J))))) y 0 := by |
| 266 | apply ((db.sub db.star).const_smul (1/2 : ℝ)).congr_deriv |
| 267 | rw [show star y = -y from G.colorMat_skew _, sub_neg_eq_add, ← two_smul ℝ, |
| 268 | smul_smul, div_mul_cancel₀ _ (two_ne_zero' ℝ), one_smul] |
| 269 | have h : HasDerivAt (fun t : ℝ => takes H d v (t • J)) (glow J v) 0 := by |
| 270 | simp_rw [he] |
| 271 | apply (G.projectColor.toContinuousLinearMap.hasFDerivAt.comp_hasDerivAt 0 ht).congr_deriv |
| 272 | exact G.project_colorMat _ |
| 273 | exact (onRay ha.differentiableAt.hasFDerivAt J).unique h |
| 274 | end Walk |
| 275 | |
| 276 | theorem answer : YM.Bid.G02 := by |
| 277 | intro h G H d |
| 278 | exact ⟨fun v => (slotGerm H d v).1, (h G H).2 d, fun J v => (slotGerm H d v).2 J⟩ |
| 279 | |
| 280 | end YM.Work.G02 |