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.ContDiff.Operations |
| 2 | import Mathlib.Analysis.Calculus.ParametricIntegral |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | set_option warningAsError false |
| 8 | |
| 9 | /-! |
| 10 | Real smoothness under integrations here. For later use with a channel/tag kernel even |
| 11 | allow a measurable (not smooth) family of parameters, provided it ranges in a compact |
| 12 | and the sample weight is integrable. No radii or estimates through iteration claimed. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.ProjectorNext.Equations |
| 17 | |
| 18 | open MeasureTheory Set Filter Topology |
| 19 | open scoped ContDiff |
| 20 | |
| 21 | section Weighted |
| 22 | |
| 23 | -- keep weighted-scalar versions for complex coefficients too |
| 24 | variable {α : Type*} [MeasurableSpace α] {μ : Measure α} {𝕜 : Type*} [RCLike 𝕜] |
| 25 | {Y X Z : Type} [NormedAddCommGroup Y] [NormedSpace ℝ Y] |
| 26 | [NormedAddCommGroup X] [NormedSpace ℝ X] [FiniteDimensional ℝ X] |
| 27 | [NormedAddCommGroup Z] [NormedSpace 𝕜 Z] [NormedSpace ℝ Z] [SMulCommClass 𝕜 ℝ Z] |
| 28 | {W : α → 𝕜} {F : α → Y} {f : X × Y → Z} {C : Set Y} |
| 29 | |
| 30 | omit [NormedSpace ℝ Y] [NormedSpace ℝ X] [FiniteDimensional ℝ X] [NormedSpace ℝ Z] [SMulCommClass 𝕜 ℝ Z] in |
| 31 | lemma compact_weight (hw : Integrable W μ) (hF : AEStronglyMeasurable F μ) |
| 32 | (hC : IsCompact C) (hc : ∀ᵐ i ∂μ,F i ∈ C) (h : Continuous f) (x : X) : |
| 33 | Integrable (fun i => W i • f (x,F i)) μ := by |
| 34 | let g := fun y : Y => f (x,y) |
| 35 | have hg : Continuous g := h.comp (by fun_prop) |
| 36 | obtain ⟨M,hM⟩ := (hC.image hg.norm).bddAbove |
| 37 | refine (hw.norm.mul_const M).mono' |
| 38 | (hw.aestronglyMeasurable.smul (hg.comp_aestronglyMeasurable hF)) ?_ |
| 39 | filter_upwards [hc] with i hi |
| 40 | rw [norm_smul]; exact mul_le_mul_of_nonneg_left (hM ⟨_,hi,rfl⟩) (norm_nonneg _) |
| 41 | |
| 42 | omit [FiniteDimensional ℝ X] in |
| 43 | private lemma partial_smooth (h : ContDiff ℝ ∞ f) : |
| 44 | ContDiff ℝ ∞ (fun p : X × Y => fderiv ℝ (fun x => f (x,p.2)) p.1) := by |
| 45 | let g (p : X × Y) (x : X) := f (x,p.2) |
| 46 | exact (ContDiff.fderiv (f:=g) (g:=Prod.fst) (n:=∞) |
| 47 | (h.comp (f:=fun p : (X × Y) × X => (p.2,p.1.2)) (by fun_prop)) contDiff_fst (by simp)) |
| 48 | |
| 49 | omit [SMulCommClass 𝕜 ℝ Z] in |
| 50 | private lemma at_point (hw : Integrable W μ) (hF : AEStronglyMeasurable F μ) |
| 51 | (hC : IsCompact C) (hc : ∀ᵐ i ∂μ,F i∈C) (h : ContDiff ℝ ∞ f) (x : X) : |
| 52 | HasFDerivAt (fun v => ∫ i, W i • f (v,F i) ∂μ) |
| 53 | (∫ i, W i • fderiv ℝ (fun v => f (v,F i)) x ∂μ) x := by |
| 54 | let p (q : X × Y) := fderiv ℝ (fun v => f (v,q.2)) q.1 |
| 55 | have hp : Continuous p := (partial_smooth h).continuous |
| 56 | obtain ⟨M,hM⟩ := (((isCompact_closedBall x 1).prod hC).image hp.norm).bddAbove |
| 57 | refine hasFDerivAt_integral_of_dominated_of_fderiv_le (F' := fun x i => W i • p (x,F i)) |
| 58 | (Metric.closedBall_mem_nhds x zero_lt_one) |
| 59 | (Eventually.of_forall fun _ => (compact_weight hw hF hC hc h.continuous _).aestronglyMeasurable) |
| 60 | (compact_weight hw hF hC hc h.continuous _) |
| 61 | (compact_weight hw hF hC hc hp x |>.aestronglyMeasurable) ?_ (hw.norm.mul_const M) ?_ |
| 62 | · filter_upwards [hc] with i hi x hx |
| 63 | rw [norm_smul]; exact mul_le_mul_of_nonneg_left (hM ⟨(x,F i),⟨hx,hi⟩,rfl⟩) (norm_nonneg _) |
| 64 | filter_upwards with i x hx |
| 65 | exact ((h.comp (f:=fun v : X => (v,F i)) (by fun_prop)).differentiable (by simp) x |>.hasFDerivAt).const_smul _ |
| 66 | |
| 67 | /-- Integrating in labelled data at compact ranges gives genuine smooth dependence. -/ |
| 68 | theorem contDiff_weighted [CompleteSpace Z] |
| 69 | (hw : Integrable W μ) (hF : AEStronglyMeasurable F μ) |
| 70 | (hC : IsCompact C) (hc : ∀ᵐ i ∂μ,F i∈C) (h : ContDiff ℝ ∞ f) : |
| 71 | ContDiff ℝ ∞ (fun x => ∫ i, W i • f (x,F i) ∂μ) := by |
| 72 | apply contDiff_infty.mpr |
| 73 | intro n |
| 74 | induction n generalizing Z with |
| 75 | | zero => |
| 76 | have hs : Differentiable ℝ (fun x => ∫ i,W i • f (x,F i) ∂μ) := |
| 77 | fun x => (at_point hw hF hC hc h x).differentiableAt |
| 78 | simpa using hs.continuous |
| 79 | | succ n ih => |
| 80 | push_cast; rw [contDiff_succ_iff_fderiv]; have he x := at_point hw hF hC hc h x |
| 81 | refine ⟨fun x => (he x).differentiableAt,by simp,?_⟩ |
| 82 | rw [funext fun x => (he x).fderiv] |
| 83 | exact ih (partial_smooth h) |
| 84 | end Weighted |
| 85 | |
| 86 | open scoped Interval |
| 87 | |
| 88 | section Unit |
| 89 | variable {X Z : Type} [NormedAddCommGroup X] [NormedSpace ℝ X] [FiniteDimensional ℝ X] |
| 90 | [NormedAddCommGroup Z] [NormedSpace ℝ Z] [CompleteSpace Z] |
| 91 | |
| 92 | |
| 93 | end Unit |
| 94 | end YM.ProjectorNext.Equations |