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.AnalyticBridge.ANNULUS_RATIO_INSERTIONS.CovBound |
| 2 | import YM.AnalyticBridge.ANNULUS_RATIO_INSERTIONS.PriceLine |
| 3 | import YM.SectorNext.GAUSSIAN_SECTOR_CHANGE.ResidualPrice |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | # Uniform Schur comparisons for the quantities occurring in the Gaussian bills |
| 8 | |
| 9 | Retains a positive rate even for PER and for the (uncut) C inverse. |
| 10 | Needed for square root envelope bookkeeping. Also return mean-window |
| 11 | and residual errors at unweighted Schur cost. Applies *independently* |
| 12 | of the choice of LFR packet but needs same flags. No derivatives evaluated. |
| 13 | Units completed as in call to FS (here only active coords). |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | set_option linter.unusedSectionVars false |
| 17 | set_option linter.unusedVariables false |
| 18 | noncomputable section |
| 19 | namespace YM.AnalyticBridge.AnnulusRatioInsertions.Prism |
| 20 | open Function Filter Lattice Wilson RG RG.Patch Precision Exterior Tree MeasureTheory Metric Matrix |
| 21 | open Next.SectorChange Next.SectorChange.Motion Next.SectorChange.Rows Next.SectorChange.Gaussian |
| 22 | open Pressure Pressure.Tube Pressure.Stores Bid Push.SectorMeasure Push.SectorMeasure.Oriented |
| 23 | open Tier Wisps Schur LocalJet Completion |
| 24 | |
| 25 | open scoped Topology InnerProductSpace BigOperators Classical ContDiff Matrix.Norms.Frobenius Push.SectorMeasure |
| 26 | |
| 27 | section healing |
| 28 | variable {V I : Type} [Fintype V] [DecidableEq V] [Fintype I] [DecidableEq I] |
| 29 | {A : Gaussian.Table V} {c : Side} {p : V → Site c} {W : V → Set V} (r : ℕ) |
| 30 | {L η δ v : ℝ} |
| 31 | |
| 32 | private lemma snows (p : V → Site c) (v : ℝ) : Pours (-1 : Gaussian.Table V) p p v 1 := by |
| 33 | constructor |
| 34 | · norm_num |
| 35 | · intro i; simp [Matrix.one_apply,rate,apply_ite abs,mul_ite] |
| 36 | intro i; simp [Matrix.one_apply,rate,apply_ite abs,mul_ite] |
| 37 | |
| 38 | private lemma emptyInside {E : Gaussian.Table V} (h : Pours E p p v δ) (hv : 0 ≤ v) |
| 39 | (he : ∀ i j, separation (p j) (p i) ≤ r → E i j=0) : Pours E p p 0 (δ*rate (-v) r) := by |
| 40 | have hh i j : rate 0 (separation (p i) (p j))*|E i j| ≤ rate (-v) r*(rate v (separation (p i) (p j))*|E i j|) := by |
| 41 | by_cases h : separation (p j) (p i) ≤ r |
| 42 | · simp [he _ _ h] |
| 43 | simp only [rate, zero_mul,Real.exp_zero, one_mul] |
| 44 | nth_rw 1 [← one_mul |E i j|]; rw [← mul_assoc (Real.exp _)] |
| 45 | refine mul_le_mul_of_nonneg_right ?_ (abs_nonneg _) |
| 46 | rw [← Real.exp_add]; refine Real.one_le_exp ?_ |
| 47 | have hp : (r:ℝ) ≤ separation (p i) (p j) := Nat.cast_le.mpr ((le_of_not_ge h).trans_eq (separation_comm ..)) |
| 48 | nlinarith |
| 49 | refine ⟨mul_nonneg h.pos (rate_pos ..).le, fun i => ((Finset.sum_le_sum (fun j _=>hh i j)).trans ?_),fun j => ((Finset.sum_le_sum (fun i _=>hh i j)).trans ?_)⟩ |
| 50 | · rw [← Finset.mul_sum,mul_comm δ]; exact mul_le_mul_of_nonneg_left (h.row _) (rate_pos ..).le |
| 51 | rw [← Finset.mul_sum,mul_comm δ]; exact mul_le_mul_of_nonneg_left (h.col _) (rate_pos ..).le |
| 52 | |
| 53 | lemma ripple {a}{B : Matrix V I ℝ} {q : I → Site c} (h : Pours B p q v a) (i j) : rate v (separation (p i) (q j))*|B i j|≤a := |
| 54 | (Finset.single_le_sum (f:=fun j=> rate v (separation (p i) (q j))*|B i j|) (fun j _=>mul_nonneg (rate_pos ..).le (abs_nonneg _)) (Finset.mem_univ j)).trans (h.row i) |
| 55 | |
| 56 | lemma pours_minus {a b} {D : Gaussian.Table V} (h : Pours A p p v a) (hx : Pours D p p v b) : Pours (A-D) p p v (a+b) := by |
| 57 | have he := h.bind (hx.scale (-1)) |
| 58 | simpa only [neg_one_smul, sub_eq_add_neg,abs_neg,abs_one,one_mul] using he |
| 59 | |
| 60 | lemma fading {x : ℕ} {D : Gaussian.Table V} (hv : 0 < v) (he : 0 < η) (hA : A.PosDef) (hG : Gapped A η) |
| 61 | (h : Pours A p p v L) {E : ℝ} (hi : Pours A⁻¹ p p v E) (hW : Bars W p x) |
| 62 | (hL : Pours (Schur.per W A) p p v δ) : |
| 63 | Pours ((per W A)-A⁻¹) p p 0 (E*(L*δ+1)*rate (-v) x) := by |
| 64 | let M := per W A |
| 65 | have hx : Pours (A*M-1) p p v (L*δ+1) := by |
| 66 | rw [sub_eq_add_neg]; exact (h.fuse hL hv.le).bind (snows p v) |
| 67 | have hn i j (hg : separation (p j) (p i) ≤ x) : (A*M-1) i j = 0 := by |
| 68 | rw [Matrix.sub_apply] |
| 69 | dsimp only [M]; rw [Schur.per_check hW (Matrix.isHermitian_iff_isSymm.mp hA.isHermitian) hG he j (hW _ _ hg),sub_self] |
| 70 | have hl := (hi.weaker (t:=0) hv.le le_rfl).fuse (emptyInside x hx hv.le hn) le_rfl |
| 71 | rw [Matrix.mul_sub,← Matrix.mul_assoc,A.nonsing_inv_mul ((A.isUnit_iff_isUnit_det).mp hA.isUnit), Matrix.one_mul,Matrix.mul_one,← mul_assoc E] at hl |
| 72 | exact hl |
| 73 | |
| 74 | /-- Also uniform in x, numerical mu residual norm (before applying to b). |
| 75 | Keep two rates. Last buys have ZERO displacement. -/ |
| 76 | lemma heal {σ η K g : ℝ} (hs : 0<σ) (hη : 0<η) (hK : 0≤K) (hg : 0<g) (B : ℝ → ℝ) (hB : ∀ v,0≤B v) : |
| 77 | ∃ v u M : ℝ, 0<v ∧ 0<u ∧ 0<M ∧ ∀ {V : Type} [Fintype V] [DecidableEq V] {c : Side} (p : V → Site c) |
| 78 | (W : V → Set V) (A : Gaussian.Table V) (r : ℕ), Revenue p B → Pours A p p σ K → Gapped A η → A.PosDef → |
| 79 | Bars W p r → Gapped (clouded W A) g → |
| 80 | Pours A p p v M ∧ Pours A⁻¹ p p v M ∧ Pours (per W A) p p v M ∧ Pours (clouded W A) p p v M ∧ |
| 81 | Pours (clouded W A)⁻¹ p p v M ∧ Pours (per W A - A⁻¹) p p 0 (M*rate (-u) r) := by |
| 82 | obtain ⟨v,m,hv,hv',hm,H⟩ := Schur.provides hs hη hK |
| 83 | let t := v/2 |
| 84 | have ht : 0<t := half_pos hv |
| 85 | let F:=B t*m |
| 86 | have hF : 0≤F := mul_nonneg (hB _) hm.le |
| 87 | obtain ⟨w,M',hw,hW,hM',H₂⟩:= Schur.provides ht hg hF |
| 88 | let u:=w/2 |
| 89 | have hu : 0<u := half_pos hw |
| 90 | let E := B u*M' |
| 91 | have hE : 0≤E:=mul_nonneg (hB _) hM'.le |
| 92 | let P := F*(K*F+1) |
| 93 | have hP : 0≤P := by unfold P; positivity |
| 94 | let D := 1+K+F+E+P |
| 95 | have hD : 0<D := by unfold D; positivity |
| 96 | refine ⟨u,t,D,hu,ht,hD,?_⟩ |
| 97 | intro V _ _ c p W A r hx ha hG hA hr hZ |
| 98 | let L := per W A |
| 99 | let Z := clouded W A |
| 100 | have hL := H p W A ha (Matrix.isHermitian_iff_isSymm.mp hA.isHermitian) hG |
| 101 | have hi : Pours L p p t F := Revenue.per _ hx hv hm.le (fun i j=> (hL j i).1) |
| 102 | have hg : Pours A⁻¹ p p t F := Revenue.per _ hx hv hm.le (fun i j=> (hL j i).2) |
| 103 | have he : Pours Z p p t F := by |
| 104 | unfold Z clouded |
| 105 | simpa only [abs_of_nonneg (by norm_num : (0:ℝ)≤1/2), show (1/2:ℝ)*(F+F)=F by ring] using ((hi.bind hi.turn).scale (1/2)) |
| 106 | have ho : Pours Z⁻¹ p p u E := by |
| 107 | have hZ' : Z.IsSymm := by |
| 108 | ext i j; change (1/2:ℝ)*(L j i + L i j)=(1/2:ℝ)*(L i j+L j i); rw [add_comm] |
| 109 | have hi := H₂ p W Z he hZ' hZ |
| 110 | exact Revenue.per _ hx hw hM'.le (fun i j=> (hi j i).2) |
| 111 | have h0 : u≤t := (half_le_self hw.le).trans hW |
| 112 | have h2 : t≤σ := (half_le_self hv.le).trans hv' |
| 113 | have h1 : u≤σ := h0.trans h2 |
| 114 | refine ⟨ha.weaker h1 (by unfold D; linarith),hg.weaker h0 (by unfold D; linarith), |
| 115 | hi.weaker h0 (by unfold D; linarith),he.weaker h0 (by unfold D; linarith),ho.weaker le_rfl (by unfold D; linarith),?_⟩ |
| 116 | exact (fading (D:=A) ht hη hA hG (ha.weaker h2 le_rfl) hg hr hi).weaker le_rfl (mul_le_mul_of_nonneg_right (by |
| 117 | change P≤D; unfold D; linarith) (rate_pos ..).le) |
| 118 | end healing |
| 119 | |
| 120 | structure Specs {G : Gauge} {c f : Side} {S : StepData c f} (x : ℝ) (v u a M : ℝ) (T : Tube G S) |
| 121 | (A : Stores S) (F : Forest S.ratio) (k : S.Choices) (V : Config G c) : Prop where |
| 122 | tables : |
| 123 | let p := front A F (G:=G) (x:=x) |
| 124 | let L := Rows.gram T x V k (shots S x) A F |
| 125 | let W := panels A F (G:=G) (x:=x); let C:=fog A F T x V k |
| 126 | L.PosDef ∧ C.PosDef ∧ |
| 127 | Pours L p p v M ∧ Pours L⁻¹ p p v M ∧ Pours (per W L) p p v M ∧ Pours C p p v M ∧ Pours C⁻¹ p p v M ∧ |
| 128 | Pours (per W L-L⁻¹) p p 0 (M*rate (-u) (radiusB x/60)) ∧ Pours (C⁻¹-L) p p 0 (M*rate (-a) (radiusB x)) |
| 129 | |
| 130 | /-- Uniform (in all A-sector uses at height) procurement for |
| 131 | size + decay incl genuine A,C^-1, mean-window correction. Other two |
| 132 | days use with exponential height delay. -/ |
| 133 | theorem holds (G : Gauge) (Q : Patch) (T : Teller G) (h : Q.Branches T.bind G) : |
| 134 | ∃ v u a M : ℝ, 0<v ∧ 0<u ∧ 0<a ∧ 0<M ∧ ∀ᶠ x : ℝ in atTop, |
| 135 | ∀ {c f : Side} (S : StepData c f) (U : Tube G S), S.patch=Q → 100*(1+radiusB x) ≤ c.val → |
| 136 | T.Funds S U → ∀ (A : Stores S) (F : Forest S.ratio) (k : S.Choices) (V : Config G c), A.flags=RG.flags (temp x) V → |
| 137 | Specs x v u a M U A F k V := by |
| 138 | obtain ⟨e,L,he,hL,H⟩ := visions G Q T h |
| 139 | obtain ⟨σ,K,η,b,M,hσ,hK,hη,hb,hM,H'⟩ := opaqueCost G Q T h |
| 140 | let key (v:ℝ):= ((Fintype.card G.ColorIndex:ℝ)*(Fintype.card (Site Q.L)*Fintype.card Axis))*Tier.wealth v |
| 141 | have hk (v:ℝ):0≤key v:= by unfold key; have := Tier.wealth_nn v; positivity |
| 142 | obtain ⟨v,u,D,hv,hu,hD,H₂⟩ := heal hσ hη hK he key hk |
| 143 | obtain ⟨a,Y,ha,hY,H₃⟩ := ResidualPrice.paid_kernel G Q T h |
| 144 | refine ⟨v,u,a,max D Y,hv,hu,ha,lt_of_lt_of_le hY (le_max_right ..),?_⟩ |
| 145 | filter_upwards [H,H',H₃,Work.E01.radiusB_tendsto.eventually_ge_atTop 120] with x hx ht hs h0 |
| 146 | intro c f S U hS hR hT A F k V hV |
| 147 | let p := front A F (x:=x) (G:=G); let L := Rows.gram U x V k (shots S x) A F |
| 148 | let W := panels A F (x:=x) (G:=G) |
| 149 | obtain ⟨hp,hG,hA,-,-⟩:=ht S U hS hR hT A F k V hV |
| 150 | obtain ⟨hC,hN,-⟩:=hx S U hS hR hT A F V k hV |
| 151 | obtain ⟨-,hc,-⟩:=hs S U hS hR hT A F k V hV |
| 152 | have hj : Fintype.card (Site S.patch.L)=Fintype.card (Site Q.L) := congr_arg (fun t : Patch => Fintype.card (Site t.L)) hS |
| 153 | have hi (v : ℝ) : Tier.keyFee S G v=key v := by unfold keyFee key; rw [hj] |
| 154 | have hh : Revenue p key := fun y hy i => (hi y) ▸ Tier.front_price y hy A F G i |
| 155 | obtain ⟨h1,h2,h3,h4,h5,h6⟩ := H₂ p W L _ hh hp hG hA (boards A F G h0) (fun i=>sumSq_dot i|>.symm ▸ (hN i).1) |
| 156 | have hl : D ≤ max D Y := le_max_left ..; have hg : Y ≤ max D Y := le_max_right .. |
| 157 | exact ⟨hA,hC,h1.weaker le_rfl hl,h2.weaker le_rfl hl,h3.weaker le_rfl hl,h4.weaker le_rfl hl,h5.weaker le_rfl hl,h6.weaker le_rfl |
| 158 | (mul_le_mul_of_nonneg_right hl (rate_pos ..).le),hc.weaker le_rfl (mul_le_mul_of_nonneg_right hg (rate_pos ..).le)⟩ |
| 159 | end YM.AnalyticBridge.AnnulusRatioInsertions.Prism |