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.Normed.Group.Tannery |
| 2 | import YM.Analysis.Polydisc |
| 3 | import YM.PREC.Derivative |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | # Real ray limits, along the links and through the path sums |
| 8 | |
| 9 | All at a fixed torus. In the real ray test the long transporter acts isometrically. |
| 10 | So we can read these leading terms even without having uniform analyticity bounds: a |
| 11 | common bound for finitely many rescaled plaquette curvatures suffices to dominate all |
| 12 | the rescaled slots. No truncation/mask is involved. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | |
| 18 | namespace YM.Work.F03 |
| 19 | open Filter Lattice RG Wilson Precision Push Exterior |
| 20 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators InnerProductSpace |
| 21 | |
| 22 | variable {G : Gauge} {n : Side} |
| 23 | |
| 24 | /-- Including the /2 in the price, with *physical* color metric. -/ |
| 25 | lemma price_limit {V : ℝ → G.El} (h : V 0 = 1) {c : G.Color} |
| 26 | (hc : HasDerivAt (fun t => G.mat (V t)) (G.colorMat c) 0) : |
| 27 | Tendsto (fun t : ℝ => G.price (V t) / t ^ 2) (𝓝[≠] 0) (𝓝 (‖c‖ ^ 2 / 2)) := by |
| 28 | have hm : Tendsto (fun t : ℝ => t⁻¹ • (G.mat (V t) - 1)) (𝓝[≠] 0) (𝓝 (G.colorMat c)) := by |
| 29 | simpa only [zero_add, h, G.mat_one] using! (hasDerivAt_iff_tendsto_slope_zero.mp hc) |
| 30 | have he := (hm.norm.div_const G.colorScale).pow 2 |
| 31 | rw [G.colorMat_norm, mul_div_cancel_left₀ _ G.colorScale_pos.ne'] at he |
| 32 | refine (he.div_const 2).congr' (Filter.Eventually.of_forall fun t => ?_) |
| 33 | change (‖t⁻¹ • (G.mat (V t) - 1)‖ / _) ^ 2 / 2 = G.price _ / _ |
| 34 | rw [norm_smul, mul_div_assoc] |
| 35 | change (‖t⁻¹‖ * G.chord _) ^ 2 / 2 = _ |
| 36 | rw [mul_pow, G.chord_price, Real.norm_eq_abs, sq_abs, inv_pow] |
| 37 | ring |
| 38 | |
| 39 | /-- The leading curvature also only depends on the mat tangent. -/ |
| 40 | lemma curvature_of_hasDerivAt {V : ℝ → G.El} {c : G.Color} |
| 41 | (hc : HasDerivAt (fun t => G.mat (V t)) (G.colorMat c) 0) : |
| 42 | HasDerivAt (fun t => G.curvature (V t)) c 0 := by |
| 43 | -- as in `G.leading_curvature` |
| 44 | let A := fun t : ℝ => G.mat (V t) |
| 45 | let P : ℝ → G.Mat := fun t => (1/2 : ℝ) • (A t - star (A t)) |
| 46 | have hB : HasDerivAt P (G.colorMat c) 0 := by |
| 47 | have he := (hc.sub hc.star).const_smul (1/2 : ℝ) |
| 48 | rw [G.colorMat_skew, sub_neg_eq_add, ← two_smul ℝ, smul_smul, |
| 49 | div_mul_cancel₀ _ (two_ne_zero), one_smul] at he |
| 50 | exact he |
| 51 | simp_rw [Gauge.curvature, G.mat_inv] |
| 52 | have he : HasDerivAt (fun t => G.projectColor (P t)) (G.projectColor (G.colorMat c)) 0 := |
| 53 | G.projectColor.toContinuousLinearMap.hasFDerivAt.comp_hasDerivAt (0 : ℝ) hB |
| 54 | rw [G.project_colorMat] at he |
| 55 | exact he |
| 56 | |
| 57 | abbrev faceCurl (b : Face (Per n)) (a : fieldDir G n 1) := dColor G n 1 a (b.1,plaquette b.2) |
| 58 | |
| 59 | lemma face_deriv (x : Face (Per n)) (a : fieldDir G n 1) : |
| 60 | HasDerivAt (fun t : ℝ => G.mat (faceValue (represent (t • a)) x)) |
| 61 | (G.colorMat (faceCurl x a)) 0 := by |
| 62 | rw [faceCurl, ← fundamental] |
| 63 | exact travell (square _ _) x.1 a |
| 64 | |
| 65 | /-- Site of the actual plaquette read (modulo period). -/ |
| 66 | def slotFace (s : Slot) (x : Site n) : Face (Per n) := (wrap n s.offset + x, s.plaq) |
| 67 | |
| 68 | lemma atSite_path (s : Slot) (U : Config G n) (x : Site n) : |
| 69 | s.atSite U x = G.adjoint (travel U x s.walk) (G.curvature (faceValue U (slotFace s x))) := by |
| 70 | unfold Slot.atSite Slot.eval |
| 71 | rw [travel_at, map_zero, zero_add, show faceValue _ _ = _ from |
| 72 | (show faceValue (expandAt x U) (s.offset,s.plaq) = faceValue U (slotFace s x) from travel_at ..)] |
| 73 | |
| 74 | lemma slot_deriv (s : Slot) (x : Site n) (a : fieldDir G n 1) : |
| 75 | HasDerivAt (fun t : ℝ => s.atSite (represent (t • a)) x) (faceCurl (slotFace s x) a) 0 := by |
| 76 | let M (t : ℝ) := faceValue (represent (t • a)) (slotFace s x) |
| 77 | let T (t : ℝ) := travel (represent (t • a)) x s.walk |
| 78 | have ht : HasDerivAt (fun t => G.mat (T t)) (G.colorMat (linkSum (collect G a) x s.walk)) 0 := |
| 79 | travell s.walk x a |
| 80 | have hf := face_deriv (slotFace s x) a |
| 81 | have hz : T 0 = 1 := by unfold T; rw [zero_smul]; exact stroll_zero .. |
| 82 | have hv : M 0 = 1 := by unfold M; rw [zero_smul]; exact stroll_zero .. |
| 83 | simp_rw [atSite_path, ← G.curvature_conjugate] |
| 84 | refine curvature_of_hasDerivAt (V := fun t => T t * M t * (T t)⁻¹) ?_ |
| 85 | change HasDerivAt (fun t => G.mat (M t)) _ 0 at hf |
| 86 | simp only [G.mat_mul, G.mat_inv] |
| 87 | convert! (ht.mul hf).mul ht.star using 1 |
| 88 | simp [hz, hv, G.colorMat_skew] |
| 89 | |
| 90 | lemma slot_limit (s : Slot) (x : Site n) (a : fieldDir G n 1) : |
| 91 | Tendsto (fun t : ℝ => t⁻¹ • s.atSite (represent (t • a)) x) (𝓝[≠] 0) |
| 92 | (𝓝 (faceCurl (slotFace s x) a)) := by |
| 93 | have hh : s.atSite (represent ((0:ℝ) • a)) x = 0 := by |
| 94 | rw [atSite_path, zero_smul, show faceValue (represent (0:fieldDir G n 1)) (slotFace s x) = 1 from stroll_zero .., G.curvature_unit, map_zero] |
| 95 | simpa only [hh, zero_add, sub_zero] using |
| 96 | (hasDerivAt_iff_tendsto_slope_zero.mp (slot_deriv s x a)) |
| 97 | |
| 98 | /-- No volume uniformity. Uniform over *all* slots including arbitrary winding. -/ |
| 99 | lemma slots_bound (a : fieldDir G n 1) : ∃ B : ℝ, 0 ≤ B ∧ |
| 100 | ∀ᶠ t : ℝ in 𝓝[≠] 0, ∀ (x : Site n) (s : Slot), |
| 101 | ‖t⁻¹ • s.atSite (represent (t • a)) x‖ ≤ B := by |
| 102 | let B := 1 + ∑ b : Face (Per n), ‖faceCurl b a‖ |
| 103 | refine ⟨B, by unfold B; positivity, ?_⟩ |
| 104 | have hv (b : Face (Per n)) : |
| 105 | ∀ᶠ t : ℝ in 𝓝[≠] 0, ‖t⁻¹ • G.curvature (faceValue (represent (t • a)) b)‖ < B := by |
| 106 | have he : Tendsto (fun t : ℝ => t⁻¹ • G.curvature (faceValue (represent (t • a)) b)) |
| 107 | (𝓝[≠] 0) (𝓝 (faceCurl b a)) := by |
| 108 | have hz : G.curvature (faceValue (represent ((0:ℝ) • a)) b) = 0 := by |
| 109 | rw [zero_smul, show faceValue (represent (0:fieldDir G n 1)) b = 1 from stroll_zero .., G.curvature_unit] |
| 110 | simpa only [zero_add, hz, sub_zero] using |
| 111 | (hasDerivAt_iff_tendsto_slope_zero.mp (curvature_of_hasDerivAt (face_deriv b a))) |
| 112 | exact he.norm.eventually (gt_mem_nhds ((Finset.single_le_sum |
| 113 | (f := fun b : Face (Per n) => ‖faceCurl b a‖) |
| 114 | (fun i _ => norm_nonneg _) (Finset.mem_univ b)).trans_lt (by unfold B; linarith))) |
| 115 | filter_upwards [eventually_all.mpr hv] with t ht x s |
| 116 | rw [atSite_path, ← map_smul, G.norm_adjoint] |
| 117 | exact (ht (slotFace s x)).le |
| 118 | |
| 119 | lemma row_abs_summable (W : PathData G) {p σ C Λ} (hb : W.Bounds p σ C Λ) (b : PlaqAxes) : |
| 120 | Summable fun i => |(W.row b i).1| := by |
| 121 | refine Summable.of_nonneg_of_le (fun i => abs_nonneg _) ?_ (hb.rows b).2.1 |
| 122 | intro i |
| 123 | exact le_mul_of_one_le_right (abs_nonneg _) (Real.one_le_exp (mul_nonneg hb.width.le (by positivity))) |
| 124 | |
| 125 | def ellLine (W : PathData G) (b : Face (Per n)) (a : fieldDir G n 1) : G.Color := |
| 126 | ∑' i, (W.row b.2 i).1 • faceCurl (slotFace (W.row b.2 i).2 b.1) a |
| 127 | |
| 128 | lemma ellLine_summable (W : PathData G) {p σ C Λ} (hb : W.Bounds p σ C Λ) |
| 129 | (b : Face (Per n)) (a : fieldDir G n 1) : |
| 130 | Summable fun i => (W.row b.2 i).1 • faceCurl (slotFace (W.row b.2 i).2 b.1) a := by |
| 131 | refine Summable.of_norm_bounded ((row_abs_summable W hb b.2).mul_right |
| 132 | (∑ b : Face (Per n), ‖faceCurl b a‖)) ?_ |
| 133 | intro i |
| 134 | rw [norm_smul, Real.norm_eq_abs] |
| 135 | exact mul_le_mul_of_nonneg_left (Finset.single_le_sum |
| 136 | (f := fun b : Face (Per n) => ‖faceCurl b a‖) |
| 137 | (fun _ _ => norm_nonneg _) (Finset.mem_univ _)) (abs_nonneg _) |
| 138 | |
| 139 | lemma ell_limit (W : PathData G) {p σ C Λ} (hb : W.Bounds p σ C Λ) |
| 140 | (b : Face (Per n)) (a : fieldDir G n 1) : |
| 141 | Tendsto (fun t : ℝ => t⁻¹ • W.ell (represent (t • a)) b) (𝓝[≠] 0) |
| 142 | (𝓝 (ellLine W b a)) := by |
| 143 | obtain ⟨B, hB, hv⟩ := slots_bound a |
| 144 | simp_rw [PathData.ell, ← tsum_const_smul'', PathData.ellTerms, smul_comm (Inv.inv _)] |
| 145 | refine tendsto_tsum_of_dominated_convergence ((row_abs_summable W hb b.2).mul_right B) |
| 146 | (fun i => (slot_limit (W.row b.2 i).2 b.1 a).const_smul _) ?_ |
| 147 | filter_upwards [hv] with t ht i |
| 148 | rw [norm_smul, Real.norm_eq_abs] |
| 149 | exact mul_le_mul_of_nonneg_left (ht b.1 _) (abs_nonneg _) |
| 150 | |
| 151 | |
| 152 | section atoms |
| 153 | variable {k : ℕ} (A : Atom G k) |
| 154 | |
| 155 | lemma poly_bound (x : Fin k → G.Color) (c : ℝ) (h : ∀ i, ‖x i‖ ≤ c) : |
| 156 | |A.poly x| ≤ A.magnitude * c ^ k := by |
| 157 | -- Generalized from `Atom.unmasked_bound` to the rescaled arguments. |
| 158 | have hh i j : |x i j| ≤ c := calc |
| 159 | _ = |inner ℝ (EuclideanSpace.basisFun G.ColorIndex ℝ j) (x i)| := by |
| 160 | simp only [EuclideanSpace.basisFun_inner] |
| 161 | _ ≤ _ := (abs_real_inner_le_norm _ _).trans (by |
| 162 | rw [OrthonormalBasis.norm_eq_one, one_mul] |
| 163 | exact h i) |
| 164 | unfold Atom.poly Atom.magnitude |
| 165 | rw [Finset.sum_mul] |
| 166 | refine (Finset.abs_sum_le_sum_abs _ _).trans (Finset.sum_le_sum fun i _ => ?_) |
| 167 | rw [abs_mul, Finset.abs_prod] |
| 168 | refine mul_le_mul_of_nonneg_left ?_ (abs_nonneg _) |
| 169 | convert Finset.prod_le_prod (fun _ _ => abs_nonneg _) (fun j _ => hh j (i j)) using 1 |
| 170 | simp |
| 171 | |
| 172 | lemma poly_homog (x : Fin k → G.Color) (c : ℝ) : |
| 173 | A.poly (fun i => c • x i) = c ^ k * A.poly x := by |
| 174 | unfold Atom.poly |
| 175 | rw [Finset.mul_sum] |
| 176 | refine Finset.sum_congr rfl fun i hi => ?_ |
| 177 | simp only [PiLp.smul_apply, smul_eq_mul, Finset.prod_mul_distrib, Finset.prod_const, |
| 178 | Finset.card_univ, Fintype.card_fin] |
| 179 | ring |
| 180 | |
| 181 | lemma atom_scale (x : Site n) (a : fieldDir G n 1) (t : ℝ) : |
| 182 | A.unmasked (represent (t • a)) x / t ^ k = |
| 183 | A.poly fun j => t⁻¹ • (A.leg j).atSite (represent (t • a)) x := by |
| 184 | rw [poly_homog A, inv_pow, Atom.unmasked, div_eq_inv_mul] |
| 185 | |
| 186 | lemma atom_limit (x : Site n) (a : fieldDir G n 1) : |
| 187 | Tendsto (fun t : ℝ => A.unmasked (represent (t • a)) x / t ^ k) (𝓝[≠] 0) |
| 188 | (𝓝 (A.poly fun j => faceCurl (slotFace (A.leg j) x) a)) := by |
| 189 | simp_rw [atom_scale] |
| 190 | have ht : Tendsto (fun t : ℝ => fun j => t⁻¹ • (A.leg j).atSite (represent (t • a)) x) |
| 191 | (𝓝[≠] 0) (𝓝 fun j => faceCurl (slotFace (A.leg j) x) a) := |
| 192 | tendsto_pi_nhds.mpr fun j => slot_limit _ _ _ |
| 193 | exact ((show Continuous A.poly by unfold Atom.poly; fun_prop).tendsto _).comp ht |
| 194 | |
| 195 | lemma atoms_limit (a : fieldDir G n 1) (M : ℕ → Atom G k) {σ C : ℝ} (hs : 0 < σ) |
| 196 | (hb : SumBudget (fun i => (M i).budget σ) C) : |
| 197 | Tendsto (fun t : ℝ => uncut M (represent (t • a)) / t ^ k) (𝓝[≠] 0) |
| 198 | (𝓝 (∑ x : Site n, ∑' i, (M i).poly fun j => faceCurl (slotFace ((M i).leg j) x) a)) := by |
| 199 | unfold uncut |
| 200 | simp_rw [Finset.sum_div, ← tsum_div_const] |
| 201 | refine tendsto_finsetSum _ (fun x hx => ?_) |
| 202 | obtain ⟨B, hB, hv⟩ := slots_bound a |
| 203 | apply tendsto_tsum_of_dominated_convergence (hb.2.1.mul_right (B ^ k)) |
| 204 | (fun i => atom_limit _ _ _) |
| 205 | filter_upwards [hv] with t ht i |
| 206 | rw [atom_scale (M i), Real.norm_eq_abs] |
| 207 | refine (poly_bound (M i) _ B (fun j => ht x _)).trans ?_ |
| 208 | exact mul_le_mul_of_nonneg_right ((M i).lower_budget σ hs) (pow_nonneg hB k) |
| 209 | |
| 210 | lemma uncut_limit (a : fieldDir G n 1) (M : ℕ → Atom G (2+(k+1))) {σ C : ℝ} |
| 211 | (hs : 0 < σ) (hb : SumBudget (fun i => (M i).budget σ) C) : |
| 212 | Tendsto (fun t : ℝ => uncut M (represent (t • a)) / t ^ 2) (𝓝[≠] 0) (𝓝 0) := by |
| 213 | have ht : Tendsto (fun t : ℝ => t ^ (k+1)) (𝓝[≠] 0) (𝓝 0) := by |
| 214 | simpa using! (tendsto_id (x := 𝓝 (0:ℝ))).pow (k+1) |>.mono_left |
| 215 | (nhdsWithin_le_nhds (s := {0}ᶜ)) |
| 216 | have hv := (atoms_limit a M hs hb).mul ht |
| 217 | rw [mul_zero] at hv |
| 218 | refine hv.congr' ?_ |
| 219 | filter_upwards [show ∀ᶠ t : ℝ in 𝓝[≠] 0, t ≠ 0 from self_mem_nhdsWithin] with t hn |
| 220 | rw [pow_add] |
| 221 | field_simp |
| 222 | |
| 223 | end atoms |
| 224 | |
| 225 | end YM.Work.F03 |