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.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Census |
| 2 | import YM.Next.FREE_KERNELS.Lifts |
| 3 | import YM.Progress.STATIONARY_SCENES.Green |
| 4 | |
| 5 | /-! |
| 6 | # Matrix prices (counting, true distances) |
| 7 | |
| 8 | Common post-L inverse script for `along`-type weight functions. `(I+uS)` or |
| 9 | `A_s` interpolation later. No series positivity assumed for a window. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.ConnectedActivityE6.Control |
| 14 | open Filter Function Lattice RG Pressure Pressure.Stores Pressure.Tube Tree Wilson Finset MeasureTheory Matrix |
| 15 | open Push Push.AbsoluteSums Precision Exterior Shell Channel Next.Fluctuations SectorMeasure Oriented Work.E03 |
| 16 | open Bloch Laurent SliceRows Mask Tags Progress.StationaryScenes Green Census Work.F03 Animals |
| 17 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 18 | variable {ι κ ν : Type*} [Fintype ι] [Fintype κ] {c : Side} {a : ι → Site c} {b : κ → Site c} |
| 19 | variable {A B : Matrix ι ι ℝ} {M : Matrix ι κ ℝ} {r η X Y : ℝ} |
| 20 | |
| 21 | abbrev Price (a : ι → Site c) (b : κ → Site c) (M : Matrix ι κ ℝ) (r X : ℝ) := Both a b M r X X |
| 22 | |
| 23 | omit [Fintype ι] in |
| 24 | lemma pricing (h : Rows a b M r X) (e : η ≤ r) (g : X ≤ Y) : Rows a b M η Y := by |
| 25 | intro i; apply le_trans _ ((h i).trans g) |
| 26 | refine sum_le_sum fun j _ => mul_le_mul_of_nonneg_right ?_ (abs_nonneg _) |
| 27 | exact Real.exp_monotone (mul_le_mul_of_nonneg_right e (Nat.cast_nonneg _)) |
| 28 | lemma increase (h : Price a b M r X) (e : η ≤ r) (g : X ≤ Y) : Price a b M η Y := |
| 29 | ⟨pricing h.1 e g, pricing h.2 e g⟩ |
| 30 | omit [Fintype ι] in |
| 31 | lemma trace0 (h : Rows a b M r X) (i : ι) (j : κ) : wt r (a i) (b j)*|M i j| ≤ X := |
| 32 | le_trans (Finset.single_le_sum (f := fun j => wt r (a i) (b j)*|M i j|) |
| 33 | (fun _ _ => mul_nonneg (wt_pos ..).le (abs_nonneg _)) (mem_univ _)) (h i) |
| 34 | omit [Fintype ι] in |
| 35 | lemma only_price (h : Rows a b M r X) (he : 0≤r) (i : ι) (j : κ) : |M i j| ≤ X := by |
| 36 | simpa only [wt,zero_mul,Real.exp_zero, one_mul] using! trace0 (pricing h he le_rfl) i j |
| 37 | omit [Fintype ι] in |
| 38 | lemma pure_pay (h : Rows a b M r X) (he : 0≤r) (i : ι) : ∑ j, |M i j| ≤ X := by |
| 39 | simpa only [wt,zero_mul,Real.exp_zero,one_mul] using pricing h he le_rfl i |
| 40 | lemma density (a : ι → Site c) (A : Matrix ι ι ℝ) (r : ℝ) (h : IsHermitian A) {X : ℝ} (he : Rows a a A r X) : Price a a A r X := by |
| 41 | refine ⟨he,?_⟩; rw [← show Aᴴ=A.transpose from by ext; simp,h.eq]; exact he |
| 42 | |
| 43 | lemma paid_add (h : Price a a A r X) (k : Price a a B r Y) : Price a a (A+B) r (X+Y) := by |
| 44 | refine ⟨h.1.plus k.1,?_⟩; rw [transpose_add]; exact h.2.plus k.2 |
| 45 | lemma paid_mul {g : ν → Site c} [Fintype ν] {L : Matrix κ ν ℝ} (h : Price a b M r X) (k : Price b g L r Y) |
| 46 | (he : 0 ≤ r) (hh : 0 ≤ X) (hf : 0 ≤ Y) : Price a g (M*L) r (X*Y) := by |
| 47 | refine ⟨h.1.multiply he k.1 hf,?_⟩; rw [transpose_mul, mul_comm X Y] |
| 48 | exact k.2.multiply he h.2 hh |
| 49 | lemma flipped (h : Price a b M r X) : Price b a M.transpose r X := ⟨h.2,by rw [transpose_transpose]; exact h.1⟩ |
| 50 | lemma weighted_by (h : Price a b M r X) (t : ℝ) : Price a b (t • M) r (|t| *X) := by |
| 51 | refine ⟨h.1.pay t,?_⟩; rw [transpose_smul]; exact h.2.pay t |
| 52 | lemma spent_neg (h : Price a b M r X) : Price a b (-M) r X := by |
| 53 | simpa only [neg_smul,one_smul, abs_neg,abs_one,one_mul] using weighted_by h (-1) |
| 54 | |
| 55 | lemma one_pay [DecidableEq ι] (a : ι→ Site c) (r : ℝ) : Price a a (1:Matrix ι ι ℝ) r 1 := by |
| 56 | refine density _ _ _ Matrix.isHermitian_one fun i => ?_; rw [Finset.sum_eq_single i] |
| 57 | · simp [wt] |
| 58 | · intro j _ hj; simp [hj.symm] |
| 59 | simp |
| 60 | lemma nn (v : ι → ℝ) : 0 ≤ dotProduct v v := Finset.sum_nonneg fun _ _ => mul_self_nonneg _ |
| 61 | lemma top (h : Price a a A r X) (he : 0≤r) (v : ι→ℝ) : |dotProduct v (A *ᵥ v)| ≤ X*dotProduct v v := by |
| 62 | exact Green.schur A v X (pure_pay h.1 he) (fun j => pure_pay h.2 he j) |
| 63 | lemma bilinear_floor (h : Price a a A r X) (he : 0 ≤ r) : Bottom A (-X) := by |
| 64 | intro v; rw [neg_mul]; exact (abs_le.mp (top h he v)).1 |
| 65 | lemma lower_inverse [DecidableEq ι] {ρ : ℝ} (h : Price a a A r X) (he : 0≤r) (hk : 0 < X) (hA : IsHermitian A) |
| 66 | (hG : Bottom A ρ) (hr : 0 ≤ ρ) (H : A*A⁻¹=1) : Bottom A⁻¹ X⁻¹ := by |
| 67 | intro v; let w := A⁻¹ *ᵥ v |
| 68 | have hv : A *ᵥ w=v := by unfold w; rw [Matrix.mulVec_mulVec,H,Matrix.one_mulVec] |
| 69 | let x := X⁻¹ • v |
| 70 | have hf : 0 ≤ dotProduct (w-x) (A *ᵥ (w-x)) := (mul_nonneg hr (nn _)).trans (hG (w-x)) |
| 71 | have hg (u v) : dotProduct u (A *ᵥ v)=dotProduct (A *ᵥ u) v := by |
| 72 | have he : Aᵀ=A := by rw [← show Aᴴ=Aᵀ from by ext; simp,hA.eq] |
| 73 | conv_lhs => rhs; arg 1; rw [← he] |
| 74 | rw [Matrix.dotProduct_mulVec,Matrix.vecMul_transpose] |
| 75 | have ht : dotProduct x (A *ᵥ x) ≤ dotProduct x v := by |
| 76 | apply ((le_abs_self _).trans (top h he x)).trans |
| 77 | exact le_of_eq (by |
| 78 | unfold x |
| 79 | rw [smul_dotProduct,smul_dotProduct,dotProduct_smul] |
| 80 | change X*(X⁻¹*(X⁻¹*_))=_ |
| 81 | rw [← mul_assoc, mul_inv_cancel₀ hk.ne',one_mul]; rfl) |
| 82 | rw [Matrix.mulVec_sub, dotProduct_sub, sub_dotProduct, sub_dotProduct, |
| 83 | hv,hg,dotProduct_comm (A *ᵥ w),hv] at hf |
| 84 | change _ ≤ dotProduct v w |
| 85 | rw [dotProduct_comm v w]; apply le_trans (b:=dotProduct x v) (by unfold x; rw [smul_dotProduct]; rfl) |
| 86 | (by linarith only [hf,ht]) |
| 87 | lemma definite (he : IsHermitian A) (h : Bottom A X) (hp : 0 < X) : A.PosDef := by |
| 88 | apply Matrix.PosDef.of_dotProduct_mulVec_pos he; intro v hv |
| 89 | rw [star_trivial]; apply lt_of_lt_of_le ?_ (h v); exact mul_pos hp (by |
| 90 | obtain ⟨i,hi⟩ : ∃ i, v i ≠ 0 := by simpa only [Ne,funext_iff,Pi.zero_apply,not_forall] using hv |
| 91 | exact (mul_self_pos.mpr hi).trans_le (Finset.single_le_sum (f:=fun j=>v j*v j) |
| 92 | (fun j _ => mul_self_nonneg _) (mem_univ _))) |
| 93 | |
| 94 | omit [Fintype ι] in |
| 95 | lemma neighbor_pay (h : Rows a b M r X) (n : ℕ) (H : ∀ i j, separation (a i) (b j) ≤ n → M i j=0) (he : η ≤ r) : |
| 96 | Rows a b M η (Real.exp ((η-r)*n)*X) := by |
| 97 | intro i |
| 98 | refine le_trans ?_ (mul_le_mul_of_nonneg_left (h i) (Real.exp_pos _).le); rw [mul_sum] |
| 99 | apply sum_le_sum; intro j hj |
| 100 | by_cases ht : separation (a i) (b j) ≤ n |
| 101 | · simp [H i j ht] |
| 102 | rw [← mul_assoc]; refine mul_le_mul_of_nonneg_right ?_ (abs_nonneg _); unfold wt; rw [← Real.exp_add] |
| 103 | apply Real.exp_monotone |
| 104 | have hh : (n:ℝ) ≤ (separation (a i) (b j):ℝ) := by exact_mod_cast (le_of_lt (lt_of_not_ge ht)) |
| 105 | nlinarith |
| 106 | lemma spend_far (h : Price a b M r X) (n : ℕ) (H : ∀ i j, separation (a i) (b j) ≤ n → M i j=0) (he : η ≤ r) : |
| 107 | Price a b M η (Real.exp ((η-r)*n)*X) := |
| 108 | ⟨neighbor_pay h.1 n H he, neighbor_pay h.2 n (fun i j hij => H j i ((separation_comm ..) ▸ hij)) he⟩ |
| 109 | end YM.ConnectedActivityE6.Control |