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.TraceExtension.Terrace.Prism |
| 2 | set_option autoImplicit false |
| 3 | noncomputable section |
| 4 | namespace YM.Trace.Terrace |
| 5 | open Function Filter Set MeasureTheory Extraction |
| 6 | open scoped BigOperators Topology Classical Matrix.Norms.Frobenius ContDiff |
| 7 | section continuity |
| 8 | -- fit_plane in real.Top |
| 9 | variable {E H:Type*}[NormedAddCommGroup E][NormedSpace ℝ E][FiniteDimensional ℝ E][NormedAddCommGroup H][NormedSpace ℝ H][FiniteDimensional ℝ H] |
| 10 | lemma fitV {S:Type*}{F:Filter S} (A:S→E→L[ℝ] H)(g:E→L[ℝ] H) (h:∀ x:E,Tendsto (fun i=>A i x) F (𝓝 (g x))): Tendsto A F (𝓝 g):=by |
| 11 | let b := Module.finBasis ℝ E; let I:=Fin (Module.finrank ℝ E); let L : (I → H) →ₗ[ℝ] E→L[ℝ] H := LinearMap.toContinuousLinearMap.toLinearMap.comp (b.constr ℝ).toLinearMap |
| 12 | have he (g : E→L[ℝ] H) : L (fun i => g (b i))=g:=by apply ContinuousLinearMap.coe_injective; exact b.ext fun i=> b.constr_basis .. |
| 13 | have hh:= L.continuous_of_finiteDimensional.continuousAt.tendsto.comp (tendsto_pi_nhds.mpr (show ∀ i,Tendsto (fun t=> (fun j:I=> A t (b j)) i) F (𝓝 ((fun j:I=>g (b j)) i)) from fun i=>h _)) |
| 14 | refine Tendsto.congr' (f₂:=A) ?_ (he g ▸ hh); exact Eventually.of_forall fun i=> he (A i) |
| 15 | -- triangular repair on near-kernel |
| 16 | variable (f:E→L[ℝ] H)(v:ℕ→ E→L[ℝ] H)(U:H→L[ℝ] E)(u:ℕ→ H→L[ℝ] E)(x:E)(w:ℕ→E) |
| 17 | variable (he:Tendsto u atTop (𝓝 U))(hr: f.comp U=ContinuousLinearMap.id ℝ H)(hR:∀ᶠ i in atTop,(v i).comp (u i)=ContinuousLinearMap.id ℝ H) |
| 18 | variable (hp:Tendsto w atTop (𝓝 x)) (hx:Tendsto (fun i=> v i (w i)) atTop (𝓝 0))(h:x≠0) |
| 19 | -- continuous kernel detector for decomposition. classical polarization instead of projection onto kernel. |
| 20 | lemma plumage (h:x≠0)(hh:∀ y:E,f y=0↔ ∃ a:ℝ,y=a • x) (hr: f.comp U=ContinuousLinearMap.id ℝ H) : ∃ A:E→L[ℝ] ℝ,∀ y, y=U (f y)+ A y • x:=by |
| 21 | let P:ℝ→L[ℝ] E:= (ContinuousLinearMap.id ℝ ℝ).smulRight x |
| 22 | have he:Injective P:= (smul_left_injective ℝ h) |
| 23 | obtain ⟨A,hA⟩:=(P.toLinearMap.exists_leftInverse_of_injective (LinearMap.ker_eq_bot.mpr he)); |
| 24 | refine ⟨A.toContinuousLinearMap.comp (ContinuousLinearMap.id ℝ E-U.comp f),fun y=>?_⟩ |
| 25 | have hz : f (y-U (f y))=0:=by rw [map_sub,show f (U (f y))= f y from DFunLike.congr_fun hr (f y),sub_self] |
| 26 | obtain ⟨a,ha⟩:= (hh _).1 hz |
| 27 | have hp: A (y-U (f y))=a:=by rw [ha]; exact LinearMap.congr_fun hA a |
| 28 | change y=U (f y)+ A (y-U (f y)) • x; rw [hp,← ha]; abel |
| 29 | lemma beak {S:Type*}{F:Filter S}(A:S→ E→L[ℝ] H) (v:S→E)(g:E→L[ℝ] H)(p:E)(he:Tendsto A F (𝓝 g))(hp:Tendsto v F (𝓝 p)): Tendsto (fun i=>A i (v i)) F (𝓝 (g p)):= (show Continuous (fun x:(E→L[ℝ] H) × E=> x.1 x.2) from continuous_fst.clm_apply continuous_snd).continuousAt.tendsto.comp (he.prodMk_nhds hp) |
| 30 | include hR hr he hp hx h |
| 31 | lemma scout (hh:∀ y:E,f y=0↔ ∃ a:ℝ,y=a • x) : Tendsto v atTop (𝓝 f):=by |
| 32 | obtain ⟨A,hA⟩:= plumage f U x h hh hr |
| 33 | let V(i):= (u i).comp f + A.smulRight (w i) |
| 34 | have he₁ : Tendsto V atTop (𝓝 (1:E→L[ℝ] E)):=by |
| 35 | refine fitV _ _ (fun y=>?_) |
| 36 | exact (by change Tendsto (fun i=>(u i) (f y)+A y • (w i)) atTop (𝓝 y); nth_rw 3 [hA y]; exact (beak u (fun _=>f y) U (f y) he tendsto_const_nhds).add (hp.const_smul _)) |
| 37 | refine revise V v f he₁ ?_ |
| 38 | apply fitV; intro y; have hz:= hx.const_smul (A y); have hu: Tendsto (fun i=> f y+ A y • v i (w i)) atTop (𝓝 (f y)):=by simpa only[smul_zero,add_zero] using hz.const_add (f y) |
| 39 | refine hu.congr' (hR.mono fun i hi=>?_) |
| 40 | change _=v i (u i (f y)+ A y • w i); rw [map_add,map_smul,show v i (u i (f y))= _ from DFunLike.congr_fun hi (f y)]; rfl |
| 41 | omit hx -- within boom requires eps pays. |
| 42 | -- size of contraction corruptor in sectors with a *marker* money `e → ∞` and required leak. |
| 43 | omit he hR hp hr h |
| 44 | -- estimates abstract from complete chart |
| 45 | lemma permute (L: E→L[ℝ] ℝ) (e : ℕ→ℝ)(he:Tendsto u atTop (𝓝 U))(hR:∀ᶠ i in atTop,(v i).comp (u i)=ContinuousLinearMap.id ℝ H) |
| 46 | (hp:Tendsto w atTop (𝓝 x))(hv:Tendsto v atTop (𝓝 f))(h:x≠ 0)(hh:∀ y:E,f y=0↔ ∃ a:ℝ,y=a • x)(hr:f.comp U=ContinuousLinearMap.id ℝ H) |
| 47 | (hV: Tendsto (fun i=> e i • v i (w i)) atTop (𝓝 0))(hL:Tendsto (fun i=> e i * L (w i)) atTop (𝓝 0)): |
| 48 | Tendsto (fun i=>e i • ((L.comp (u i)).comp (v i)-L)) atTop (𝓝 0) := by |
| 49 | obtain ⟨A,hA⟩:= plumage f U x h hh hr |
| 50 | let V(j):= (u j).comp f+A.smulRight (w j); let D(j):=e j • ((L.comp (u j)).comp (v j)-L) |
| 51 | have he₁:Tendsto V atTop (𝓝 (1:E→L[ℝ] E)):=by |
| 52 | refine fitV _ _ (fun y=>?_) |
| 53 | have h₀:=beak u (fun _=>f y) U (f y) he tendsto_const_nhds; exact (show (1:E→L[ℝ] E) y=U (f y)+ A y • x by exact hA y) ▸ h₀.add (hp.const_smul (A y)) |
| 54 | have hw:Tendsto (fun i=> e i * L (u i (v i (w i)))) atTop (𝓝 0):=by |
| 55 | have hw:=L.continuous.continuousAt.tendsto.comp (beak u _ U 0 he hV) |
| 56 | simpa only[Function.comp_def,map_zero,map_smul,smul_eq_mul] using! hw |
| 57 | refine revise V D 0 he₁ (fitV _ _ fun y=>?_) |
| 58 | have hZ:Tendsto (fun i=> A y*(e i * L (u i (v i (w i)))- e i * L (w i))) atTop (𝓝 0):=by simpa only[sub_zero,mul_zero] using! (hw.sub hL).const_mul (A y) |
| 59 | refine hZ.congr' (hR.mono fun i hi=>?_) |
| 60 | change _=e i*((L (u i (v i (u i (f y)+A y • w i)))) - L (u i (f y)+A y • w i)); rw [map_add,show v i (u i (f y))=f y from DFunLike.congr_fun hi (f y)]; simp only [map_add,map_smul,smul_eq_mul]; ring |
| 61 | lemma spend (e:ℕ→ℝ)(ρ:E→L[ℝ]ℝ) (he:Tendsto u atTop (𝓝 U))(hR:∀ᶠ i in atTop,(v i).comp (u i)=ContinuousLinearMap.id ℝ H) (hp:Tendsto w atTop (𝓝 x))(hv:Tendsto v atTop (𝓝 f))(h:x≠0)(hh:∀ y:E,f y=0 ↔ ∃ a:ℝ,y=a • x)(hr:f.comp U=ContinuousLinearMap.id ℝ H) (hV:Tendsto (fun i=>e i • v i (w i)) atTop (𝓝 0))(hL:Tendsto (fun i=> e i*ρ (w i)) atTop (𝓝 0)): ∃ (μ:ℕ → H →L[ℝ] ℝ) (m:H →L[ℝ] ℝ), Tendsto μ atTop (𝓝 m) ∧ Tendsto (fun i=>e i • ((μ i).comp (v i)-ρ)) atTop (𝓝 0) :=by |
| 62 | exact ⟨fun i=>ρ.comp (u i),ρ.comp U,((show Continuous (fun x:H→L[ℝ] E=>ρ.comp x) from continuous_const.clm_comp continuous_id)).continuousAt.tendsto.comp he,permute f v U u x w _ e he hR hp hv h hh hr hV hL⟩ |
| 63 | lemma expenses (e:ℕ→ℝ)(ρ:E→L[ℝ]ℝ) (he:Tendsto u atTop (𝓝 U))(hR:∀ᶠ i in atTop,(v i).comp (u i)=ContinuousLinearMap.id ℝ H) (hp:Tendsto w atTop (𝓝 x))(hv:Tendsto v atTop (𝓝 f))(h:x≠0)(hh:∀ y:E,f y=0 ↔ ∃ a:ℝ,y=a • x)(hr:f.comp U=ContinuousLinearMap.id ℝ H) (hV:Tendsto (fun i=>e i • v i (w i)) atTop (𝓝 0))(hL:Tendsto (fun i=> e i*ρ (w i)) atTop (𝓝 0)): ∃ μ:ℕ→ H→ₗ[ℝ]ℝ, ∃ C:ℝ,0≤C∧ (∀ᶠ i in atTop,∀ y:H,‖μ i y‖ ≤ C*‖y‖) ∧ (∀ z:ℝ,0<z→∀ᶠ i in atTop,∀ y:E, ‖e i*(μ i (v i y)-ρ y)‖ ≤ z*‖y‖):=by |
| 64 | obtain ⟨μ,m,hM,hv'⟩:= spend f v U u x w e ρ he hR hp hv h hh hr hV hL |
| 65 | refine ⟨fun i=> (μ i).toLinearMap, ‖m‖+1,(by positivity),?_ , fun z hz=> ?_⟩ |
| 66 | · filter_upwards[hM.norm.eventually (ge_mem_nhds (show ‖m‖ < ‖m‖+1 by linarith))] with i hi w |
| 67 | exact ((μ i).le_opNorm w).trans (mul_le_mul_of_nonneg_right hi (norm_nonneg _)) |
| 68 | let P(i):=e i • ((μ i).comp (v i)-ρ); filter_upwards[ hv'.norm.eventually (ge_mem_nhds (by simpa using hz : ‖(0 : E→L[ℝ] ℝ)‖ < z))] with i hi t |
| 69 | exact ((P i).le_opNorm t).trans (mul_le_mul_of_nonneg_right hi (norm_nonneg _)) |
| 70 | |
| 71 | end continuity |
| 72 | end YM.Trace.Terrace |