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.MeanValue |
| 2 | import YM.Hilbert.Kolmogorov |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # Norm estimates for real derivatives via complex matrix elements |
| 7 | |
| 8 | Use local calculus on plant matrix elements; inherit it on finite sums; use |
| 9 | bounds in *Hilbert* norm, not in the space of formal finite sums. Estimate a |
| 10 | remainder with the scalar mean value inequality. Obtain an operator-norm |
| 11 | bound on this remainder using density in the same Gram Hilbert space. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Work.B02 |
| 17 | open Function Filter Set Metric |
| 18 | open scoped InnerProductSpace Topology NNReal BigOperators ComplexConjugate |
| 19 | |
| 20 | section Observe |
| 21 | |
| 22 | variable {H : Hilbert} |
| 23 | |
| 24 | /-- Probe a matrix element, conjugate linear in `u`, linear in `v`. |
| 25 | The functional here on operators only needs to be bundled real-linear. -/ |
| 26 | def observe (u v : H) : H.Op →L[ℝ] ℂ := |
| 27 | ((innerSL ℂ u).comp (ContinuousLinearMap.apply ℂ H.space v)).restrictScalars ℝ |
| 28 | |
| 29 | theorem observe_apply (u v : H) (T : H.Op) : observe u v T = inner ℂ u (T v) := rfl |
| 30 | |
| 31 | private theorem observe_add_left (u v w : H) : |
| 32 | observe (u + v) w = observe u w + observe v w := by |
| 33 | ext1 T |
| 34 | simp [observe_apply, inner_add_left] |
| 35 | |
| 36 | private theorem observe_add_right (u v w : H) : |
| 37 | observe u (v + w) = observe u v + observe u w := by |
| 38 | ext1 T |
| 39 | simp [observe_apply, inner_add_right] |
| 40 | |
| 41 | private theorem observe_smul_left (u v : H) (c : ℂ) : |
| 42 | observe (c • u) v = conj c • observe u v := by |
| 43 | ext1 T |
| 44 | simp [observe_apply, inner_smul_left] |
| 45 | |
| 46 | private theorem observe_smul_right (u v : H) (c : ℂ) : |
| 47 | observe u (c • v) = c • observe u v := by |
| 48 | ext1 T |
| 49 | simp [observe_apply, inner_smul_right] |
| 50 | |
| 51 | private theorem observe_zero_left (v : H) : observe 0 v = 0 := by |
| 52 | ext1 T |
| 53 | simp [observe_apply] |
| 54 | |
| 55 | private theorem observe_zero_right (v : H) : observe v 0 = 0 := by |
| 56 | ext1 T |
| 57 | simp [observe_apply] |
| 58 | |
| 59 | theorem observe_norm_le (u v : H) : ‖observe u v‖ ≤ ‖u‖ * ‖v‖ := by |
| 60 | apply ContinuousLinearMap.opNorm_le_bound _ (by positivity) |
| 61 | intro Z |
| 62 | rw [observe_apply] |
| 63 | calc |
| 64 | ‖inner ℂ u (Z v)‖ ≤ ‖u‖ * ‖Z v‖ := norm_inner_le_norm _ _ |
| 65 | _ ≤ ‖u‖ * (‖Z‖ * ‖v‖) := mul_le_mul_of_nonneg_left (Z.le_opNorm v) (norm_nonneg _) |
| 66 | _ = _ := by ring |
| 67 | |
| 68 | end Observe |
| 69 | |
| 70 | variable {X : Type} {K : X → X → ℂ} (J : Kernel.Gram K) |
| 71 | |
| 72 | theorem norm_le_of_stem_bounds (Z : J.H.Op) (C : ℝ) (hC : 0 ≤ C) |
| 73 | (hz : ∀ f g : X →₀ ℂ, |
| 74 | ‖observe (J.stems f) (J.stems g) Z‖ ≤ ‖J.stems f‖ * ‖J.stems g‖ * C) : |
| 75 | ‖Z‖ ≤ C := by |
| 76 | have ha (u v : J.H) : ‖inner ℂ u (Z v)‖ ≤ ‖u‖ * ‖v‖ * C := by |
| 77 | refine J.whole.induction_on₂ (p := fun a b => ‖inner ℂ a (Z b)‖ ≤ ‖a‖ * ‖b‖ * C) |
| 78 | ?_ hz u v |
| 79 | exact isClosed_le (by fun_prop) (by fun_prop) |
| 80 | apply ContinuousLinearMap.opNorm_le_bound _ hC |
| 81 | intro v |
| 82 | by_cases he : Z v = 0 |
| 83 | · rw [he, norm_zero] |
| 84 | positivity |
| 85 | have hh := ha (Z v) v |
| 86 | rw [inner_self_eq_norm_sq_to_K] at hh |
| 87 | apply le_of_mul_le_mul_left _ (norm_pos_iff.mpr he) |
| 88 | calc |
| 89 | ‖Z v‖ * ‖Z v‖ ≤ ‖Z v‖ * ‖v‖ * C := by simpa [pow_two] using hh |
| 90 | _ = _ := by ring |
| 91 | |
| 92 | section Deriv |
| 93 | |
| 94 | variable {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 95 | variable {f : E → J.H.Op} {f' : E → E →L[ℝ] J.H.Op} |
| 96 | |
| 97 | theorem stem_derivs {B : E →L[ℝ] J.H.Op} {x : E} |
| 98 | (h : ∀ p q : X, HasFDerivAt (fun y => observe (J.plant p) (J.plant q) (f y)) |
| 99 | ((observe (J.plant p) (J.plant q)).comp B) x) : |
| 100 | ∀ u v : X →₀ ℂ, HasFDerivAt (fun y => observe (J.stems u) (J.stems v) (f y)) |
| 101 | ((observe (J.stems u) (J.stems v)).comp B) x := by |
| 102 | let Tests (L : J.H.Op →L[ℝ] ℂ) : Prop := HasFDerivAt (fun y => L (f y)) (L.comp B) x |
| 103 | have hzero : Tests 0 := by |
| 104 | unfold Tests |
| 105 | rw [ContinuousLinearMap.zero_comp] |
| 106 | exact hasFDerivAt_const (𝕜 := ℝ) (0 : ℂ) x |
| 107 | have hadd (L M : J.H.Op →L[ℝ] ℂ) (hL : Tests L) (hM : Tests M) : Tests (L + M) := by |
| 108 | unfold Tests at * |
| 109 | rw [ContinuousLinearMap.add_comp] |
| 110 | exact hL.add hM |
| 111 | have hscale (L : J.H.Op →L[ℝ] ℂ) (c : ℂ) (hL : Tests L) : Tests (c • L) := by |
| 112 | unfold Tests at * |
| 113 | rw [ContinuousLinearMap.smul_comp] |
| 114 | exact hL.const_smul c |
| 115 | have aux (p : X) (v : X →₀ ℂ) : Tests (observe (J.plant p) (J.stems v)) := by |
| 116 | induction v using Finsupp.induction_linear with |
| 117 | | zero => rw [map_zero, observe_zero_right]; exact hzero |
| 118 | | add v w hv hw => rw [map_add, observe_add_right]; exact hadd _ _ hv hw |
| 119 | | single b c => |
| 120 | rw [Kernel.Gram.stems, Finsupp.linearCombination_single, observe_smul_right] |
| 121 | exact hscale _ _ (h p b) |
| 122 | intro u v |
| 123 | change Tests (observe (J.stems u) (J.stems v)) |
| 124 | induction u using Finsupp.induction_linear with |
| 125 | | zero => rw [map_zero, observe_zero_left]; exact hzero |
| 126 | | add a b ha hb => rw [map_add, observe_add_left]; exact hadd _ _ ha hb |
| 127 | | single a c => |
| 128 | rw [Kernel.Gram.stems, Finsupp.linearCombination_single, observe_smul_left] |
| 129 | exact hscale _ _ (aux a v) |
| 130 | |
| 131 | /-- A scalar mean value estimate with constants uniform in the observing |
| 132 | vectors, thus giving operator-norm control. Does not assume the operators |
| 133 | vary norm continuously. -/ |
| 134 | theorem norm_remainder {s : Set E} {x y : E} {C : ℝ} (hC : 0 ≤ C) |
| 135 | {B : E →L[ℝ] J.H.Op} |
| 136 | (hder : ∀ z ∈ s, ∀ p q : X, HasFDerivAt |
| 137 | (fun y => observe (J.plant p) (J.plant q) (f y)) |
| 138 | ((observe (J.plant p) (J.plant q)).comp (f' z)) z) |
| 139 | (hb : ∀ z ∈ s, ‖f' z - B‖ ≤ C) (hs : Convex ℝ s) (hx : x ∈ s) (hy : y ∈ s) : |
| 140 | ‖f y - f x - B (y - x)‖ ≤ C * ‖y - x‖ := by |
| 141 | apply norm_le_of_stem_bounds J _ _ (by positivity) |
| 142 | intro u v |
| 143 | let L := observe (J.stems u) (J.stems v) |
| 144 | have hL z (hz : z ∈ s) : HasFDerivWithinAt (fun y => L (f y)) (L.comp (f' z)) s z := |
| 145 | (stem_derivs J (hder z hz) u v).hasFDerivWithinAt |
| 146 | have hbnd z (hz : z ∈ s) : ‖L.comp (f' z) - L.comp B‖ ≤ ‖J.stems u‖ * ‖J.stems v‖ * C := by |
| 147 | calc |
| 148 | _ = ‖L.comp (f' z - B)‖ := by rw [ContinuousLinearMap.comp_sub] |
| 149 | _ ≤ ‖L‖ * ‖f' z - B‖ := ContinuousLinearMap.opNorm_comp_le .. |
| 150 | _ ≤ _ := mul_le_mul (observe_norm_le ..) (hb z hz) (norm_nonneg (f' z - B)) (by positivity) |
| 151 | have hi := hs.norm_image_sub_le_of_norm_hasFDerivWithin_le' hL hbnd hx hy |
| 152 | change ‖L _‖ ≤ _ |
| 153 | simpa only [map_sub, ContinuousLinearMap.comp_apply, mul_assoc] using hi |
| 154 | |
| 155 | /-- First use of the remainder estimate: get norm continuity from locally |
| 156 | bounded candidate for the derivative and correct plant matrix element derivatives. -/ |
| 157 | theorem continuousAt_of_plant_derivs {x : E} |
| 158 | (hder : ∀ᶠ z in 𝓝 x, ∀ p q : X, HasFDerivAt |
| 159 | (fun y => observe (J.plant p) (J.plant q) (f y)) |
| 160 | ((observe (J.plant p) (J.plant q)).comp (f' z)) z) |
| 161 | {C : ℝ} (hC : 0 ≤ C) (hb : ∀ᶠ z in 𝓝 x, ‖f' z‖ ≤ C) : ContinuousAt f x := by |
| 162 | obtain ⟨ε, hε, he⟩ := Metric.mem_nhds_iff.mp (hder.and hb) |
| 163 | have hl : LipschitzOnWith ⟨C,hC⟩ f (ball x ε) := by |
| 164 | apply lipschitzOnWith_iff_norm_sub_le.mpr |
| 165 | intro y hy z hz |
| 166 | have hb' (w) (hw : w ∈ ball x ε) : ‖f' w - 0‖ ≤ C := by |
| 167 | rw [sub_zero] |
| 168 | exact (he hw).2 |
| 169 | change ‖f y - f z‖ ≤ C * ‖y - z‖ |
| 170 | simpa using |
| 171 | norm_remainder J hC (fun w hw => (he hw).1) hb' (convex_ball _ _) hz hy |
| 172 | exact hl.continuousOn.continuousAt (ball_mem_nhds _ hε) |
| 173 | |
| 174 | /-- Second use of the remainder estimate: get a true Fréchet derivative in |
| 175 | operator norm once the claimed derivative is norm continuous. -/ |
| 176 | theorem hasFDerivAt_of_plant_derivs {x : E} |
| 177 | (hder : ∀ᶠ z in 𝓝 x, ∀ p q : X, HasFDerivAt |
| 178 | (fun y => observe (J.plant p) (J.plant q) (f y)) |
| 179 | ((observe (J.plant p) (J.plant q)).comp (f' z)) z) |
| 180 | (hcont : ContinuousAt f' x) : HasFDerivAt f (f' x) x := by |
| 181 | rw [hasFDerivAt_iff_isLittleO, Asymptotics.isLittleO_iff] |
| 182 | intro c hc |
| 183 | obtain ⟨ε, hε, he⟩ := Metric.mem_nhds_iff.mp (inter_mem hder (hcont <| ball_mem_nhds (f' x) hc)) |
| 184 | filter_upwards [ball_mem_nhds x hε] with y hy |
| 185 | have hb z (hz : z ∈ ball x ε) : ‖f' z - f' x‖ ≤ c := by |
| 186 | calc |
| 187 | _ = dist (f' z) (f' x) := (dist_eq_norm (f' z) (f' x)).symm |
| 188 | _ ≤ c := le_of_lt (show dist (f' z) (f' x) < c from (he hz).2) |
| 189 | exact norm_remainder J hc.le (fun w hw => (he hw).1) hb (convex_ball _ _) |
| 190 | (mem_ball_self hε) hy |
| 191 | |
| 192 | end Deriv |
| 193 | end YM.Work.B02 |