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.Further.GAUSSIAN_SCALAR_LEDGER.Rates |
| 2 | |
| 3 | set_option warningAsError false |
| 4 | |
| 5 | /-! |
| 6 | # Unwind local errors into individually bounded ordered scalar labels |
| 7 | |
| 8 | No color regroup needed. Here there ARE many labels even for a single |
| 9 | matrix entry of a power; want uniform summability against physical |
| 10 | metrics for the determinant remainders not just norm convergence of the |
| 11 | matrix sum. Keep all path displacements & E pulse integral. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Further.GaussianScalar.Trail |
| 17 | |
| 18 | open Matrix Function Filter MeasureTheory Set Precision SectorNext.Vacuum Lattice |
| 19 | open Round (rowRate) |
| 20 | open RawPrice (tear) |
| 21 | open YM.Progress.StationaryScenes.Green |
| 22 | open YM.Push.Uniform (Multiplicity Decay countCost count_pos decay_pos) |
| 23 | open scoped Topology BigOperators Matrix.Norms.Frobenius Classical |
| 24 | |
| 25 | variable {ι : Type*} [Fintype ι] [DecidableEq ι] {n : Side} |
| 26 | |
| 27 | def tread (X Y : Wall ι) : ∀ m : ℕ, ι → (Fin m → ι) → ι → ℝ |
| 28 | | 0, i, _, j => Y i j |
| 29 | | m+1, i, f, j => X i (f 0)* tread X Y m (f 0) (Fin.tail f) j |
| 30 | |
| 31 | -- `bill` on total distance traveled, including repeated positions |
| 32 | |
| 33 | def stamp (l : ι → Site n) (γ : ℝ) : ∀ m : ℕ, ι → (Fin m → ι) → ι → ℝ |
| 34 | | 0, i, _, j => Decay γ (l i) (l j) |
| 35 | | m+1, i, f, j => Decay γ (l i) (l (f 0)) * stamp l γ m (f 0) (Fin.tail f) j |
| 36 | |
| 37 | omit [Fintype ι] [DecidableEq ι] in |
| 38 | lemma stamp_pos (l : ι → Site n) (γ : ℝ) (m : ℕ) (i : ι) (f : Fin m → ι) (j : ι) : |
| 39 | 0 < stamp l γ m i f j := by |
| 40 | induction m generalizing i with |
| 41 | | zero => exact decay_pos .. |
| 42 | | succ k ih => exact mul_pos (decay_pos ..) (ih _ _) |
| 43 | |
| 44 | omit [DecidableEq ι] in |
| 45 | lemma bound_tread {l : ι → Site n} {A B γ : ℝ} (X Y : Wall ι) (hX : Double l γ A X) (hY : Double l γ B Y) |
| 46 | (h : 0≤A) (m : ℕ) (i : ι) (f : Fin m → ι) (j : ι) : |tread X Y m i f j| ≤ A^m* B * stamp l γ m i f j := by |
| 47 | have ht (V : Wall ι) (C : ℝ) (H : Double l γ C V) (i j : ι) : |V i j| ≤ C*Decay γ (l i) (l j) := by |
| 48 | apply le_of_mul_le_mul_left _ (wt_pos γ (l i) (l j)); refine (Double.point H i j).trans_eq ?_ |
| 49 | unfold Decay wt; rw [mul_left_comm,← Real.exp_add,neg_mul,add_neg_cancel,Real.exp_zero,mul_one] |
| 50 | induction m generalizing i with |
| 51 | | zero => rw [tread,stamp,pow_zero,one_mul]; exact ht _ _ hY .. |
| 52 | | succ k ih => |
| 53 | rw [tread,abs_mul]; refine le_trans (mul_le_mul (ht X A hX i (f 0)) (ih _ _) |
| 54 | (abs_nonneg _) (mul_nonneg h (decay_pos ..).le)) ?_ |
| 55 | exact le_of_eq (by rw [pow_succ,stamp]; ring) |
| 56 | |
| 57 | lemma wheels (X Y : Wall ι) (m : ℕ) (i j : ι) : ∑ f, tread X Y m i f j = (X^m*Y) i j := by |
| 58 | induction m generalizing i with |
| 59 | | zero => simp [tread] |
| 60 | | succ k ih => |
| 61 | rw [← Equiv.sum_comp (Fin.consEquiv (fun _ => ι))] -- orientation |
| 62 | rw [Fintype.sum_prod_type]; simp_rw [tread] |
| 63 | rw [pow_succ',mul_assoc,Matrix.mul_apply]; refine Finset.sum_congr rfl fun b _ => ?_ |
| 64 | rw [← ih]; simp [Finset.mul_sum,Fin.consEquiv] |
| 65 | |
| 66 | omit [DecidableEq ι] in |
| 67 | lemma steam (l : ι → Site n) (γ : ℝ) (hγ : 0 < γ) (K : ℕ) (h : Multiplicity l K) (m : ℕ) (i : ι) : |
| 68 | ∑ j, ∑ f, stamp l γ m i f j ≤ (K * countCost γ)^(m+1) := by |
| 69 | induction m generalizing i with |
| 70 | | zero => simpa [stamp] using h.count l hγ (l i) |
| 71 | | succ k ih => |
| 72 | let C := K*countCost γ |
| 73 | rw [Finset.sum_comm, ← Equiv.sum_comp (Fin.consEquiv (fun _ => ι)), Fintype.sum_prod_type] |
| 74 | have hp b : ∑ j,∑ f,stamp l γ k b f j ≤ C^(k+1) := ih b |
| 75 | calc |
| 76 | _ ≤ ∑ b : ι, Decay γ (l i) (l b)* C^(k+1) := by |
| 77 | refine Finset.sum_le_sum fun b _ => ?_ |
| 78 | apply le_trans _ (mul_le_mul_of_nonneg_left (hp b) (decay_pos ..).le) |
| 79 | rw [Finset.sum_comm]; exact le_of_eq (by simp [stamp,Finset.mul_sum,Fin.consEquiv]) |
| 80 | _ ≤ C^(k+1+1) := by rw [← Finset.sum_mul,pow_succ' _ (k+1)]; exact mul_le_mul_of_nonneg_right (h.count l hγ (l i)) (by unfold C; have hv := count_pos hγ; positivity : 0 ≤ C^(k+1)) |
| 81 | |
| 82 | section sheets |
| 83 | |
| 84 | variable {p : Expense} {A : Wall ι} {l : ι → Site n} (Z : Lens ι) {r : ℝ} |
| 85 | |
| 86 | |
| 87 | -- transpose used here just to enumerate from the right. |
| 88 | |
| 89 | |
| 90 | omit [Fintype ι] [DecidableEq ι] in |
| 91 | private lemma tread_cts (X Y : ℝ → Wall ι) (h : ContinuousOn X (Ioi 0)) (he : ContinuousOn Y (Ioi 0)) |
| 92 | (m : ℕ) (i : ι) (f : Fin m → ι) (j : ι) : ContinuousOn (fun u => tread (X u) (Y u) m i f j) (Ioi 0) := by |
| 93 | induction m generalizing i with |
| 94 | | zero => exact continuousOn_pi.mp (continuousOn_pi.mp he i) j |
| 95 | | succ m ih => exact (continuousOn_pi.mp (continuousOn_pi.mp h i) (f 0)).mul (ih _ _) |
| 96 | |
| 97 | |
| 98 | |
| 99 | |
| 100 | |
| 101 | |
| 102 | |
| 103 | |
| 104 | |
| 105 | |
| 106 | |
| 107 | |
| 108 | |
| 109 | |
| 110 | |
| 111 | |
| 112 | |
| 113 | |
| 114 | |
| 115 | |
| 116 | |
| 117 | |
| 118 | |
| 119 | |
| 120 | end sheets |
| 121 | end YM.Further.GaussianScalar.Trail |