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.Extra.WILSON_STARTUP.Comparable |
| 2 | import YM.Work.F04.Calculus |
| 3 | import YM.Work.F05.Calculus |
| 4 | |
| 5 | /-! |
| 6 | # Stationary analytic jet transport across input changes |
| 7 | |
| 8 | Use the genuinely nondegenerate vertical form. Matching actions on pairs |
| 9 | through degree k+1 gives implicit critical graphs through degree k, and via |
| 10 | the horizontal derivative still gives on-shell VALUE jets through k+1. These |
| 11 | are all germ assertions only, at analytic/canonical inputs as in `Critical`. |
| 12 | Each solve still needs the actual branch and stationary price gap at its |
| 13 | particular lattice arguments. |
| 14 | -/ |
| 15 | noncomputable section |
| 16 | set_option autoImplicit false |
| 17 | namespace YM.WilsonStartup.Change |
| 18 | open Function Filter Precision Work |
| 19 | open scoped ContDiff Topology |
| 20 | variable {X Y : Type} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 21 | [NormedAddCommGroup Y] [NormedSpace ℝ Y] |
| 22 | {F G : X × Y → ℝ} {u v : X → Y} |
| 23 | |
| 24 | def graph (u : X → Y) (x : X) := (x,u x) |
| 25 | def arrow (F : X × Y → ℝ) (q : X × Y) := (q.1,vert F q) |
| 26 | abbrev horz (F : X × Y → ℝ) := fun q => fderiv ℝ F q ∘L ContinuousLinearMap.inl ℝ X Y |
| 27 | |
| 28 | structure Station (F : X × Y → ℝ) (u : X → Y) : Prop where |
| 29 | regular : ContDiffAt ℝ ω u 0 |
| 30 | starts : u 0=0 |
| 31 | law : vert F ∘ graph u =ᶠ[𝓝 0] 0 |
| 32 | |
| 33 | lemma Station.at0 (h : Station F u) : graph u 0 = 0 := Prod.ext rfl h.starts |
| 34 | lemma Station.home (h : Station F u) : Tendsto (graph u) (𝓝 0) (𝓝 0) := |
| 35 | tendsto_id.prodMk_nhds (h.starts ▸ h.regular.continuousAt.tendsto) |
| 36 | lemma Station.chart (h : Station F u) : ContDiffAt ℝ ω (graph u) 0 := contDiffAt_id.prodMk h.regular |
| 37 | |
| 38 | lemma Station.horizontal (h : Station F u) (hf : ContDiffAt ℝ ω F 0) : |
| 39 | fderiv ℝ (F ∘ graph u) =ᶠ[𝓝 0] horz F ∘ graph u := by |
| 40 | filter_upwards [h.law,h.regular.eventually (by simp),h.home.eventually (hf.eventually (by simp))] with x hl hx hf |
| 41 | have hxy : fderiv ℝ F (x,u x) ∘L ContinuousLinearMap.inr ℝ X Y = 0 := |
| 42 | (F04.hasFDerivAt_slice F x (u x) (hf.differentiableAt (by simp))).fderiv.symm.trans hl |
| 43 | rw [((hf.differentiableAt (by simp)).hasFDerivAt.comp x (show HasFDerivAt (graph u) _ x from |
| 44 | (hasFDerivAt_id x).prodMk (hx.differentiableAt (by simp)).hasFDerivAt)).fderiv] |
| 45 | ext1 w |
| 46 | change fderiv ℝ F (x,u x) (w,fderiv ℝ u x w) = fderiv ℝ F (x,u x) (w,(0:Y)) |
| 47 | rw [show (w,fderiv ℝ u x w)=(w,(0:Y))+(0,fderiv ℝ u x w) from by simp, map_add] |
| 48 | exact add_eq_left.mpr (DFunLike.congr_fun hxy (fderiv ℝ u x w)) |
| 49 | |
| 50 | structure Definite (F : X × Y → ℝ) : Prop where |
| 51 | smooth : ContDiffAt ℝ ω F 0 |
| 52 | pos : ∀ y : Y, F05.bend (fun y : Y => F (0,y)) 0 y y = 0 → y=0 |
| 53 | |
| 54 | lemma Definite.rate (h : Definite F) (y : Y) : fderiv ℝ (vert F) 0 (0,y) y = F05.bend (fun y => F ((0:X),y)) 0 y y := by |
| 55 | let P := ContinuousLinearMap.inr ℝ X Y |
| 56 | have hA := ((matches_self 1 h.smooth).diff_vert.left.differentiableAt (by simp)).hasFDerivAt |
| 57 | have he : HasFDerivAt (vert F) (fderiv ℝ (vert F) 0) (P 0) := by rw [map_zero]; exact hA |
| 58 | have hf : HasFDerivAt (fderiv ℝ fun y : Y => F ((0:X),y)) (_ ∘L P) 0 := he.comp (0:Y) P.hasFDerivAt |
| 59 | simp only [F05.bend, ContinuousLinearMap.toLinearMap₁₂_apply,hf.fderiv]; rfl |
| 60 | |
| 61 | lemma Definite.forms [FiniteDimensional ℝ Y] (h : Definite F) : |
| 62 | (fderiv ℝ (vert F) 0 ∘L ContinuousLinearMap.inr ℝ X Y).IsInvertible := F04.form_invertible _ <| |
| 63 | (injective_iff_map_eq_zero _).mpr fun x hx => h.pos x ((h.rate x).symm.trans (DFunLike.congr_fun hx x)) |
| 64 | |
| 65 | lemma Definite.equiv [FiniteDimensional ℝ X] [FiniteDimensional ℝ Y] (h : Definite F) : |
| 66 | ∃ U : (X × Y) ≃L[ℝ] X × (Y →L[ℝ] ℝ), HasFDerivAt (arrow F) (U : _ →L[ℝ] _) 0 := by |
| 67 | let T := (ContinuousLinearMap.fst ℝ X Y).prod (fderiv ℝ (vert F) 0) |
| 68 | have he : HasFDerivAt (arrow F) T 0 := hasFDerivAt_fst.prodMk |
| 69 | ((matches_self 1 h.smooth).diff_vert.left.differentiableAt (by simp)).hasFDerivAt |
| 70 | have hi : Injective T := (injective_iff_map_eq_zero _).mpr (fun ⟨x,y⟩ ht => by |
| 71 | have he : x = 0 := congr_arg Prod.fst ht |
| 72 | subst x |
| 73 | rw [h.pos y ((h.rate y).symm.trans (DFunLike.congr_fun (congr_arg Prod.snd ht) y))]; rfl) |
| 74 | have hn : Module.finrank ℝ (X × Y) = Module.finrank ℝ (X × (Y →L[ℝ] ℝ)) := by |
| 75 | have he := (LinearMap.toContinuousLinearMap : (Y →ₗ[ℝ] ℝ) ≃ₗ[ℝ] (Y →L[ℝ] ℝ)).finrank_eq |
| 76 | rw [Module.finrank_prod, Module.finrank_prod, ← he, Module.finrank_linearMap_self] |
| 77 | let U := (LinearEquiv.ofBijective T.toLinearMap ⟨hi,(LinearMap.injective_iff_surjective_of_finrank_eq_finrank hn).mp hi⟩).toContinuousLinearEquiv |
| 78 | exact ⟨U,he⟩ |
| 79 | |
| 80 | theorem compare [FiniteDimensional ℝ X] [FiniteDimensional ℝ Y] {k : ℕ} |
| 81 | (H : Matches (k+1) F G 0) (hF : Station F u) (hG : Station G v) (hQ : Definite F) : Matches k (graph u) (graph v) 0 ∧ |
| 82 | Matches (k+1) (F ∘ graph u) (G ∘ graph v) 0 := by |
| 83 | haveI : CompleteSpace (X × Y) := FiniteDimensional.complete ℝ _ |
| 84 | let W := arrow F |
| 85 | obtain ⟨U,hw⟩ := hQ.equiv |
| 86 | have hj : Matches k W (arrow G) 0 := (matches_self k contDiffAt_fst).prod H.diff_vert |
| 87 | let O := hj.left.toOpenPartialHomeomorph W hw (by simp) |
| 88 | have hO : (0:X × Y) ∈ O.source := ContDiffAt.mem_toOpenPartialHomeomorph_source .. |
| 89 | have hV : W ∘ graph u =ᶠ[𝓝 0] arrow G ∘ graph v := hF.law.trans hG.law.symm |>.mono fun _ hx => Prod.ext rfl hx |
| 90 | have h : Matches k (W ∘ graph v) (arrow G ∘ graph v) 0 := |
| 91 | (show Matches k W (arrow G) (graph v 0) by rw [hG.at0]; exact hj).comp_refl hG.chart |
| 92 | have hs : Matches k (W ∘ graph u) (W ∘ graph v) 0 := h.symm.unchanged hV.symm EventuallyEq.rfl |
| 93 | have hb : ContDiffAt ℝ ω O.symm ((W ∘ graph u) 0) := by rw [comp_apply,hF.at0]; exact hj.left.to_localInverse hw (by simp) |
| 94 | have hi {e : X → Y} (h : Tendsto (graph e) (𝓝 0) (𝓝 0)) : O.symm ∘ (W ∘ graph e) =ᶠ[𝓝 0] graph e := |
| 95 | (h.eventually <| O.open_source.mem_nhds hO).mono fun _ hq => O.left_inv hq |
| 96 | have hg := (hs.refl_comp hb).unchanged (hi hF.home) (hi hG.home) |
| 97 | refine ⟨hg, ?_⟩ |
| 98 | have hh : Matches k (horz F ∘ graph u) (horz G ∘ graph v) 0 := (show Matches k (horz F) (horz G) (graph u 0) by |
| 99 | rw [hF.at0]; exact H.pre_fderiv (ContinuousLinearMap.inl ℝ X Y)).comp hg |
| 100 | have hz := hh.unchanged (hF.horizontal H.left).symm (hG.horizontal H.right).symm |
| 101 | rw [← hF.at0] at H |
| 102 | exact hz.behind (H.left.comp _ hF.chart) ((hg.value ▸ H.right : ContDiffAt ℝ ω G (graph v 0)).comp _ hG.chart) |
| 103 | (H.value.trans (congr_arg G hg.value)) |
| 104 | end YM.WilsonStartup.Change |