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.Columns |
| 2 | import YM.Further.GAUSSIAN_SCALAR_LEDGER.Inactive |
| 3 | import YM.Further.GAUSSIAN_SCALAR_LEDGER.LogWindow |
| 4 | import YM.Progress.STATIONARY_SCENES.Dispatch |
| 5 | |
| 6 | |
| 7 | set_option warningAsError false |
| 8 | |
| 9 | /-! |
| 10 | # Fsct in terms of true principal windows, with per-coordinate local price |
| 11 | |
| 12 | Actual logdet equalities incl **both** signs in paired windows. Prices |
| 13 | per key i (sum over complete color for site). e^{-fixed·window radius} |
| 14 | under exponential absolute row & column cost & uniform spectral input. |
| 15 | No assumption on seed separation for this bound beyond funding those |
| 16 | inputs. These are uniform local errors in the **scalar** price; no |
| 17 | claims of V derivatives or that exponentiating gives a summable list |
| 18 | of activities. Stencil of A itself as a function of geometry/history, |
| 19 | and upper range of windows, not purchased here. Keep every Π, E and S |
| 20 | entry's arguments if decomposing (including full reads for zeros). |
| 21 | -/ |
| 22 | |
| 23 | set_option autoImplicit false |
| 24 | noncomputable section |
| 25 | namespace YM.Further.GaussianScalar |
| 26 | |
| 27 | open Matrix Function Filter Precision SectorNext.Vacuum Lattice Tree RG |
| 28 | open Round (rowRate) |
| 29 | open YM.Progress.StationaryScenes.Green |
| 30 | open MeasureTheory Set Wilson Pressure Push.SectorMeasure |
| 31 | open scoped Topology BigOperators Matrix.Norms.Frobenius Classical |
| 32 | |
| 33 | private lemma line_amount {ι : Type*} [Fintype ι] [DecidableEq ι] {A : Wall ι} {a b : ℝ} |
| 34 | (h : A.IsHermitian) (ht : Numeric A a b) (ha : 0 < a) (hb : a≤b) (i : ι) : |
| 35 | |Panel.priceLine A b i| ≤ Panel.amount a b := by |
| 36 | let v := h.eigenvectorUnitary.val |
| 37 | let w := fun k => v i k ^ 2 |
| 38 | have he : ∑ k, w k=1 := by |
| 39 | have hh : v*vᴴ=1 := h.eigenvectorUnitary.prop.2 |
| 40 | simpa [w,Matrix.mul_apply,pow_two] using congr_arg (fun Q : Wall ι => Q i i) hh |
| 41 | rw [Panel.priceLine,(Panel.balance _ h ht ha hb i).tsum_eq] |
| 42 | rw [add_sub_cancel] |
| 43 | apply le_trans (Finset.abs_sum_le_sum_abs ..) |
| 44 | apply le_trans (b:=∑ k,w k* Panel.amount a b) _ (by rw [←Finset.sum_mul,he,one_mul]) |
| 45 | refine Finset.sum_le_sum fun k _ => ?_ |
| 46 | have hf (k) : 0 ≤ w k := sq_nonneg _ |
| 47 | change |w k * _| ≤ _ |
| 48 | rw [abs_mul,abs_of_nonneg (hf _)] |
| 49 | apply mul_le_mul_of_nonneg_left _ (hf _) |
| 50 | have hx := Panel.bill_quad h ht k |
| 51 | apply abs_le.mpr |
| 52 | unfold Panel.amount |
| 53 | constructor |
| 54 | · linarith only [neg_le_abs (Real.log a), Real.log_le_log ha hx.1,abs_nonneg (Real.log b)] |
| 55 | linarith only [abs_nonneg (Real.log a),Real.log_le_log (ha.trans_le hx.1) hx.2, le_abs_self (Real.log b)] |
| 56 | |
| 57 | /- Price error independent of period, cutoff & tag **given** constants |
| 58 | on tested matrices. Number of keys not included: log pressure remains |
| 59 | extensive. -/ |
| 60 | def Expense.fog (p : Expense) (r : ℝ) := |
| 61 | p.payment * p.windowCost r / (1-p.windowCost r) + p.correctionCost r / (1-p.correctionCost r)/2 |
| 62 | lemma Expense.fog_bound (p : Expense) {r : ℝ} (ht : Timing p r) : |
| 63 | p.fog r ≤ (2*p.payment*p.windowCost r+p.correctionCost r) := by |
| 64 | have he := ht.misses |
| 65 | have hh := ht.small |
| 66 | have h (x : ℝ) (hx : x < 1/2) (b : ℝ) (hb : 0 ≤ b) : b/(1-x) ≤ 2*b := by |
| 67 | rw [div_le_iff₀ (by linarith : 0<1-x)]; nlinarith |
| 68 | unfold fog |
| 69 | have hb := h _ he _ (mul_nonneg p.payment_pos.le (p.window_pos r).le) |
| 70 | have hw := h _ hh _ (p.correction_pos r).le |
| 71 | linarith |
| 72 | |
| 73 | |
| 74 | variable {c f : Side} {S : StepData c f} {F : Forest S.ratio} {G : Gauge} {O : ChartRatio G} |
| 75 | {rooms : Type*} [Fintype rooms] |
| 76 | |
| 77 | namespace Fiber |
| 78 | variable (v : Fiber F O rooms) (p : Expense) (Z : Lens (Key F G)) (B0 : Wall (Key F G)) |
| 79 | |
| 80 | def viewLens (Y : Frozen v.H G) := RawPrice.field Z (v.sigma Y) |
| 81 | |
| 82 | def bLift (Y : Frozen v.H G) : VV (Key F G) := spreadBits v.H (linearCost (v.D Y) (v.b0 Y)) |
| 83 | |
| 84 | def viewMean (Y : Frozen v.H G) := RawPrice.meanAt Z (v.sigma Y) (v.bLift Y) |
| 85 | |
| 86 | /-- Choose exactly the principal field and local mean on these inputs. |
| 87 | Doesn't modify the chart openings, rows, or F0's. -/ |
| 88 | def screen : Fiber F O rooms := |
| 89 | { v with C := fun Y => blankOut v.H (v.viewLens Z Y) |
| 90 | μ := fun Y => viewBits v.H (v.viewMean Z Y) } |
| 91 | |
| 92 | variable {n : Side} {y : Key F G → Site n} {r : ℝ} |
| 93 | |
| 94 | lemma agrees (Y : Frozen v.H G) (h : RawPrice p y (v.sigma Y)) : |
| 95 | (v.screen Z).complete Y = v.viewLens Z Y ∧ (v.screen Z).eps Y=RawPrice.tear Z (v.sigma Y) ∧ |
| 96 | spreadBits v.H ((v.screen Z).μ Y) = v.viewMean Z Y := by |
| 97 | have he : (v.screen Z).complete Y = v.viewLens Z Y := Z.muted v.H _ (h.paid p) |
| 98 | rw [eps,he]; refine ⟨rfl,rfl,?_⟩ |
| 99 | exact sees_mean v.H (precision (v.D Y)) Z (linearCost (v.D Y) (v.b0 Y)) (h.paid p) |
| 100 | |
| 101 | lemma screened (hp : p.low ≤ p.high) (h : ∀ Y, RawPrice p y (v.sigma Y)) |
| 102 | (hr : Z.Outside y r) (ht : Timing p r) : |
| 103 | (v.screen Z).Rates p.low p.high (p.correctionCost r) := by |
| 104 | refine ⟨p.low_pos,hp,(p.correction_pos _).le, ht.small.trans (by norm_num),fun Y => (h Y).positive, |
| 105 | fun Y => ?_, fun Y => ?_⟩ |
| 106 | · rw [(v.agrees p Z _ (h Y)).2.1] |
| 107 | exact (Double.into_rate ((h Y).frays Z p hr) p.margin_pos.le).1 |
| 108 | exact Matrix.IsHermitian.submatrix (RawPrice.field_transpose ..) _ |
| 109 | |
| 110 | def nearby (Y : Frozen v.H G) (i : Key F G) := |
| 111 | -(Z.localLine (v.sigma Y) p.high i-Z.localLine B0 p.high i)/2 |
| 112 | |
| 113 | def trailPrice (Y : Frozen v.H G) (i : Key F G) := |
| 114 | -((∑' n, ∫ u in Ioi (0:ℝ), Z.beadPulse (v.sigma Y) n i i u) - |
| 115 | (∑' n, ∫ u in Ioi (0:ℝ), Z.beadPulse B0 n i i u))/2 + |
| 116 | Round.onLine (v.eps Y) i/2 |
| 117 | |
| 118 | lemma localized {η L q} (ha : η=p.low) (hL : L=p.high) (Y : Frozen v.H G) |
| 119 | (ht : v.Rates η L q) (h : RawPrice p y (v.sigma Y)) (hh : RawPrice p y B0) |
| 120 | (hr : Z.Outside y r) (hm : Timing p r) (β : ℝ) : |
| 121 | v.chargeOut B0 β Y = -∑ _ ∈ v.H,Real.log (gaussLink O β) + |
| 122 | ∑ i,(v.nearby p Z B0 Y i + v.trailPrice Z B0 Y i) := by |
| 123 | rw [chargeOut, log_form_anchor F O β _ _ _ _ hh.hermitian h.hermitian hh.positive h.positive |
| 124 | p.low_pos (show p.low ≤ p.high from ha ▸ hL ▸ ht.mind) ht.low ht.high (ht.rate Y)] |
| 125 | congr 1; apply Finset.sum_congr rfl; intro i _ |
| 126 | rw [h.anchored Z p hr hm,hh.anchored Z p hr hm]; unfold nearby trailPrice eps; ring |
| 127 | |
| 128 | /-- Together Echs into the determinant correction of Fsct (Frco nonconstant ratios separate). Usable even with a previously |
| 129 | produced C which agrees with the window field on completion. |
| 130 | Per-anchor uniform local error, true infinite sums. For individual chain-series |
| 131 | norm summability see `RawPrice.tails`, `Round.lineSummable` and Entries. |
| 132 | -/ |
| 133 | theorem in_book (hp : p.low≤p.high) (h : ∀ Y, RawPrice p y (v.sigma Y)) (hh : RawPrice p y B0) |
| 134 | (hr : Z.Outside y r) (hm : Timing p r) (hc : ∀ Y, v.C Y=(v.screen Z).C Y) (Y : Frozen v.H G) (β : ℝ) : |
| 135 | v.chargeOut B0 β Y = -∑ _ ∈ v.H,Real.log (gaussLink O β) + |
| 136 | ∑ i,(v.nearby p Z B0 Y i + v.trailPrice Z B0 Y i) ∧ |
| 137 | ∀ i, |v.nearby p Z B0 Y i| ≤ Panel.amount p.low p.high ∧ |
| 138 | |v.trailPrice Z B0 Y i| ≤ p.fog r := by |
| 139 | have ht := v.screened p Z hp h hr hm |
| 140 | have hw Y : v.eps Y=(v.screen Z).eps Y := by unfold eps complete; rw [hc Y]; rfl |
| 141 | have hR : v.Rates p.low p.high (p.correctionCost r) := ⟨ht.1,ht.2,ht.3,ht.4, |
| 142 | ht.5,fun i => by rw [hw]; exact ht.rate i, fun i => by rw [hc]; exact ht.symm i⟩ |
| 143 | refine ⟨localized v p Z B0 rfl rfl _ hR (h Y) hh hr hm β, fun i => ⟨?_,?_⟩⟩ |
| 144 | · have he (X : Wall (Key F G)) (H : RawPrice p y X) : |Z.localLine X p.high i| ≤ Panel.amount p.low p.high := |
| 145 | line_amount (Matrix.IsHermitian.submatrix H.hermitian _) (Z.numerate X _ _ H.positive i) |
| 146 | p.low_pos hp (Z.center i) |
| 147 | unfold nearby; rw [abs_div,abs_neg,abs_of_pos (by norm_num : (0:ℝ)<2)]; linarith [he _ (h Y), he _ hh, |
| 148 | abs_sub (Z.localLine (v.sigma Y) p.high i) (Z.localLine B0 p.high i)] |
| 149 | have hz := ((h Y).first_bound Z p hr hm i) |
| 150 | have he := hh.first_bound Z p hr hm i |
| 151 | have hg := tail_ripple (v.eps Y) (hR.rate Y) hR.low hR.high i i 0 |
| 152 | simp only [Nat.add_zero,Nat.zero_add,pow_one] at hg |
| 153 | have hS : |Round.onLine (v.eps Y) i| ≤ p.correctionCost r/(1-p.correctionCost r) := |
| 154 | (norm_tsum_le_tsum_norm hg.1.norm).trans hg.2 |
| 155 | unfold trailPrice |
| 156 | rw [((h Y).chains Z p hr hm i).tsum_eq,(hh.chains Z p hr hm i).tsum_eq] |
| 157 | apply (abs_add_le ..).trans; rw [abs_div,abs_div,abs_neg,abs_of_pos (by norm_num : (0:ℝ)<2)] |
| 158 | unfold Expense.fog |
| 159 | linarith only [hz,he,hS,abs_sub (Panel.priceLine (v.sigma Y) p.high i-Z.localLine (v.sigma Y) p.high i) |
| 160 | (Panel.priceLine B0 p.high i-Z.localLine B0 p.high i)] |
| 161 | end Fiber |
| 162 | |
| 163 | /-- A `Scanner` which uses the actual prescribed windows. Delay from |
| 164 | `Expense` after paying parameters; works identically with arbitrary |
| 165 | paired orientations provided on these ports. No Loop/ζ locality or |
| 166 | selection prerequisites about the POLICIES on v,Z,y here; only scalar |
| 167 | matrix bounds and the matrices of the value version. -/ |
| 168 | theorem activeScanner (Z : Lens (Key F G)) (B : Wall (Key F G)) (p : Expense) {n : Side} |
| 169 | {y : Key F G → Site n} {r x W : ℝ} (d : Allocation G S x W) |
| 170 | (v : Stores S → S.Choices → Config G c → Fiber F O rooms) (hi : p.low ≤ p.high) |
| 171 | (h : RawPrice p y B) (hu : ∀ P k V Y, RawPrice p y ((v P k V).sigma Y)) |
| 172 | (ht : Timing p r) (hz : Z.Outside y r) (he : ∀ P k V, Opened O (v P k V).veil d P k V) : |
| 173 | Scanner B d (fun P k V => (v P k V).screen Z) p.low p.high (p.correctionCost r) := |
| 174 | ⟨fun P k V => he P k V, fun P k V => (v P k V).screened p Z hi (hu P k V) hz ht, |
| 175 | h.hermitian,h.positive,p.low_pos⟩ |
| 176 | |
| 177 | end YM.Further.GaussianScalar |