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.Polydisc |
| 2 | import YM.Bid.Corners |
| 3 | import YM.Spark.Limit |
| 4 | |
| 5 | /-! |
| 6 | # Strong real push and boost generator on Joint |
| 7 | -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.Work.C08 |
| 11 | open Function Set Filter MeasureTheory YM.Analysis Mink Boundary |
| 12 | open scoped ContDiff Topology BigOperators InnerProductSpace |
| 13 | |
| 14 | section Affine |
| 15 | |
| 16 | variable {Z X : Type*} [TopologicalSpace Z] |
| 17 | [NormedAddCommGroup X] [InnerProductSpace ℝ X] [FiniteDimensional ℝ X] |
| 18 | |
| 19 | -- `Probe.ahead b (Probe.along A f)` is `fun x => f (A (x - b))`. |
| 20 | |
| 21 | omit [FiniteDimensional ℝ X] in |
| 22 | private theorem jet_affine (b : X) (A : X ≃L[ℝ] X) (f : Probe X) (k : ℕ) (x : X) : |
| 23 | Spark.jet x k (Probe.ahead b (Probe.along A f)) = |
| 24 | (Spark.jet (A (x - b)) k f).compContinuousLinearMap fun _ => A.toContinuousLinearMap := by |
| 25 | let L := A.toContinuousLinearMap |
| 26 | change iteratedFDeriv ℝ k (fun z : X => (⇑f ∘ L) (z - b)) x = _ |
| 27 | rw [iteratedFDeriv_comp_sub, L.iteratedFDeriv_comp_right (f.smooth k) (x - b) le_rfl] |
| 28 | rfl |
| 29 | |
| 30 | -- Cost of the polynomial weight is controlled by the inverse linear part and translation. |
| 31 | omit [FiniteDimensional ℝ X] in |
| 32 | private theorem size_affine_le (b : X) (A : X ≃L[ℝ] X) (f : Probe X) (i k : ℕ) : |
| 33 | Probe.size i k (Probe.ahead b (Probe.along A f)) ≤ |
| 34 | (‖A.symm.toContinuousLinearMap‖ + ‖b‖) ^ i * ‖A.toContinuousLinearMap‖ ^ k * |
| 35 | (2 ^ i * ((Finset.Iic (i,k)).sup (schwartzSeminormFamily ℂ X ℂ)) f) := by |
| 36 | let c := ‖A.symm.toContinuousLinearMap‖ + ‖b‖ |
| 37 | have hc : 0 ≤ c := add_nonneg (norm_nonneg _) (norm_nonneg _) |
| 38 | refine SchwartzMap.seminorm_le_bound ℂ _ _ _ (by positivity) fun x => ?_ |
| 39 | let y := A (x-b) |
| 40 | have hx : ‖x‖ ≤ c * (1 + ‖y‖) := calc |
| 41 | ‖x‖ = ‖A.symm y + b‖ := by simp [y] |
| 42 | _ ≤ ‖A.symm y‖ + ‖b‖ := norm_add_le _ _ |
| 43 | _ ≤ ‖A.symm.toContinuousLinearMap‖ * ‖y‖ + ‖b‖ := add_le_add_left |
| 44 | (A.symm.toContinuousLinearMap.le_opNorm y) _ |
| 45 | _ ≤ c * (1 + ‖y‖) := by |
| 46 | dsimp only [c] |
| 47 | nlinarith [norm_nonneg A.symm.toContinuousLinearMap, norm_nonneg b, norm_nonneg y] |
| 48 | have H : ‖Spark.jet x k (Probe.ahead b (Probe.along A f))‖ ≤ |
| 49 | ‖Spark.jet y k f‖ * ‖A.toContinuousLinearMap‖ ^ k := by |
| 50 | rw [jet_affine] |
| 51 | simpa only [Finset.prod_const,Finset.card_univ,Fintype.card_fin] using |
| 52 | (Spark.jet y k f).norm_compContinuousLinearMap_le (fun _ => A.toContinuousLinearMap) |
| 53 | rw [← Spark.Jet] |
| 54 | calc |
| 55 | _ ≤ (c*(1 + ‖y‖))^i * (‖Spark.jet y k f‖ * ‖A.toContinuousLinearMap‖ ^ k) := |
| 56 | mul_le_mul (pow_le_pow_left₀ (norm_nonneg _) hx _) H (norm_nonneg _) (by positivity) |
| 57 | _ = c^i * ‖A.toContinuousLinearMap‖ ^ k * ((1 + ‖y‖)^i * ‖Spark.jet y k f‖) := by rw [mul_pow]; ring |
| 58 | _ ≤ _ := mul_le_mul_of_nonneg_left |
| 59 | (SchwartzMap.one_add_le_sup_seminorm_apply (𝕜:=ℂ) (m:=(i,k)) le_rfl le_rfl f y) (by positivity) |
| 60 | |
| 61 | /-- Schwartz continuity of precomposition by a continuously varying affine coordinate change. -/ |
| 62 | theorem continuous_affine_probe (b : Z → X) (A : Z → X ≃L[ℝ] X) (f : Probe X) |
| 63 | (hb : Continuous b) |
| 64 | (hA : Continuous (fun p => (A p).toContinuousLinearMap)) |
| 65 | (hI : Continuous (fun p => (A p).symm.toContinuousLinearMap)) : |
| 66 | Continuous (fun p => Probe.ahead (b p) (Probe.along (A p) f)) := by |
| 67 | refine continuous_iff_continuousAt.mpr fun p => ?_ |
| 68 | apply Spark.ready |
| 69 | · intro k x |
| 70 | rw [← nhds_prod_eq] |
| 71 | have H : Continuous (fun s : Z × X => Spark.jet s.2 k (Probe.ahead (b s.1) (Probe.along (A s.1) f))) := by |
| 72 | have ht : Continuous (fun s : Z × X => A s.1 (s.2 - b s.1)) := |
| 73 | (hA.comp continuous_fst).clm_apply (continuous_snd.sub (hb.comp continuous_fst)) |
| 74 | have hj : Continuous (fun s : Z × X => Spark.jet (A s.1 (s.2 - b s.1)) k f) := |
| 75 | ((f.smooth k).continuous_iteratedFDeriv (m := k) le_rfl).comp ht |
| 76 | have hl : Continuous (fun s : Z × X => fun _ : Fin k => (A s.1).toContinuousLinearMap) := |
| 77 | continuous_pi (fun _ => hA.comp continuous_fst) |
| 78 | let B := ContinuousMultilinearMap.compContinuousLinearMapContinuousMultilinear ℝ |
| 79 | (fun _ : Fin k => X) (fun _ => X) ℂ |
| 80 | simp_rw [jet_affine] |
| 81 | exact (B.cont.comp hl).clm_apply hj |
| 82 | exact H.continuousAt.tendsto |
| 83 | intro i k |
| 84 | let C (z : Z) := (‖(A z).symm.toContinuousLinearMap‖ + ‖b z‖) ^ i * |
| 85 | ‖(A z).toContinuousLinearMap‖ ^ k * |
| 86 | (2 ^ i * ((Finset.Iic (i,k)).sup (schwartzSeminormFamily ℂ X ℂ)) f) |
| 87 | have H : Continuous C := ((((hI.norm.add hb.norm).pow i).mul (hA.norm.pow k)).mul continuous_const) |
| 88 | refine ⟨C p + 1, ?_⟩ |
| 89 | exact ((H.tendsto p).eventually (gt_mem_nhds (by linarith : C p < C p + 1))).mono |
| 90 | fun z hz => (size_affine_le (b z) (A z) f i k).trans (le_of_lt hz) |
| 91 | |
| 92 | end Affine |
| 93 | |
| 94 | section FTC |
| 95 | |
| 96 | variable {X : Type*} [NormedAddCommGroup X] [InnerProductSpace ℝ X] |
| 97 | |
| 98 | attribute [local instance] Measure.Subtype.measureSpace |
| 99 | |
| 100 | private theorem slope_error_evaluation (F D : ℝ → Probe X) (hD : Continuous D) |
| 101 | (h : ∀ t : ℝ, ∀ x : X, HasDerivAt (fun s : ℝ => F s x) (D t x) t) |
| 102 | (x : X) (t : ℝ) (ht : t ≠ 0) : |
| 103 | (t⁻¹ • (F t - F 0) - D 0) x = ∫ u : Icc (0:ℝ) 1, (D (u.val * t) - D 0) x := by |
| 104 | have hu (u : ℝ) : HasDerivAt (fun z : ℝ => F (z*t) x) (t • D (u*t) x) u := by |
| 105 | have ht' : HasDerivAt (fun z : ℝ => z*t) t u := by |
| 106 | simpa only [one_mul] using (hasDerivAt_id' u).mul_const t |
| 107 | exact (h (u*t) x).scomp u ht' |
| 108 | have hd : Continuous (fun u : ℝ => D (u*t) x) := by |
| 109 | let P := (BoundedContinuousFunction.evalCLM ℂ x).comp |
| 110 | (SchwartzMap.toBoundedContinuousFunctionCLM ℂ X ℂ) |
| 111 | exact P.continuous.comp (hD.comp (continuous_id.mul continuous_const)) |
| 112 | have he : (∫ u in (0:ℝ)..1, t • D (u*t) x) = F t x - F 0 x := by |
| 113 | simpa only [one_mul,zero_mul] using |
| 114 | (intervalIntegral.integral_eq_sub_of_hasDerivAt (a:=0) (b:=1) (fun u _ => hu u) |
| 115 | (((continuous_const (y:=t)).smul hd).intervalIntegrable _ _)) |
| 116 | rw [intervalIntegral.integral_smul] at he |
| 117 | change t⁻¹ • (F t x - F 0 x) - D 0 x = ∫ u : Icc (0:ℝ) 1, D (u.val*t) x - D 0 x |
| 118 | rw [← he, inv_smul_smul₀ ht, |
| 119 | integral_subtype measurableSet_Icc (fun u : ℝ => D (u*t) x - D 0 x), |
| 120 | integral_Icc_eq_integral_Ioc, ← intervalIntegral.integral_of_le zero_le_one, |
| 121 | intervalIntegral.integral_sub (hd.intervalIntegrable _ _) (continuous_const.intervalIntegrable _ _)] |
| 122 | simp only [intervalIntegral.integral_const, sub_zero, one_smul] |
| 123 | |
| 124 | /-- Pointwise derivative everywhere plus strong continuity of the derivative family suffice for |
| 125 | strong slope convergence. Integrate after evaluation on `[0,1]`. The slope itself is already a |
| 126 | Schwartz map, so `Spark.vig` applies to every jet: no Bochner integral in Schwartz is needed. -/ |
| 127 | theorem probe_slope_of_pointwise (F D : ℝ → Probe X) (hD : Continuous D) |
| 128 | (h : ∀ t : ℝ, ∀ x : X, HasDerivAt (fun s : ℝ => F s x) (D t x) t) : |
| 129 | Tendsto (fun t : ℝ => t⁻¹ • (F t - F 0)) (𝓝[≠] 0) (𝓝 (D 0)) := by |
| 130 | refine (Probe.tendN _ _ _).mpr fun i k ε he => ?_ |
| 131 | have hprob : IsProbabilityMeasure (volume : Measure ↥(Icc (0:ℝ) 1)) := ⟨by |
| 132 | rw [Measure.Subtype.volume_univ nullMeasurableSet_Icc, Real.volume_Icc, sub_zero, |
| 133 | ENNReal.ofReal_one]⟩ |
| 134 | have hhalf := half_pos he |
| 135 | let B (t : ℝ) (u : ℝ) := Probe.size i k (D (u*t) - D 0) |
| 136 | have hB (u : ℝ) : Tendsto (Function.uncurry B) ((𝓝[≠] 0) ×ˢ 𝓝 u) (𝓝 0) := by |
| 137 | have hc : Continuous (Function.uncurry B) := |
| 138 | (Probe.cont_size i k).comp ((hD.comp (continuous_snd.mul continuous_fst)).sub continuous_const) |
| 139 | have ht := hc.tendsto (0,u) |
| 140 | rw [show Function.uncurry B (0,u) = 0 by simp [Function.uncurry,B,Probe.size], nhds_prod_eq] at ht |
| 141 | exact ht.mono_left (Filter.prod_mono nhdsWithin_le_nhds le_rfl) |
| 142 | filter_upwards [Spark.packing B (Icc (0:ℝ) 1) isCompact_Icc (fun u _ => hB u) _ hhalf, |
| 143 | show ∀ᶠ t in 𝓝[≠] (0:ℝ), t ≠ 0 from self_mem_nhdsWithin] with t hbt ht |
| 144 | let G (u : Icc (0 : ℝ) 1) := D (u.val*t) - D 0 |
| 145 | let R := t⁻¹ • (F t - F 0) - D 0 |
| 146 | change Probe.size i k R < ε |
| 147 | have hc : Continuous G := (hD.comp (continuous_subtype_val.mul continuous_const)).sub continuous_const |
| 148 | have hu (u : Icc (0:ℝ) 1) : Probe.size i k (G u) ≤ ε/2 := |
| 149 | le_of_lt (lt_of_le_of_lt (le_abs_self (B t u.val)) (hbt u.val u.property)) |
| 150 | apply lt_of_le_of_lt _ (half_lt_self he) |
| 151 | refine SchwartzMap.seminorm_le_bound ℂ _ _ _ hhalf.le fun x => ?_ |
| 152 | rw [Spark.vig volume G (⇑R) hc (fun x => slope_error_evaluation F D hD h x t ht)] |
| 153 | calc |
| 154 | _ = ‖∫ u : Icc (0:ℝ) 1, ‖x‖^i • Spark.jet x k (G u)‖ := by |
| 155 | rw [integral_smul, norm_smul, Real.norm_of_nonneg (by positivity : 0 ≤ ‖x‖ ^ i)] |
| 156 | _ ≤ ∫ _u : Icc (0:ℝ) 1, ε/2 := by |
| 157 | apply norm_integral_le_of_norm_le (integrable_const _) |
| 158 | apply Eventually.of_forall; intro u |
| 159 | rw [norm_smul, Real.norm_of_nonneg (by positivity : 0 ≤ ‖x‖ ^ i)] |
| 160 | exact (SchwartzMap.le_seminorm ℂ i k _ _).trans (hu u) |
| 161 | _ = ε/2 := by simp |
| 162 | |
| 163 | end FTC |
| 164 | |
| 165 | section Joint |
| 166 | |
| 167 | variable {n : ℕ} |
| 168 | |
| 169 | -- lift linear coordinate changes (including their generators) across `Points n` |
| 170 | private def liftCoord (n : ℕ) : Coord →L[ℝ] (Points n →L[ℝ] Points n) := |
| 171 | LinearMap.toContinuousLinearMap |
| 172 | { toFun := fun A => LinearMap.toContinuousLinearMap |
| 173 | { toFun := fun x => points fun i => A (x i) |
| 174 | map_add' := fun x y => PiLp.ext fun i => map_add A (x i) (y i) |
| 175 | map_smul' := fun r x => PiLp.ext fun i => map_smul A r (x i) } |
| 176 | map_add' := fun _ _ => ContinuousLinearMap.ext fun _ => PiLp.ext fun _ => rfl |
| 177 | map_smul' := fun _ _ => ContinuousLinearMap.ext fun _ => PiLp.ext fun _ => rfl } |
| 178 | |
| 179 | theorem continuous_gpush (f : Joint n) : Continuous (fun p : Poincare => Joint.gpush n p f) := by |
| 180 | apply continuous_affine_probe (fun p : Poincare => points fun _ : Fin n => p.b) |
| 181 | (fun p => (Poincare.togetherL p.Λ n).symm) |
| 182 | · exact (PiLp.continuousLinearEquiv 2 ℝ (fun _ : Fin n => E4)).symm.continuous.comp |
| 183 | (continuous_pi (fun _ => Poincare.continuousB)) |
| 184 | · exact (liftCoord n).continuous.comp (Lorentz.usual.comp Poincare.continuousL.inv) |
| 185 | exact (liftCoord n).continuous.comp (Lorentz.usual.comp Poincare.continuousL) |
| 186 | |
| 187 | private theorem cross_as_sum (x : Points n) (a : SpaceAxis) : |
| 188 | liftCoord n (Ray.fromAxis a).crossT x = |
| 189 | ∑ i : Fin n, (x i a.castSucc • Points.direction i timeAxis + |
| 190 | x i timeAxis • Points.direction i a.castSucc) := by |
| 191 | let e := Ray.fromAxis a |
| 192 | apply PiLp.ext; intro j |
| 193 | change e.crossT (x j) = (PiLp.proj (𝕜:=ℝ) 2 (fun _ : Fin n => E4) j) _ |
| 194 | rw [map_sum, Finset.sum_eq_single j] |
| 195 | · change e.crossT (x j) = ((x j a.castSucc • Points.direction j timeAxis + |
| 196 | x j timeAxis • Points.direction j a.castSucc) j) |
| 197 | simp only [Points.direction, PiLp.add_apply, PiLp.smul_apply, PiLp.single_eq_same] |
| 198 | have he : position e.val 0 = basis a.castSucc := by |
| 199 | apply PiLp.ext; intro i |
| 200 | refine Fin.lastCases ?_ (fun b => ?_) i |
| 201 | · change time _ = basis _ timeAxis |
| 202 | rw [time_position,basis_eq, if_neg (Ne.symm (Fin.castSucc_ne_last _))] |
| 203 | by_cases hb : b=a |
| 204 | · simp [position,e,Ray.fromAxis,hb] |
| 205 | simp [position,e,Ray.fromAxis,hb] |
| 206 | simp only [Ray.crossT,he, Mink.clockL_at,_root_.add_apply, |
| 207 | ContinuousLinearMap.smulRight_apply, Ray.alongL_at] |
| 208 | rw [Ray.onAxis]; exact add_comm .. |
| 209 | · intro i _ hi |
| 210 | change ((x i a.castSucc • Points.direction i timeAxis + |
| 211 | x i timeAxis • Points.direction i a.castSucc) j) = _ |
| 212 | simp [Points.direction,Ne.symm hi] |
| 213 | simp |
| 214 | |
| 215 | /-- Compute the signed (inverse placement!) infinitesimal move, pointwise. -/ |
| 216 | theorem boost_pointwise_zero (f : Joint n) (a : SpaceAxis) (x : Points n) : |
| 217 | HasDerivAt (fun i : ℝ => Joint.gpush n (Poincare.motion ((Ray.fromAxis a).boost i)) f x) |
| 218 | ((-Bid.inclined a 0 f) x) 0 := by |
| 219 | let e := Ray.fromAxis a |
| 220 | let Y := fun s : ℝ => liftCoord n (Lorentz.act (e.boost (-s))) x |
| 221 | have hY : Y 0 = x := by apply PiLp.ext; intro j; change Lorentz.act _ _ = _; simp |
| 222 | have hE : HasDerivAt (fun s : ℝ => Lorentz.act (e.boost (-s))) (-e.crossT) 0 := by |
| 223 | have ht : HasDerivAt (fun s : ℝ => Lorentz.act (e.boost s)) e.crossT (-(0:ℝ)) := by |
| 224 | rw [neg_zero]; exact e.generator |
| 225 | simpa only [Function.comp_def, neg_smul, one_smul] using |
| 226 | (ht.scomp 0 (hasDerivAt_id' 0).neg) |
| 227 | have hL := (liftCoord n).hasFDerivAt.comp_hasDerivAt 0 hE |
| 228 | have hp : HasDerivAt Y (-(liftCoord n e.crossT x)) 0 := by |
| 229 | let m := ContinuousLinearMap.apply ℝ (Points n) x |
| 230 | have H := m.hasFDerivAt.comp_hasDerivAt 0 hL |
| 231 | change HasDerivAt Y (m (liftCoord n (-e.crossT))) 0 at H |
| 232 | simpa only [map_neg] using! H |
| 233 | have hF := ((f.smooth 1).differentiable (by norm_num) (Y 0)).hasFDerivAt.comp_hasDerivAt 0 hp |
| 234 | have hx : ⇑f ∘ Y = fun i : ℝ => Joint.gpush n (Poincare.motion (e.boost i)) f x := by |
| 235 | funext i; rw [Joint.gpush_at,Function.comp_apply]; congr 1 |
| 236 | apply PiLp.ext; intro j |
| 237 | change Lorentz.act (e.boost (-i)) (x j) = (Poincare.motion _ )⁻¹.sends _ |
| 238 | rw [Poincare.backwards, show (Poincare.motion (e.boost i)).b=0 from rfl, sub_zero] |
| 239 | rw [← Ray.boost_neg]; rfl |
| 240 | rw [hx, hY, map_neg, cross_as_sum, map_sum] at hF |
| 241 | convert hF using 1 |
| 242 | · rfl |
| 243 | rw [Bid.inclined, neg_apply, sum_apply] |
| 244 | congr 1 |
| 245 | apply Finset.sum_congr rfl; intro i _ |
| 246 | simp [Bid.multiplier_test,Bid.realTerm, SchwartzMap.lineDerivOp_apply_eq_fderiv, |
| 247 | Complex.real_smul] |
| 248 | |
| 249 | theorem boost_pointwise (f : Joint n) (a : SpaceAxis) (x : Points n) (t : ℝ) : |
| 250 | HasDerivAt (fun i : ℝ => Joint.gpush n (Poincare.motion ((Ray.fromAxis a).boost i)) f x) |
| 251 | (Joint.gpush n (Poincare.motion ((Ray.fromAxis a).boost t)) (-Bid.inclined a 0 f) x) t := by |
| 252 | let P := fun r : ℝ => Poincare.motion ((Ray.fromAxis a).boost r) |
| 253 | let y := (P t)⁻¹.zusammen n x |
| 254 | have h : HasDerivAt (fun i : ℝ => Joint.gpush n (P i) f y) |
| 255 | ((-Bid.inclined a 0 f) y) (t - t) := by |
| 256 | rw [sub_self]; exact boost_pointwise_zero f a y |
| 257 | rw [Joint.gpush_at] |
| 258 | change HasDerivAt (fun i : ℝ => Joint.gpush n (P i) f x) ((-Bid.inclined a 0 f) y) t |
| 259 | rw [show (fun i : ℝ => Joint.gpush n (P i) f x) = |
| 260 | (fun i : ℝ => Joint.gpush n (P (i-t)) f y) from funext fun i => by |
| 261 | rw [Joint.gpush_at,Joint.gpush_at] |
| 262 | congr 1 |
| 263 | have he : P i=P t * P (i-t) := by |
| 264 | dsimp only [P]; rw [← Poincare.overL,← Ray.boost_add,add_sub_cancel ..] |
| 265 | apply PiLp.ext; intro j |
| 266 | change (P i)⁻¹.sends (x j)=(P (i-t))⁻¹.sends ((P t)⁻¹.sends (x j)) |
| 267 | rw [he, mul_inv_rev,Poincare.sends_mul]] |
| 268 | exact h.comp_sub_const t t |
| 269 | |
| 270 | private theorem boost_strong_slope (f : Joint n) (a : SpaceAxis) : |
| 271 | Tendsto (fun i : ℝ => i⁻¹ • (Joint.gpush n (Poincare.motion ((Ray.fromAxis a).boost i)) f - f)) |
| 272 | (𝓝[≠] 0) (𝓝 (-Bid.inclined a 0 f)) := by |
| 273 | let P := fun i : ℝ => Poincare.motion ((Ray.fromAxis a).boost i) |
| 274 | let F := fun i : ℝ => Joint.gpush n (P i) f |
| 275 | let D := fun i : ℝ => Joint.gpush n (P i) (-Bid.inclined a 0 f) |
| 276 | have hc : Continuous D := (continuous_gpush _).comp (Poincare.continuousM.comp (Ray.fromAxis a).continuousBoost) |
| 277 | have H := probe_slope_of_pointwise F D hc fun t x => boost_pointwise f a x t |
| 278 | have he (g : Joint n) : Joint.gpush n (P 0) g=g := by |
| 279 | ext1 x; simp [P,Poincare.zusammen] |
| 280 | rw [show F 0=f from he _, show D 0 = -Bid.inclined a 0 f from he _] at H |
| 281 | exact H |
| 282 | |
| 283 | end Joint |
| 284 | |
| 285 | theorem answer : YM.Bid.C08 := |
| 286 | ⟨fun _ f => continuous_gpush f, fun _ f a => boost_strong_slope f a⟩ |
| 287 | |
| 288 | end YM.Work.C08 |