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.Strip |
| 2 | |
| 3 | /-! |
| 4 | # Joint limits with exterior complex-time heights at interior |
| 5 | |
| 6 | Keep the tied partial shore tracked by the actual exchange panes. The anchors |
| 7 | for the arguments are *global* positions, using a relative REAL t for the |
| 8 | stress slot. Do not assert convergence of the unintegrated stress across the |
| 9 | tied boundary on nonspacelike arguments. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.EveryPhase.Stress |
| 14 | open Function Set Filter MeasureTheory Metric Boundary Next.BOUNDARY Mink Complex Probe |
| 15 | open Work.C20 |
| 16 | open scoped Topology BigOperators |
| 17 | variable {n : ℕ} |
| 18 | |
| 19 | -- compactness with constants absorbed by filter atTop |
| 20 | lemma safeguard {A B : Type*} [TopologicalSpace B] {L : Filter A} {f : A × B → ℝ} {t : Set B} |
| 21 | (h : IsCompact t) (he : ∀ y∈t, ∃ M : ℝ, ∀ᶠ x in L ×ˢ 𝓝 y, f x ≤ M) : |
| 22 | ∃ M : ℝ, ∀ᶠ x in L, ∀ y∈t, f (x,y) ≤ M := by |
| 23 | have hh : {z : (ℝ × A) × B | f (z.1.2,z.2) ≤ z.1.1} ∈ (atTop ×ˢ L) ×ˢ (𝓝ˢ t) := by |
| 24 | apply h.mem_prod_nhdsSet_of_forall |
| 25 | intro b hb |
| 26 | obtain ⟨M,hM⟩ := he b hb |
| 27 | have ht : Tendsto (fun z : (ℝ × A) × B => (z.1.2,z.2)) ((atTop ×ˢ L) ×ˢ 𝓝 b) (L ×ˢ 𝓝 b) := |
| 28 | (tendsto_snd.comp tendsto_fst).prodMk tendsto_snd |
| 29 | filter_upwards [ht.eventually hM,(tendsto_fst.comp tendsto_fst).eventually (eventually_ge_atTop M)] with i hi hI |
| 30 | exact le_trans hi hI |
| 31 | obtain ⟨M,hM,T,hT,h⟩ := mem_prod_iff.mp hh |
| 32 | obtain ⟨C,hC,U,hU,u⟩ := mem_prod_iff.mp hM |
| 33 | obtain ⟨p,hp⟩ := Filter.nonempty_of_mem hC |
| 34 | refine ⟨p,?_⟩; filter_upwards [hU] with x hx k hk |
| 35 | exact h (show ((p,x),k)∈M ×ˢ T from ⟨u ⟨hp,hx⟩, subset_of_mem_nhdsSet hT hk⟩) |
| 36 | |
| 37 | abbrev Dock (n : ℕ) := (SpacePoints n × Times n) × ℝ |
| 38 | |
| 39 | def town (p : Dock n) (k : Fin n) := p.1.2 k + (p.2:ℂ) |
| 40 | def morn (p : Dock n) (k : Fin n) (s : ℝ) := town p k + s*I |
| 41 | def eve (p : Dock n) (k : Fin n) (s : ℝ) := town p k - s*I |
| 42 | |
| 43 | lemma affordable (p : Dock n) (h : p.1.2∈strict n) (k : Fin n) : ∀ᶠ w in (𝓝 p) ×ˢ (𝓝[>] (0:ℝ)), |
| 44 | hole k.succ w.1.1.2 (morn w.1 k w.2) ∈ strict (n+1) ∧ hole k.castSucc w.1.1.2 (eve w.1 k w.2)∈strict (n+1) := by |
| 45 | obtain ⟨d,hd,hh⟩ := affords h k |
| 46 | have hu : Continuous (fun p : Dock n => p.1.2) := by fun_prop |
| 47 | filter_upwards [(tendsto_fst).eventually ((hu.tendsto p).eventually hh), |
| 48 | (tendsto_snd).eventually (show ∀ᶠ s : ℝ in 𝓝[>] 0, 0<s from self_mem_nhdsWithin), |
| 49 | (tendsto_snd.mono_right nhdsWithin_le_nhds).eventually (ge_mem_nhds hd)] with w hw hs ht |
| 50 | exact hw.2 _ _ (by simp [town]) hs ht |
| 51 | |
| 52 | def sundial (p : Dock n) (k : Fin n) : Heights (n+1) := hole k.succ (fun i => (p.1.2 i).im) ((p.1.2 k).im) |
| 53 | def scene (p : Dock n) (r : Space3) (k : Fin n) := |
| 54 | seat k.succ (place p.1.1 (fun i => (p.1.2 i).re)) (position r (town p k).re) |
| 55 | lemma arrival (p : Dock n) (r : Space3) (k : Fin n) : |
| 56 | lodge k.succ p.1.1 p.1.2 r (town p k)=glow (scene p r k) (dawn (sundial p k)) := by |
| 57 | unfold lodge laid; congr 1 |
| 58 | · ext1 i; refine Fin.succAboveCases k.succ ?_ ?_ i <;> simp [place,scene] |
| 59 | congr 1; funext j; refine Fin.succAboveCases k.succ ?_ ?_ j <;> simp [sundial,town] |
| 60 | lemma apparition (p : Dock n) (r : Space3) (k : Fin n) : |
| 61 | scene p r k∈(pair k).gap ↔ |p.2| < ‖r-p.1.1 k‖ := by |
| 62 | rw [NearPair.gap,Set.mem_setOf] |
| 63 | change seat _ _ _ k.succ - scene p r k k.castSucc ∈ Mink.spacelike ↔ _ |
| 64 | rw [lateral,seat_seat, |
| 65 | show scene p r k k.castSucc = position (p.1.1 k) (p.1.2 k).re from calc |
| 66 | _ = scene p r k (k.succ.succAbove k) := by rw [first_slot] |
| 67 | _ = _ := by rw [scene,seat_next]; rfl] |
| 68 | simp [sub_eq_add_neg,town] |
| 69 | |
| 70 | variable {G : Gauge} {L : Register G} {S : Table L} {W : Surface S} |
| 71 | {D : ∀ n, Blanket n} {Z : W.Aurora D} {P : DiffPlan S} {H : S.RealSpin} {F : Waves S} |
| 72 | |
| 73 | def atlases (Z : W.Aurora D) (y : Heights (n+1)) (k : Fin n) := ∀ v : Fin (n+1) → S.Union, |
| 74 | ∃ B : (pair k).Panes Z v y, B.sameGround |
| 75 | |
| 76 | lemma displacement {t : Type*} {L' : Filter t} {x : t → Dock n} {u : t → Space3} {s : t → ℝ} |
| 77 | {p : Dock n} {r : Space3} (k : Fin n) (hp : p.1.2∈strict n) |
| 78 | (hx : Tendsto x L' (𝓝 p)) (hu : Tendsto u L' (𝓝 r)) (hs : Tendsto s L' (𝓝[>] 0)) : |
| 79 | Tendsto (fun w => lodge k.succ (x w).1.1 (x w).1.2 (u w) (morn (x w) k (s w))) L' |
| 80 | (𝓝[tube (n+1)] (glow (scene p r k) (dawn (sundial p k)))) ∧ |
| 81 | Tendsto (fun w => lodge k.succ (x w).1.1 (x w).1.2 (u w) (eve (x w) k (s w))) L' |
| 82 | (𝓝[(pair k).name ⁻¹' tube (n+1)] (glow (scene p r k) (dawn (sundial p k)))) := by |
| 83 | have hw := hx.prodMk hs |
| 84 | have he : Tendsto (fun w => (x w,s w)) L' (𝓝 (p,0)) := hx.prodMk_nhds (hs.mono_right nhdsWithin_le_nhds) |
| 85 | have hm : Continuous (fun i : Dock n × ℝ => morn i.1 k i.2) := by unfold morn town; fun_prop |
| 86 | have hv : Continuous (fun i : Dock n × ℝ => eve i.1 k i.2) := by unfold eve town; fun_prop |
| 87 | have hM := (hm.tendsto (p,0)).comp he |
| 88 | have hV := (hv.tendsto (p,0)).comp he |
| 89 | rw [← arrival] |
| 90 | have ht (f : t → ℂ) (hh : Tendsto f L' (𝓝 (town p k))) : Tendsto |
| 91 | (fun w => lodge k.succ (x w).1.1 (x w).1.2 (u w) (f w)) L' (𝓝 (lodge k.succ p.1.1 p.1.2 r (town p k))) := by |
| 92 | change Tendsto ((fun p : (SpacePoints n × Times n) × (Space3 × ℂ) => lodge k.succ p.1.1 p.1.2 p.2.1 p.2.2) ∘ |
| 93 | (fun w => ((x w).1,(u w,f w)))) L' (𝓝 _) |
| 94 | exact (lodge_cont k.succ).continuousAt.tendsto (x := (p.1,(r,town p k))) |>.comp (((continuous_fst.tendsto p).comp hx).prodMk_nhds (hu.prodMk_nhds hh)) |
| 95 | refine ⟨tendsto_nhdsWithin_iff.mpr ⟨ht _ ?_,?_⟩,tendsto_nhdsWithin_iff.mpr ⟨ht _ ?_,?_⟩⟩ -- order |
| 96 | · simpa [morn] using! hM |
| 97 | · exact (hw.eventually (affordable p hp k)).mono (fun i hi => laid_inside _ hi.1) |
| 98 | · simpa [eve] using! hV |
| 99 | filter_upwards [hw.eventually (affordable p hp k)] with i hi |
| 100 | rw [mem_preimage,lodge_name]; exact laid_inside _ hi.2 |
| 101 | |
| 102 | lemma tidal_bend (K : Killing) (T : S.Stress) (v : Fin n → S.Union) (k : Fin n) |
| 103 | (p : Dock n) (hp : p.1.2∈strict n) (he : atlases Z (sundial p k) k) (j : Axis) |
| 104 | (r : Space3) (hr : |p.2|<‖r-p.1.1 k‖) : |
| 105 | let L := ((𝓝 p) ×ˢ (𝓝[>] (0:ℝ))) ×ˢ 𝓝 r |
| 106 | ∃ a : ℂ, |
| 107 | Tendsto (fun w : (Dock n × ℝ) × Space3 => waveT Z K v T k.succ j w.1.1.1.1 w.1.1.1.2 (morn w.1.1 k w.1.2) w.2) L (𝓝 a) ∧ |
| 108 | Tendsto (fun w : (Dock n × ℝ) × Space3 => waveT Z K v T k.castSucc j w.1.1.1.1 w.1.1.1.2 (eve w.1.1 k w.1.2) w.2) L (𝓝 a) := by |
| 109 | intro L |
| 110 | let P := pair k |
| 111 | choose Y hY using he |
| 112 | have h : scene p r k∈P.gap := (apparition ..).2 hr |
| 113 | let t := glow (scene p r k) (dawn (sundial p k)) |
| 114 | have ht : lodge k.succ p.1.1 p.1.2 r (town p k)=t := arrival .. |
| 115 | let Z₁ (w : (Dock n × ℝ) × Space3) := lodge k.succ w.1.1.1.1 w.1.1.1.2 w.2 (morn w.1.1 k w.1.2) |
| 116 | let Z₂ (w : (Dock n × ℝ) × Space3) := lodge k.succ w.1.1.1.1 w.1.1.1.2 w.2 (eve w.1.1 k w.1.2) |
| 117 | have ht : Tendsto Z₁ L (𝓝[tube (n+1)] t) ∧ Tendsto Z₂ L (𝓝[P.name ⁻¹' tube (n+1)] t) := |
| 118 | displacement k hp (x:=fun w : (Dock n × ℝ) × Space3 => w.1.1) (u:=Prod.snd) (s:=fun w => w.1.2) |
| 119 | (tendsto_fst.comp tendsto_fst) tendsto_snd (tendsto_snd.comp tendsto_fst) |
| 120 | let l (a : Axis) := hole k.succ v (S.pin 4 (T j a)) |
| 121 | let M a := Y (l a) |
| 122 | let H a := (M a).original _ h |
| 123 | let J a := (M a).tilted _ h |
| 124 | let b (a : Axis) := K.w a (fun i => t (k.succ,i))* (H a).extendF t |
| 125 | refine ⟨∑ i : Axis, b i, ?_,?_⟩ <;> unfold waveT tide <;> refine tendsto_finsetSum _ fun a _ => ?_ |
| 126 | · have hm : Tendsto (fun w => Z.emit (l a) (Z₁ w)) L (𝓝 ((H a).extendF t)) := |
| 127 | ((H a).doc.continuousAt.tendsto.comp (ht.1.mono_right nhdsWithin_le_nhds)).congr' (ht.1.eventually (H a).fits) |
| 128 | exact (((K.momentum a k.succ t).continuousAt.tendsto).comp (ht.1.mono_right nhdsWithin_le_nhds)).mul hm |
| 129 | have hh : (H a).extendF =ᶠ[𝓝 t] (J a).extendF := (M a).reaches (hY (l a)) _ _ |
| 130 | have hv : Tendsto (fun w => Z.emit (l a ∘ P.s) (P.name (Z₂ w))) L (𝓝 ((H a).extendF t)) := |
| 131 | ((H a).doc.continuousAt.tendsto.comp (ht.2.mono_right nhdsWithin_le_nhds)).congr' |
| 132 | (by filter_upwards [(ht.2.mono_right nhdsWithin_le_nhds).eventually hh, ht.2.eventually (J a).fits] with x hx hy |
| 133 | exact hx.trans hy) |
| 134 | refine ((((K.momentum a k.succ t).continuousAt.tendsto).comp (ht.2.mono_right nhdsWithin_le_nhds)).mul hv).congr' ?_ |
| 135 | filter_upwards with w |
| 136 | change K.w a _ * Z.emit (l a ∘ P.s) (P.name (Z₂ w))=_ |
| 137 | rw [show (l a ∘ P.s) = _ from switch_hole k v (S.pin 4 (T j a)), show P.name (Z₂ w)= _ from lodge_name k _ _ _ _] |
| 138 | simp only [Z₂,lodge,laid_at,hole_self] |
| 139 | |
| 140 | lemma tidal_limit (K : Killing) (T : S.Stress) (v : Fin n → S.Union) (k : Fin n) |
| 141 | (p : Dock n) (hp : p.1.2∈strict n) (he : atlases Z (sundial p k) k) (hZ : Z.FullBody F) |
| 142 | (i : SpaceAxis) (g : Probe Space3) (hg : HasCompactSupport ⇑g) (hr : ∀ r∈tsupport (drift g i), |p.2|<‖r-p.1.1 k‖) : |
| 143 | ∃ a : ℂ, |
| 144 | Tendsto (fun w : Dock n × ℝ => ∫ r, drift g i r * waveT Z K v T k.succ i.castSucc w.1.1.1 w.1.1.2 (morn w.1 k w.2) r) |
| 145 | (𝓝 p ×ˢ 𝓝[>] 0) (𝓝 a) ∧ |
| 146 | Tendsto (fun w : Dock n × ℝ => ∫ r, drift g i r * waveT Z K v T k.castSucc i.castSucc w.1.1.1 w.1.1.2 (eve w.1 k w.2) r) |
| 147 | (𝓝 p ×ˢ 𝓝[>] 0) (𝓝 a) := by |
| 148 | let L := 𝓝 p ×ˢ 𝓝[>] (0:ℝ) |
| 149 | let d := drift g i |
| 150 | let s := tsupport d |
| 151 | have hc : IsCompact s := drift_compact g hg i |
| 152 | classical |
| 153 | choose f hf hF using (show ∀ r : Space3, ∃ a : ℂ, (r∈s → Tendsto |
| 154 | (fun w : (Dock n × ℝ) × Space3 => waveT Z K v T k.succ i.castSucc w.1.1.1.1 w.1.1.1.2 (morn w.1.1 k w.1.2) w.2) (L ×ˢ 𝓝 r) (𝓝 a)) ∧ (r∈s → Tendsto |
| 155 | (fun w : (Dock n × ℝ) × Space3 => waveT Z K v T k.castSucc i.castSucc w.1.1.1.1 w.1.1.1.2 (eve w.1.1 k w.1.2) w.2) (L ×ˢ 𝓝 r) (𝓝 a)) from by |
| 156 | intro r |
| 157 | by_cases h : r∈s |
| 158 | · obtain ⟨a,hp,hh⟩ := tidal_bend K T v k p hp he i.castSucc r (hr r h); exact ⟨a,fun _ => hp, fun _ => hh⟩ |
| 159 | exact ⟨0,fun hh => (h hh).elim, fun hh => (h hh).elim⟩) |
| 160 | have hm (b : Dock n × ℝ → Space3 → ℂ) (hv : ∀ r∈s, |
| 161 | Tendsto (fun w : (Dock n × ℝ) × Space3 => b w.1 w.2) (L ×ˢ 𝓝 r) (𝓝 (f r))) |
| 162 | (hh : ∀ᶠ w in L, Continuous (b w)) : Tendsto (fun w => ∫ r, d r*b w r) L (𝓝 (∫ r, d r*f r)) := by |
| 163 | have hi (r) (hr : r∈s) : Tendsto (fun w : (Dock n × ℝ) × Space3 => d w.2*b w.1 w.2) (L ×ˢ 𝓝 r) |
| 164 | (𝓝 (d r*f r)) := ((d.continuous.tendsto r).comp tendsto_snd).mul (hv r hr) |
| 165 | obtain ⟨M,hM⟩ := safeguard (L:=L) (f:=fun p : (Dock n × ℝ) × Space3 => ‖d p.2*b p.1 p.2‖) hc (fun y hy => |
| 166 | ⟨‖d y*f y‖+1,(hi y hy).norm.eventually (ge_mem_nhds (by simp))⟩) |
| 167 | refine tendsto_integral_filter_of_dominated_convergence (F:=fun w r => d r*b w r) (s.indicator fun _ => M) |
| 168 | (hh.mono fun w hw => (d.continuous.mul hw).aestronglyMeasurable) ?_ |
| 169 | ((integrable_indicator_iff hc.measurableSet).mpr (integrableOn_const hc.measure_ne_top)) ?_ |
| 170 | · filter_upwards [hM] with w hw; filter_upwards with x |
| 171 | by_cases h : x∈s |
| 172 | · rw [Set.indicator_of_mem h]; exact hw x h |
| 173 | simp [h,image_eq_zero_of_notMem_tsupport h] |
| 174 | filter_upwards with x |
| 175 | by_cases h : x∈s |
| 176 | · have he : Tendsto (fun w : Dock n × ℝ => (w,x)) L (L ×ˢ 𝓝 x) := tendsto_id.prodMk (tendsto_const_nhds (x:=x)) |
| 177 | change Tendsto ((fun w : (Dock n × ℝ) × Space3 => d w.2*b w.1 w.2) ∘ fun w => (w,x)) L (𝓝 _) |
| 178 | exact (hi x h).comp he |
| 179 | simp only [image_eq_zero_of_notMem_tsupport h, zero_mul]; exact tendsto_const_nhds |
| 180 | have hy := affordable p hp k |
| 181 | refine ⟨(∫ r, d r*f r), hm _ hf (hy.mono ?_), hm _ hF (hy.mono ?_)⟩ |
| 182 | · intro i hi; exact (waveT_smooth K v T _ _ _ _ hi.1 _ hZ).continuous |
| 183 | intro i hi; exact (waveT_smooth K v T _ _ _ _ hi.2 _ hZ).continuous |
| 184 | |
| 185 | def allows (p : Dock n) (g : Probe Space3) (k : Fin n) := ∀ i, ∀ r∈tsupport (drift g i), |p.2|<‖r-p.1.1 k‖ |
| 186 | |
| 187 | lemma tidal_shift (K : Killing) (T : S.Stress) (v : Fin n → S.Union) (k : Fin n) |
| 188 | (p : Dock n) (hp : p.1.2∈strict n) (he : atlases Z (sundial p k) k) (hZ : Z.FullBody F) |
| 189 | (g : Probe Space3) (hg : HasCompactSupport ⇑g) (hr : allows p g k) : |
| 190 | ∃ a : ℂ, |
| 191 | Tendsto (fun w : Dock n × ℝ => docks Z K v T g k.succ w.1.1.1 w.1.1.2 (morn w.1 k w.2)) |
| 192 | (𝓝 p ×ˢ 𝓝[>] 0) (𝓝 a) ∧ |
| 193 | Tendsto (fun w : Dock n × ℝ => docks Z K v T g k.castSucc w.1.1.1 w.1.1.2 (eve w.1 k w.2)) |
| 194 | (𝓝 p ×ˢ 𝓝[>] 0) (𝓝 a) := by |
| 195 | choose a ha hA using (fun i => tidal_limit K T v k p hp he hZ i g hg (hr i)) |
| 196 | exact ⟨∑ i,a i, tendsto_finsetSum _ (fun i _ => ha i), tendsto_finsetSum _ (fun i _ => hA i)⟩ |
| 197 | end YM.EveryPhase.Stress |