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.Work.C07.Integrate |
| 2 | |
| 3 | |
| 4 | /-! |
| 5 | # Continue the compact-tested identity to z=1 |
| 6 | |
| 7 | On K the test support, do single-complex-variable analytic continuation IN THE SCALING |
| 8 | PARAMETER. The permissible domain is open (compact p) and already convex; no need for |
| 9 | continuation through a seam at a tie. To pass analyticity through integration on K we can |
| 10 | work with `C(K,ℂ)` using weak holomorphy detected by point evaluations. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Work.C07 |
| 15 | open Boundary Set Filter Function Table Analysis Complex MeasureTheory Bid Mink |
| 16 | open scoped Topology ContDiff BigOperators |
| 17 | |
| 18 | variable {G : Gauge} {L : Register G} {S T : Table L} {V : DiffPlan S} {h : S.RealSpin} |
| 19 | {Y : Waves S} {R : Rotation S} {n : ℕ} |
| 20 | |
| 21 | -- work generally with a compact subset K of integration variables |
| 22 | attribute [local instance] Measure.Subtype.measureSpace in |
| 23 | theorem analytic_integral {K : Set (Points n)} (hK : IsCompact K) (B : ℂ → Points n → ℂ) |
| 24 | {U : Set ℂ} (hU : IsOpen U) (hc : ContinuousOn (uncurry B) (U ×ˢ K)) |
| 25 | (hp : ∀ p ∈ K, DifferentiableOn ℂ (fun z => B z p) U) : |
| 26 | AnalyticOnNhd ℂ (fun z => ∫ p in K, B z p) U := by |
| 27 | classical |
| 28 | haveI : CompactSpace K := isCompact_iff_compactSpace.mp hK |
| 29 | haveI : IsFiniteMeasure (volume : Measure K) := |
| 30 | ⟨by rw [Measure.Subtype.volume_univ hK.isClosed.measurableSet.nullMeasurableSet] |
| 31 | exact hK.measure_lt_top⟩ |
| 32 | let D (z : ℂ) := ContinuousMap.mkD (K.restrict (B z)) (0 : C(K,ℂ)) |
| 33 | have he (z) (hz : z ∈ U) : ContinuousOn (B z) K := |
| 34 | hc.comp (Continuous.prodMk_right z).continuousOn fun _ hw => ⟨hz, hw⟩ |
| 35 | have hD (z) (hz : z ∈ U) (p : K) : D z p = B z p := by |
| 36 | dsimp only [D] |
| 37 | rw [ContinuousMap.mkD_of_continuousOn (he z hz)]; rfl |
| 38 | let P (p : K) := (ContinuousMap.evalCLM ℂ p : C(K,ℂ) →L[ℂ] ℂ) |
| 39 | have hF : AnalyticOnNhd ℂ D U := by |
| 40 | apply lift_weak (Set.range P) (fun f g h => ContinuousMap.ext fun i => h (P i) (mem_range_self i)) hU |
| 41 | (ContinuousMap.continuousOn_mkD_restrict_of_uncurry B 0 hc) |
| 42 | rintro _ ⟨x,rfl⟩ |
| 43 | exact (hp x x.2).congr (fun z hz => hD z hz x) |
| 44 | have hl (f : C(K,ℂ)) : Integrable f := |
| 45 | f.continuous.integrable_of_hasCompactSupport (HasCompactSupport.of_compactSpace _) |
| 46 | let A : C(K,ℂ) →ₗ[ℂ] ℂ := |
| 47 | { toFun := fun f => ∫ p, f p |
| 48 | map_add' := fun f g => integral_add (hl f) (hl g) |
| 49 | map_smul' := fun a f => integral_smul a (fun p => f p) } |
| 50 | let E := LinearMap.mkContinuous A ((volume : Measure K).real univ) (fun f => by |
| 51 | rw [mul_comm] |
| 52 | exact norm_integral_le_of_norm_le_const (ae_of_all _ fun p => f.norm_coe_le_norm p)) |
| 53 | intro z hz |
| 54 | apply ((E.analyticAt _).comp (hF z hz)).congr |
| 55 | filter_upwards [hU.mem_nhds hz] with w hw |
| 56 | change (∫ p : K, D w p) = _ |
| 57 | simp_rw [hD w hw]; exact integral_subtype hK.isClosed.measurableSet _ |
| 58 | |
| 59 | private def allowed (K : Set (Points n)) (y : Heights n) : Set ℂ := |
| 60 | {z | ∀ p ∈ K, scaledTimes y z p ∈ strict n} |
| 61 | |
| 62 | private lemma scaled_cont (y : Heights n) : |
| 63 | Continuous (uncurry (scaledTimes y)) := by |
| 64 | change Continuous fun p : ℂ × Points n => scaledTimes y p.1 p.2 |
| 65 | unfold scaledTimes; fun_prop |
| 66 | |
| 67 | private lemma allowed_open {K : Set (Points n)} (y : Heights n) (hK : IsCompact K) : IsOpen (allowed K y) := by |
| 68 | rw [isOpen_iff_forall_mem_open] |
| 69 | intro z hz |
| 70 | let W := uncurry (scaledTimes y) ⁻¹' strict n |
| 71 | have hW : ({z} : Set ℂ) ×ˢ K ⊆ W := by |
| 72 | rintro ⟨p,q⟩ ⟨hp,hq⟩ |
| 73 | exact (show p=z from hp).symm ▸ hz q hq |
| 74 | obtain ⟨t,s,ht,-,htz,hsK,H⟩ := generalized_tube_lemma isCompact_singleton hK |
| 75 | ((open_strict n).preimage (scaled_cont y)) hW |
| 76 | exact ⟨t, fun a ha b hb => H (mk_mem_prod ha (hsK hb)), ht, htz (mem_singleton z)⟩ |
| 77 | |
| 78 | private lemma allowed_convex (K : Set (Points n)) (y : Heights n) : Convex ℝ (allowed K y) := by |
| 79 | rw [convex_iff_forall_pos] |
| 80 | intro z hz r hr a b ha hb hab p hp i j hij |
| 81 | have he (k : Fin n) : (scaledTimes y (a • z + b • r) p k).im = |
| 82 | a * (scaledTimes y z p k).im + b * (scaledTimes y r p k).im := by |
| 83 | simp only [scaledTimes, add_im, mul_im, ofReal_re, ofReal_im, real_smul, |
| 84 | I_re, I_im, mul_zero, zero_mul, zero_add, add_zero, mul_one] |
| 85 | linear_combination -(y k)*hab |
| 86 | change (scaledTimes y _ p i).im < (scaledTimes y _ p j).im |
| 87 | rw [he, he] |
| 88 | exact add_lt_add (mul_lt_mul_of_pos_left (hz p hp hij) ha) (mul_lt_mul_of_pos_left (hr p hp hij) hb) |
| 89 | |
| 90 | private lemma allowed_real (K : Set (Points n)) {y : Heights n} (hy : y ∈ east n) (z : ℝ) : |
| 91 | (z : ℂ) ∈ allowed K y := fun p _ i j h => by simpa [scaledTimes] using hy h |
| 92 | |
| 93 | private lemma error_analytic (hr : Y.Region T) (R : Rotation S) {K : Set (Points n)} (hK : IsCompact K) |
| 94 | (a : SpaceAxis) (y : Heights n) (v : Fin n → S.Tag) (f : Joint n) : |
| 95 | AnalyticOnNhd ℂ (fun z => ∫ p in K, errorTerm Y R a y v f z p) (allowed K y) := by |
| 96 | let U := allowed K y |
| 97 | apply analytic_integral hK _ (allowed_open y hK) |
| 98 | · have ht : Continuous (fun p : Points n => trace p) := by unfold trace; fun_prop |
| 99 | have hu (q : Fin n → S.Union) : ContinuousOn (fun p : ℂ × Points n => seen Y q y p.1 p.2) |
| 100 | (U ×ˢ K) := |
| 101 | (hr.together n q).comp ((scaled_cont y).prodMk (ht.comp continuous_snd)).continuousOn |
| 102 | (by rintro ⟨z,p⟩ ⟨hz,hp⟩; exact ⟨hz p hp, mem_univ _⟩) |
| 103 | change ContinuousOn (fun p : ℂ × Points n => errorTerm _ _ _ _ _ _ p.1 p.2) _ |
| 104 | have hF : Continuous (fun p : ℂ × Points n => testField a y p.1 f p.2) := by |
| 105 | unfold testField; refine continuous_finsetSum _ fun i _ => ?_ |
| 106 | have ht (b : Axis) : Continuous (fun p : ℂ × Points n => realTerm i b f p.2) := |
| 107 | (realTerm i b f).continuous.comp continuous_snd |
| 108 | have hi : Continuous (fun p : ℂ × Points n => scaledTimes y p.1 p.2 i) := |
| 109 | (continuous_apply i).comp (scaled_cont y) |
| 110 | exact Continuous.add ((by fun_prop : Continuous fun p : ℂ × Points n => ((p.2 i a.castSucc:ℝ):ℂ)).mul (ht timeAxis)) |
| 111 | ((continuous_fst.mul hi).mul (ht a.castSucc)) |
| 112 | unfold errorTerm |
| 113 | exact ((hu _).mul hF.continuousOn).sub ((continuous_fst.continuousOn.mul |
| 114 | (continuousOn_finsetSum _ fun i _ => hu (update (ink v) i (kick R a (v i))))).mul |
| 115 | (f.continuous.comp continuous_snd).continuousOn) |
| 116 | intro p hp |
| 117 | have hk : Differentiable ℂ (fun z => scaledTimes y z p) := by |
| 118 | unfold scaledTimes; fun_prop |
| 119 | have hs (q : Fin n → S.Union) : DifferentiableOn ℂ (fun z => seen Y q y z p) U := |
| 120 | (hr.hol n q (trace p)).comp hk.differentiableOn fun _ hz => hz p hp |
| 121 | have hT : Differentiable ℂ (fun z => testField a y z f p) := by |
| 122 | unfold testField; unfold scaledTimes; fun_prop |
| 123 | unfold errorTerm |
| 124 | apply DifferentiableOn.sub ((hs _).mul hT.differentiableOn) |
| 125 | exact (differentiableOn_id.mul (DifferentiableOn.fun_sum fun i _ => hs |
| 126 | (update (ink v) i (kick R a (v i))))).mul_const _ |
| 127 | |
| 128 | private theorem error_one (hO : R.Oriented T) (hR : R.Laws V h) (hS : T.Smooth) |
| 129 | (hr : Y.Region T) (a : SpaceAxis) (y : Heights n) (hy : y ∈ east n) |
| 130 | (v : Fin n → S.Tag) (f : Joint n) (hK : HasCompactSupport ⇑f) : |
| 131 | (∫ p in tsupport f, errorTerm Y R a y v f 1 p) = 0 := by |
| 132 | let K := tsupport f |
| 133 | let U := allowed K y |
| 134 | have h₀ : (0 : ℂ) ∈ U := by simpa using allowed_real K hy 0 |
| 135 | have h₁ : (1 : ℂ) ∈ U := by simpa using allowed_real K hy 1 |
| 136 | apply (error_analytic hr R hK a y v f).eqOn_zero_of_preconnected_of_frequently_eq_zero |
| 137 | ((allowed_convex K y).isPreconnected) h₀ _ h₁ |
| 138 | intro hh |
| 139 | have ht : Tendsto (fun w : ℝ => (w : ℂ)*I) (𝓝[>] 0) (𝓝[≠] (0 : ℂ)) := by |
| 140 | apply tendsto_nhdsWithin_of_tendsto_nhds_of_eventually_within |
| 141 | · have hc : Continuous (fun w : ℝ => (w : ℂ)*I) := by fun_prop |
| 142 | simpa using (hc.tendsto 0).mono_left (nhdsWithin_le_nhds (s := Ioi 0)) |
| 143 | filter_upwards [self_mem_nhdsWithin] with w hw |
| 144 | change _ ≠ _; simp [ne_of_gt (show 0<w from hw)] |
| 145 | have hK' : ∀ᶠ z in 𝓝[≠] (0 : ℂ), z ∈ U := |
| 146 | Eventually.filter_mono nhdsWithin_le_nhds ((allowed_open y hK).mem_nhds h₀) |
| 147 | obtain ⟨w,hw,hU⟩ := (ht.eventually (hh.and hK')).exists |
| 148 | exact hw (error_imag hO hR hS hr a y v f w hK hU) |
| 149 | |
| 150 | lemma compact_boost (hO : R.Oriented T) (hR : R.Laws V h) (hS : T.Smooth) |
| 151 | (hr : Y.Region T) (hB : Y.Bounds) (a : SpaceAxis) (y : Heights n) (hy : y ∈ east n) |
| 152 | (v : Fin n → S.Tag) (f : Joint n) (hK : HasCompactSupport ⇑f) : |
| 153 | (∑ i, Y.psi (update (ink v) i (kick R a (v i))) y f) = Y.psi (ink v) y (inclined a y f) := by |
| 154 | have he (p : Points n) (hp : p ∉ tsupport f) : errorTerm Y R a y v f 1 p = 0 := by |
| 155 | rw [errorTerm, test_zero_off a y _ f hp, image_eq_zero_of_notMem_tsupport hp] |
| 156 | ring |
| 157 | let f' := inclined a y f |
| 158 | let q (i : Fin n) (p : Points n) := seen Y (update (ink v) i (kick R a (v i))) y 1 p * f p |
| 159 | have hq (q : Fin n → S.Union) (p : Points n) : Y.restricted q y p = seen Y q y 1 p := by rw [seen, scaled_one]; rfl |
| 160 | have hI (i) : Integrable (q i) := by |
| 161 | simp_rw [q, ← hq]; apply hB _ _ _ hy |
| 162 | have hJ : Integrable (fun p => seen Y (ink v) y 1 p * f' p) := by |
| 163 | simp_rw [← hq]; apply hB _ _ _ hy |
| 164 | have h₁ := error_one hO hR hS hr a y hy v f hK |
| 165 | rw [setIntegral_eq_integral_of_forall_compl_eq_zero he] at h₁ |
| 166 | simp_rw [errorTerm, test_one, one_mul, Finset.sum_mul] at h₁ |
| 167 | change (∫ p, seen Y (ink v) y 1 p * f' p - ∑ i, q i p) = 0 at h₁ |
| 168 | rw [integral_sub hJ (integrable_finsetSum _ fun i _ => hI i),sub_eq_zero, |
| 169 | integral_finsetSum Finset.univ (fun i _ => hI i)] at h₁ |
| 170 | simp_rw [Waves.psi, hq]; exact h₁.symm |
| 171 | |
| 172 | end YM.Work.C07 |