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 Mathlib.Analysis.Calculus.ParametricIntegral |
| 2 | import Mathlib.Analysis.Complex.Liouville |
| 3 | import Mathlib.Analysis.SpecialFunctions.Complex.Analytic |
| 4 | |
| 5 | |
| 6 | |
| 7 | /-! Banquet from mathlib Cauchy. Actual variables have positively tilted radii. -/ |
| 8 | |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.AnalyticNext.ConnectedActivity.Plotter |
| 12 | open Filter Function MeasureTheory Metric Complex Finset |
| 13 | open scoped Topology |
| 14 | variable {ι : Type*} [MeasurableSpace ι] |
| 15 | |
| 16 | def room (r : ℝ) (f : ℂ→ℂ) (C : ℝ) := DifferentiableOn ℂ f (Metric.ball 0 r) ∧ |
| 17 | ∀ z∈Metric.ball 0 r, ‖f z‖≤C |
| 18 | |
| 19 | lemma chapel (μ : Measure ι) (F : ℂ → ι → ℂ) {b : ι → ℝ} (h : Integrable b μ) (r : ℝ) (hh : ∀ z, Measurable (F z)) |
| 20 | (hp : ∀ i,Differentiable ℂ (fun z => F z i)) (ht : ∀ z : ℂ,z ∈ Metric.ball 0 r → ∀ i, ‖F z i‖ ≤ b i) : |
| 21 | (∀ z∈ Metric.ball 0 r,Integrable (F z) μ) ∧ room r (fun z => ∫ i,F z i∂μ) (∫ i,b i ∂μ) := by |
| 22 | let f z := ∫ i,F z i ∂μ |
| 23 | have hm z (he : z∈ball (0:ℂ) r) : Integrable (F z) μ := h.mono' (hh z).aestronglyMeasurable (Eventually.of_forall (ht z he)) |
| 24 | refine ⟨hm,fun z hz => DifferentiableAt.differentiableWithinAt ?_,fun z hz => (norm_integral_le_integral_norm _).trans |
| 25 | (integral_mono (hm z hz).norm h (ht z hz))⟩ |
| 26 | rw [mem_ball,dist_zero_right] at hz |
| 27 | let v := (r - ‖z‖)/3; have hv : 0<v := div_pos (sub_pos.mpr hz) (by norm_num) |
| 28 | let D p i := deriv (fun x => F x i) p |
| 29 | have he (p : ℂ) (i : ι) : HasDerivAt (fun x => F x i) (D p i) p := (hp i p).hasDerivAt |
| 30 | have hy p (hy : p ∈ ball z v) (i) : ‖D p i‖ ≤ b i / v := by |
| 31 | apply Complex.norm_deriv_le_of_forall_mem_sphere_norm_le hv (hp i).diffContOnCl |
| 32 | intro q hq; apply ht |
| 33 | rw [mem_ball]; rw [mem_ball] at hy; apply lt_of_le_of_lt (dist_triangle q p 0) |
| 34 | rw [mem_sphere] at hq; have hx := dist_triangle p z 0; rw [dist_zero_right z] at hx; dsimp [v] at *; linarith |
| 35 | have hf : Measurable (D z) := by |
| 36 | apply measurable_of_tendsto_metrizable' (𝓝[≠] z) _ <| tendsto_pi_nhds.mpr (fun i => show Tendsto |
| 37 | (fun y => (y-z)⁻¹ • (F y i-F z i)) _ _ from hasDerivAt_iff_tendsto_slope.mp (he z i)) |
| 38 | intro i; exact ((hh i).sub (hh z)).const_smul (i-z)⁻¹ |
| 39 | have hq := hasDerivAt_integral_of_dominated_loc_of_deriv_le (ball_mem_nhds z hv) (Eventually.of_forall fun z => |
| 40 | (hh z).aestronglyMeasurable (μ:=μ)) (hm z (mem_ball.mpr <| by rw [dist_zero_right]; exact hz)) hf.aestronglyMeasurable |
| 41 | (show ∀ᵐ i ∂μ, ∀ w∈ball z v, ‖D w i‖≤b i /v from Eventually.of_forall fun i w hw => hy w hw i) |
| 42 | (h.div_const _) (Eventually.of_forall fun i w _ => he w i) |
| 43 | exact hq.2.differentiableAt |
| 44 | |
| 45 | -- helper for real pulses, eventual enough |
| 46 | |
| 47 | |
| 48 | |
| 49 | end YM.AnalyticNext.ConnectedActivity.Plotter |