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.FDeriv.Symmetric |
| 2 | import Mathlib.Analysis.Distribution.Support |
| 3 | import Mathlib.MeasureTheory.Function.Floor |
| 4 | import YM.Euclid.RPPeak |
| 5 | import YM.Extraction.Orders |
| 6 | import YM.Mink.Poincare |
| 7 | import YM.Slice.Sequence |
| 8 | import YM.Source.Construction |
| 9 | |
| 10 | /-! |
| 11 | # Pin finite coordinates from approximating probes (generic dimension finite) |
| 12 | |
| 13 | `small/large`: physical representative outputs T using one ultracluster of |
| 14 | bounded *normalized* vector. Does not need sequential for mesh.fuse. Subfilter |
| 15 | only in proof, result exact on all tests. First-order inequality paid by |
| 16 | same normalization. No unbounded forest of spectators extracted. |
| 17 | -/ |
| 18 | set_option autoImplicit false |
| 19 | noncomputable section |
| 20 | namespace YM.Dash |
| 21 | open Function Set Filter MeasureTheory Measure Complex |
| 22 | open scoped Topology ContDiff BigOperators |
| 23 | variable {V R : Type*} [NormedAddCommGroup V] [NormedSpace ℂ V] [FiniteDimensional ℂ V] |
| 24 | variable [NormedAddCommGroup R] [NormedSpace ℂ R] [FiniteDimensional ℂ R] |
| 25 | variable {S P : Type*} {ℱ : Filter S} [ℱ.NeBot] |
| 26 | |
| 27 | omit [ℱ.NeBot] in |
| 28 | theorem fit_plane (A : S → V →ₗ[ℂ] R) (a : V →ₗ[ℂ] R) (h : ∀ i,Tendsto (fun t => A t i) ℱ (𝓝 (a i))) : |
| 29 | Tendsto (fun t => LinearMap.toContinuousLinearMap (A t)) ℱ (𝓝 (LinearMap.toContinuousLinearMap a)) := by |
| 30 | classical |
| 31 | let b := Module.finBasis ℂ V |
| 32 | let I := Fin (Module.finrank ℂ V) |
| 33 | let L : (I → R) →ₗ[ℂ] V→L[ℂ] R := LinearMap.toContinuousLinearMap.toLinearMap.comp (b.constr ℂ).toLinearMap |
| 34 | have he (g : V→ₗ[ℂ] R) : L (fun i => g (b i))=LinearMap.toContinuousLinearMap g := by |
| 35 | apply ContinuousLinearMap.coe_injective; exact b.ext fun i => b.constr_basis .. |
| 36 | have hh := L.continuous_of_finiteDimensional.continuousAt.tendsto.comp (tendsto_pi_nhds.mpr |
| 37 | (show ∀ i,Tendsto (fun t => (fun j : I => A t (b j)) i) ℱ (𝓝 ((fun j : I => a (b j)) i)) from fun i => h _)) |
| 38 | convert hh using 1 |
| 39 | · funext u; exact (he _).symm |
| 40 | rw [he a] |
| 41 | |
| 42 | variable (F : P → S → V →L[ℂ] ℂ) (G : P → V →L[ℂ] ℂ) |
| 43 | |
| 44 | |
| 45 | omit [FiniteDimensional ℂ V] [ℱ.NeBot] [FiniteDimensional ℂ R] in |
| 46 | lemma arcing {W : S → (V→L[ℂ] R)} {Y : S→ V} {X z} (hw : Tendsto W ℱ (𝓝 X)) (hy : Tendsto Y ℱ (𝓝 z)) : |
| 47 | Tendsto (fun i => W i (Y i)) ℱ (𝓝 (X z)) := (show Continuous fun i : (V →L[ℂ] R) × V => i.1 i.2 from continuous_fst.clm_apply continuous_snd).continuousAt.tendsto.comp |
| 48 | (hw.prodMk_nhds hy) |
| 49 | |
| 50 | /-- Actual projection onto complement of equation-coordinate subspace. |
| 51 | Euclidean finite coordinates use quotient-specific norm for error. |
| 52 | Convergence of projectors is required from Reg . -/ |
| 53 | structure Branch (V : Type*) [NormedAddCommGroup V] [NormedSpace ℂ V] (S : Type*) where |
| 54 | step : S → (V→L[ℂ] V) |
| 55 | trueP : V→L[ℂ] V |
| 56 | projection u v : step u (step u v)= step u v |
| 57 | final x : trueP (trueP x)=trueP x |
| 58 | |
| 59 | def approaches (ℱ : Filter S) (p : Branch V S) := Tendsto p.step ℱ (𝓝 p.trueP) |
| 60 | |
| 61 | def verified (p : Branch V S) (G : P → V →L[ℂ] ℂ) := LinearMap.ker p.trueP.toLinearMap= |
| 62 | ⨅ i : P,LinearMap.ker (G i).toLinearMap |
| 63 | |
| 64 | /-- Here Track `ε/(1+norm u)`. Equations tested for every spectator independently. -/ |
| 65 | structure Added (Q : P → ℂ) (x : S → V) (p : Branch V S) (ℱ : Filter S) (F : P → S → V→L[ℂ] ℂ) : Prop where |
| 66 | meets : ∀ i, Tendsto (fun u => F i u (x u)) ℱ (𝓝 (Q i)) |
| 67 | costly : ∀ i,Tendsto (fun u => F i u (x u-p.step u (x u)) / (1+ (↑‖p.step u (x u)‖:ℂ))) ℱ (𝓝 0) |
| 68 | |
| 69 | theorem brace {p : Branch V S} (he : approaches ℱ p) (hC : verified p G) (hp : ∀ i,Tendsto (F i) ℱ (𝓝 (G i))) |
| 70 | {Q : P → ℂ} (x : S → V) (h : Added Q x p ℱ F) : |
| 71 | ∃ a : V, p.trueP a=a ∧ ∀ i, G i a=Q i := by |
| 72 | classical |
| 73 | let T (u) := p.step u (x u) |
| 74 | let b u := (1+‖T u‖)⁻¹ |
| 75 | let z u := (↑(b u):ℂ) • T u |
| 76 | have hc u : ‖z u‖=(b u)*‖T u‖ := by |
| 77 | unfold z b; rw [norm_smul, Complex.norm_real, Real.norm_of_nonneg (by positivity)] |
| 78 | have heq u : ‖z u‖+b u=1 := by |
| 79 | rw [hc]; unfold b; field_simp; ring |
| 80 | have hv u : 0≤b u := by unfold b; positivity |
| 81 | let α (u : S) := (b u,z u) |
| 82 | have ht : ∀ᶠ u in ℱ, α u∈ (Icc 0 1 ×ˢ Metric.closedBall 0 1) := by |
| 83 | apply Eventually.of_forall; intro u |
| 84 | refine ⟨⟨hv _,by change b u ≤ _; linarith [heq u,norm_nonneg (z u)]⟩,?_⟩ |
| 85 | change dist (z u) 0 ≤ 1; rw [dist_zero_right]; linarith [heq u,hv u] |
| 86 | obtain ⟨⟨c,v⟩,hs,H⟩ := (isCompact_Icc.prod (isCompact_closedBall ..)).exists_mapClusterPt_of_frequently ht.frequently |
| 87 | obtain ⟨ℬ,hu,hB⟩ := mapClusterPt_iff_ultrafilter.mp H |
| 88 | let Ψ : Filter S := ℬ |
| 89 | have ha : Tendsto z Ψ (𝓝 v) := continuous_snd.continuousAt.tendsto.comp hB |
| 90 | have hh : Tendsto b Ψ (𝓝 c) := continuous_fst.continuousAt.tendsto.comp hB |
| 91 | have hL : Tendsto (fun u => (↑(b u):ℂ)) Ψ (𝓝 (c:ℂ)) := continuous_ofReal.continuousAt.tendsto.comp hh |
| 92 | have hm (i) : G i v= (c:ℂ)*Q i := by |
| 93 | have hb := (h.costly i).mono_left hu |
| 94 | have hx : Tendsto (fun u => ((↑(b u):ℂ)*F i u (x u))- (F i u (x u-T u)/(1+(↑‖T u‖:ℂ)))) Ψ (𝓝 (c*Q i)) := by |
| 95 | simpa only [sub_zero] using! (hL.mul ((h.meets i).mono_left hu)).sub hb |
| 96 | refine tendsto_nhds_unique_of_eventuallyEq (arcing ((hp i).mono_left hu) ha) hx ?_ |
| 97 | apply Eventually.of_forall; intro j |
| 98 | change F i j (z j)=_ |
| 99 | simp only [z,b,map_smul,smul_eq_mul, ofReal_inv,ofReal_add,ofReal_one,map_sub]; rw [div_eq_mul_inv]; ring |
| 100 | have ht : p.trueP v=v := tendsto_nhds_unique_of_eventuallyEq (f:=fun i : S => p.step i (z i)) |
| 101 | (arcing (he.mono_left hu) ha) ha (Eventually.of_forall (fun i => by |
| 102 | change p.step i (z i)=z i; rw [show z i= _ • T i from rfl,map_smul,p.projection])) |
| 103 | have hj : c≠0 := by |
| 104 | intro hq |
| 105 | have hx : v∈LinearMap.ker p.trueP.toLinearMap := hC.symm ▸ (Submodule.mem_iInf _).2 fun i => LinearMap.mem_ker.mpr |
| 106 | (show G i v=0 by rw [hm i,hq]; simp) |
| 107 | have hpv : v=0 := ht.symm.trans hx |
| 108 | have hr := tendsto_nhds_unique_of_eventuallyEq (ha.norm.add hh) tendsto_const_nhds (Eventually.of_forall heq) |
| 109 | rw [hpv,hq] at hr |
| 110 | simp at hr |
| 111 | exact ⟨(c:ℂ)⁻¹ • v, by rw [map_smul,ht], fun i => by rw [map_smul,hm, smul_eq_mul, inv_mul_cancel_left₀ (by exact_mod_cast hj)]⟩ |
| 112 | end YM.Dash |