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.ODE.ExistUnique |
| 2 | import YM.Work.A16 |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | /-! |
| 8 | # Choice interfaces at the boundary |
| 9 | |
| 10 | Uniqueness where meaningful! No identification of S with a selected phase; |
| 11 | compare two constructions over the **same** hierarchy T and common label |
| 12 | system S. Don't compare the values stored outside the open set of strict |
| 13 | times. In particular `Opens`, although asking only for fixed-slope limits, |
| 14 | pins the entire joint `Surface` (all arities, all Schwartz tests). |
| 15 | |
| 16 | Use the same one-parameter trick as in Work.C22 for complex times, and |
| 17 | constant-coefficient ODE idea as Work.A17 for boosts. Also the Fourier |
| 18 | emissions and all closed-cone partial boundaries are independent of the |
| 19 | auxiliary frequency blankets. |
| 20 | -/ |
| 21 | set_option autoImplicit false |
| 22 | noncomputable section |
| 23 | namespace YM.Next.BOUNDARY |
| 24 | |
| 25 | open Set Filter Function MeasureTheory |
| 26 | open YM.Boundary |
| 27 | open scoped Topology InnerProductSpace |
| 28 | |
| 29 | variable {G : Gauge} {L : Register G} {S T : Table L} |
| 30 | |
| 31 | open Complex in |
| 32 | /-- Identity theorem with data on the purely imaginary slice. Holds also |
| 33 | for n=0. (Time is the final coordinate in `Points`; here only `Times`.) -/ |
| 34 | theorem ordered_eq {n : ℕ} (f g : Times n → ℂ) |
| 35 | (hf : DifferentiableOn ℂ f (strict n)) (hg : DifferentiableOn ℂ g (strict n)) |
| 36 | (h : ∀ y ∈ east n, f (fun i => (y i:ℂ)*I) = g (fun i => (y i:ℂ)*I)) : |
| 37 | EqOn f g (strict n) := by |
| 38 | intro z hz |
| 39 | let Z (c : ℂ) : Times n := fun i => ((z i).im:ℂ)*I+c*((z i).re:ℂ) |
| 40 | let y (t : ℝ) : Heights n := fun i => (z i).im+t*(z i).re |
| 41 | have hZ (c : ℂ) : (fun i => (Z c i).im)=y c.im := by |
| 42 | funext i |
| 43 | simp [Z, y] |
| 44 | have hy0 : y 0∈east n := by |
| 45 | rw [show y 0=(fun i => (z i).im) by funext i; simp [y]] |
| 46 | exact hz |
| 47 | have hy : Continuous y := by unfold y; fun_prop |
| 48 | obtain ⟨r, hr, hδ⟩ := Metric.eventually_nhds_iff.mp |
| 49 | ((hy.tendsto 0).eventually ((open_east n).mem_nhds hy0)) |
| 50 | let U := im ⁻¹' Ioo (-r) r |
| 51 | have hu : IsOpen U := isOpen_Ioo.preimage continuous_im |
| 52 | have hc : IsPreconnected U := ((convex_Ioo (-r) r).linear_preimage imCLM.toLinearMap).isPreconnected |
| 53 | have hρ (t : ℝ) (ht : -r<t ∧ t<r) : y t∈east n := hδ (by simpa [Real.dist_eq, abs_lt] using ht) |
| 54 | have ht : MapsTo Z U (strict n) := by |
| 55 | intro c hU |
| 56 | change (fun i => (Z c i).im) ∈ east n |
| 57 | rw [hZ] |
| 58 | exact hρ _ hU |
| 59 | have hZD : Differentiable ℂ Z := by unfold Z; fun_prop |
| 60 | have hstart : (0:ℂ)∈U := ⟨neg_lt_zero.mpr hr, hr⟩ |
| 61 | have heq : EqOn (f ∘ Z) (g ∘ Z) U := by |
| 62 | refine ((hf.comp hZD.differentiableOn ht).analyticOnNhd hu).eqOn_of_preconnected_of_frequently_eq |
| 63 | ((hg.comp hZD.differentiableOn ht).analyticOnNhd hu) hc hstart ?_ |
| 64 | intro hn |
| 65 | let w (t : ℝ) := (t:ℂ)*I |
| 66 | have hw : Tendsto w (𝓝[>] (0:ℝ)) (𝓝[≠] (0:ℂ)) := by |
| 67 | apply tendsto_nhdsWithin_of_tendsto_nhds_of_eventually_within |
| 68 | · have hi : Continuous w := continuous_ofReal.mul continuous_const |
| 69 | simpa [w] using ((hi.tendsto 0).mono_left (nhdsWithin_le_nhds (s:=Ioi 0))) |
| 70 | filter_upwards [self_mem_nhdsWithin] with i hi |
| 71 | change w i ≠ 0 |
| 72 | simp [w, (mem_Ioi.mp hi).ne'] |
| 73 | obtain ⟨t, hn, hw⟩ := ((hw.eventually hn).and |
| 74 | ((hw.mono_right nhdsWithin_le_nhds).eventually (hu.mem_nhds hstart))).exists |
| 75 | apply hn |
| 76 | change f (Z (w t))=g (Z (w t)) |
| 77 | have hp : Z (w t) = fun i => (y t i:ℂ)*I := by |
| 78 | funext i |
| 79 | dsimp [Z, w, y]; push_cast; ring |
| 80 | change -r < (w t).im ∧ (w t).im < r at hw |
| 81 | rw [hp] |
| 82 | exact h (y t) (hρ _ (by simpa [w] using hw)) |
| 83 | have h1 := heq (show (1:ℂ)∈U from ⟨neg_lt_zero.mpr hr, hr⟩) |
| 84 | have hz1 : Z 1=z := by |
| 85 | funext i |
| 86 | simp [Z, add_comm] |
| 87 | simpa only [Function.comp_apply, hz1] using h1 |
| 88 | |
| 89 | /-- At all strict times and real spatial arguments, on the genuine common |
| 90 | label system. Independent of the choice of analytic producer. -/ |
| 91 | theorem waves_eq {Y Z : Waves S} (hY : Y.Region T) (hZ : Z.Region T) |
| 92 | (P : DiffPlan S) (hS : S.Symmetric) (hP : P.Inclusions S) (n : ℕ) (x : SpacePoints n) |
| 93 | (z : Times n) (hz : z ∈ strict n) : Y.F n z x = Z.F n z x := by |
| 94 | ext1 v |
| 95 | apply ordered_eq _ _ (hY.hol n v x) (hZ.hol n v x) _ hz |
| 96 | obtain ⟨d, w, rfl⟩ := P.joint hS hP v |
| 97 | intro y hy |
| 98 | let a : Fin n → S.Tag := fun i => ⟨d, w i⟩ |
| 99 | exact (hY.roots n a x y hy).trans (hZ.roots n a x y hy).symm |
| 100 | |
| 101 | theorem surface_eq {Y Z : Contour S} (hY : Y.From T) (hZ : Z.From T) |
| 102 | (P : DiffPlan S) (hS : S.Symmetric) (hP : P.Inclusions S) : |
| 103 | Y.world = Z.world := by |
| 104 | have e : Y.world.W = Z.world.W := by |
| 105 | funext n |
| 106 | ext1 v |
| 107 | ext1 f |
| 108 | let y : Heights n := rate n |
| 109 | have hy : y ∈ east n := fun i j hij => by |
| 110 | unfold y rate; exact_mod_cast hij |
| 111 | refine tendsto_nhds_unique_of_eventuallyEq (hY.emerges.profile n v y hy f) |
| 112 | (hZ.emerges.profile n v y hy f) ?_ |
| 113 | filter_upwards [self_mem_nhdsWithin] with ε hε |
| 114 | unfold Waves.atSlopes |
| 115 | refine integral_congr_ae (ae_of_all _ fun x => ?_) |
| 116 | dsimp only [Waves.restricted] |
| 117 | rw [waves_eq hY.heat hZ.heat P hS hP _ _ _ (on_profile _ _ _ hε hy)] |
| 118 | have h (A B : Surface S) (e : A.W=B.W) : A=B := by |
| 119 | cases A |
| 120 | cases B |
| 121 | congr |
| 122 | exact h _ _ e |
| 123 | |
| 124 | section generators |
| 125 | variable {R : S.Rotation} {h : S.RealSpin} {K M : Spins S} |
| 126 | open Mink |
| 127 | |
| 128 | private theorem one (hK : K.Descends R h) (d : ℕ) (v : S.Field d) : K.shell d 1 v=v := |
| 129 | S.pin_inj _ ((hK.ties 1 d v).symm.trans (hK.identity _)) |
| 130 | |
| 131 | private theorem mult (hK : K.Descends R h) (d : ℕ) (a b : Lorentz) (v : S.Field d) : |
| 132 | K.shell d (a*b) v=K.shell d a (K.shell d b v) := by |
| 133 | apply S.pin_inj |
| 134 | simpa only [hK.ties] using hK.representation a b (S.pin d v) |
| 135 | |
| 136 | private theorem shell_boost_eq (hK : K.Descends R h) (hM : M.Descends R h) (d : ℕ) |
| 137 | (a : SpaceAxis) (r : ℝ) (v : S.Field d) : |
| 138 | K.shell d ((Ray.fromAxis a).boost r) v = M.shell d ((Ray.fromAxis a).boost r) v := by |
| 139 | let N := LinearMap.toContinuousLinearMap ((-Complex.I) • R.lie d (Ortho.plane timeAxis a.castSucc)) |
| 140 | let f (B : Spins S) := fun t => B.shell d ((Ray.fromAxis a).boost t) v |
| 141 | have hf (B : Spins S) (hB : B.Descends R h) (t : ℝ) : HasDerivAt (f B) (N (f B t)) t := by |
| 142 | have hd := hB.boosts d a (f B t) |
| 143 | simpa only [f, Function.comp_def, one_smul, ← mult hB, ← Ray.boost_add, sub_add_cancel] using! |
| 144 | hd.scomp_of_eq t ((hasDerivAt_id' t).sub_const t) (by simp) |
| 145 | have he : f K 0 = f M 0 := by simp [f, one hM, one hK] |
| 146 | exact congr_fun (ODE_solution_unique_univ (s:=fun _ => univ) |
| 147 | (fun (_ : ℝ) => N.lipschitz.lipschitzOnWith) (fun t => ⟨hf K hK t, mem_univ _⟩) |
| 148 | (fun t => ⟨hf M hM t, mem_univ _⟩) he) r |
| 149 | |
| 150 | /-- Use of two (perhaps independently obtained) Lorentz witnesses with the |
| 151 | same Euclidean rotation data. -/ |
| 152 | theorem spins_eq (hK : K.Descends R h) (hM : M.Descends R h) (P : DiffPlan S) |
| 153 | (hs : S.Symmetric) (hP : P.Inclusions S) : K=M := by |
| 154 | have hf (d : ℕ) (b : Lorentz) : ∀ v : S.Field d, K.shell d b v=M.shell d b v := by |
| 155 | have hp : b∈Bid.beamGens := by rw [(Work.A16.answer : Bid.beamGens=⊤)]; trivial |
| 156 | exact Subgroup.closure_induction (p := fun b _ => ∀ v : S.Field d, K.shell d b v=M.shell d b v) |
| 157 | (by |
| 158 | intro b hb v |
| 159 | rcases hb with ⟨s, t, rfl⟩ | ⟨a, u, rfl⟩ |
| 160 | · rw [hK.spatial s t, hM.spatial s t] |
| 161 | exact shell_boost_eq hK hM d a u v) |
| 162 | (fun v => (one hK d v).trans (one hM d v).symm) |
| 163 | (by intro a b _ _ ha hb v; simp only [mult hK, mult hM, hb, ha]) |
| 164 | (by |
| 165 | intro a _ ha v |
| 166 | apply (M.shell d a).injective |
| 167 | rw [← ha, ← mult hK, ← mult hM, mul_inv_cancel, one hK, one hM]) hp |
| 168 | have hx : K.rail=M.rail := by |
| 169 | funext b |
| 170 | ext1 v |
| 171 | obtain ⟨d, w, rfl⟩ := P.covered hs hP v |
| 172 | simp only [hK.ties, hM.ties, hf] |
| 173 | have he : K.shell=M.shell := by funext d b; ext1 v; exact hf d b v |
| 174 | cases K |
| 175 | cases M |
| 176 | congr |
| 177 | |
| 178 | |
| 179 | end generators |
| 180 | |
| 181 | section tube |
| 182 | open Distribution |
| 183 | variable {n : ℕ} |
| 184 | |
| 185 | |
| 186 | |
| 187 | theorem emit_eq (W : Surface S) (v : Fin n → S.Union) |
| 188 | (h : dsupport (Distn.fourier (W.W n v)) ⊆ coneM n) |
| 189 | {A B : ∀ i : ℕ, Blanket i} (F : W.Aurora A) (J : W.Aurora B) |
| 190 | (x : Full n) (hx : x∈tube n) : F.emit v x = J.emit v x := by |
| 191 | unfold Surface.Aurora.emit |
| 192 | congr 1 |
| 193 | apply sub_eq_zero.mp |
| 194 | rw [← map_sub] |
| 195 | apply (Distn.due _ _ (closedM _)).1 h |
| 196 | intro p ht hp |
| 197 | have HH : Disjoint (Metric.ball p 1) (Function.support (F.lens n x - J.lens n x)) := by |
| 198 | refine Set.disjoint_left.mpr fun z hz H => H ?_ |
| 199 | change F.lens n x z - J.lens n x z = 0 |
| 200 | have hw : z∈ShadeSet 1 n := ⟨p, hp, hz⟩ |
| 201 | rw [F.shape n x hx, J.shape n x hx] |
| 202 | simp [Blanket.lens, Blanket.attenuate, (A n).immediate _ hw, (B n).immediate _ hw] |
| 203 | exact Set.disjoint_left.1 (HH.closure_right Metric.isOpen_ball) (Metric.mem_ball_self zero_lt_one) ht |
| 204 | end tube |
| 205 | end YM.Next.BOUNDARY |