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.SectorTools.PHYSICAL_GAUSSIAN_INSERTION.Support |
| 2 | import YM.SectorTools.PHYSICAL_GAUSSIAN_INSERTION.Weighted |
| 3 | |
| 4 | /-! |
| 5 | # A localized quadratic/linear insertion into the Gaussian density |
| 6 | |
| 7 | Perturb a centered reference covariance C by exponential of a local |
| 8 | quadratic potential in a list of actual slots. Divide by its SAME-cloud |
| 9 | normalization. Price with explicit determinant and local volume results |
| 10 | (and a numerical upper price via the weighted Laplace test). Allows |
| 11 | large linear sources with their costs visible. `B` doesn't include any |
| 12 | constant charge outside the formula. In particular if using a piece of the |
| 13 | exponent of some RG integrand, that constant and all other pieces are |
| 14 | unchanged and *not* estimated here. |
| 15 | -/ |
| 16 | |
| 17 | set_option autoImplicit false |
| 18 | noncomputable section |
| 19 | namespace YM.SectorTools.PhysicalGaussianInsertion |
| 20 | |
| 21 | open Function Filter Set Matrix MeasureTheory |
| 22 | open Next.SectorChange (Gaussian.Table) |
| 23 | open Next.SectorChange.Gaussian |
| 24 | open Multi.Vacuum (Gauss.pay) |
| 25 | open scoped Topology BigOperators Classical ENNReal |
| 26 | |
| 27 | variable {ι : Type} [Fintype ι] [DecidableEq ι] |
| 28 | {S : Finset ι} {C A J : Gaussian.Table ι} {t a : Vec ι} {B : Vec ι → ℝ} {p q L ε θ K : ℝ} |
| 29 | |
| 30 | /-- For use with FURTHER Lq tests. -/ |
| 31 | structure Inserted (S : Finset ι) (C A : Gaussian.Table ι) (a : Vec ι) (p K : ℝ) (B : Vec ι → ℝ) : Prop where |
| 32 | reference_pos : C.PosDef |
| 33 | installed_pos : A.PosDef |
| 34 | varies (z : Vec ι) : variation A C (0-a) z = B z |
| 35 | confined : Confined S A C (0-a) |
| 36 | coercive : (mixed (marginalCov S A) (marginalCov S C) p).PosDef |
| 37 | price : moment (marginalCov S A) (marginalCov S C) p (observe S (0-a)) ≤ K |
| 38 | |
| 39 | section |
| 40 | |
| 41 | variable (hI : Inserted S C A a p K B) |
| 42 | include hI |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | end |
| 59 | |
| 60 | /-- Quadratic and linear inserted pieces. -/ |
| 61 | def into (S : Finset ι) (J : Gaussian.Table ι) (t z : Vec ι) : ℝ := |
| 62 | t ⬝ᵥ maskVec S z + quad J (maskVec S z) / 2 |
| 63 | |
| 64 | def intoCost (p K ε θ L : ℝ) (n : ℕ) := |
| 65 | Real.exp (2*p*(n*(L^2/(4*θ)) + 2*K*(n*(θ + ε/2)))) |
| 66 | |
| 67 | lemma mask_le (v : Vec ι) : maskVec S v ⬝ᵥ maskVec S v ≤ v ⬝ᵥ v := by |
| 68 | unfold dotProduct |
| 69 | apply Finset.sum_le_sum |
| 70 | intro i _ |
| 71 | simp_rw [maskVec_apply]; split |
| 72 | · exact le_rfl |
| 73 | · rw [zero_mul]; exact mul_self_nonneg _ |
| 74 | |
| 75 | lemma inserted_quad (hA : A.PosDef) (hi : A⁻¹ = C⁻¹-maskForm S J) (z : Vec ι) : |
| 76 | variation A C (0-A *ᵥ maskVec S t) z = into S J t z := by |
| 77 | rw [variation_expand hA, zero_sub, mulVec_neg, mulVec_mulVec, |
| 78 | Matrix.nonsing_inv_mul _ (IsUnit.mk0 _ hA.det_pos.ne'), one_mulVec, dotProduct_neg, hi, |
| 79 | sub_sub_cancel, maskForm_quad, dot_maskVec, dotProduct_comm (maskVec S z), sub_neg_eq_add, add_comm] |
| 80 | rfl |
| 81 | |
| 82 | private lemma into_bound (hθ : 0 < θ) (he : ∀ z : Vec ι, |quad J z| ≤ ε*(z ⬝ᵥ z)) |
| 83 | (hl : ∀ i ∈ S, |t i| ≤ L) (z : Vec ι) : |
| 84 | |into S J t z| ≤ S.card * (L^2/(4*θ)) + Gauss.pay (fun i => if i∈S then θ+ε/2 else 0) z := by |
| 85 | let b := maskVec S z |
| 86 | let u := ∑ i ∈ S,z i^2 |
| 87 | have hs : b ⬝ᵥ b = u := by |
| 88 | unfold b u dotProduct |
| 89 | simp_rw [maskVec_apply] |
| 90 | simp [apply_ite₂ (· * ·), sq] |
| 91 | have ht : |t ⬝ᵥ b| ≤ S.card*(L^2/(4*θ)) + θ*u := by |
| 92 | unfold dotProduct |
| 93 | calc |
| 94 | |∑ i,t i * b i| ≤ ∑ i, |t i| * |b i| := by |
| 95 | simp_rw [← abs_mul]; exact Finset.abs_sum_le_sum_abs .. |
| 96 | _ = ∑ i ∈ S, |t i| * |z i| := by |
| 97 | simp only [b, maskVec_apply, apply_ite abs, abs_zero, mul_ite, mul_zero, |
| 98 | Finset.sum_ite_mem, Finset.univ_inter] |
| 99 | _ ≤ ∑ i ∈ S, (L^2/(4*θ) + θ*z i^2) := by |
| 100 | refine Finset.sum_le_sum fun i hi => ?_ |
| 101 | have hh := mul_le_mul_of_nonneg_right (hl i hi) (abs_nonneg (z i)) |
| 102 | refine hh.trans ?_ |
| 103 | apply (sub_le_iff_le_add).1 |
| 104 | rw [le_div_iff₀ (by linarith : 0 < 4*θ)] |
| 105 | have hx : |z i|^2 = z i^2 := sq_abs _ |
| 106 | nlinarith only [sq_nonneg (2*θ*|z i|-L), show θ^2*|z i|^2 = θ^2*z i^2 by rw [hx]] |
| 107 | _ = _ := by simp [Finset.sum_add_distrib, ← Finset.mul_sum, u] |
| 108 | have hg := he b |
| 109 | rw [hs] at hg |
| 110 | unfold into |
| 111 | refine (abs_add_le ..).trans ?_ |
| 112 | change |t ⬝ᵥ b| + |quad J b / 2| ≤ _ |
| 113 | rw [abs_div, abs_of_pos (by norm_num : (0:ℝ)<2), show Gauss.pay (fun i => if i∈S then θ+ε/2 else 0) z = |
| 114 | (θ+ε/2)*u by unfold Gauss.pay u; simp only [ite_mul, zero_mul, Finset.sum_ite_mem, |
| 115 | Finset.univ_inter, Finset.mul_sum]] |
| 116 | linarith |
| 117 | |
| 118 | /-- Generic sufficient smallness test on a signed local quadratic-affine letter. Used below for |
| 119 | an insertion of true log-exponent terms. -/ |
| 120 | theorem insert_letter (hC : C.PosDef) (hh : Ceiling C K) (hK : 0 < K) (hJ : J.IsSymm) |
| 121 | (hε : 0 ≤ ε) (he : ∀ z : Vec ι, |quad J z| ≤ ε*(z ⬝ᵥ z)) |
| 122 | (ht : ∀ i ∈ S, |t i| ≤ L) (hp : 1 ≤ p) (hθ : 0 < θ) (hw : K*(p*(θ + ε/2)) ≤ 1/4) : |
| 123 | let A := (C⁻¹ - maskForm S J)⁻¹ |
| 124 | Inserted S C A (A *ᵥ maskVec S t) p (intoCost p K ε θ L S.card) (into S J t) := by |
| 125 | intro A |
| 126 | let P := C⁻¹-maskForm S J |
| 127 | have hp' : 0 < p := zero_lt_one.trans_le hp |
| 128 | have hb : ε < K⁻¹ := by |
| 129 | apply lt_of_mul_lt_mul_left (a:=K) _ hK.le |
| 130 | rw [mul_inv_cancel₀ hK.ne'] |
| 131 | have hx : θ+ε/2 ≤ p*(θ+ε/2) := le_mul_of_one_le_left (by linarith) hp |
| 132 | have hy := (mul_le_mul_of_nonneg_left hx hK.le).trans hw |
| 133 | linarith only [hy, mul_pos hK hθ] |
| 134 | have hg : FreeResolvent.Gap P (K⁻¹ - ε) := by |
| 135 | constructor |
| 136 | intro v |
| 137 | unfold P; rw [sub_mulVec, dotProduct_sub] |
| 138 | have h : quad (maskForm S J) v ≤ ε*(v ⬝ᵥ v) := calc |
| 139 | quad (maskForm S J) v = quad J (maskVec S v) := maskForm_quad .. |
| 140 | _ ≤ _ := (le_of_abs_le (he _)).trans (mul_le_mul_of_nonneg_left (mask_le v) hε) |
| 141 | have hz := (inv_gap hC hh hK).lower v |
| 142 | unfold quad at h |
| 143 | linarith only [hz, h] |
| 144 | have hP := posDef_of_gap hg ((isHermitian_iff_isSymm.mp hC.inv.isHermitian).sub |
| 145 | (maskForm_symm hJ)) (sub_pos.mpr hb) |
| 146 | have hA : A.PosDef := hP.inv |
| 147 | have hi : A⁻¹ = P := nonsing_inv_nonsing_inv _ (IsUnit.mk0 _ hP.det_pos.ne') |
| 148 | let b := A *ᵥ maskVec S t |
| 149 | have hs : Confined S A C (0-b) := by |
| 150 | constructor |
| 151 | · rw [hi]; intro i j ha; unfold P; rw [sub_sub_cancel]; exact maskForm_apply_of_not_mem J ha |
| 152 | intro i ha; rw [zero_sub, mulVec_neg, show A⁻¹ *ᵥ b = _ from by unfold b; rw [mulVec_mulVec, |
| 153 | Matrix.nonsing_inv_mul _ (IsUnit.mk0 _ hA.det_pos.ne'), one_mulVec], Pi.neg_apply, |
| 154 | maskVec_apply, if_neg ha, neg_zero] |
| 155 | have hd : ∀ z, variation A C (0-b) z = into S J t z := inserted_quad hA hi |
| 156 | let W (i : ι) := if i∈S then θ+ε/2 else 0 |
| 157 | have h1 i : 0 ≤ W i := by unfold W; split <;> positivity |
| 158 | have h2 i : K*(p*W i) ≤ 1/4 := by |
| 159 | unfold W |
| 160 | split |
| 161 | · exact hw |
| 162 | · norm_num |
| 163 | have h3 : Weighted A C (0-b) W ((S.card:ℝ) * (L^2/(4*θ))) := by |
| 164 | intro z |
| 165 | rw [hd] |
| 166 | exact into_bound hθ he ht z |
| 167 | obtain ⟨hm,hy⟩ := weighted hA hC hh hK.le hp h1 h2 h3 |
| 168 | have hj := (mixed_local hA hC hs).1 hm |
| 169 | refine ⟨hC,hA,hd,hs,hj,?_⟩ |
| 170 | change moment _ _ _ (observe S (0-b)) ≤ _ |
| 171 | rw [← moment_local hA hC hs hj] |
| 172 | simpa [W, intoCost, mul_add] using hy |
| 173 | |
| 174 | end YM.SectorTools.PhysicalGaussianInsertion |