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.Push.FREE_RESOLVENT.Views |
| 2 | |
| 3 | /-! |
| 4 | # Mixed jets before the affine precision |
| 5 | |
| 6 | In real product chart, differentiate the fine axis ONCE for the kernel |
| 7 | coefficient, and then in the background through k. Need only vertical |
| 8 | entry bounds on actual arrays, not an analyticity radius with pre-L costs |
| 9 | on a full H.Score. Use this also comparing/pricing V-germs at *fixed* |
| 10 | center. Works including dimension zero input field spaces. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.FreeResolvent.Affine |
| 15 | open Lattice Wilson RG Matrix Laurent Bloch Exterior Precision Tree Bid Work.F03 TestD Filter Function Set |
| 16 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators InnerProductSpace |
| 17 | variable {G : Gauge} {f c n : Side} {S : StepData c f} |
| 18 | variable {τ ι κ E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 19 | |
| 20 | section partials |
| 21 | variable [Fintype κ] [DecidableEq κ] [Fintype ι] {A : E × (κ → ℝ) → ι → ℝ} {k : ℕ} |
| 22 | |
| 23 | abbrev matrix (A : E × (κ → ℝ) → ι → ℝ) := fun x : E => LinearMap.toMatrix' |
| 24 | (fderiv ℝ (fun y => A (x,y)) 0).toLinearMap |
| 25 | |
| 26 | /-- Entry as total gradient on the zero slice near origin: easier to align & bound. -/ |
| 27 | lemma pairwise (hk : ContDiffAt ℝ ω A 0) (i j) : |
| 28 | (fun x => matrix A x i j) =ᶠ[𝓝 0] fun x => fderiv ℝ (fun z => A z i) (x,0) (0,Pi.single j 1) := by |
| 29 | have he : Tendsto (fun x : E => (x,(0:κ→ℝ))) (𝓝 0) (𝓝 0) := (continuous_id.prodMk (continuous_const (y:=(0:κ→ℝ)))).continuousAt.tendsto |
| 30 | filter_upwards [he.eventually (hk.eventually (by simp))] with x h |
| 31 | have hp := (h.differentiableAt (by simp)).hasFDerivAt |
| 32 | let F : (κ → ℝ) → E × (κ → ℝ) := fun y => (x,y) |
| 33 | let L := ContinuousLinearMap.inr ℝ E (κ → ℝ) |
| 34 | have hF : HasFDerivAt F L 0 := (hasFDerivAt_const x (0:κ→ℝ)).prodMk (hasFDerivAt_id _) |
| 35 | let M : (ι→ℝ) →L[ℝ] ℝ := ContinuousLinearMap.proj i |
| 36 | calc |
| 37 | _ = (matrix A x *ᵥ Pi.single j 1) i := by simp |
| 38 | _ = M (fderiv ℝ (A ∘ F) 0 (Pi.single j 1)) := by rw [matrix,LinearMap.toMatrix'_mulVec]; rfl |
| 39 | _ = _ := by rw [(hp.comp (f:=F) 0 hF).fderiv, show fderiv ℝ (fun z => A z i) (x,0) = _ from |
| 40 | (M.hasFDerivAt.comp (x,0) hp).fderiv]; rfl |
| 41 | |
| 42 | lemma grad_smooth (h : ContDiffAt ℝ ω A 0) (K : ℕ) : ContDiffAt ℝ K (matrix A) 0 := by |
| 43 | refine TestD.rectangle_smooth (fun i j => ?_) |
| 44 | let f := fun z => A z i |
| 45 | have h1 : ContDiffAt ℝ ω f 0 := contDiffAt_pi.mp h i |
| 46 | have h2 : ContDiffAt ℝ K (fderiv ℝ f) 0 := h1.fderiv_right (by simp) |
| 47 | exact ((h2.comp (f:=fun x => (x,0)) (0:E) (contDiffAt_id.prodMk contDiffAt_const)).clm_apply |
| 48 | (g:=fun x => ((0:E), (Pi.single j 1:κ→ℝ))) contDiffAt_const).congr_of_eventuallyEq (pairwise h i j) |
| 49 | |
| 50 | lemma stream (h : ContDiffAt ℝ ω A 0) (i j) (l : List τ) (v : τ → E) : |
| 51 | jet v (matrix A) l 0 i j = iteratedFDeriv ℝ (l.length+1) (fun z => A z i) 0 |
| 52 | (Fin.snoc (α:=fun _ => E × (κ → ℝ)) (fun m => (v (l.get m),0)) (0,Pi.single j 1)) := by |
| 53 | let f := fun z => A z i |
| 54 | let L : E →L[ℝ] E × (κ → ℝ) := ContinuousLinearMap.inl .. |
| 55 | let x : E × (κ → ℝ) := (0,Pi.single j 1) |
| 56 | have h1 : ContDiffAt ℝ ω f 0 := contDiffAt_pi.mp h i |
| 57 | have h2 : ContDiffAt ℝ l.length (fderiv ℝ f) 0 := h1.fderiv_right (by simp) |
| 58 | have hg : ContDiffAt ℝ l.length ((fderiv ℝ f) ∘ L) 0 := h2.comp (0:E) (f:=L) L.contDiff.contDiffAt |
| 59 | rw [← TestD.entry v l (grad_smooth h _) i j,identical v (pairwise h i j), iteratedFDeriv_succ_apply_right, Fin.init_snoc, Fin.snoc_last] |
| 60 | erw [show jet v _ l 0 = (jet v ((fderiv ℝ f) ∘ L) l 0) x from jet_linear (A:=(fderiv ℝ f) ∘ L) v l (ContinuousLinearMap.apply ℝ ℝ x) hg] |
| 61 | unfold jet |
| 62 | rw [Next.Foundations.jets_linear L h2]; rfl |
| 63 | end partials |
| 64 | |
| 65 | section use |
| 66 | -- periodic finite-component locality & derivative tests |
| 67 | variable {F : pair G c f → ι → ℝ} {i : ι} {X : ℝ} [Fintype ι] |
| 68 | |
| 69 | /-- Cap from full pair derivative (no norm equity on codomain needed). -/ |
| 70 | lemma polar_focus (h : ContDiffAt ℝ ω F 0) (j : raw G f) (l : List (raw G c)) |
| 71 | (hx : 0 ≤ X) (he : ‖iteratedFDeriv ℝ (l.length+1) (fun z => F z i) 0‖ ≤ X) : |
| 72 | ‖jet (ray G c) (matrix F) l 0 i j‖ ≤ X := by |
| 73 | rw [stream h i j l]; apply (ContinuousMultilinearMap.le_of_opNorm_le he _).trans |
| 74 | refine mul_le_of_le_one_right hx ?_; refine (Finset.prod_le_prod (fun a _ => norm_nonneg _) (g:=fun _ => 1) fun a _ => ?_).trans_eq (by simp) |
| 75 | induction a using Fin.lastCases <;> simp only [Fin.snoc_last, Fin.snoc_castSucc, |
| 76 | Prod.norm_def,norm_zero,max_le_iff] |
| 77 | · exact ⟨zero_le_one,ray_nn j⟩ |
| 78 | exact ⟨ray_nn _,zero_le_one⟩ |
| 79 | |
| 80 | /-- mask in a test, not the physical cut. -/ |
| 81 | def stopAt (S : StepData c f) (o : Site c) (R : ℕ) : pair G c f →L[ℝ] pair G c f := |
| 82 | (coarse G o R).prodMap (chop fun i : raw G f => separation o (home S i) ≤ R) |
| 83 | |
| 84 | lemma sees_here (S : StepData c f) (o : Site c) (R : ℕ) (p : pair G c f) : |
| 85 | View.Reads p (stopAt S o R p) S.sizes S.sizes S.kernel o o R := by |
| 86 | constructor |
| 87 | · intro z h i |
| 88 | change _=if separation o (View.addr o z) ≤ R then _ else _ |
| 89 | rw [if_pos ((View.separation_view o z).trans h)]; rfl |
| 90 | intro z h i |
| 91 | have he := View.home_addr S o z i |
| 92 | change _=if separation o (home S (View.fineAt S o z i)) ≤ R then _ else _ |
| 93 | rw [he,if_pos ((View.separation_view o z).trans h)]; rfl |
| 94 | |
| 95 | lemma chops {ι : Type*} [Fintype ι] [DecidableEq ι] {p : ι → Prop} [DecidablePred p] (i : ι) (h : ¬ p i) : |
| 96 | chop p (Pi.single i (1:ℝ))=0 := by |
| 97 | ext j |
| 98 | change (if p j then ((Pi.single i (1:ℝ):ι→ℝ) j) else 0) = _ |
| 99 | by_cases j=i <;> simp_all |
| 100 | |
| 101 | /-- Radius of possible numerical dependence for the polar gradient entry. -/ |
| 102 | lemma coal (S : StepData c f) (o : Site c) (R : ℕ) (j : raw G f) (l : List (raw G c)) |
| 103 | (h : ContDiffAt ℝ ω F 0) |
| 104 | (hv : (fun x => F (stopAt S o R x) i) =ᶠ[𝓝 0] fun x => F x i) |
| 105 | (he : jet (ray G c) (matrix F) l 0 i j ≠ 0) : |
| 106 | separation o (home S j) ≤ R ∧ ∀ x∈l, separation o (hearth x) ≤ R := by |
| 107 | rw [stream h] at he |
| 108 | let L := stopAt (G:=G) S o R |
| 109 | let v := fun x => F x i |
| 110 | have hh : (iteratedFDeriv ℝ (l.length+1) v 0)=(iteratedFDeriv ℝ (l.length+1) v 0).compContinuousLinearMap |
| 111 | fun _ => L := by |
| 112 | rw [← Next.Foundations.jets_linear L ((contDiffAt_pi.mp h i).of_le le_top)] |
| 113 | exact ((show v ∘ L =ᶠ[𝓝 0] v from hv).iteratedFDeriv ..).eq_of_nhds.symm |
| 114 | let w : Fin (l.length + 1) → pair G c f := Fin.snoc (α:=fun _ => pair G c f) |
| 115 | (fun m : Fin l.length => (ray G c (l.get m),0)) (0,Pi.single j 1) |
| 116 | have hb (i : Fin (l.length+1)) : L (w i) ≠ 0 := by |
| 117 | intro h |
| 118 | apply he; change (iteratedFDeriv ℝ (l.length+1) v 0) w=0 |
| 119 | rw [hh,ContinuousMultilinearMap.compContinuousLinearMap_apply] |
| 120 | exact ContinuousMultilinearMap.map_coord_zero _ i h |
| 121 | constructor |
| 122 | · by_contra H; apply hb (Fin.last l.length) |
| 123 | rw [show w _=(0,Pi.single j 1) from Fin.snoc_last ..] |
| 124 | exact Prod.ext (map_zero (coarse G o R)) (chops (p:=fun i => separation o (home S i) ≤ R) j H) |
| 125 | intro x hx; obtain ⟨t,ht⟩ := List.mem_iff_get.mp hx |
| 126 | by_contra H; apply hb t.castSucc |
| 127 | unfold w; rw [Fin.snoc_castSucc,ht] |
| 128 | exact Prod.ext (chops (p:=fun i => separation o (hearth i) ≤ R) x H) (map_zero (chop (α:=raw G f) (fun i => separation o (home S i) ≤ R))) |
| 129 | end use |
| 130 | end YM.FreeResolvent.Affine |