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.Next.EXTRACTION.Tails |
| 2 | import YM.Work.B06 |
| 3 | import YM.Work.G05.Taylor |
| 4 | |
| 5 | /-! |
| 6 | # Finite jet equivalence of analytic germs in real chart coordinates |
| 7 | |
| 8 | Calculus to specialize Kin.Planned to a more convenient top presentation |
| 9 | (startup-compatible). Does not use analyticity of a masked bulk. |
| 10 | -/ |
| 11 | noncomputable section |
| 12 | set_option autoImplicit false |
| 13 | namespace YM.WilsonStartup.Change |
| 14 | open Function Filter Precision Work |
| 15 | open scoped Topology BigOperators ContDiff Classical |
| 16 | variable {X Y Z : Type} [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 17 | [NormedAddCommGroup Y] [NormedSpace ℝ Y] [NormedAddCommGroup Z] [NormedSpace ℝ Z] |
| 18 | {k m : ℕ} {x : X} |
| 19 | |
| 20 | structure Matches (k : ℕ) (F G : X → Y) (x : X) : Prop where |
| 21 | left : ContDiffAt ℝ ω F x |
| 22 | right : ContDiffAt ℝ ω G x |
| 23 | jets : ∀ i ≤ k, iteratedFDeriv ℝ i F x = iteratedFDeriv ℝ i G x |
| 24 | |
| 25 | variable {f g f₁ g₁ : X → Y} {u v : Y → Z} {s t : X → Z} |
| 26 | |
| 27 | theorem Matches.value (h : Matches k f g x) : f x = g x := by simpa [Tensor.diagonal] using congr_arg (fun A => Tensor.diagonal A (0:X)) (h.jets 0 (Nat.zero_le _)) |
| 28 | |
| 29 | theorem Matches.unchanged (h : Matches k f g x) (hf : f =ᶠ[𝓝 x] f₁) (hg : g =ᶠ[𝓝 x] g₁) : Matches k f₁ g₁ x := |
| 30 | ⟨h.left.congr_of_eventuallyEq hf.symm,h.right.congr_of_eventuallyEq hg.symm,fun i hi => |
| 31 | ((hf.iteratedFDeriv ℝ i).self_of_nhds.symm.trans (h.jets i hi)).trans ((hg.iteratedFDeriv ℝ i).self_of_nhds)⟩ |
| 32 | |
| 33 | theorem matches_self (k : ℕ) (h : ContDiffAt ℝ ω f x) : Matches k f f x := ⟨h,h,fun _ _ => rfl⟩ |
| 34 | |
| 35 | theorem Matches.comp (h : Matches k u v (f x)) (hh : Matches k f g x) : Matches k (u ∘ f) (v ∘ g) x := by |
| 36 | refine ⟨h.left.comp x hh.left,(hh.value ▸ h.right : ContDiffAt ℝ ω v (g x)).comp x hh.right, |
| 37 | G05.jets_comp (hh.left.of_le le_top) (hh.right.of_le le_top) (h.left.of_le le_top) ?_ hh.value hh.jets ?_⟩ |
| 38 | · rw [← hh.value]; exact h.right.of_le le_top |
| 39 | rw [← hh.value]; exact h.jets |
| 40 | |
| 41 | theorem Matches.refl_comp (hh : Matches k f g x) (h : ContDiffAt ℝ ω u (f x)) : Matches k (u ∘ f) (u ∘ g) x := |
| 42 | (matches_self _ h).comp hh |
| 43 | |
| 44 | theorem Matches.comp_refl (h : Matches k u v (f x)) (hh : ContDiffAt ℝ ω f x) : Matches k (u ∘ f) (v ∘ f) x := |
| 45 | h.comp (matches_self _ hh) |
| 46 | |
| 47 | theorem Matches.prod (h : Matches k f g x) (hh : Matches k s t x) : Matches k (fun x => (f x,s x)) (fun x => (g x,t x)) x := by |
| 48 | refine ⟨h.left.prodMk hh.left,h.right.prodMk hh.right,fun i hi => ?_⟩ |
| 49 | rw [iteratedFDeriv_prodMk h.left hh.left le_top,iteratedFDeriv_prodMk h.right hh.right le_top,h.jets i hi,hh.jets i hi] |
| 50 | |
| 51 | theorem Matches.together (h : Matches k f g x) (hh : Matches k s t x) {H : Y → Z → ℝ} |
| 52 | (he : ContDiffAt ℝ ω (uncurry H) (f x,s x)) : Matches k (fun x => H (f x) (s x)) (fun x => H (g x) (t x)) x := |
| 53 | (h.prod hh).refl_comp he |
| 54 | |
| 55 | theorem Matches.add (h : Matches k f g x) (hh : Matches k f₁ g₁ x) : Matches k (f+f₁) (g+g₁) x := |
| 56 | (h.prod hh).refl_comp (u:=fun p : Y × Y => p.1+p.2) (contDiffAt_fst.add contDiffAt_snd) |
| 57 | |
| 58 | theorem Matches.mul {f g f₁ g₁ : X → ℝ} (h : Matches k f g x) (hh : Matches k f₁ g₁ x) : Matches k (f*f₁) (g*g₁) x := |
| 59 | h.together hh (H:=(· * ·)) (contDiffAt_fst.mul contDiffAt_snd) |
| 60 | |
| 61 | theorem matches_sum {ι : Type} {f g : ι → X → Y} (A : Finset ι) (h : ∀ i ∈ A, Matches k (f i) (g i) x) : |
| 62 | Matches k (∑ i ∈ A,f i) (∑ i∈A,g i) x := by |
| 63 | induction A using Finset.induction_on with |
| 64 | | empty => simp only [Finset.sum_empty]; exact matches_self _ contDiffAt_const |
| 65 | | insert i A hi ih => rw [Finset.sum_insert hi,Finset.sum_insert hi]; exact (h _ (by simp)).add (ih fun _ hv => h _ (by simp [hv])) |
| 66 | |
| 67 | theorem matches_prod {ι : Type} {f g : ι → X → ℝ} (A : Finset ι) (h : ∀ i ∈ A, Matches k (f i) (g i) x) : |
| 68 | Matches k (∏ i ∈ A,f i) (∏ i∈A,g i) x := by |
| 69 | induction A using Finset.induction_on with |
| 70 | | empty => simp only [Finset.prod_empty]; exact matches_self _ contDiffAt_const |
| 71 | | insert i A hi ih => rw [Finset.prod_insert hi,Finset.prod_insert hi]; exact (h _ (by simp)).mul (ih fun _ hv => h _ (by simp [hv])) |
| 72 | |
| 73 | theorem Matches.symm (h : Matches k f g x) : Matches k g f x := ⟨h.right,h.left,fun i hi => (h.jets i hi).symm⟩ |
| 74 | |
| 75 | theorem Matches.trans {u : X → Y} (h : Matches k f g x) (hh : Matches k g u x) : Matches k f u x := |
| 76 | ⟨h.left,hh.right,fun i hi => (h.jets i hi).trans (hh.jets i hi)⟩ |
| 77 | |
| 78 | theorem Matches.lower (h : Matches k f g x) (hh : m ≤ k) : Matches m f g x := ⟨h.left,h.right,fun i hi => h.jets i (hi.trans hh)⟩ |
| 79 | |
| 80 | theorem Matches.ahead (h : Matches (k+1) f g x) : Matches k (fderiv ℝ f) (fderiv ℝ g) x := by |
| 81 | refine ⟨h.left.fderiv_right le_top,h.right.fderiv_right le_top,fun i hi => ?_⟩ |
| 82 | apply (continuousMultilinearCurryRightEquiv' ℝ i X Y).symm.injective |
| 83 | simpa [iteratedFDeriv_succ_eq_comp_right] using h.jets (i+1) (by omega) |
| 84 | |
| 85 | theorem Matches.behind (h : Matches k (fderiv ℝ f) (fderiv ℝ g) x) |
| 86 | (hf : ContDiffAt ℝ ω f x) (hg : ContDiffAt ℝ ω g x) (hh : f x = g x) : Matches (k+1) f g x := by |
| 87 | refine ⟨hf,hg,fun i hi => ?_⟩ |
| 88 | cases i with |
| 89 | | zero => ext; simpa using hh |
| 90 | | succ i => simp_rw [iteratedFDeriv_succ_eq_comp_right,Function.comp_apply]; exact congr_arg _ (h.jets i (by omega)) |
| 91 | |
| 92 | theorem Matches.pre_fderiv (h : Matches (k+1) f g x) (L : Z →L[ℝ] X) : Matches k (fun x => fderiv ℝ f x ∘L L) (fun x => fderiv ℝ g x ∘L L) x := |
| 93 | h.ahead.refl_comp (u:=fun A : X →L[ℝ] Y => A.comp L) (contDiffAt_id.clm_comp contDiffAt_const) |
| 94 | |
| 95 | def vert (F : X × Y → Z) (x : X × Y) := fderiv ℝ (fun y => F (x.1,y)) x.2 |
| 96 | |
| 97 | theorem Matches.diff_vert {F G : X × Y → Z} {x : X × Y} (h : Matches (k+1) F G x) : Matches k (vert F) (vert G) x := by |
| 98 | let L := ContinuousLinearMap.inr ℝ X Y |
| 99 | have ht (Q : X × Y → Z) (hQ : ContDiffAt ℝ ω Q x) : (fun x => fderiv ℝ Q x ∘L L) =ᶠ[𝓝 x] vert Q := by |
| 100 | filter_upwards [hQ.eventually (by simp)] with ⟨x,y⟩ hxy |
| 101 | have hd : HasFDerivAt (fun y : Y => (x,y)) L y := (hasFDerivAt_const x y).prodMk (hasFDerivAt_id y) |
| 102 | exact ((hxy.differentiableAt (by simp)).hasFDerivAt.comp y hd).fderiv.symm |
| 103 | exact (h.pre_fderiv L).unchanged (ht _ h.left) (ht _ h.right) |
| 104 | |
| 105 | theorem Matches.apply_pi {ι : Type} [Fintype ι] {f g : X → ι → Y} (h : Matches k f g x) (i : ι) : |
| 106 | Matches k (fun x => f x i) (fun x => g x i) x := h.refl_comp ((contDiff_apply ℝ Y i).contDiffAt) |
| 107 | |
| 108 | |
| 109 | |
| 110 | end YM.WilsonStartup.Change |