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.Next.FREE_KERNELS.Signal |
| 2 | import YM.SectorNext.GAUSSIAN_SECTOR_CHANGE.Chosen |
| 3 | import YM.SectorNext.LARGE_FIELD_REMAINDERS.Delay |
| 4 | |
| 5 | /-! |
| 6 | # Both sides of the same-law fog covariance bound |
| 7 | -/ |
| 8 | set_option autoImplicit false |
| 9 | set_option linter.unusedSectionVars false |
| 10 | set_option linter.unusedVariables false |
| 11 | noncomputable section |
| 12 | namespace YM.AnalyticBridge.AnnulusRatioInsertions.Prism |
| 13 | open Function Filter Lattice Wilson RG RG.Patch Precision Exterior Tree MeasureTheory Metric Matrix |
| 14 | open Next.SectorChange Next.SectorChange.Motion Next.SectorChange.Rows Next.SectorChange.Gaussian |
| 15 | open Pressure Pressure.Tube Pressure.Stores Bid Push.SectorMeasure Push.SectorMeasure.Oriented |
| 16 | open Tier Wisps Schur LocalJet |
| 17 | |
| 18 | open scoped Topology InnerProductSpace BigOperators Classical ContDiff Matrix.Norms.Frobenius Push.SectorMeasure |
| 19 | |
| 20 | section form |
| 21 | variable {V I : Type} [Fintype V] [DecidableEq V] [Fintype I] [DecidableEq I] {A : Gaussian.Table V} {η L : ℝ} |
| 22 | |
| 23 | /-- Real counting convention. -/ |
| 24 | lemma dot_nonneg (v : Vec V) : 0 ≤ v ⬝ᵥ v := sumSq_dot v ▸ sumSq_nn v |
| 25 | |
| 26 | lemma dot_diff (z x : Vec V) (k : ℝ) : 2*k*(z ⬝ᵥ x) ≤ z ⬝ᵥ z + k^2*(x ⬝ᵥ x) := by |
| 27 | have h := dot_nonneg (z - k • x) |
| 28 | rw [sub_dotProduct,dotProduct_sub,dotProduct_sub,dotProduct_smul,smul_dotProduct, |
| 29 | dotProduct_smul,smul_dotProduct,smul_eq_mul,smul_eq_mul,smul_eq_mul,dotProduct_comm x z] at h |
| 30 | simp only [smul_eq_mul] at h |
| 31 | nlinarith only [h] |
| 32 | |
| 33 | /-- Sharp two-sided bound for the inverse in the genuine form norm. |
| 34 | Derive via variational inequality rather than inserting a mesh eigenbasis. -/ |
| 35 | lemma reciprocal (hA : A.IsSymm) (hη : 0<η) (hL : 0<L) (h : Numeric A η L) : Numeric A⁻¹ L⁻¹ η⁻¹ := by |
| 36 | have hu : A.PosDef := dissolves (fun i=>sumSq_dot i |>.symm ▸ (h i).1) hA hη |
| 37 | intro z |
| 38 | let v := A⁻¹ *ᵥ z |
| 39 | have hv : A *ᵥ v = z := by unfold v; rw [mulVec_mulVec,A.mul_nonsing_inv ((A.isUnit_iff_isUnit_det).mp hu.isUnit),one_mulVec] |
| 40 | change L⁻¹*(z ⬝ᵥ z) ≤ z ⬝ᵥ v ∧ z ⬝ᵥ v ≤ η⁻¹*(z ⬝ᵥ z) |
| 41 | constructor |
| 42 | · let t := L • v - z |
| 43 | have h0 : 0 ≤ t ⬝ᵥ (A *ᵥ t) := le_trans (mul_nonneg hη.le (dot_nonneg t)) (h t).1 |
| 44 | have he : v ⬝ᵥ (A *ᵥ z) = z ⬝ᵥ z := by |
| 45 | nth_rw 1 [← hA.eq] |
| 46 | rw [Matrix.dotProduct_transpose_mulVec,hv] |
| 47 | unfold t at h0; rw [mulVec_sub,mulVec_smul,hv,sub_dotProduct, |
| 48 | dotProduct_sub,dotProduct_sub,smul_dotProduct,smul_dotProduct,dotProduct_smul,dotProduct_smul, |
| 49 | he,smul_eq_mul,smul_eq_mul,smul_eq_mul,dotProduct_comm v z] at h0 |
| 50 | rw [inv_mul_eq_div, div_le_iff₀ hL] |
| 51 | have hx := (h z).2 |
| 52 | exact le_of_sub_nonneg (by nlinarith) |
| 53 | have hh := (h v).1 |
| 54 | rw [hv,dotProduct_comm v z] at hh |
| 55 | have hr := dot_diff z v η |
| 56 | rw [inv_mul_eq_div,le_div_iff₀ hη] |
| 57 | nlinarith [mul_le_mul_of_nonneg_left hh hη.le] |
| 58 | |
| 59 | /-- Embeddings (including arbitrary groupings / relabelings of a |
| 60 | position's color fiber) at counting price. -/ |
| 61 | def scout (e : I → V) (x : Vec I) (j : V) := ∑ i, (Pi.single (e i) (x i) : Vec V) j |
| 62 | |
| 63 | lemma scouting (e : I → V) (h : Function.Injective e) (x : Vec I) (u : Vec V) : |
| 64 | scout e x ⬝ᵥ u = x ⬝ᵥ fun i=>u (e i) := by |
| 65 | classical |
| 66 | unfold dotProduct scout |
| 67 | simp_rw [Finset.sum_mul] |
| 68 | rw [Finset.sum_comm]; refine Finset.sum_congr rfl fun i _=>?_ |
| 69 | simp [Pi.single_apply,ite_mul] |
| 70 | |
| 71 | lemma scouted (e : I → V) (h : Function.Injective e) (x : Vec I) (i : I) : scout e x (e i)=x i := by |
| 72 | classical |
| 73 | unfold scout |
| 74 | simp [Pi.single_apply,h.eq_iff] |
| 75 | |
| 76 | lemma nominated (e : I → V) (he : Injective e) (hA : Numeric A η L) : Numeric (A.submatrix e e) η L := by |
| 77 | intro v |
| 78 | have hs : (scout e v) ⬝ᵥ scout e v = v ⬝ᵥ v := by rw [scouting e he]; simp_rw [scouted e he] |
| 79 | have hx : (scout e v) ⬝ᵥ (A *ᵥ scout e v) = v ⬝ᵥ (A.submatrix e e *ᵥ v) := by |
| 80 | rw [scouting _ he] |
| 81 | congr; funext i |
| 82 | change A (e i) ⬝ᵥ scout e v = (fun j:I=> A (e i) (e j)) ⬝ᵥ v |
| 83 | rw [dotProduct_comm,scouting _ he,dotProduct_comm] |
| 84 | have hg := hA (scout e v) |
| 85 | rw [hs,hx] at hg; exact hg |
| 86 | |
| 87 | |
| 88 | |
| 89 | /-- Can buy *both* sides on a matrix that is only known close to A⁻¹, |
| 90 | with Pours cost. In applications F is the actual fog, not a mesh |
| 91 | prescription. Use L or η broadened further if desired. -/ |
| 92 | theorem spells {c : Side} (p : V → Site c) (hA : A.PosDef) {F : Gaussian.Table V} |
| 93 | {δ σ : ℝ} (hη : 0<η) (hL : 0<L) (hσ : 0<σ) |
| 94 | (hp : Pours A p p σ L) (hG : Gapped A η) |
| 95 | (h : Pours (F-A⁻¹) p p 0 δ) |
| 96 | (hδ : δ ≤ L⁻¹/2) (hv : δ ≤ η⁻¹) : Numeric F (L⁻¹/2) (2*η⁻¹) := by |
| 97 | have ht : Numeric A η L := by |
| 98 | intro v |
| 99 | have hx := (abs_le.mp (estimate (hp.weaker hσ.le le_rfl) v v)).2 |
| 100 | simp_rw [sumSq_dot] at hx |
| 101 | exact ⟨sumSq_dot v ▸ hG v,by linarith⟩ |
| 102 | have hk := reciprocal (Matrix.isHermitian_iff_isSymm.mp hA.isHermitian) hη hL ht |
| 103 | intro a |
| 104 | have he := estimate h a a |
| 105 | rw [sub_mulVec,dotProduct_sub,sumSq_dot,show δ * (a ⬝ᵥ a + a ⬝ᵥ a) / 2 = δ*(a ⬝ᵥ a) by ring] at he |
| 106 | obtain ⟨hh,hb⟩:= abs_le.mp he |
| 107 | obtain ⟨hl,hn⟩ := hk a |
| 108 | have hu := mul_le_mul_of_nonneg_right hδ (dot_nonneg a) |
| 109 | have hx := mul_le_mul_of_nonneg_right hv (dot_nonneg a) |
| 110 | constructor <;> linarith |
| 111 | end form |
| 112 | |
| 113 | section real |
| 114 | /-- Fixed-L uniform covariance prescription *also* uniform in the |
| 115 | flag list, the positions selected as arguments (can take ALL Z keys), |
| 116 | Forest and placement. Late x threshold independently fixed across periods. |
| 117 | -/ |
| 118 | lemma visions (G : Gauge) (Q : Patch) (P : Teller G) (h : Q.Branches P.bind G) : |
| 119 | ∃ η L : ℝ, 0<η ∧ η≤L ∧ ∀ᶠ x : ℝ in atTop, ∀ {c f : Side} (S : StepData c f) (T : Tube G S), |
| 120 | S.patch=Q → 100*(1+radiusB x) ≤ c.val → P.Funds S T → |
| 121 | ∀ (A : Stores S) (F : Forest S.ratio) (V : Config G c) (k : S.Choices), A.flags=RG.flags (temp x) V → |
| 122 | let C := fog A F T x V k |
| 123 | C.PosDef ∧ Numeric C η L ∧ Numeric C⁻¹ L⁻¹ η⁻¹ := by |
| 124 | obtain ⟨v,K,e,b,M,hv,hK,he,hb,hM,H⟩ := opaqueCost G Q P h |
| 125 | let L0 := max K 1 |
| 126 | have hL : 0<L0 := lt_of_lt_of_le zero_lt_one (le_max_right ..) |
| 127 | let L := 2*e⁻¹; let g := L0⁻¹/2; let η := min g L |
| 128 | have hu : 0<L := mul_pos (by norm_num) (inv_pos.mpr he) |
| 129 | have hg : 0<g := half_pos (inv_pos.mpr hL) |
| 130 | have hη : 0<η := lt_min hg hu |
| 131 | refine ⟨η,L,hη,min_le_right ..,?_⟩ |
| 132 | have ht : Tendsto (fun x : ℝ => M*rate (-b) (radiusB x/60)) atTop (𝓝 0) := by |
| 133 | have hB : Tendsto (fun x : ℝ => radiusB x/60) atTop atTop := Filter.tendsto_atTop.mpr (fun i => by |
| 134 | filter_upwards [Work.E01.radiusB_tendsto.eventually_ge_atTop (60*i)] with x hx |
| 135 | omega) |
| 136 | have hi := tendsto_natCast_atTop_atTop (R:=ℝ)|>.comp hB |
| 137 | have hz := Real.tendsto_exp_atBot.comp (hi.const_mul_atTop_of_neg (neg_lt_zero.mpr hb)) |
| 138 | simpa [rate,Function.comp_def] using hz.const_mul M |
| 139 | filter_upwards [H,ht.eventually (ge_mem_nhds (lt_min hg (inv_pos.mpr he)))] with x hx h0 |
| 140 | intro c f S T hQ hs hP A F V k hV C |
| 141 | obtain ⟨h1,h2,h3,h4,h5⟩ := hx S T hQ hs hP A F k V hV |
| 142 | have hr := spells (front A F (G:=G)) h3 he hL hv (h1.weaker le_rfl (le_max_left K 1)) h2 h4 (le_trans h0 (min_le_left ..)) (le_trans h0 (min_le_right ..)) |
| 143 | have hk : Numeric C η L := by |
| 144 | intro i |
| 145 | exact ⟨le_trans (mul_le_mul_of_nonneg_right (min_le_left ..) (dot_nonneg _)) (hr i).1,(hr i).2⟩ |
| 146 | exact ⟨h5,hk,reciprocal (Matrix.isHermitian_iff_isSymm.mp h5.isHermitian) hη hu hk⟩ |
| 147 | end real |
| 148 | end YM.AnalyticBridge.AnnulusRatioInsertions.Prism |