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.Work.F08.Mixed |
| 2 | |
| 3 | /-! |
| 4 | Stack construction at uniform widths (F08). These are real kernels; only |
| 5 | entrywise strips are used, no square root/positivity properties of the given |
| 6 | rows. Clip constants used in the rows of Bed.full are already available |
| 7 | before L. Keep every donated row of A0 and T (hence also their advances). |
| 8 | -/ |
| 9 | |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | |
| 13 | namespace YM.Work.F08 |
| 14 | open Lattice Laurent Precision RG Exterior Craft Bloch |
| 15 | open scoped BigOperators |
| 16 | |
| 17 | /-- A period-independent (crude) work price for the finite stencil. -/ |
| 18 | def stencilCost (r : ℕ) (η : ℝ) := |
| 19 | ∑ i : TypeFace (r+1), ∑ j : TypeFace r, |
| 20 | ∑ z ∈ Exterior.support, Real.exp (η * size z) * ‖cobound r i j z‖ |
| 21 | |
| 22 | lemma strip_stencil (r : ℕ) (η : ℝ) : (cobound r).strip η (stencilCost r η) := by |
| 23 | let F (i j) (z : Cover) := Real.exp (η * size z) * ‖cobound r i j z‖ |
| 24 | let D (i j) := ∑ z ∈ Exterior.support, F i j z |
| 25 | have hn (i j) : 0 ≤ D i j := |
| 26 | Finset.sum_nonneg (fun z _ ↦ mul_nonneg (Real.exp_pos _).le (norm_nonneg _)) |
| 27 | intro i j |
| 28 | change SumBudget (F i j) (∑ i, ∑ j, D i j) |
| 29 | have hz (z : Cover) (h : z ∉ Exterior.support) : F i j z = 0 := by |
| 30 | unfold F; rw [Exterior.certified _ _ _ _ h]; simp |
| 31 | refine ⟨fun z ↦ mul_nonneg (Real.exp_pos _).le (norm_nonneg _), |
| 32 | summable_of_ne_finset_zero hz, ?_⟩ |
| 33 | rw [tsum_eq_sum hz] |
| 34 | calc |
| 35 | D i j ≤ ∑ j, D i j := Finset.single_le_sum (fun k _ ↦ hn i k) (Finset.mem_univ j) |
| 36 | _ ≤ ∑ i, ∑ j, D i j := Finset.single_le_sum (fun k _ ↦ |
| 37 | Finset.sum_nonneg (fun l _ ↦ hn k l)) (Finset.mem_univ i) |
| 38 | |
| 39 | def fullRow (H : Bed) (p : Clip) : Row Layers2 (TypeFace 2) := |
| 40 | stackRows (scaleRows (Real.sqrt p.direct) (unitRow _)) H.roots |
| 41 | |
| 42 | lemma strip_full (H : Bed) (p : Clip) {η A : ℝ} (h : H.roots.strip η A) : |
| 43 | (fullRow H p).strip η (max ‖Real.sqrt p.direct‖ A) := by |
| 44 | have hh := strip_stack (strip_scale (α := TypeFace 2) strip_unit (Real.sqrt p.direct)) h |
| 45 | rwa [mul_one] at hh |
| 46 | |
| 47 | lemma acts_full (H : Bed) (p : Clip) (n : Side) : (fullRow H p).acts n = H.full p n := by |
| 48 | unfold fullRow |
| 49 | rw [acts_stack, acts_scale, acts_unit] |
| 50 | ext ⟨x,i⟩ ⟨y,j⟩; cases i <;> rfl |
| 51 | |
| 52 | /-- Actual rows for every compatible pair of tori, with pre-L prices. -/ |
| 53 | theorem answer : YM.Bid.F08 := by |
| 54 | intro p q k Ω σ σ' Ω' ν V X _hk hσ hσ' hν |
| 55 | let γ := min σ (min σ' ν) |
| 56 | have he : 0 < γ := lt_min hσ (lt_min hσ' hν) |
| 57 | have heσ : γ ≤ σ := min_le_left .. |
| 58 | have heσ' : γ ≤ σ' := (min_le_right ..).trans (min_le_left ..) |
| 59 | have heν : γ ≤ ν := (min_le_right ..).trans (min_le_right ..) |
| 60 | let A := max ‖Real.sqrt p.direct‖ Ω |
| 61 | let B := max ‖Real.sqrt q.direct‖ Ω' |
| 62 | let n : ℝ := Fintype.card (TypeFace 2) |
| 63 | let m : ℝ := Fintype.card (TypeFace 3) |
| 64 | let l := (Real.sqrt k)⁻¹ |
| 65 | let CA := n * (A * Ω) -- H.full times inverse on fine side |
| 66 | let CB := n * (B * Ω') |
| 67 | let CL := n * (CA * Ω) -- after mixing, retain L^-2 separately |
| 68 | let CF := n * (CL * B) |
| 69 | let D₁ := stencilCost 1 γ |
| 70 | let D₂ := stencilCost 2 γ |
| 71 | let CN := ‖l‖ * (n * (D₁ * B)) |
| 72 | let Cproj := n * (CB * B) |
| 73 | let Cup := m * (V * D₂) |
| 74 | let CX := n * (Cup * Ω') |
| 75 | let CO := max (1 + Cproj) (n * (CX * B)) |
| 76 | let M := max Ω (max CF (max CN CO)) |
| 77 | refine ⟨γ, M, he, ?_⟩ |
| 78 | intro H H' hH hH' P hP L _hodd S hS |
| 79 | have hI : H.inverse.strip γ Ω := strip_mono hH.2.2.1 heσ le_rfl |
| 80 | have hI' : H'.inverse.strip γ Ω' := strip_mono hH'.2.2.1 heσ' le_rfl |
| 81 | let J := fullRow H p |
| 82 | let J' := fullRow H' q |
| 83 | let Jt := transRows J' |
| 84 | have hJ : J.strip γ A := strip_full _ _ (strip_mono hH.2.2.2.1 heσ le_rfl) |
| 85 | have hJ' : J'.strip γ B := strip_full _ _ (strip_mono hH'.2.2.2.1 heσ' le_rfl) |
| 86 | have ht : Jt.strip γ B := strip_trans hJ' |
| 87 | have hT : S.T.strip γ (Ω / (L.val:ℝ)^2) := |
| 88 | strip_mono ((hS [] (Nat.zero_le X)).2) heσ le_rfl |
| 89 | let Y := composeRows J H.inverse |
| 90 | let Z := composeRows J' H'.inverse |
| 91 | have hY : Y.strip γ CA := strip_compose he.le hJ hI |
| 92 | have hZ : Z.strip γ CB := strip_compose he.le hJ' hI' |
| 93 | let Left := fineCompose Y S.T |
| 94 | let mf := composeRows Left Jt |
| 95 | have hLeft : Left.strip γ (CL / (L.val:ℝ)^2) := by |
| 96 | rw [show CL / (L.val:ℝ)^2 = n * (CA * (Ω / (L.val:ℝ)^2)) from by unfold CL; ring] |
| 97 | exact strip_fine he.le hY hT |
| 98 | have hmf : mf.strip γ (CF / (L.val:ℝ)^2) := by |
| 99 | rw [show CF / (L.val:ℝ)^2 = n * ((CL / (L.val:ℝ)^2) * B) from by unfold CF; ring] |
| 100 | exact strip_compose he.le hLeft ht |
| 101 | have hD₁ : (transRows (cobound 1)).strip γ D₁ := strip_trans (strip_stencil _ _) |
| 102 | let mn := scaleRows l (composeRows (transRows (cobound 1)) Jt) |
| 103 | have hmn : mn.strip γ CN := strip_scale (strip_compose he.le hD₁ ht) _ |
| 104 | let proj := composeRows Z Jt |
| 105 | let D := composeRows P (cobound 2) |
| 106 | let E := composeRows D H'.inverse |
| 107 | let o := stackRows (minusRows (unitRow _) proj) (composeRows E Jt) |
| 108 | have hPg : P.strip γ V := strip_mono hP heν le_rfl |
| 109 | have hproj : proj.strip γ Cproj := strip_compose he.le hZ ht |
| 110 | have hD : D.strip γ Cup := strip_compose he.le hPg (strip_stencil _ _) |
| 111 | have hE : E.strip γ CX := strip_compose he.le hD hI' |
| 112 | have ho : o.strip γ CO := strip_stack (strip_minus strip_unit hproj) |
| 113 | (strip_compose he.le hE ht) |
| 114 | let T : Towers L := ⟨S.A0, S.T, mf, mn, o⟩ |
| 115 | refine ⟨T, ?_, ?_⟩ |
| 116 | · have hΩ : Ω ≤ M := le_max_left .. |
| 117 | have hF : CF ≤ M := le_max_of_le_right (le_max_left ..) |
| 118 | have hN : CN ≤ M := le_max_of_le_right (le_max_of_le_right (le_max_left ..)) |
| 119 | have hO : CO ≤ M := le_max_of_le_right (le_max_of_le_right (le_max_right ..)) |
| 120 | refine ⟨strip_mono hmn le_rfl hN, strip_mono ho le_rfl hO, |
| 121 | strip_mono hmf le_rfl (div_le_div_of_nonneg_right hF (by positivity)), ?_⟩ |
| 122 | intro w hw |
| 123 | obtain ⟨h₀,h₁⟩ := hS w hw |
| 124 | exact ⟨strip_mono h₀ heσ (div_le_div_of_nonneg_right hΩ (by positivity)), |
| 125 | strip_mono h₁ heσ (div_le_div_of_nonneg_right hΩ (by positivity))⟩ |
| 126 | intro c f h |
| 127 | let g : Ratio c f := ⟨L, h⟩ |
| 128 | have hpJ : J.acts f = H.full p f := acts_full _ _ _ |
| 129 | have hpJ' : J'.acts c = H'.full q c := acts_full _ _ _ |
| 130 | have hpt : Jt.acts c = (H'.full q c).transpose := by unfold Jt; rw [acts_trans, hpJ'] |
| 131 | change Replaces g H H' p q k P S T |
| 132 | refine ⟨rfl, rfl, ?_, ?_, ?_⟩ |
| 133 | · change installed g (composeRows Left Jt) = _ |
| 134 | have hx : installed g Left = Y.acts f * installed g S.T := installed_fine g he.le hY hT |
| 135 | have hy : Y.acts f = J.acts f * H.inverse.acts f := acts_compose he.le hJ hI f |
| 136 | rw [installed_compose g he.le hLeft ht, hx, hy, hpJ, hpt] |
| 137 | · change (scaleRows l (composeRows (transRows (cobound 1)) Jt)).acts c = _ |
| 138 | rw [acts_scale, acts_compose he.le hD₁ ht, acts_trans, hpt] |
| 139 | change (stackRows (minusRows (unitRow _) proj) (composeRows E Jt)).acts c = _ |
| 140 | have hx : proj.acts c = Z.acts c * Jt.acts c := acts_compose he.le hZ ht c |
| 141 | have hz : Z.acts c = J'.acts c * H'.inverse.acts c := acts_compose he.le hJ' hI' c |
| 142 | have hd : D.acts c = P.acts c * (cobound 2).acts c := |
| 143 | acts_compose he.le hPg (strip_stencil _ _) c |
| 144 | have hy : E.acts c = D.acts c * H'.inverse.acts c := acts_compose he.le hD hI' c |
| 145 | rw [acts_stack, acts_minus he.le strip_unit hproj, acts_unit, |
| 146 | acts_compose he.le hE ht, hx, hy, hd, hz, hpJ', hpt] |
| 147 | |
| 148 | end YM.Work.F08 |