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.AnalyticNext.QUARTIC_MATCH.Ward |
| 2 | import YM.Next.FOUNDATIONS.LinkBounds |
| 3 | import YM.Work.F02 |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | # Separately closed first unmatched tensors |
| 8 | |
| 9 | Finite PERIOD at this point. Will need all meshes before making curvature lift. |
| 10 | No nonlinear Ward identity claimed just from closure of this projection. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.AnalyticNext.QuarticMatch |
| 15 | open Function Filter Matrix Lattice RG Exterior Tree Precision Wilson Bid Tensor |
| 16 | open scoped Topology BigOperators ContDiff Matrix.Norms.Frobenius |
| 17 | |
| 18 | section |
| 19 | variable {E X V : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup X] |
| 20 | [NormedSpace ℝ X] [NormedAddCommGroup V] [NormedSpace ℝ V] |
| 21 | |
| 22 | /-- Nonlinear substitution into a residue at its first unmatched order. -/ |
| 23 | theorem first_comp {k : ℕ} {F : E → X} (hf : ContDiffAt ℝ k F 0) |
| 24 | (hk : ∀ i < k, iteratedFDeriv ℝ i F 0 = 0) |
| 25 | {Q : V → E} (hq : ContDiffAt ℝ k Q 0) (he : Q 0=0) : |
| 26 | iteratedFDeriv ℝ k (F ∘ Q) 0 = |
| 27 | (iteratedFDeriv ℝ k F 0).compContinuousLinearMap (fun _ => fderiv ℝ Q 0) := by |
| 28 | let L := fderiv ℝ Q 0 |
| 29 | trans iteratedFDeriv ℝ k (F ∘ L) 0 |
| 30 | · have h : (↑k : WithTop ℕ∞) ≤ ↑k := le_rfl |
| 31 | have hu : ContDiffAt ℝ k F (Q 0) := he.symm ▸ hf |
| 32 | rw [iteratedFDeriv_comp hu hq h, iteratedFDeriv_comp (show ContDiffAt ℝ k F (L 0) from (map_zero L).symm ▸ hf) |
| 33 | L.contDiff.contDiffAt h, he,map_zero] |
| 34 | refine Finset.sum_congr rfl fun c _ => ?_ |
| 35 | simp only [FormalMultilinearSeries.compAlongOrderedFinpartition,ftaylorSeries] |
| 36 | rcases lt_or_eq_of_le c.length_le with hp|hp |
| 37 | · ext1 v; simp [hk _ hp] |
| 38 | have heq : Fintype.card ((i : Fin c.length) × Fin (c.partSize i))=k := by |
| 39 | rw [Fintype.card_congr c.equivSigma,Fintype.card_fin] |
| 40 | simp only [Fintype.card_sigma,Fintype.card_fin] at heq |
| 41 | have ha (i) : c.partSize i=1 := by |
| 42 | have hx := c.partSize_pos i; by_contra! H |
| 43 | have hy : ∑ _i : Fin c.length, (1 : ℕ) < ∑ i : Fin c.length, c.partSize i := |
| 44 | Finset.sum_lt_sum (fun i _ => c.partSize_pos i) ⟨i,Finset.mem_univ _,by omega⟩ |
| 45 | simp [heq,hp] at hy |
| 46 | have hd : iteratedFDeriv ℝ 1 Q 0 = iteratedFDeriv ℝ 1 L 0 := by |
| 47 | ext1 v; rw [iteratedFDeriv_one_apply,iteratedFDeriv_one_apply,L.fderiv] |
| 48 | simp_rw [show (fun i : Fin c.length => iteratedFDeriv ℝ (c.partSize i) Q 0) = |
| 49 | (fun i => iteratedFDeriv ℝ (c.partSize i) L 0) from funext fun i => (ha i).symm ▸ hd] |
| 50 | exact Next.Foundations.jets_linear L hf |
| 51 | end |
| 52 | |
| 53 | namespace Residual |
| 54 | open Joint |
| 55 | |
| 56 | variable {c f : Side} {S : StepData c f} {G : Gauge} |
| 57 | |
| 58 | /-- Finite-period first-unmatched tensor obligations, also used at Wilson top. -/ |
| 59 | structure Legal {j : ℕ} (A : T (Dir G c) ℝ j) : Prop where |
| 60 | ward (l : Fin j) (u : LieSpin G c) (v : Fin j → Dir G c) : |
| 61 | A (update v l (gradient u)) = 0 |
| 62 | color (t : G.El) (v : Fin j → Dir G c) : A (fun i => colors t (v i)) = A v |
| 63 | translated (s : Signed) (b : Site c) (v : Fin j → Dir G c) : A (fun i => shifts s b (v i)) = A v |
| 64 | polar : Tensor.Sym A |
| 65 | |
| 66 | lemma gradient_zero : gradient (0 : LieSpin G c)=0 := by funext i; simp [Joint.gradient] |
| 67 | lemma gradient_neg (b : LieSpin G c) : gradient (-b)=-gradient b := by funext i; simp [Joint.gradient]; abel |
| 68 | |
| 69 | /-- Closure from actual symmetries and FULL exact equality of all lower jets. -/ |
| 70 | theorem inaugurate {F : Dir G c → ℝ} {j : ℕ} (hf : ContDiffAt ℝ j F 0) |
| 71 | (hs : ∀ i < j, iteratedFDeriv ℝ i F 0=0) |
| 72 | (hG : F ∘ adjust =ᶠ[𝓝 0] F ∘ Prod.fst) (hC : ∀ t : G.El, F ∘ colors t =ᶠ[𝓝 0] F) |
| 73 | (hS : ∀ (s : Signed) (b : Site c), F ∘ shifts s b =ᶠ[𝓝 0] F) : Legal (Tensor.coeff F j 0) := by |
| 74 | have he (L : Dir G c →L[ℝ] Dir G c) (h : F ∘ L =ᶠ[𝓝 0] F) (v : Fin j → Dir G c) : |
| 75 | Tensor.coeff F j 0 (fun i => L (v i)) = Tensor.coeff F j 0 v := by |
| 76 | have hh := (h.iteratedFDeriv ℝ j).eq_of_nhds |
| 77 | rw [Next.Foundations.jets_linear L hf] at hh; simp only [Tensor.coeff,_root_.smul_apply] |
| 78 | exact congr_arg ((Nat.factorial j : ℝ)⁻¹ • ·) (DFunLike.congr_fun hh v) |
| 79 | refine ⟨?_, fun i v => he _ (hC i) v, fun s i v => he _ (hS s i) v,Tensor.coeff_symm hf⟩ |
| 80 | intro l u v |
| 81 | let E := Dir G c × LieSpin G c |
| 82 | let V : Fin j → E := Function.update (fun i => (v i,0)) l (0,-u) |
| 83 | let L := ContinuousLinearMap.fst ℝ (Dir G c) (LieSpin G c) |
| 84 | have ht : F ∘ adjust =ᶠ[𝓝 0] F ∘ L := hG |
| 85 | have hA := (ht.iteratedFDeriv ℝ j).eq_of_nhds |
| 86 | rw [Next.Foundations.jets_linear L hf, first_comp hf hs (adjust_analytic.of_le le_top) adjust_zero] at hA |
| 87 | have he : iteratedFDeriv ℝ j F 0 (fun i => fderiv ℝ adjust 0 (V i))= |
| 88 | iteratedFDeriv ℝ j F 0 (fun i => L (V i)) := DFunLike.congr_fun hA V |
| 89 | have hx : (fun i => fderiv ℝ adjust 0 (V i))=update v l (gradient u) := by |
| 90 | funext i |
| 91 | by_cases h : i=l |
| 92 | · rw [h,adjust_rate]; simp [V,gradient_neg] |
| 93 | rw [adjust_rate]; simp [V,h,gradient_zero] |
| 94 | have hv : (fun i => L (V i))=Function.update v l 0 := by |
| 95 | funext i; by_cases h : i=l <;> simp [V,L,h] |
| 96 | rw [hx,hv,(iteratedFDeriv ℝ j F 0).map_coord_zero l (Function.update_self ..)] at he |
| 97 | rw [Tensor.coeff, _root_.smul_apply, he,smul_zero] |
| 98 | |
| 99 | def baseAt (p : Clip) (R : PathData G) (a : Dir G c) := mainTerm p R (represent a) |
| 100 | variable {R : PathData G} {z A K : ℝ} {q : Clip} |
| 101 | |
| 102 | lemma base_ward (hb : R.Bounds q z A K) : |
| 103 | baseAt (c:=c) q R ∘ adjust =ᶠ[𝓝 0] baseAt q R ∘ Prod.fst := by |
| 104 | filter_upwards [adjusted] with x hx |
| 105 | simp only [Function.comp_apply,baseAt,hx,Work.F05.mainTerm_gauge hb] |
| 106 | lemma base_colors (hb : R.Bounds q z A K) (t : G.El) : |
| 107 | baseAt (c:=c) q R ∘ colors t = baseAt q R := by |
| 108 | funext x; exact (congr_arg (mainTerm q R) (rep_colors t x)).trans (Work.F05.mainTerm_gauge hb _ _) |
| 109 | lemma base_orient (q : Clip) (R : PathData G) (s : Signed) (b : Site c) : |
| 110 | baseAt q R ∘ shifts s b = baseAt q R := by funext x; simp [baseAt,rep_shifts,main_pull] |
| 111 | lemma base_smooth (hb : R.Bounds q z A K) : ContDiffAt ℝ ω (baseAt (c:=c) q R) 0 := |
| 112 | Work.F02.mainTerm_contDiffAt hb (fun i => (Work.F03.represent_smooth i).contDiffAt) |
| 113 | |
| 114 | section diff |
| 115 | variable {W : PathData G} {p : Clip} {M : Bed} {T : Forest S.ratio} {u : Dir G c → AxisChart G T} |
| 116 | {η σ C Λ : ℝ} |
| 117 | |
| 118 | /-- Ordinary per-period closure; exact lower order equality charged explicitly. |
| 119 | Use in particular with lower action carrying cubic path completion (not just its |
| 120 | linearized atom!), EXACT degree-3 match as input. `StationaryScenes` produces through 2. -/ |
| 121 | theorem closed (t : S.Choices) {j : ℕ} (h : S.patch.Branches S.kernel G) (hW : W.Bounds p σ C Λ) |
| 122 | (hp : Critical T p W u) (hc : Comptroller T M p W) (hR : R.Bounds q z A K) |
| 123 | (he : 0 < η) (hm : PriceGap T p W η) |
| 124 | (hl : ∀ k<j, iteratedFDeriv ℝ k (value T t p W u) 0=iteratedFDeriv ℝ k (baseAt (c:=c) q R) 0) : |
| 125 | Legal (Tensor.coeff (value T t p W u - baseAt q R) j 0) := by |
| 126 | let F := value T t p W u |
| 127 | let J := baseAt (c:=c) q R |
| 128 | have hb := SliceExchange.on_shell t hp |
| 129 | have hj : ContDiffAt ℝ ω F 0 := hb.action.comp 0 hb.arc_smooth |
| 130 | have hq : ContDiffAt ℝ ω J 0 := base_smooth hR |
| 131 | apply inaugurate ((hj.sub hq).of_le le_top) (fun i hi => ?_) |
| 132 | · exact (gauge_value h hW hp hc he hm t).sub (base_ward hR) |
| 133 | · exact fun y => (color_value h hW hp hc he hm _ _).sub (EventuallyEq.of_eq (base_colors hR y)) |
| 134 | · exact fun s b => (oriented h hW hp hc he hm s b t).sub (EventuallyEq.of_eq (base_orient q R s b)) |
| 135 | change iteratedFDeriv ℝ i (F-J) 0=0 |
| 136 | rw [iteratedFDeriv_sub_apply (hj.of_le le_top) (hq.of_le le_top),show iteratedFDeriv ℝ i F 0=_ from hl i hi,sub_self] |
| 137 | end diff |
| 138 | |
| 139 | def wilsonAt (a : Dir G c) : ℝ := Wilson.energy (represent a) |
| 140 | |
| 141 | /-- Also at top, SAME Wilson normalization. -/ |
| 142 | theorem closed_peak (j : ℕ) (hb : R.Bounds q z A K) (hL : ∀ i<j, |
| 143 | iteratedFDeriv ℝ i (wilsonAt (c:=c) (G:=G)) 0=iteratedFDeriv ℝ i (baseAt (c:=c) q R) 0) : |
| 144 | Legal (Tensor.coeff (wilsonAt - baseAt (c:=c) q R) j 0) := by |
| 145 | have hx := base_smooth (c:=c) hb |
| 146 | have hf : ContDiffAt ℝ ω (wilsonAt (G:=G) (c:=c)) 0 := by |
| 147 | unfold wilsonAt Wilson.energy |
| 148 | exact ContDiffAt.sum fun i _ => Work.F03.price_smooth (A:=fun x => faceValue (represent x) i) (Push.writes ..) |
| 149 | apply inaugurate ((hf.sub hx).of_le le_top) (fun i hi => ?_) |
| 150 | · filter_upwards [base_ward (c:=c) hb, adjusted (c:=c) (G:=G)] with x hx hz |
| 151 | exact congr_arg₂ (· - ·) (show Wilson.energy _ = _ from (congr_arg Wilson.energy hz).trans (Wilson.energy_gauge _ _)) hx |
| 152 | · intro t |
| 153 | filter_upwards with x |
| 154 | exact congr_arg₂ (· - ·) ((congr_arg Wilson.energy (rep_colors t x)).trans (Wilson.energy_gauge ..)) |
| 155 | (congr_fun (base_colors hb t) x) |
| 156 | · intro s b |
| 157 | filter_upwards with x; exact congr_arg₂ (· - ·) ((congr_arg Wilson.energy (rep_shifts s b x)).trans |
| 158 | (Wilson.energy_pull ..)) (congr_fun (base_orient q R s b) x) |
| 159 | change iteratedFDeriv ℝ i (wilsonAt - baseAt (c:=c) q R) 0=0 |
| 160 | rw [iteratedFDeriv_sub_apply (hf.of_le le_top) (hx.of_le le_top), hL i hi,sub_self] |
| 161 | |
| 162 | end Residual |
| 163 | end YM.AnalyticNext.QuarticMatch |