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.MultipleContact.Direct |
| 2 | import Mathlib.Analysis.Distribution.TestFunction |
| 3 | |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.MultipleContact |
| 7 | open Filter MeasureTheory Set TopologicalSpace Metric |
| 8 | open scoped Topology ContDiff Distributions BigOperators Classical |
| 9 | variable {E F : Type*} |
| 10 | [NormedAddCommGroup E] [InnerProductSpace ℝ E] |
| 11 | [NormedAddCommGroup F][NormedSpace ℂ F][NormedSpace ℝ F][IsScalarTower ℝ ℂ F] |
| 12 | |
| 13 | private def budget (K:Compacts E)(j:ℕ)(f:𝓓_{K}(E,ℂ)):ℝ:= ∑ i ∈ Finset.range (j+1),ContDiffMapSupportedIn.seminorm ℝ E ℂ ⊤ K i f |
| 14 | omit [NormedSpace ℂ F][NormedSpace ℝ F][IsScalarTower ℝ ℂ F] in |
| 15 | private lemma budget_pts (K:Compacts E)(j:ℕ)(f:𝓓_{K}(E,ℂ)): JetBounds j f (budget K j f):=by |
| 16 | have he (i:ℕ):0≤ ContDiffMapSupportedIn.seminorm ℝ E ℂ ⊤ K i f := apply_nonneg _ _ |
| 17 | have hw (i:ℕ)(hi:i≤j): ContDiffMapSupportedIn.seminorm ℝ E ℂ ⊤ K i f ≤ budget K j f:= Finset.single_le_sum (fun i _=>he i) (Finset.mem_range.2 (by omega)) |
| 18 | exact ⟨(he 0|>.trans (hw 0 (by omega))),fun y i hi=> ContDiffMapSupportedIn.norm_iteratedFDeriv_apply_le_seminorm_top ℝ |>.trans (hw i hi)⟩ |
| 19 | |
| 20 | lemma has_bound {U:Opens E} (f:𝓓(U,ℂ))(j:ℕ):∃ A:ℝ,JetBounds j f A:=by |
| 21 | let K:Compacts E := ⟨tsupport f,f.hasCompactSupport⟩; let g:𝓓_{K}(E,ℂ) := .of_support_subset f.contDiff subset_closure |
| 22 | exact ⟨_,budget_pts K j g⟩ |
| 23 | |
| 24 | lemma cont_mk {j:ℕ} {U:Opens E} {f:𝓓(U,ℂ) →ₗ[ℂ] F} (h:∀ (K:Compacts E)(hk:(K:Set E)⊆U), ∃ C:ℝ,∀ (g:𝓓_{K}(E,ℂ)),∀ (A:ℝ),JetBounds j g A→ ‖f (TestFunction.ofSupportedIn hk g)‖≤ C*A): Continuous f :=by |
| 25 | apply (TestFunction.continuous_iff_continuous_comp f).mpr |
| 26 | intro K hk; obtain ⟨C,hC⟩:=h K hk |
| 27 | let D:𝓓_{K}(E,ℂ)→ₗ[ℂ] F := f.comp (TestFunction.ofSupportedInCLM ℂ hk).toLinearMap |
| 28 | refine continuous_of_continuousAt_zero D ?_ |
| 29 | change Tendsto (fun g:𝓓_{K}(E,ℂ)=>D g) (𝓝 0) (𝓝 (D 0)); rw [map_zero] |
| 30 | apply tendsto_iff_dist_tendsto_zero.mpr |
| 31 | have he (g:𝓓_{K}(E,ℂ)):‖D g‖≤ C * budget K j g := hC g _ (budget_pts K j g) |
| 32 | apply squeeze_zero (fun _=> dist_nonneg) (fun g=>le_trans (by rw [dist_zero_right]) (he g)) |
| 33 | have hv:Continuous (budget K j) := continuous_finsetSum _ fun i _=> (ContDiffMapSupportedIn.withSeminorms ℝ E ℂ ⊤ K).continuous_seminorm i |
| 34 | change Tendsto (C * budget K j ·) _ _; have ht:= hv.continuousAt (x:=0)|>.const_mul C |
| 35 | rw [show (0:ℝ)= (fun x=>C*budget K j x) 0 from (by simp [budget])]; exact ht |
| 36 | |
| 37 | omit [NormedSpace ℂ F][NormedSpace ℝ F][IsScalarTower ℝ ℂ F] in |
| 38 | theorem diff_add {f g:E→ℂ} (hf:ContDiff ℝ ∞ f)(hg:ContDiff ℝ ∞ g) (s:ℝ)(x:E)(m:Option ℕ): diff s m (f+g) x=diff s m f x + diff s m g x:=by |
| 39 | cases m with |
| 40 | | none=>rfl |
| 41 | | some m=> |
| 42 | have hh (i:ℕ):coeff i (f+g) x=coeff i f x+coeff i g x:=by |
| 43 | unfold coeff; rw [iteratedFDeriv_add_apply ..] |
| 44 | · rw [_root_.add_apply,smul_add] |
| 45 | exacts [hf.contDiffAt.of_le (mod_cast le_top),hg.contDiffAt.of_le (mod_cast le_top)] |
| 46 | simp_rw [diff,Pi.add_apply,polyJet,hh,Finset.sum_add_distrib,smul_add]; abel |
| 47 | omit [NormedSpace ℂ F][NormedSpace ℝ F][IsScalarTower ℝ ℂ F] in |
| 48 | theorem diff_smul {f:E→ℂ} (hf:ContDiff ℝ ∞ f) (s:ℝ)(x:E)(a:ℂ)(m:Option ℕ): diff s m (a•f) x=a•diff s m f x:=by |
| 49 | cases m with |
| 50 | | none=>rfl |
| 51 | | some m=> |
| 52 | have hh (i:ℕ):coeff i (a•f) x=a•coeff i f x:=by |
| 53 | unfold coeff; rw [iteratedFDeriv_const_smul_apply] |
| 54 | · rw [_root_.smul_apply,smul_comm] |
| 55 | exact hf.contDiffAt.of_le (mod_cast le_top) |
| 56 | simp_rw [diff,Pi.smul_apply,smul_sub,smul_comm a (cutoff s x),polyJet,hh,Finset.smul_sum] |
| 57 | |
| 58 | namespace Direct |
| 59 | variable [FiniteDimensional ℝ E] [MeasureSpace E] [(volume : Measure E).IsAddHaarMeasure] [BorelSpace E] |
| 60 | variable {R p c:ℝ} {K : E→F} {m:Option ℕ} (hd:1≤Module.finrank ℝ E) (hk:Kas R p c K) |
| 61 | |
| 62 | /-- Actual Taylor-subtracted jet term as a complex-linear distribution on any open U (only the ball of integration is sampled here). -/ |
| 63 | def functional {U : Opens E} (s:ℝ)(hs:0<s)(m:Option ℕ)(hp:p+price m>-(Module.finrank ℝ E:ℝ)): |
| 64 | 𝓓(U, ℂ)→L[ℂ] F :=by |
| 65 | have he (f:𝓓(U,ℂ)): IntegrableOn (fun x=>diff s m (f:E→ℂ) x • K x) (ball 0 R):=let A:=has_bound f (price m); (localPair hd hk f.contDiff A.choose_spec hs hp).1 |
| 66 | let v : 𝓓(U,ℂ)→ₗ[ℂ] F := { |
| 67 | toFun := fun f=>term R s m K (f:E→ℂ) |
| 68 | map_add' := fun f g=>by |
| 69 | unfold term; change (∫ x:E in ball 0 R,diff s m ((f:E→ℂ)+(g:E→ℂ)) x • K x)=_ |
| 70 | simp_rw [diff_add f.contDiff g.contDiff,add_smul,integral_add (he f) (he g)] |
| 71 | map_smul' := fun a f=>by |
| 72 | unfold term; change (∫ x:E in ball 0 R,diff s m (a•(f:E→ℂ)) x • K x)=_ |
| 73 | simp_rw [diff_smul f.contDiff,smul_eq_mul,mul_smul,integral_smul,RingHom.id_apply] |
| 74 | } |
| 75 | refine ⟨v,cont_mk (j:=price m) fun _ _=> ?_⟩ |
| 76 | exact ⟨_,fun f _ hA=>(localPair hd hk f.contDiff hA hs hp).2⟩ |
| 77 | lemma functional_eq {U : Opens E} (s:ℝ)(hs:0<s)(m:Option ℕ)(hp:p+price m>-(Module.finrank ℝ E:ℝ))(f:𝓓(U,ℂ)) : functional hd hk s hs m hp f=term R s m K (f:E→ℂ):=rfl |
| 78 | end Direct |
| 79 | end YM.MultipleContact |