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.Schwarz |
| 9 | import Mathlib.Analysis.Normed.Group.Tannery |
| 10 | import Mathlib.Analysis.PSeries |
| 11 | import Mathlib.LinearAlgebra.Multilinear.Pi |
| 12 | import Mathlib.LinearAlgebra.PiTensorProduct.Generators |
| 13 | import YM.Ac.Table |
| 14 | import YM.Bid.Fuels |
| 15 | import YM.Bid.Loan |
| 16 | import YM.Pressure.Seeds |
| 17 | import YM.Work.A05.Read |
| 18 | import YM.Work.A07 |
| 19 | |
| 20 | |
| 21 | /-! |
| 22 | # Scalar operators, counting (not sup) |
| 23 | -/ |
| 24 | set_option autoImplicit false |
| 25 | noncomputable section |
| 26 | namespace YM.AnalyticNext.QuarticMatch.Hessian |
| 27 | open Filter Function Lattice Laurent Bloch Exterior Matrix Precision RG |
| 28 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators ComplexConjugate InnerProductSpace |
| 29 | section metric |
| 30 | variable {ι n : Type*} [Fintype ι] [Fintype n] {K : Type*} [RCLike K] |
| 31 | |
| 32 | /-- Counting l² for all row/column/field bounds below. -/ |
| 33 | def ell2 (x : ι→K) := ‖WithLp.toLp 2 x‖ |
| 34 | lemma ell_nonneg (x : ι→K) : 0 ≤ ell2 x := norm_nonneg _ |
| 35 | @[simp] lemma ell_zero : ell2 (0:ι→K)=0 := norm_zero |
| 36 | @[simp] lemma ell_neg (x : ι→K) : ell2 (-x)=ell2 x := norm_neg _ |
| 37 | lemma ell_tri (x y : ι→K) : ell2 (x+y) ≤ ell2 x+ell2 y := norm_add_le (WithLp.toLp 2 x) (WithLp.toLp 2 y) |
| 38 | lemma ell_sub (x y : ι→K) : ell2 (x-y) ≤ ell2 x+ell2 y := norm_sub_le (WithLp.toLp 2 x) (WithLp.toLp 2 y) |
| 39 | lemma ell_smul (a : K) (x : ι→K) : ell2 (a • x) = ‖a‖*ell2 x := norm_smul a (WithLp.toLp 2 x) |
| 40 | lemma ell_pos {x : ι→K} : 0 < ell2 x ↔ x≠0 := by |
| 41 | rw [ell2, norm_pos_iff]; exact not_congr (WithLp.toLp_injective 2).eq_iff |
| 42 | lemma square_length (x : ι→K) : ell2 x ^ 2 = ∑ i, ‖x i‖ ^ 2 := PiLp.norm_sq_eq_of_L2 _ _ |
| 43 | |
| 44 | lemma real_area (x y : ι→ℝ) : inner ℝ (WithLp.toLp 2 x) (WithLp.toLp 2 y) = dotProduct x y := by |
| 45 | rw [real_inner_comm]; simp only [PiLp.inner_apply, RCLike.inner_apply, starRingEnd_apply, star_trivial]; rfl |
| 46 | lemma complex_area (x y : ι→ℂ) : inner ℂ (WithLp.toLp 2 x) (WithLp.toLp 2 y)=dotProduct (star x) y := by |
| 47 | simp only [PiLp.inner_apply,RCLike.inner_apply,dotProduct, Pi.star_apply, starRingEnd_apply] |
| 48 | simp only [mul_comm] |
| 49 | lemma real_count (x : ι→ℝ) : dotProduct x x = ell2 x ^ 2 := by rw [← real_area, real_inner_self_eq_norm_sq]; rfl |
| 50 | lemma complex_count (x : ι→ℂ) : dotProduct (star x) x = ((ell2 x^2:ℝ):ℂ) := by rw [← complex_area, inner_self_eq_norm_sq_to_K,Complex.ofReal_pow]; rfl |
| 51 | lemma norm_real_area (x y : ι→ℝ) : |dotProduct x y| ≤ ell2 x*ell2 y := by rw [← real_area]; exact abs_real_inner_le_norm .. |
| 52 | lemma norm_area (x y : ι→ℂ) : ‖dotProduct (star x) y‖ ≤ ell2 x*ell2 y := by rw [← complex_area]; exact norm_inner_le_norm .. |
| 53 | lemma adjoint_area (A : Matrix ι n ℂ) (x : n→ℂ) (y : ι→ℂ) : |
| 54 | dotProduct (star (A *ᵥ x)) y=dotProduct (star x) (Aᴴ *ᵥ y) := by rw [Matrix.star_mulVec, dotProduct_mulVec] |
| 55 | |
| 56 | |
| 57 | section schur |
| 58 | variable {A : Matrix ι n K} {a b C : ℝ} |
| 59 | omit [Fintype ι] in |
| 60 | lemma rowprice (x : n→K) (i : ι) : ‖(A*ᵥ x) i‖^2 ≤ (∑ j,‖A i j‖)*∑ j, ‖A i j‖*‖x j‖^2 := by |
| 61 | let f (j) := Real.sqrt ‖A i j‖ |
| 62 | have hh : ‖(A*ᵥ x) i‖ ≤ ∑ j : n,f j*(f j*‖x j‖) := by |
| 63 | apply (norm_sum_le ..).trans_eq |
| 64 | apply Finset.sum_congr rfl; intro j _; rw [norm_mul,← mul_assoc,← pow_two,show f _ ^ 2=_ from Real.sq_sqrt (norm_nonneg _)] |
| 65 | apply (pow_le_pow_left₀ (norm_nonneg _) hh _).trans |
| 66 | convert! (Finset.sum_mul_sq_le_sq_mul_sq Finset.univ f (fun j => f j*‖x j‖)) using 1 |
| 67 | simp only [f, mul_pow,Real.sq_sqrt (norm_nonneg _)] |
| 68 | lemma smear (h : ∀ i, ∑ j, ‖A i j‖ ≤ a) (ha : 0 ≤ a) (g : ∀ j, ∑ i, ‖A i j‖ ≤ b) |
| 69 | (H : a*b ≤ C^2) (hc : 0 ≤ C) (x : n→K) : ell2 (A *ᵥ x) ≤ C*ell2 x := by |
| 70 | apply (sq_le_sq₀ (ell_nonneg _) (mul_nonneg hc (ell_nonneg _))).mp |
| 71 | rw [square_length, mul_pow,square_length] |
| 72 | apply le_trans _ (mul_le_mul_of_nonneg_right H (Finset.sum_nonneg fun i _ => sq_nonneg _)) |
| 73 | calc |
| 74 | _ ≤ ∑ i : ι, a * ∑ j : n, ‖A i j‖ * ‖x j‖^2 := Finset.sum_le_sum fun i _ => (rowprice x i).trans (mul_le_mul_of_nonneg_right (h i) (by positivity)) |
| 75 | _ ≤ _ := by |
| 76 | rw [← Finset.mul_sum,Finset.sum_comm,mul_assoc,Finset.mul_sum _ _ b] |
| 77 | exact mul_le_mul_of_nonneg_left (Finset.sum_le_sum fun i _ => by |
| 78 | rw [← Finset.sum_mul]; exact mul_le_mul_of_nonneg_right (g i) (sq_nonneg _)) ha |
| 79 | end schur |
| 80 | |
| 81 | def offer (x : ι→ℝ) := fun i => (x i:ℂ) |
| 82 | lemma offer_ell (x : ι→ℝ) : ell2 (offer x)=ell2 x := by |
| 83 | have he : ell2 (offer x)^2=ell2 x^2 := by rw [square_length,square_length]; simp only [offer, Complex.norm_real] |
| 84 | nlinarith [ell_nonneg x,ell_nonneg (offer x)] |
| 85 | omit [Fintype ι] in |
| 86 | lemma offer_mat (A : Matrix ι n ℝ) (x : n→ℝ) : offer (A*ᵥ x)=approached A *ᵥ offer x := by |
| 87 | funext i; simp only [offer,approached,mulVec,dotProduct, Complex.ofReal_sum,Complex.ofReal_mul]; rfl |
| 88 | omit [Fintype ι] [Fintype n] in |
| 89 | lemma approach_H (A : Matrix ι n ℝ) : approached A.transpose=(approached A)ᴴ := by ext i j; simp [approached] |
| 90 | end metric |
| 91 | end YM.AnalyticNext.QuarticMatch.Hessian |