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.Push.LOOP_COEFFICIENT.Frequency |
| 2 | import YM.Push.LOOP_COEFFICIENT.JetMatrix |
| 3 | import YM.Push.LOOP_COEFFICIENT.Routed |
| 4 | |
| 5 | /-! |
| 6 | # Two-wave comparison port for actual matrices (per-cell normalization) |
| 7 | -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.Push.Loops |
| 11 | open Matrix Function Filter Set Bloch Lattice Laurent |
| 12 | open scoped Topology BigOperators ContDiff |
| 13 | variable {n : Side} {E F a b : Type} [Fintype E] [Fintype F] [Fintype a] [Fintype b] |
| 14 | [DecidableEq E] [DecidableEq F] [DecidableEq a] [DecidableEq b] |
| 15 | variable {M : Grid n E a} {N : Grid n F b} {X Y : Matrix E F ℂ} {U V : Momentum → Matrix a b ℂ} |
| 16 | |
| 17 | def sample (M : Grid n E a) (N : Grid n F b) (X : Matrix E F ℂ) (k i : Site n) := |
| 18 | ((n.val:ℂ)^4)⁻¹ • ((plane M k).transpose * X * plane N i) |
| 19 | structure Compares (M : Grid n E a) (N : Grid n F b) (X : Matrix E F ℂ) (V : Momentum → Matrix a b ℂ) (tol : ℝ) : Prop where |
| 20 | off (k i : Site n) : k+i ≠ 0 → sample M N X k i = 0 |
| 21 | price {p i} : Matches p i → ∀ j k, ‖sample M N X (-i) i j k - V p j k‖ ≤ tol |
| 22 | |
| 23 | abbrev Coeff (f : (E → ℝ) → ℝ) := cmat (bilinearAt f 0) |
| 24 | |
| 25 | lemma sample_actual (f : (E → ℝ) → ℝ) (k i : Site n) (x y : CSpace a) : |
| 26 | x ⬝ᵥ (sample M M (Coeff f) k i *ᵥ y) = |
| 27 | ((n.val:ℂ)^4)⁻¹ * (actualScalar f).quad (plane M k *ᵥ x) (plane M i *ᵥ y) := by |
| 28 | rw [actualScalar_quad,sample,smul_mulVec,dotProduct_smul, ← mulVec_mulVec,← mulVec_mulVec, dotProduct_mulVec, vecMul_transpose]; rfl |
| 29 | |
| 30 | omit [DecidableEq E] [DecidableEq F] [Fintype a] [Fintype b] in |
| 31 | lemma sample_add (k i : Site n) : sample M N (X+Y) k i = sample M N X k i + sample M N Y k i := by |
| 32 | unfold sample; rw [Matrix.mul_add,Matrix.add_mul,smul_add] |
| 33 | omit [DecidableEq E] [DecidableEq F] [Fintype a] [Fintype b] in |
| 34 | lemma sample_smul (c : ℂ) (k i : Site n) : sample M N (c • X) k i = c • sample M N X k i := by |
| 35 | unfold sample; rw [Matrix.mul_smul,Matrix.smul_mul,smul_comm] |
| 36 | |
| 37 | namespace Compares |
| 38 | variable {tol tol' : ℝ} |
| 39 | |
| 40 | omit [DecidableEq E] [DecidableEq F] [Fintype b] in |
| 41 | lemma of_routed (h : ∀ i p, Matches p i → Routed M N i i X (V p)) : Compares M N X V 0 := by |
| 42 | constructor |
| 43 | · intro k i hk |
| 44 | rw [sample,(h i (mon i) (mon_matches i)).paired, if_neg (mt add_eq_zero_iff_neg_eq.mpr hk),smul_zero] |
| 45 | · intro p i hp j k; rw [sample,(h i p hp).paired, if_pos (neg_neg i),smul_smul,inv_mul_cancel₀ (pow_ne_zero _ (side_ne _)), one_smul,sub_self,norm_zero] |
| 46 | |
| 47 | omit [DecidableEq E] [DecidableEq F] [Fintype a] [Fintype b] in |
| 48 | lemma mono (h : Compares M N X U tol) (ht : tol ≤ tol') : Compares M N X U tol' := ⟨h.off,fun hp j k => (h.price hp j k).trans ht⟩ |
| 49 | |
| 50 | omit [DecidableEq E] [DecidableEq F] [Fintype a] [Fintype b] in |
| 51 | lemma add (h : Compares M N X U tol) (h' : Compares M N Y V tol') : Compares M N (X+Y) (U+V) (tol+tol') := by |
| 52 | constructor |
| 53 | · intro k i he; rw [sample_add, h.off k i he,h'.off k i he,zero_add] |
| 54 | · intro p i hp j k; rw [sample_add]; simp only [Matrix.add_apply, Pi.add_apply,add_sub_add_comm]; exact (norm_add_le ..).trans (add_le_add (h.price hp j k) (h'.price hp j k)) |
| 55 | |
| 56 | omit [DecidableEq E] [DecidableEq F] [Fintype a] [Fintype b] in |
| 57 | lemma smul (c : ℂ) (h : Compares M N X U tol) : Compares M N (c • X) (c • U) (‖c‖*tol) := by |
| 58 | constructor |
| 59 | · intro k i he; rw [sample_smul,h.off k i he,smul_zero] |
| 60 | · intro p i hp j k; rw [sample_smul]; simp only [Matrix.smul_apply,Pi.smul_apply,← smul_sub,norm_smul]; exact mul_le_mul_of_nonneg_left (h.price hp j k) (norm_nonneg _) |
| 61 | |
| 62 | omit [DecidableEq E] [DecidableEq F] [Fintype a] [Fintype b] in |
| 63 | lemma exact_sample (h : Compares M N X V 0) {p i} (hp : Matches p i) : sample M N X (-i) i = V p := by |
| 64 | ext j k; exact sub_eq_zero.mp (norm_le_zero_iff.mp (h.price hp j k)) |
| 65 | end Compares |
| 66 | end YM.Push.Loops |