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.Balance |
| 2 | import YM.Push.SECTOR_MEASURE.Presented |
| 3 | import YM.SectorNext.VACUUM_NORMALIZATION.Composition |
| 4 | |
| 5 | set_option warningAsError false |
| 6 | |
| 7 | /-! |
| 8 | # Output columns and exact scalar update |
| 9 | |
| 10 | Single F; the same full tag reference as in the library. B0, base, |
| 11 | etc. are supplied *debits*, not assertions that they suffice for |
| 12 | persistence of prices or output dictionary. Addresses remain with |
| 13 | that same P,k,V,Y. No determination of pressure from a kinetic or |
| 14 | untruncated Hessian. In particular even at identity don't ignore the |
| 15 | interacting correction. The result is per period, no claims of N- or |
| 16 | period-limit estimates. |
| 17 | -/ |
| 18 | |
| 19 | set_option autoImplicit false |
| 20 | noncomputable section |
| 21 | namespace YM.Further.GaussianScalar |
| 22 | |
| 23 | open Function Matrix MeasureTheory Filter Set |
| 24 | open Lattice RG Wilson Tree Precision SectorNext.Vacuum Pressure Push.SectorMeasure |
| 25 | open Next.Fluctuations.Sector |
| 26 | open scoped Topology BigOperators Matrix.Norms.Frobenius Classical |
| 27 | |
| 28 | variable {c f : Side} {S : StepData c f} {G : Gauge} {x W : ℝ} (F : Forest S.ratio) (O : ChartRatio G) |
| 29 | {rooms : Type*} [Fintype rooms] |
| 30 | |
| 31 | def commonBill (B0 : Wall (Key F G)) (β : ℝ) := |
| 32 | -wires c * Real.log (S.penaltyZ β G) + |
| 33 | nt F * Real.log (gaussLink O β) - Real.log B0.det / 2 |
| 34 | |
| 35 | lemma commonCost (h : LocalRatio O) (B0 : Wall (Key F G)) (β : ℝ) (hb : 0 < B0.det) (hp : 0 < β) : |
| 36 | Real.exp (commonBill F O B0 β)=prefactor S G β * flatLine F O β B0 := by |
| 37 | have hl := link_factor_pos O h β hp |
| 38 | have he := S.penaltyZ_pos (G:=G) β |
| 39 | have hs := Real.sqrt_pos.mpr hb |
| 40 | unfold commonBill flatLine prefactor wires |
| 41 | rw [Real.exp_sub,Real.exp_add,neg_mul,Real.exp_neg,Real.exp_nat_mul,Real.exp_nat_mul,Real.exp_log hl, |
| 42 | Real.exp_log he, ← Real.log_sqrt hb.le,Real.exp_log hs, inv_pow]; ring |
| 43 | |
| 44 | variable {F O} (R : Rep G f) (B0 : Wall (Key F G)) (G0 : Config G c → ℝ) (d : Allocation G S x W) |
| 45 | (v : Stores S → S.Choices → Config G c → Fiber F O rooms) |
| 46 | |
| 47 | def listing (P : Stores S) (V : Config G c) := |
| 48 | ∑ k, tagRef k * ((v P k V).till d P k V R (G0 V) B0) |
| 49 | |
| 50 | def liftedTally (V : Config G c) := ∑ P, listing R B0 G0 d v P V |
| 51 | |
| 52 | structure Scanner (η L q : ℝ) : Prop where |
| 53 | patches (P k V) : Opened O (v P k V).veil d P k V |
| 54 | matrixRule (P k V) : (v P k V).Rates η L q |
| 55 | hermitian : B0.IsHermitian |
| 56 | logRule : Numeric B0 η L |
| 57 | -- supply even if no addresses |
| 58 | pos : 0 < η |
| 59 | |
| 60 | variable {η L q : ℝ} |
| 61 | |
| 62 | lemma basal (p : Scanner B0 d v η L q) : 0 < B0.det := |
| 63 | (Panel.determinant p.hermitian p.logRule p.pos).1 |
| 64 | |
| 65 | lemma peeled (h : LocalRatio O) (p : Scanner B0 d v η L q) |
| 66 | (hm : S.patch.Branches S.kernel G) {σ C Λ δ w : ℝ} (hR : R.Lawful σ C Λ δ w) (hp : 0 < R.beta) |
| 67 | (P : Stores S) (V : Config G c) : |
| 68 | output d F R.beta (stripped R) P V = Real.exp (commonBill F O B0 R.beta)* |
| 69 | Real.exp (-G0 V)*listing R B0 G0 d v P V := by |
| 70 | rw [balanced_column d F R.beta hm,commonCost F O h B0 R.beta (basal B0 d v p) hp] |
| 71 | simp only [listing, smul_eq_mul] |
| 72 | rw [Finset.mul_sum,Finset.mul_sum] |
| 73 | refine Finset.sum_congr rfl fun i _ => ?_ |
| 74 | rw [(v P i V).supplies d P i V R (G0 V) h hm (p.matrixRule ..) (p.patches P i V) hR hp B0 |
| 75 | (basal B0 d v p)] |
| 76 | ring |
| 77 | |
| 78 | theorem collects (h : LocalRatio O) (p : Scanner B0 d v η L q) |
| 79 | (hm : S.patch.Branches S.kernel G) {σ C Λ δ w : ℝ} (hR : R.Lawful σ C Λ δ w) (hp : 0 < R.beta) |
| 80 | (V : Config G c) : |
| 81 | S.push R.beta (stripped R) V = Real.exp (commonBill F O B0 R.beta)* |
| 82 | Real.exp (-G0 V) * liftedTally R B0 G0 d v V ∧ |
| 83 | S.push R.beta R.eval V = Real.exp (R.scalar + commonBill F O B0 R.beta)* |
| 84 | Real.exp (-G0 V) * liftedTally R B0 G0 d v V := by |
| 85 | have he (P : Stores S) := peeled R B0 G0 d v h p hm hR hp P V |
| 86 | have hg := Presented.lawful_gi hR |
| 87 | have hl := (R.envelope hR).integrable (prior G f) |
| 88 | have hv : GaugeInvariant (stripped R) := fun k U => by unfold stripped; rw [hg] |
| 89 | constructor |
| 90 | · rw [← push_columns d F _ _ hm (stripped_int R hR) hv] |
| 91 | unfold liftedTally; rw [Finset.mul_sum]; exact Finset.sum_congr rfl fun P _ => he P |
| 92 | rw [← push_columns d F _ _ hm hl hg, Real.exp_add]; simp_rw [output_factors,←Finset.mul_sum] |
| 93 | unfold liftedTally; simp_rw [he,← Finset.mul_sum] |
| 94 | ring |
| 95 | |
| 96 | /-- On actual positive input density (e.g. via previous steps). |
| 97 | No transfer assumption needed. Positivity on RAW TOTAL, not each |
| 98 | listing, row or reorganized activity. Also holds separately even |
| 99 | with nonzero G0(1). -/ |
| 100 | theorem logarithms (h : LocalRatio O) (p : Scanner B0 d v η L q) |
| 101 | (hm : S.patch.Branches S.kernel G) {σ C Λ δ w : ℝ} (hR : R.Lawful σ C Λ δ w) (hp : 0 < R.beta) |
| 102 | (hn : ∀ a, 0 ≤ R.eval a) (V : Config G c) : |
| 103 | let T := liftedTally R B0 G0 d v |
| 104 | 0 < T V ∧ Real.log (S.push R.beta R.eval V) = |
| 105 | R.scalar + commonBill F O B0 R.beta-G0 V+Real.log (T V) := by |
| 106 | intro T |
| 107 | have he := (collects R B0 G0 d v h p hm hR hp V).2 |
| 108 | have hl := push_pos S hm R.beta R.eval ((R.envelope hR).integrable _) hn (by |
| 109 | exact lt_of_lt_of_le (Real.exp_pos _) (R.denominator hR hp.le R.p.threshold R.p.threshold_pos le_rfl hn)) V |
| 110 | have ht : 0 < T V := pos_of_mul_pos_right (he ▸ hl) (mul_pos (Real.exp_pos _) (Real.exp_pos _)).le |
| 111 | refine ⟨ht,?_⟩ |
| 112 | rw [he,Real.log_mul (mul_pos (Real.exp_pos _) (Real.exp_pos _)).ne' ht.ne', |
| 113 | ← Real.exp_add,Real.log_exp]; rfl |
| 114 | |
| 115 | /-- With output Lawful and push transfer, even without any separate |
| 116 | input positivity clause here. Identity fixes v, not beta or alpha. -/ |
| 117 | theorem records (h : LocalRatio O) (p : Scanner B0 d v η L q) |
| 118 | (hm : S.patch.Branches S.kernel G) {σ C Λ δ w : ℝ} (hR : R.Lawful σ C Λ δ w) (hp : 0 < R.beta) |
| 119 | (E : Rep G c) {σ' C' Λ' δ' w' : ℝ} (hE : E.Lawful σ' C' Λ' δ' w') |
| 120 | (hi : E.eval=S.push R.beta R.eval) : |
| 121 | let Y := liftedTally R B0 G0 d v 1 |
| 122 | 0 < Y ∧ |
| 123 | jump E R = commonBill F O B0 R.beta-G0 1+Real.log Y ∧ |
| 124 | E.v = (S.patch.L.val:ℝ)^4*R.v - 4*Real.log (S.penaltyZ R.beta G) + |
| 125 | (nt F*Real.log (gaussLink O R.beta)-Real.log B0.det/2-G0 1+Real.log Y)/sites c := by |
| 126 | intro z |
| 127 | have he := (collects R B0 G0 d v h p hm hR hp 1).1 |
| 128 | rw [reveal S R E hE hi] at he |
| 129 | have zh : 0 < z := pos_of_mul_pos_right (he ▸ Real.exp_pos (jump E R)) |
| 130 | (mul_pos (Real.exp_pos _) (Real.exp_pos _)).le |
| 131 | have ht : jump E R = commonBill F O B0 R.beta-G0 1+Real.log z := by |
| 132 | have hl := congr_arg Real.log he |
| 133 | rw [Real.log_mul (mul_pos (Real.exp_pos _) (Real.exp_pos _)).ne' zh.ne', ← Real.exp_add, |
| 134 | Real.log_exp,Real.log_exp] at hl |
| 135 | exact hl |
| 136 | refine ⟨zh,ht,?_⟩ |
| 137 | rw [update S R E hE hi,reveal S R E hE hi, Real.log_exp,ht] |
| 138 | unfold commonBill; rw [wires_sites] |
| 139 | have hl := site_pos c |
| 140 | field_simp; ring |
| 141 | |
| 142 | |
| 143 | |
| 144 | end YM.Further.GaussianScalar |