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.EveryPhase.Average |
| 2 | /-! |
| 3 | # Shell estimate |
| 4 | -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YM.EveryPhase |
| 8 | open Function Filter Set Spec Boundary Next.BOUNDARY Spectral Mink Probe MeasureTheory Measure |
| 9 | open scoped Topology NNReal ENNReal InnerProductSpace ComplexConjugate Interval |
| 10 | open Metric |
| 11 | |
| 12 | section |
| 13 | variable (μ ν : Measure E4) [IsFiniteMeasure μ] [IsFiniteMeasure ν] |
| 14 | local notation "A" => (fun p => charFun μ p - charFun ν (-p)) |
| 15 | |
| 16 | omit [IsFiniteMeasure μ] [IsFiniteMeasure ν] in |
| 17 | lemma averaged_bound (M : ℝ) (h : μ.real univ + ν.real univ ≤ M) (x : Space3) : |
| 18 | ‖averaged A x‖ ≤ M := by |
| 19 | have hh p : ‖A p‖ ≤ M := (norm_sub_le ..).trans ((add_le_add (norm_charFun_le _) (norm_charFun_le _)).trans h) |
| 20 | have ht t : ‖oddTest (fun t => A (position x t)) t‖ ≤ M := by |
| 21 | rw [oddTest,norm_div,norm_mul,Complex.norm_I,mul_one,show ‖(2:ℂ)‖=(2:ℝ) by simp,div_le_iff₀ (by positivity)] |
| 22 | exact (norm_sub_le ..).trans ((add_le_add (hh _) (hh _)).trans_eq (mul_two M).symm) |
| 23 | have hc := norm_integral_le_of_norm_le (μ:=volume.restrict (Ioc (0:ℝ) 1)) |
| 24 | (integrable_const _) (ae_of_all _ ht) |
| 25 | unfold averaged; simpa using hc |
| 26 | |
| 27 | lemma char_int (μ : Measure Space3) [IsFiniteMeasure μ] (f : Probe Space3) : |
| 28 | Integrable fun x => charFun μ x * hat f x := by |
| 29 | refine ((hat f).integrable.norm.const_mul (μ.real univ)).mono' ?_ (ae_of_all _ fun p => ?_) |
| 30 | · exact stronglyMeasurable_charFun.aestronglyMeasurable.mul |
| 31 | (SchwartzMap.continuous _).aestronglyMeasurable |
| 32 | rw [norm_mul]; gcongr; exact norm_charFun_le _ |
| 33 | |
| 34 | /-- Costs depend only on mass bound and spatial localization of the commutator. -/ |
| 35 | def fee (R M : ℝ) := volume.real (closedBall (0:Space3) R)* M* |
| 36 | (2^3 * volume.real (closedBall (0:Space3) 1)) |
| 37 | |
| 38 | variable {μ ν} |
| 39 | |
| 40 | def ringE (u : ℝ) := time ⁻¹' Ioc (u/2) u |
| 41 | lemma measurable_ring (u : ℝ) : MeasurableSet (ringE u) := measurableSet_Ioc.preimage clock_cont.measurable |
| 42 | |
| 43 | theorem annulus {R M : ℝ} (hc : ∀ᵐ p ∂μ, p ∈ cone) (hd : ∀ᵐ p ∂ν, p∈cone) |
| 44 | (hs : μ.real univ + ν.real univ ≤ M) {u : ℝ} (hu : u ∈ Ioc (0:ℝ) 1) |
| 45 | (h : ∀ x : Space3, R < ‖x‖ → averaged A x=0) : |
| 46 | μ.real (ringE u) ≤ fee R M * (Probe.pref Space3)⁻¹ * (2*Real.pi) * u^2 := by |
| 47 | have he := hu.1 |
| 48 | have hM : 0≤M := (add_nonneg measureReal_nonneg measureReal_nonneg).trans hs |
| 49 | let B : ContDiffBump (0:Space3) := ⟨u,2*u,he,by linarith⟩ |
| 50 | let f : Probe Space3 := (B.hasCompactSupport.comp_left (show Complex.ofReal 0=0 by simp)).toSchwartzMap |
| 51 | (Complex.ofRealCLM.contDiff.comp B.contDiff) |
| 52 | -- Uniform pointwise bound in position space, exploiting spatial dimension three |
| 53 | let K := volume.real (closedBall (0:Space3) (2*u)) |
| 54 | haveI : ∀ u : ℝ, IsFiniteMeasure (volume.restrict (closedBall (0:Space3) u)) := fun u => |
| 55 | isFiniteMeasure_restrict.mpr ((isCompact_closedBall _ _).measure_lt_top (μ:=volume)).ne |
| 56 | have hx (x : Space3) : ‖hat f x‖ ≤ K := by |
| 57 | rw [hat_eq, ← setIntegral_eq_integral_of_forall_compl_eq_zero (s:=closedBall 0 (2*u))]; swap |
| 58 | · intro p hp; change _ * (↑(B p):ℂ)=0 |
| 59 | have HH : p ∉ tsupport B := by rw [B.tsupport_eq]; exact hp |
| 60 | simp [image_eq_zero_of_notMem_tsupport HH] |
| 61 | have hB p : ‖plane p (-x) * f p‖ ≤ 1 := by |
| 62 | rw [norm_mul,plane_norm,one_mul] |
| 63 | change ‖Complex.ofReal (B p)‖ ≤ (1:ℝ) |
| 64 | simpa only [Complex.norm_real,Real.norm_eq_abs,abs_of_nonneg B.nonneg] using (B.le_one (x:=p)) |
| 65 | exact le_trans (norm_integral_le_of_norm_le (μ:=volume.restrict (closedBall 0 (2*u))) |
| 66 | (integrable_const 1) (ae_of_all _ hB)) (by simp [K]) |
| 67 | have hI : ‖∫ x, averaged A x * hat f x‖ ≤ fee R M * u^3 := by |
| 68 | rw [← setIntegral_eq_integral_of_forall_compl_eq_zero (s:=closedBall 0 R)]; swap |
| 69 | · intro p hp |
| 70 | have he : R < ‖p‖ := by simpa using hp |
| 71 | rw [h p he,zero_mul] |
| 72 | apply le_trans (norm_integral_le_of_norm_le (μ:=volume.restrict (closedBall 0 R)) (integrable_const (M*K)) |
| 73 | (ae_of_all _ (fun p => show ‖averaged A p * hat f p‖ ≤ M*K by |
| 74 | rw [norm_mul]; exact mul_le_mul (averaged_bound μ ν M hs p) (hx p) (norm_nonneg _) hM))) |
| 75 | rw [setIntegral_const,smul_eq_mul] |
| 76 | dsimp only [fee,K]; rw [Measure.addHaar_real_closedBall' volume _ (show 0≤(2*u:ℝ) by positivity), |
| 77 | show Module.finrank ℝ Space3=3 from finrank_euclideanSpace_fin] |
| 78 | apply le_of_eq; ring |
| 79 | have hμ : ∀ᵐ p ∂μ, 0 ≤ p timeAxis := hc.mono fun _ hp => ((cone_self _).mp hp).1 |
| 80 | have hν : ∀ᵐ p ∂ν, 0 ≤ p timeAxis := hd.mono fun _ hp => ((cone_self _).mp hp).1 |
| 81 | let U := (weighted μ).map spatial |
| 82 | let V := (weighted ν).map fun p => -spatial p |
| 83 | let r : ℝ := ∫ x, B x ∂U |
| 84 | let s : ℝ := ∫ x, B x ∂V |
| 85 | have hr : 0 ≤ r := integral_nonneg fun _ => B.nonneg |
| 86 | have hs : 0 ≤ s := integral_nonneg fun _ => B.nonneg |
| 87 | have hP := Probe.prepos (V:=Space3) |
| 88 | have hh : (Probe.pref Space3) * r ≤ fee R M * u^3 := by |
| 89 | have hw : (∫ x, averaged A x * hat f x) = ↑((Probe.pref Space3)*(r+s)) := by |
| 90 | simp_rw [fun x => two_average μ ν x hμ hν,add_mul] |
| 91 | rw [integral_add (char_int U f) (char_int V f), wave_integral, wave_integral] |
| 92 | change (pref Space3) • (∫ x, (↑(B x):ℂ) ∂U) + (pref Space3) • (∫ x,(↑(B x):ℂ) ∂V) = _ |
| 93 | rw [integral_complex_ofReal,integral_complex_ofReal]; simp only [Complex.real_smul] |
| 94 | dsimp only [r,s]; push_cast; ring |
| 95 | rw [hw, Complex.norm_real,Real.norm_eq_abs,abs_of_nonneg (by positivity)] at hI |
| 96 | exact le_trans (by gcongr; simp [hs]) hI |
| 97 | have hi : r = ∫ p : E4, (up p:ℝ) * B (spatial p) ∂μ := by |
| 98 | unfold r U; rw [integral_map rest_cont.measurable.aemeasurable B.continuous.aestronglyMeasurable, |
| 99 | weighted, integral_withDensity_eq_integral_smul up_measurable]; rfl |
| 100 | rw [hi] at hh |
| 101 | let g := fun p : E4 => (up p:ℝ) * B (spatial p) |
| 102 | have hn (p) : 0 ≤ g p := mul_nonneg (by simp) B.nonneg |
| 103 | have hb : Integrable g μ := by |
| 104 | apply (integrable_const 1).mono' |
| 105 | · exact up_measurable.coe_nnreal_real.aestronglyMeasurable.mul |
| 106 | (B.continuous.comp rest_cont).aestronglyMeasurable |
| 107 | refine ae_of_all _ fun p => ?_ |
| 108 | rw [Real.norm_eq_abs,abs_of_nonneg (hn _)] |
| 109 | exact mul_le_one₀ (up_limit _) B.nonneg B.le_one |
| 110 | let v : ℝ := u/(2 * Real.pi) |
| 111 | have hm : μ.real (ringE u)*v ≤ ∫ p, g p ∂μ := by |
| 112 | have hV : (∫ p in ringE u, v ∂μ) = μ.real (ringE u)*v := by simp |
| 113 | rw [← hV]; apply le_trans _ (setIntegral_le_integral (s:=ringE u) hb (ae_of_all _ hn)) |
| 114 | apply integral_mono_ae (integrable_const _) hb.integrableOn |
| 115 | filter_upwards [ae_restrict_mem (μ:=μ) (measurable_ring u),ae_restrict_of_ae hc] |
| 116 | with p hp hc |
| 117 | obtain ⟨hT,hU⟩ := hp |
| 118 | have hK : 0 ≤ time p := le_trans (by positivity : 0≤u/2) hT.le |
| 119 | have hs : spatial p ∈ closedBall (0:Space3) u := mem_closedBall.mpr |
| 120 | (by simpa using (le_trans hc hU)) |
| 121 | dsimp only [g,up]; rw [B.one_of_mem_closedBall hs,mul_one,Real.coe_toNNReal _ (pulse_positive hK)] |
| 122 | apply le_trans _ (pulse_lower ⟨hK,hU.trans hu.2⟩); unfold v; rw [← div_div]; gcongr |
| 123 | let c : ℝ := μ.real (ringE u) |
| 124 | have hC : pref Space3*(c*v) ≤ _ := (mul_le_mul_of_nonneg_left hm hP.le).trans hh |
| 125 | change c ≤ _ |
| 126 | apply (mul_le_mul_iff_of_pos_right (show 0<v by unfold v; positivity)).mp |
| 127 | apply (mul_le_mul_iff_of_pos_left hP).mp |
| 128 | apply hC.trans_eq |
| 129 | unfold v; field_simp |
| 130 | end |
| 131 | |
| 132 | def lowE (u : ℝ) := time ⁻¹' Ioc (0:ℝ) u |
| 133 | lemma measurable_low (u : ℝ) : MeasurableSet (lowE u) := measurableSet_Ioc.preimage clock_cont.measurable |
| 134 | |
| 135 | theorem dyadic (μ : Measure E4) [IsFiniteMeasure μ] (M : ℝ) (hM : 0≤ M) |
| 136 | (h : ∀ u ∈ Ioc (0:ℝ) 1, μ.real (ringE u) ≤ M*u^2) (u : ℝ) (hu : u ∈ Ioc (0:ℝ) 1) : |
| 137 | μ.real (lowE u) ≤ (2*M)*u^2 := by |
| 138 | have he := hu.1 |
| 139 | let w (n : ℕ) := u*(2⁻¹ : ℝ)^n |
| 140 | have hw n : w n ∈ Ioc 0 1 := ⟨by unfold w; positivity, mul_le_one₀ hu.2 (by positivity) |
| 141 | (pow_le_one₀ (by norm_num) (by norm_num))⟩ |
| 142 | have hv n : μ (ringE (w n)) ≤ ENNReal.ofReal (M*u^2) * (2⁻¹ : ℝ≥0∞)^n := by |
| 143 | rw [← ENNReal.ofReal_toReal (measure_ne_top μ _)] |
| 144 | have hh := h (w n) (hw n) |
| 145 | calc |
| 146 | _ ≤ ENNReal.ofReal (M*(w n)^2) := ENNReal.ofReal_le_ofReal hh |
| 147 | _ ≤ ENNReal.ofReal (M*u^2*(2⁻¹ : ℝ)^n) := by |
| 148 | refine ENNReal.ofReal_le_ofReal ?_ |
| 149 | rw [mul_assoc]; unfold w; rw [mul_pow] |
| 150 | gcongr; rw [pow_two]; apply mul_le_of_le_one_left (by positivity) (pow_le_one₀ (by norm_num) (by norm_num)) |
| 151 | _ = _ := by rw [ENNReal.ofReal_mul (by positivity),ENNReal.ofReal_pow (by positivity), ENNReal.ofReal_inv_of_pos (by positivity), ENNReal.ofReal_ofNat] |
| 152 | have hp : lowE u ⊆ ⋃ n, ringE (w n) := by |
| 153 | intro x hx |
| 154 | obtain ⟨i,hp,hq⟩ := exists_nat_pow_near_of_lt_one (div_pos hx.1 he) ((div_le_one he).2 hx.2) |
| 155 | (by norm_num : (0:ℝ)< 2⁻¹) (by norm_num) |
| 156 | refine mem_iUnion.mpr ⟨i, ?_⟩ |
| 157 | change w i / 2 < _ ∧ _ ≤ w i |
| 158 | rw [lt_div_iff₀ he] at hp; rw [div_le_iff₀ he] at hq |
| 159 | unfold w |
| 160 | constructor |
| 161 | · refine lt_of_eq_of_lt ?_ hp; rw [pow_succ]; ring |
| 162 | simpa [mul_comm] using hq |
| 163 | have hm := calc μ (lowE u) ≤ ∑' n, μ (ringE (w n)) := (measure_mono hp).trans (measure_iUnion_le _) |
| 164 | _ ≤ _ := ENNReal.tsum_le_tsum hv |
| 165 | rw [ENNReal.tsum_mul_left,ENNReal.tsum_geometric_two, show ENNReal.ofReal (M*u^2)* (2:ℝ≥0∞)=ENNReal.ofReal (2*M*u^2) from by |
| 166 | conv_rhs => rw [show 2*M*u^2=M*u^2*2 by ring, ENNReal.ofReal_mul (by positivity), ENNReal.ofReal_ofNat] ] at hm |
| 167 | rw [measureReal_def]; exact (ENNReal.toReal_mono (by finiteness) hm).trans_eq |
| 168 | (ENNReal.toReal_ofReal (by positivity)) |
| 169 | |
| 170 | variable {G : Gauge} {C : Family G} {S : Table C.book} {f : Extraction.Order} |
| 171 | {F : Final C f S} (L : Almanac F) |
| 172 | |
| 173 | def νletter (i : F.α.space.X) (A : SumOfWords S) := |
| 174 | (L.actors i).momentum.diagonal (stands (L.actors i).operators A) |
| 175 | |
| 176 | instance (i : F.α.space.X) (A : SumOfWords S) : IsFiniteMeasure (νletter L i A) := |
| 177 | (L.actors i).momentum.finite _ |
| 178 | |
| 179 | lemma word_pair (v w : Sentence S) : Continuous fun i => |
| 180 | inner ℂ ((L.actors i).operators.vector v) ((L.actors i).operators.vector w) := by |
| 181 | have he i := (L.actors i).operators.general (L.contours i).world (L.cores i).meets _ (L.cores i).adj v w |
| 182 | simp_rw [he,L.letters] |
| 183 | exact word_continuity .. |
| 184 | |
| 185 | lemma sum_pair (v w : SumOfWords S) : Continuous fun i => |
| 186 | inner ℂ (stands (L.actors i).operators v) (stands (L.actors i).operators w) := by |
| 187 | induction v with |
| 188 | | nil => simp [stands,operator]; exact continuous_const |
| 189 | | cons j v ih => |
| 190 | have hv (b : SumOfWords S) : Continuous fun i => |
| 191 | inner ℂ ((L.actors i).operators.vector j.2) (stands (L.actors i).operators b) := by |
| 192 | induction b with |
| 193 | | nil => simp [stands,operator]; exact continuous_const |
| 194 | | cons k b ih => simp_rw [stands_cons,inner_add_right,inner_smul_right]; exact (continuous_const.mul (word_pair L j.2 k.2)).add ih |
| 195 | simp_rw [stands_cons,inner_add_left,inner_smul_left]; exact (continuous_const.mul (hv w)).add ih |
| 196 | |
| 197 | theorem word_bound (w : SumOfWords S) : ∃ M : ℝ, 0 ≤ M ∧ ∀ i, (νletter L i w).real univ ≤ M := by |
| 198 | let p i := (νletter L i w).real univ |
| 199 | have he (i) : (p i:ℂ)=inner ℂ (stands (L.actors i).operators w) (stands (L.actors i).operators w) := by |
| 200 | unfold p νletter; rw [(L.actors i).momentum.at_pair MeasurableSet.univ,(L.actors i).momentum.all]; rfl |
| 201 | have hp : Continuous p := by |
| 202 | have hh : p = fun i => (inner ℂ _ _).re := funext fun i => |
| 203 | Eq.symm (congrArg Complex.re (he i).symm) |
| 204 | rw [hh]; exact Complex.continuous_re.comp (sum_pair L w w) |
| 205 | obtain ⟨M,hM⟩ := (isCompact_range hp).bddAbove |
| 206 | exact ⟨max 0 M,le_max_left _ _, fun i => (hM (mem_range_self i)).trans (le_max_right _ _)⟩ |
| 207 | |
| 208 | theorem late (w : SumOfWords S) (h : finite w) : ∃ R : ℝ, ∀ i, ∀ x : Space3, R < ‖x‖ → |
| 209 | averaged (delta (L.actors i) w) x=0 := by |
| 210 | obtain ⟨R,hR⟩ := distant _ _ (fin_reverse F.action.J h) h F.action.spin |
| 211 | refine ⟨R,fun i x hx => ?_⟩ |
| 212 | have he t (ht : |t| ≤ 1) : delta (L.actors i) w (position x t)=0 := by |
| 213 | rw [comm_expect (L.cores i) F.sector.derivatives F.room.kernel.laws.toSymmetric F.phase.transport.injection] |
| 214 | have hh : spacelikeWords (reverseP (L.actors i).J w) (acted (L.actors i).spin (Poincare.translation (position x t)) w) := by |
| 215 | rw [L.spins,L.letters]; exact hR t ht x hx |
| 216 | rw [op_comm (L.actors i).operators (L.cores i).localPairs hh,sub_self] |
| 217 | refine setIntegral_eq_zero_of_forall_eq_zero (fun y hy => ?_) |
| 218 | have hp : |y| ≤ 1 := by rw [abs_of_nonneg hy.1.le]; exact hy.2 |
| 219 | simp only [oddTest, he y hp, he (-y) (by simpa using hp), sub_self, zero_div] |
| 220 | |
| 221 | theorem light_bound (w : SumOfWords S) (h : finite w) : |
| 222 | ∃ M : ℝ, 0 ≤ M ∧ ∀ i u, u∈Ioc (0:ℝ) 1 → (νletter L i w).real (lowE u) ≤ M*u^2 := by |
| 223 | obtain ⟨M,hM,hμ⟩ := word_bound L w |
| 224 | obtain ⟨N,hN,hν⟩ := word_bound L (reverseP F.action.J w) |
| 225 | obtain ⟨R,hR⟩ := late L w h |
| 226 | let A := fee R (M+N) * (Probe.pref Space3)⁻¹ * (2*Real.pi) |
| 227 | have hp : 0≤ A := by unfold A fee; have h := Probe.prepos (V:=Space3); positivity |
| 228 | refine ⟨2*A,by positivity, fun i => dyadic (νletter L i w) A hp (fun u hu => ?_)⟩ |
| 229 | have hv x (hx : R < ‖x‖) := hR i x hx |
| 230 | unfold delta at hv; rw [L.letters] at hv |
| 231 | exact annulus (ν:=νletter L i (reverseP F.action.J w)) (cave (L.cores i) _) (cave (L.cores i) _) |
| 232 | (add_le_add (hμ i) (hν i)) hu hv |
| 233 | end YM.EveryPhase |