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 Mathlib.Analysis.Analytic.Binomial |
| 2 | import Mathlib.Analysis.Calculus.BumpFunction.Convolution |
| 3 | import Mathlib.Analysis.Calculus.ContDiff.RestrictScalars |
| 4 | import Mathlib.Analysis.Calculus.ImplicitContDiff |
| 5 | import Mathlib.Analysis.Calculus.IteratedDeriv.FaaDiBruno |
| 6 | import Mathlib.Analysis.Calculus.LineDeriv.Measurable |
| 7 | import Mathlib.Analysis.Calculus.VectorField |
| 8 | import Mathlib.Analysis.Complex.RemovableSingularity |
| 9 | import Mathlib.Analysis.Normed.Group.Tannery |
| 10 | import Mathlib.LinearAlgebra.Multilinear.Pi |
| 11 | import Mathlib.LinearAlgebra.PiTensorProduct.Generators |
| 12 | import YM.Ac.Table |
| 13 | import YM.Bid.Drops |
| 14 | import YM.Bid.Fuels |
| 15 | import YM.Bid.Loan |
| 16 | import YM.Push.FREE_RESOLVENT.Inverse |
| 17 | import YM.Push.FREE_RESOLVENT.Torus |
| 18 | import YM.Work.A05.Read |
| 19 | import YM.Work.A07 |
| 20 | import YM.Work.B06 |
| 21 | |
| 22 | |
| 23 | /-! |
| 24 | # One actual universal Row inverse for all periods |
| 25 | |
| 26 | Produce exact inverse in the `Horizon` row convention from Width |
| 27 | of the *forward* row and genuine finite coercivity (not conditioned on an |
| 28 | inverse estimate). No complex-symbol coercivity needed. Pre-L when its inputs |
| 29 | are pre-L (watch the cardinality in the strip budget for anything with |
| 30 | residue rows). |
| 31 | |
| 32 | Proof: intertwine *different* meshes by real convolution |
| 33 | on a common stencil, invert in finite dimensions at every volume, take |
| 34 | limit on nested tori. A single Row gives all the periodic answers *exactly* |
| 35 | with the same exponential width. The subsequence here is inside the proof of |
| 36 | a statement on ONE Fourier-independent operator, has nothing to do with the |
| 37 | trajectory/order, no change of calibration, etc. In particular no ISMain |
| 38 | assumed and uses also work with varying forward operator family and common |
| 39 | upper and lower widths. Avoid determinant height estimates and ignoring |
| 40 | rank drop at individual Fourier modes. |
| 41 | -/ |
| 42 | |
| 43 | set_option autoImplicit false |
| 44 | noncomputable section |
| 45 | namespace YM.FreeResolvent |
| 46 | open Lattice RG Matrix Laurent Bloch Exterior Precision Work.F08 Filter Topology |
| 47 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators |
| 48 | |
| 49 | namespace Universal |
| 50 | variable {α β : Type*} {n m : Side} |
| 51 | |
| 52 | /-- Folding m -> n, including a possible anchor shift. -/ |
| 53 | def overlay (f : Site m → Site n) (x : Co m α) : Co n α := (f x.1,x.2) |
| 54 | |
| 55 | /-- Pull by true wrap. Uses this on translations too. -/ |
| 56 | lemma law [Fintype β] (P : Row α β) (h : P.safe) (f : Site m → Site n) |
| 57 | (he : ∀ x z, f (x+wrap m z) = f x+wrap n z) (u : Co n β → ℝ) : |
| 58 | P.acts m *ᵥ (u ∘ overlay f) = (P.acts n *ᵥ u) ∘ overlay f := by |
| 59 | funext ⟨x,i⟩ |
| 60 | simp only [mulVec,dotProduct]; rw [Fintype.sum_prod_type, Finset.sum_comm] |
| 61 | simp only [Function.comp_apply, Matrix.mulVec, dotProduct]; rw [Fintype.sum_prod_type, Finset.sum_comm (s:=Finset.univ (α:=Site n))] |
| 62 | refine Finset.sum_congr rfl fun j _ => ?_ |
| 63 | change ∑ y, sift (P i j) m x y * u (f y,j) = ∑ y, sift (P i j) n (f x) y * u (y,j) |
| 64 | rw [sift_action ((h i j).of_norm) m x (fun y => u (f y,j)), sift_action ((h i j).of_norm) n (f x) (fun y => u (y,j))] |
| 65 | simp only [he] |
| 66 | |
| 67 | abbrev Each [Fintype α] [Fintype β] (P : (n : Side) → Matrix (Co n α) (Co n β) ℝ) := |
| 68 | ∀ (m n : Side) (f : Site m → Site n), (∀ x z, f (x+wrap m z)=f x+wrap n z) → |
| 69 | ∀ u : Co n β → ℝ, P m *ᵥ (u ∘ overlay f) = (P n *ᵥ u) ∘ overlay f |
| 70 | |
| 71 | variable [Fintype α] |
| 72 | |
| 73 | /-- Natural even under anchor shifts on the tori. -/ |
| 74 | lemma inverses [DecidableEq α] {P : Row α α} (h : P.safe) (u : ℝ) |
| 75 | (hi : ∀ n, IsUnit (P.acts n + u • 1).det) : Each (fun n => resolve (P.acts n) u) := by |
| 76 | intro m n f he v |
| 77 | let A (n : Side) := P.acts n + u • 1 |
| 78 | let y := resolve (P.acts n) u *ᵥ v |
| 79 | apply Matrix.mulVec_injective_iff_isUnit.mpr ((isUnit_iff_isUnit_det (A m)).mpr (hi m)) |
| 80 | have hk : ∀ v : Co n α → ℝ, A m *ᵥ (v ∘ overlay f) = (A n *ᵥ v) ∘ overlay f := fun v => by |
| 81 | simp only [A, Matrix.add_mulVec, law P h _ he,Matrix.smul_mulVec, one_mulVec]; rfl |
| 82 | have hv : A n *ᵥ y = v := by unfold y resolve; rw [Matrix.mulVec_mulVec, Matrix.mul_nonsing_inv _ (hi n), Matrix.one_mulVec] |
| 83 | change A m *ᵥ (resolve (P.acts m) u *ᵥ _) = A m *ᵥ (y ∘ _) |
| 84 | rw [hk,hv,Matrix.mulVec_mulVec]; exact Eq.trans (by rw [show A m*resolve (P.acts m) u=1 from Matrix.mul_nonsing_inv _ (hi m)]) (Matrix.one_mulVec _) |
| 85 | |
| 86 | -- general export test reusable for other matrix functions too; no regularity in real fields implied |
| 87 | variable [Fintype β] (P : (n : Side) → Matrix (Co n α) (Co n β) ℝ) |
| 88 | |
| 89 | omit [Fintype β] [Fintype α] in |
| 90 | lemma modulo {m n : Side} (h : n.val ∣ m.val) : ∃ f : Site m →+ Site n, ∀ z, f (wrap m z) = wrap n z := by |
| 91 | let g := ZMod.castHom h (Per n) |
| 92 | let F : Site m →+ Site n := { |
| 93 | toFun x i := g (x i) |
| 94 | map_add' _ _ := funext fun i => g.map_add _ _ |
| 95 | map_zero' := funext fun _ => g.map_zero } |
| 96 | exact ⟨F,fun z => funext fun i => map_intCast g (z i)⟩ |
| 97 | |
| 98 | def innate (n : Side) : Row α β := fun i j z => if lift (wrap n z)=z then P n (0,i) (wrap n z,j) else 0 |
| 99 | |
| 100 | omit [Fintype β] [Fintype α] in |
| 101 | lemma innate_point {r M : ℝ} (hm : 0 ≤ M) |
| 102 | (h : ∀ n x y, |P n x y| ≤ (taxi n).weight (-r) x.1 y.1 * M) (n : Side) (i : α) (j : β) (z) : |
| 103 | |innate P n i j z| ≤ Real.exp (-r*size z)*M := by |
| 104 | by_cases ht : lift (wrap n z)=z |
| 105 | · have hh := h n (0,i) (wrap n z,j) |
| 106 | rwa [innate, if_pos ht, ← show (taxi n).weight (-r) 0 (wrap n z) = Real.exp (-r*size z) by |
| 107 | change Real.exp (-r * size (lift (wrap n z-0))) = _; rw [sub_zero, ht]] |
| 108 | rw [innate, if_neg ht,abs_zero]; positivity |
| 109 | |
| 110 | lemma folding [DecidableEq β] (h : Each P) (m n : Side) (hv : n.val ∣ m.val) : (innate P m).acts n = P n := by |
| 111 | obtain ⟨L,hL⟩ := modulo hv |
| 112 | ext ⟨x,i⟩ ⟨y,j⟩ |
| 113 | let f : Site m → Site n := fun k => x+L k |
| 114 | have he (k z) : f (k+wrap m z) = f k + wrap n z := by simp [f,hL,add_assoc] |
| 115 | -- naturality with point mass at the addressed coordinate in n |
| 116 | let v : Co n β → ℝ := Pi.single (y,j) 1 |
| 117 | have hh : P m *ᵥ (v ∘ overlay f) = (P n *ᵥ v) ∘ overlay f := h m n f he v |
| 118 | let F (w : Cover) := if y=x+wrap n w then innate P m i j w else 0 |
| 119 | change (∑' w, F w)=_ |
| 120 | rw [tsum_eq_sum (s:=Finset.univ.image (@lift m))] |
| 121 | · rw [Finset.sum_image ((Function.LeftInverse.injective (@wrap_lift m)).injOn)] |
| 122 | calc |
| 123 | _ = (P m *ᵥ (v ∘ overlay f)) (0,i) := by |
| 124 | rw [Matrix.mulVec,dotProduct,Fintype.sum_prod_type]; refine Finset.sum_congr rfl fun a _ => ?_ |
| 125 | have hk : f a=x+wrap n (lift a) := by rw [← hL,wrap_lift] |
| 126 | by_cases hy : y=x+wrap n (lift a) <;> |
| 127 | simp only [F,hy,↓reduceIte, innate, wrap_lift, v, Function.comp_apply, overlay, Pi.single_apply, |
| 128 | Prod.mk.injEq,hk, mul_ite, mul_zero, mul_one] <;> simp [hy,eq_comm] |
| 129 | _ = _ := by rw [hh]; simp [v, overlay,f] |
| 130 | intro b hb |
| 131 | unfold F innate |
| 132 | split_ifs with h1 h2 |
| 133 | · exact False.elim (hb (Finset.mem_image.mpr ⟨_,Finset.mem_univ _,h2⟩)) |
| 134 | all_goals rfl |
| 135 | |
| 136 | /-- Forced simultaneous support estimate on the real infinite-volume |
| 137 | coefficients, and export equality for ALL finite volumes. No group order |
| 138 | norm hiding β fibers. -/ |
| 139 | theorem publish [DecidableEq β] {r M γ : ℝ} (hr : 0 < r) (hm : 0 ≤ M) (hγ : γ < r) (h : Each P) |
| 140 | (hh : ∀ n x y, |P n x y| ≤ (taxi n).weight (-r) x.1 y.1 * M) : |
| 141 | ∃ Q : Row α β, Q.strip γ (sheetPay (r-γ)*M) ∧ ∀ n : Side, Q.acts n = P n := by |
| 142 | classical |
| 143 | let F : ℕ → Side := fun i => ⟨Nat.factorial i,Nat.factorial_pos _⟩ |
| 144 | let T := fun (p : α × β × Cover) (k : ℕ) => innate P (F k) p.1 p.2.1 p.2.2 |
| 145 | let w (z : Cover) := Real.exp (-r*size z)*M |
| 146 | obtain ⟨t,y,hy⟩ := Extraction.simultaneous (X:=fun _ => ℝ) T |
| 147 | (K:=fun p => Set.Icc (-w p.2.2) (w p.2.2)) (fun _ => isCompact_Icc) (fun p => |
| 148 | Filter.Eventually.of_forall fun k => abs_le.mp (innate_point P hm hh ..)) |
| 149 | let Q : Row α β := fun i j z => y (i,j,z) |
| 150 | have hx (i j z) : ‖Q i j z‖ ≤ w z := abs_le.mpr (hy (i,j,z)).1 |
| 151 | refine ⟨Q,fun i j => ?_,fun n => ?_⟩ |
| 152 | · let u := fun z : Cover => Real.exp (-(r-γ)*size z) |
| 153 | have hp : RG.SumBudget u (sheetPay (r-γ)) := Width.compactPay _ (sub_pos.mpr hγ) |
| 154 | have hw : RG.SumBudget (fun z => u z*M) (sheetPay (r-γ)*M) := ⟨fun z => mul_nonneg (hp.1 z) hm,hp.2.1.mul_right M, |
| 155 | by rw [tsum_mul_right]; exact mul_le_mul_of_nonneg_right hp.2.2 hm⟩ |
| 156 | refine budget_minor hw (fun _ => by positivity) ?_ |
| 157 | intro z |
| 158 | refine (mul_le_mul_of_nonneg_left (hx i j z) (Real.exp_pos _).le).trans_eq ?_ |
| 159 | unfold w u; rw [← mul_assoc,← Real.exp_add]; congr 2; ring |
| 160 | -- dominated convergence (for this n only cofinally on arbitrary test n) |
| 161 | have hd : ∀ᶠ i in atTop, n.val ∣ (F (t i)).val := by |
| 162 | filter_upwards [t.cofinal.eventually (eventually_ge_atTop n.val)] with i hi |
| 163 | exact Nat.dvd_factorial n.pos hi |
| 164 | have hw : Summable w := (Width.compactPay (α:=Axis) _ hr).2.1.mul_right M |
| 165 | ext i j |
| 166 | let A (k : ℕ) (z : Cover) := if j.1=i.1+wrap n z then innate P (F (t k)) i.2 j.2 z else 0 |
| 167 | let B (z : Cover) := if j.1=i.1+wrap n z then Q i.2 j.2 z else 0 |
| 168 | have ht : Tendsto (fun k => ∑' z, A k z) atTop (𝓝 (∑' z, B z)) := by |
| 169 | refine tendsto_tsum_of_dominated_convergence hw (fun k => ?_) (Filter.Eventually.of_forall (fun k z => ?_)) |
| 170 | · dsimp only [A,B] |
| 171 | split |
| 172 | · exact (hy (i.2,j.2,k)).2 |
| 173 | · exact tendsto_const_nhds |
| 174 | unfold A; split |
| 175 | · exact innate_point P hm hh .. |
| 176 | rw [norm_zero]; unfold w; positivity |
| 177 | have hb : Tendsto (fun _ : ℕ => P n i j) atTop (𝓝 (Q.acts n i j)) := by |
| 178 | refine ht.congr' (hd.mono (fun k h => ?_)) |
| 179 | exact congr_fun (congr_fun (folding P (by assumption) _ n h) i) j |
| 180 | exact tendsto_nhds_unique hb tendsto_const_nhds |
| 181 | end Universal |
| 182 | end YM.FreeResolvent |