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.RESET_INCOME_PORT.Quote |
| 2 | import YM.Extra.ITERATION_NO_LOSS.Continuity |
| 3 | import YM.Extra.ITERATION_NO_LOSS.Scales |
| 4 | import YM.Next.SCHEDULE.Stadium |
| 5 | import YM.Next.UV_STRESS.Across |
| 6 | import YM.Push.BETA_TRANSPORT.Margins |
| 7 | import YM.Push.COMMON_WITNESSES.Fields |
| 8 | import YM.Push.PRICE_COMPILER.Builders |
| 9 | import YM.SectorNext.GAUSSIAN_SECTOR_CHANGE.ResidualPrice |
| 10 | import YM.SectorNext.VACUUM_NORMALIZATION.Etch |
| 11 | import YM.UVNext.COUPLING_RESET.Reset |
| 12 | |
| 13 | |
| 14 | |
| 15 | set_option warningAsError false |
| 16 | |
| 17 | /-! |
| 18 | # Actual Gram and covariance Quotes at incoming scalar probes |
| 19 | |
| 20 | Use opaqueCost and etching on the matched Plate. Log Q price to |
| 21 | arbitrary precision, and AC term can even use prediction zero if already |
| 22 | late enough after the chosen rolls. No symmetric-AC hypothesis, no |
| 23 | acknowledgement of severe cancellations until AFTER formation of the |
| 24 | tables in these prices. `forecast` uses a finite set of actual table |
| 25 | contractions rather than calling for either exact log det. It is |
| 26 | for order-zero coupon / slip price only: truncation may see large |
| 27 | parts of the torus. Not saying that it automatically supplies winding |
| 28 | or support priced localized log determination in tag/fields (Etch locality |
| 29 | needs paying crown positions in compatible windows) or a pre-L ticket |
| 30 | or a cheap per-block coefficient of the output action. Estimates work in |
| 31 | all dimensions/periods tested at that one smoothing stage. |
| 32 | -/ |
| 33 | set_option autoImplicit false |
| 34 | noncomputable section |
| 35 | namespace YM.AnalyticBridge.ResetIncome |
| 36 | |
| 37 | open Function Filter Lattice Wilson RG Precision Exterior Tree MeasureTheory Matrix |
| 38 | open Pressure Pressure.Tube Pressure.Stores Bid Push.SectorMeasure |
| 39 | open Next.SectorChange Next.SectorChange.Schur Next.SectorChange.Wisps Next.SectorChange.Rows |
| 40 | open SectorNext.Vacuum.Panel UVNext.CouplingReset |
| 41 | open scoped Topology BigOperators Classical Matrix.Norms.Frobenius |
| 42 | |
| 43 | variable {G : Gauge} {c f : Side} {S : StepData c f} {V : Config G c} {R : Rep G f} |
| 44 | |
| 45 | namespace Etcher |
| 46 | variable {J I : Type} [Fintype J] [DecidableEq J] |
| 47 | omit [DecidableEq J] in |
| 48 | private lemma solvency {L : Gaussian.Table J} {η v C : ℝ} {p : J → Site c} (hv : 0≤v) |
| 49 | (ht : Pours L p p v C) (h : Gapped L η) {M : ℝ} (hl : C≤M) : Numeric L η M := by |
| 50 | intro a; have hh := (estimate (ht.weaker hv hl) a a); rw [sumSq_dot] at hh; rw [← sumSq_dot] |
| 51 | exact ⟨h a, (le_abs_self _).trans (hh.trans (by rw [sumSq_dot]; linarith))⟩ |
| 52 | |
| 53 | omit [DecidableEq J] in |
| 54 | private lemma swap [Fintype I] (g : I ≃ J) {A : Gaussian.Table J} {η L : ℝ} (h : Numeric A η L) : |
| 55 | Numeric (A.submatrix g g) η L := by |
| 56 | intro a; let b (i : J) := a (g.symm i) |
| 57 | have he (i : I) : b (g i)=a i := by simp [b] |
| 58 | have ht : (b ⬝ᵥ b)=(a ⬝ᵥ a) := by |
| 59 | rw [dotProduct,← g.sum_comp (fun i => b i*b i)] -- notation elaboration |
| 60 | simp only [he,dotProduct] |
| 61 | have hm : (b ⬝ᵥ (A *ᵥ b))=(a ⬝ᵥ ((A.submatrix g g) *ᵥ a)) := by |
| 62 | unfold mulVec dotProduct; dsimp only |
| 63 | rw [← g.sum_comp (fun i => b i * ∑ j,A i j*b j)]; apply Finset.sum_congr rfl; intro i _ |
| 64 | rw [← g.sum_comp (fun j => A (g i) j*b j)]; simp only [he]; rfl |
| 65 | have H := h b; rwa [ht,hm] at H |
| 66 | |
| 67 | def serial (A : Gaussian.Table J) (L : ℝ) (q : ℕ) := ∑ i : J, headLine A L q i |
| 68 | |
| 69 | private lemma gate {A : Gaussian.Table J} {η L : ℝ} (hh : A.IsHermitian) (h : Numeric A η L) |
| 70 | (hi : 0<η) (hg : η≤L) (k : ℕ) : |Real.log A.det-serial A L k| ≤ Fintype.card J * mist η L k := by |
| 71 | rw [log_form A hh h hi hg,serial, ← Finset.sum_sub_distrib]; apply le_trans (Finset.abs_sum_le_sum_abs ..) |
| 72 | simpa using Finset.sum_le_sum (s:=Finset.univ) (fun i _ => faith A hh h hi hg k i) |
| 73 | |
| 74 | structure Specs where |
| 75 | η : ℝ |
| 76 | L : ℝ |
| 77 | u : ℝ |
| 78 | C : ℝ |
| 79 | gap : 0 < η |
| 80 | hi : η < L |
| 81 | pos : 0 < u |
| 82 | pay : 0 < C |
| 83 | |
| 84 | def steam (X : Specs) (x : ℝ) := X.C * Real.exp (-X.u*radiusB x) |
| 85 | |
| 86 | def forecast (X : Specs) (e : Plate G S) (k : ℕ) (A : Stores S) (V : Config G c) (u : S.Choices) : Quote := |
| 87 | let n : ℝ := Fintype.card (Rows.In e.x A e.forest (G:=G)) |
| 88 | let g := e.Gram A V u |
| 89 | ⟨serial g X.L k - serial e.Flat X.L k, 0, |
| 90 | (n+ Fintype.card (Key e.forest G))*mist X.η X.L k,n * steam X e.x⟩ |
| 91 | |
| 92 | /-- Uniform numeric accuracy at fixed L. NO extra quote-correctness |
| 93 | hypotheses. Works for arbitrary shared assemblies later on Rolls path |
| 94 | checking the entrance tests (including the Cosmos path after checking delay!). -/ |
| 95 | theorem table (G : Gauge) (P : Patch) (T : Teller G) (hb : P.Branches T.bind G) : |
| 96 | ∃ X : Specs, ∀ᶠ x : ℝ in atTop, |
| 97 | ∀ {c f : Side} (S : StepData c f) (e : Plate G S), |
| 98 | S.patch=P → 100*(1+radiusB x) ≤ c.val → T.Funds S e.tube → e.x=x → |
| 99 | ∀ (A : Stores S) (V : Config G c), e.matched A V → ∀ u k, (forecast X e k A V u).Pays e A V u := by |
| 100 | obtain ⟨v,D,η,b,E,hv,hD,hη,hb',hE,H⟩ := opaqueCost G P T hb |
| 101 | obtain ⟨u,A,hu,hA,H'⟩ := ResidualPrice.paid_kernel G P T hb |
| 102 | let X : Specs := ⟨η,η+D+1,u,A,hη,by linarith,hu,hA⟩ |
| 103 | refine ⟨X,?_⟩; filter_upwards [H,H'] with x hx hy |
| 104 | intro c f S e hs ht hp he M V hm y k |
| 105 | rw [← he] at hx hy ht |
| 106 | obtain ⟨hr,hq,hH,hL,hJ⟩ := hx S e.tube hs ht hp M e.forest y V hm |
| 107 | have hi : Numeric (e.Gram M V y) X.η X.L := solvency hv.le hr hq (by dsimp [X]; linarith) |
| 108 | let B : Stores S := ⟨∅,∅,∅⟩ |
| 109 | have ht' : B.flags=RG.flags (temp e.x) (1:Config G c) := by |
| 110 | refine Finset.eq_empty_iff_forall_notMem.mpr ?_ |>.symm |
| 111 | intro i hh |
| 112 | obtain ⟨p,-,H⟩ := (flags_spec ..).mp hh |
| 113 | exact (temp_nonneg _).not_gt (by simpa [faceValue,square,travel] using H) |
| 114 | obtain ⟨hU,hV,hK,-⟩ := hx S e.tube hs ht hp B e.forest e.tag 1 ht' |
| 115 | have hh : Numeric (e.Gram B 1 e.tag) X.η X.L := solvency hv.le hU hV (by dsimp [X]; linarith) |
| 116 | have hw : Numeric e.Flat X.η X.L ∧ e.Flat.PosDef := by |
| 117 | rw [show e.Flat = (e.Gram B 1 e.tag).submatrix (Native.lineEquiv e.forest e.x) (Native.lineEquiv e.forest e.x) from |
| 118 | (Native.ground_gram e.tube e.forest e.tag e.x (Push.SectorMeasure.funds_branch hp)).symm] |
| 119 | exact ⟨swap _ hh,Matrix.PosDef.submatrix hK (Native.lineEquiv ..).injective⟩ |
| 120 | constructor |
| 121 | · have h₁ := abs_le.mp (gate hH.isHermitian hi X.gap X.hi.le k) |
| 122 | have h₂ := abs_le.mp (gate hw.2.isHermitian hw.1 X.gap X.hi.le k) |
| 123 | unfold forecast; dsimp only |
| 124 | -- show aliases |
| 125 | change -_ ≤ _ ∧ _ ≤ _ at h₁ h₂ |
| 126 | unfold Plate.Gram |
| 127 | exact abs_le.mpr ⟨by linarith only [h₁.1,h₂.2],by linarith only [h₁.2,h₂.1]⟩ |
| 128 | unfold forecast; dsimp only; rw [sub_zero]; exact (hy S e.tube hs ht hp M e.forest y V hm).1 |
| 129 | |
| 130 | /-- Mist from *finite number* of iterations, not assuming trace |
| 131 | series absolutely on each walk. -/ |
| 132 | lemma buffers (X : Specs) : ∃ a D : ℝ, 0<a ∧ 0<D ∧ ∀ n : ℕ, |
| 133 | mist X.η X.L n = D * Real.exp (-a*n) := by |
| 134 | let v := steep X.η X.L |
| 135 | have hx := X.gap.trans X.hi |
| 136 | have ht : 0<v := sub_pos.mpr ((div_lt_one hx).mpr X.hi) |
| 137 | have hv : v<1 := sub_lt_self _ (div_pos X.gap hx) |
| 138 | refine ⟨-Real.log v,(1-v)⁻¹,neg_pos.mpr (Real.log_neg ht hv), inv_pos.2 (sub_pos.mpr hv),?_⟩ |
| 139 | intro n; rw [neg_neg,mul_comm _ (n:ℝ),Real.exp_nat_mul,Real.exp_log ht]; exact mul_comm .. |
| 140 | |
| 141 | private lemma keys_cost (c f : Side) (S : StepData c f) (e : Plate G S) (A : Stores S) : |
| 142 | (Fintype.card (Rows.In e.x A e.forest (G:=G)) : ℝ) ≤ Fintype.card (Key e.forest G) ∧ |
| 143 | (Fintype.card (Key e.forest G) : ℝ) ≤ sites c * (Fintype.card Axis * Fintype.card G.ColorIndex * (S.patch.L.val:ℝ)^4) := by |
| 144 | unfold Rows.In Key; simp_rw [Fintype.card_prod,Nat.cast_mul] |
| 145 | have ht : Fintype.card e.forest.Free ≤ (Fintype.card (Site f) * Fintype.card Axis) := |
| 146 | (Fintype.card_le_of_injective _ (Subtype.val_injective (p:=fun p : Bond f=>p∉e.forest.trunks))).trans_eq |
| 147 | (Fintype.card_prod ..) |
| 148 | have he : sites f = sites c * (S.patch.L.val:ℝ)^4 := by unfold sites; rw [site_card, site_card,S.sizes]; push_cast; ring |
| 149 | constructor |
| 150 | · refine mul_le_mul_of_nonneg_right ?_ (by positivity); norm_cast |
| 151 | exact Fintype.card_le_of_injective _ (Subtype.val_injective (p:=fun p : e.forest.Free=>¬ chill A e.x e.forest p)) |
| 152 | have hz : (Fintype.card e.forest.Free:ℝ) ≤ sites f * Fintype.card Axis := by unfold sites; exact_mod_cast ht |
| 153 | exact (mul_le_mul_of_nonneg_right hz (by positivity)).trans_eq (by rw [he]; ring) |
| 154 | |
| 155 | /-- Comparison with any strictly positive requested money in *same E |
| 156 | output units*. This demonstrates that the Quote.Pays contribution itself |
| 157 | can be resolved to Reset precision (e.g. ζ=multiplier/64) with explicit |
| 158 | finite prices. NOT a similar smallness estimate on the actual determinant |
| 159 | (main prediction may be large!). Conversion doesn't purport to say how |
| 160 | costly those forecasts will be in spatial volumes; this is before |
| 161 | pricing the logarithmic curve/numerator estimates at such probes. -/ |
| 162 | theorem accuracy (X : Specs) (L : Side) (G : Gauge) (ζ : ℝ) (hz : 0<ζ) : ∀ᶠ x : ℝ in atTop, |
| 163 | ∀ {c f : Side} (S : StepData c f) (e : Plate G S), |
| 164 | e.x=x → S.patch.L=L → ∀ (A : Stores S) V u, (forecast X e (radiusB x) A V u).tip ≤ |
| 165 | sites c*(ζ*(Vac.Numbers.Hat x)^((11:ℝ)/5)) := by |
| 166 | obtain ⟨a,D,ha,hD,h⟩ := buffers X |
| 167 | let K : ℝ := Fintype.card Axis*Fintype.card G.ColorIndex*(L.val:ℝ)^4 |
| 168 | have hK : 0≤K := by unfold K; positivity |
| 169 | let b := (K*(2*D+X.C))/(2*ζ) |
| 170 | filter_upwards [Extra.Iteration.Scales.first a 3 ha, Extra.Iteration.Scales.first X.u 3 X.pos, |
| 171 | eventually_gt_atTop (1:ℝ),eventually_ge_atTop b] with x hx hy hk ht |
| 172 | have he : Vac.Numbers.Hat x = x^(-(1/2:ℝ)) := by |
| 173 | rw [Vac.Numbers.Hat,Real.sqrt_eq_rpow,Real.rpow_neg (by linarith)] |
| 174 | have hp : Vac.Numbers.Hat x ^ ((11:ℝ)/5) = x ^ (-(11/10:ℝ)) := by |
| 175 | rw [he, ← Real.rpow_mul (by linarith : 0≤x)]; norm_num |
| 176 | have hf : 0 ≤ steam X x := mul_nonneg X.pay.le (Real.exp_pos _).le |
| 177 | intro c f S e hu hL A V u |
| 178 | unfold Quote.tip forecast; dsimp only |
| 179 | obtain ⟨hi,hv⟩ := keys_cost c f S e A |
| 180 | rw [hL] at hv |
| 181 | rw [hu,h,hp] |
| 182 | have H : K*(2*(D*Real.exp (-a*radiusB x))+steam X x) ≤ 2*(ζ * x^(-(11/10:ℝ))) := by |
| 183 | have hh : K*(2*D+X.C) ≤ 2*ζ*x := by unfold b at ht; rw [div_le_iff₀ (by positivity)] at ht; linarith only [ht] |
| 184 | unfold steam |
| 185 | calc |
| 186 | _ ≤ K*(2*(D*x^(-(3:ℝ)))+X.C*x^(-(3:ℝ))) := by have := X.pay; gcongr |
| 187 | _ ≤ 2*(ζ*(x*x^(-(3:ℝ)))) := by linarith only [mul_le_mul_of_nonneg_right hh (by positivity : 0≤x^(-(3:ℝ)))] |
| 188 | _ ≤ _ := by |
| 189 | have h : x*x^(-(3:ℝ))= x^(-(2:ℝ)) := by rw [show -(2:ℝ)=1 + -3 by norm_num,Real.rpow_add (by linarith : 0<x),Real.rpow_one] |
| 190 | rw [h]; gcongr <;> first | exact hk.le | norm_num |
| 191 | have hr : 0≤D*Real.exp (-a*radiusB x) := by positivity |
| 192 | -- changing e.x doesn't change Key dim; `hi` depends on the type and needs hu |
| 193 | have h1 := (Nat.cast_nonneg (α:=ℝ) (Fintype.card (Key e.forest G))) |
| 194 | rw [hu] at hi |
| 195 | have hs := (sites_pos c).le |
| 196 | change _ ≤ sites c*K at hv |
| 197 | linarith only [mul_le_mul_of_nonneg_left H hs,mul_le_mul_of_nonneg_right hi hr, |
| 198 | mul_le_mul_of_nonneg_right hv hr, mul_le_mul_of_nonneg_right (hi.trans hv) hf] |
| 199 | end Etcher |
| 200 | end YM.AnalyticBridge.ResetIncome |