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.Push.CUTOFF_PROJECTORS.Along |
| 2 | import YM.SectorNext.GAUSSIAN_SECTOR_CHANGE.Bore |
| 3 | import YM.SectorNext.GAUSSIAN_SECTOR_CHANGE.Ledger |
| 4 | import YM.SectorNext.GAUSSIAN_SECTOR_CHANGE.Service |
| 5 | |
| 6 | set_option warningAsError false |
| 7 | |
| 8 | /-! |
| 9 | # Exact integrals used to prepare scalar-income tests |
| 10 | |
| 11 | Units: `outside` is a NATURAL LOG (extensive), `cost` is the remaining |
| 12 | log cost of a matched allocation Store/choice. `value` still uses the |
| 13 | literal potentially SIGNED sleeves, not a positive majorant and not a |
| 14 | formal power series. No log of it is taken here. We use one forest, one |
| 15 | flat cost with a fixed choice `tag`, one book, one radius and the exact |
| 16 | window prescription of `SectorChange.committed`. There is never a log of |
| 17 | a determinant of a mismatched entry on the RHS of the pricing identity. |
| 18 | Nothing is asserted about thermodynamic cost, field analyticity, a |
| 19 | subsequent cluster expansion or output representations here. The legal |
| 20 | hypotheses are produced from the Directed/Ringing/Cosmos inputs below. |
| 21 | -/ |
| 22 | |
| 23 | set_option autoImplicit false |
| 24 | noncomputable section |
| 25 | namespace YM.AnalyticBridge.ResetIncome |
| 26 | |
| 27 | open Function Filter Set Lattice Wilson RG Precision Exterior Tree MeasureTheory Matrix |
| 28 | open Pressure Pressure.Tube Pressure.Stores Bid Push.SectorMeasure |
| 29 | open Next.Fluctuations.Sector Push.SectorMeasure.Oriented Push.SectorMeasure.Presented |
| 30 | open Next.SectorChange |
| 31 | open Input RG.Supply RG.Shoot Pressure.Testing |
| 32 | open scoped Topology BigOperators Classical Matrix.Norms.Frobenius |
| 33 | |
| 34 | variable {G : Gauge} {c f : Side} |
| 35 | |
| 36 | /-- References for *one* actual sector formula, held even across the two |
| 37 | probes (including the same flat price in both readings). -/ |
| 38 | structure Plate (G : Gauge) {c f : Side} (S : StepData c f) where |
| 39 | x : ℝ |
| 40 | w : ℝ |
| 41 | tube : Tube G S |
| 42 | forest : Forest S.ratio |
| 43 | book : Allocation G S x w |
| 44 | chart : ChartRatio G |
| 45 | chip : Chi |
| 46 | point : BudgetPoint -- output point, for conversion sieve↔banker |
| 47 | d : ℝ |
| 48 | tag : S.Choices -- the flat price |
| 49 | |
| 50 | variable {S : StepData c f} |
| 51 | namespace Plate |
| 52 | variable (e : Plate G S) (R : Rep G f) (A : Stores S) (V : Config G c) (k : S.Choices) |
| 53 | |
| 54 | abbrev Cov := fog A e.forest e.tube e.x V k |
| 55 | abbrev Gram := Rows.gram e.tube e.x V k (shots S e.x) A e.forest |
| 56 | abbrev center := meanLog A e.forest e.tube e.x V k e.chip e.d |
| 57 | abbrev Flat := Native.kinetic e.tube e.forest e.tag e.x |
| 58 | abbrev Sample := LinkArray G (Frozen A e.x e.forest) × Prices G (Active A e.x e.forest) |
| 59 | def law : Measure (e.Sample A) := (piHaar G (Frozen A e.x e.forest)).prod |
| 60 | (Gaussian.cloud (e.Cov A V k)) |
| 61 | |
| 62 | def color : e.Sample A → ℝ := uncurry |
| 63 | (sleeves e.tube e.x V k A R (shots S e.x) e.forest e.book e.chip e.chart e.d e.point (e.Cov A V k) (e.center A V k)) |
| 64 | def matched := A.flags = RG.flags (temp e.x) V |
| 65 | |
| 66 | /-- In particular the incoming per-site |
| 67 | `Rep.v` is multiplied by INcoming volume. -/ |
| 68 | def debit := R.v * Fintype.card (Site f) + Real.log (prefactor S G R.beta) + |
| 69 | Fintype.card e.forest.Free * Real.log (spare e.chart R.beta) - (1/2) * Real.log e.Flat.det |
| 70 | |
| 71 | /-- The outside factor includes the full Banker, with tail already |
| 72 | returned *inside* `color`. -/ |
| 73 | def outside := Real.log (banker e.tube e.point V R.beta) + e.debit R |
| 74 | |
| 75 | /-- No need to say that |
| 76 | `Gram * Cov - 1` is symmetric (or that a TrLog series applies). -/ |
| 77 | def cost := -(Fintype.card (Frozen A e.x e.forest) : ℝ) * Real.log (spare e.chart R.beta) - |
| 78 | (1/2) * (Real.log (e.Gram A V k).det - Real.log e.Flat.det) + |
| 79 | (1/2) * Real.log (1 + (e.Gram A V k * e.Cov A V k - 1)).det |
| 80 | |
| 81 | def value : ℝ := if e.matched A V then |
| 82 | Real.exp (e.cost R A V k) * ∫ z, e.color R A V k z ∂(e.law A V k) else 0 |
| 83 | |
| 84 | def head (I : Finset (Stores S)) := ∑ A ∈ I, ∑ k, e.value R A V k |
| 85 | |
| 86 | /-- Only the actual finite-volume geometry and measure hypotheses. No price |
| 87 | on the *size* of signed integrals! -/ |
| 88 | structure Receipt (e : Plate G S) (R : Rep G f) : Prop where |
| 89 | solvent : e.Flat.PosDef |
| 90 | radius : e.point.threshold = temp e.x |
| 91 | ratio : LocalRatio e.chart |
| 92 | bp : 0 < R.beta |
| 93 | matchPos : ∀ A V, e.matched A V → ∀ k, |
| 94 | (e.Gram A V k).PosDef ∧ |
| 95 | Permitted e.x V k A e.forest e.book e.chart e.d R.beta (e.Cov A V k) (e.center A V k) |
| 96 | licenses : ∀ A V k, Licenses e.tube e.x V k A R (shots S e.x) e.forest e.book e.chip |
| 97 | e.chart e.d (e.Cov A V k) (e.center A V k) |
| 98 | |
| 99 | variable {e R A V k} |
| 100 | lemma outside_exp (h : e.Receipt R) (V : Config G c) : |
| 101 | Real.exp (e.outside R V) = banker e.tube e.point V R.beta * |
| 102 | (Real.exp (R.v * Fintype.card (Site f)) * prefactor S G R.beta * |
| 103 | spare e.chart R.beta ^ Fintype.card e.forest.Free * (Real.sqrt e.Flat.det)⁻¹) := by |
| 104 | have hf := h.solvent.det_pos |
| 105 | have hx := spare_pos e.chart h.ratio h.bp |
| 106 | have ht : 0 < banker e.tube e.point V R.beta := Real.exp_pos _ |
| 107 | unfold outside debit |
| 108 | rw [show 1/2*Real.log e.Flat.det = Real.log (Real.sqrt e.Flat.det) by rw [Real.log_sqrt hf.le]; ring, |
| 109 | Real.exp_add,Real.exp_sub,Real.exp_add,Real.exp_add, Real.exp_log ht, Real.exp_log (Real.sqrt_pos.mpr hf), |
| 110 | Real.exp_log (prefactor_pos R.beta), Real.exp_nat_mul, Real.exp_log hx] |
| 111 | rw [div_eq_mul_inv] |
| 112 | |
| 113 | |
| 114 | |
| 115 | lemma wrong (he : ¬e.matched A V) (U : Config G f) (k : S.Choices) : e.book.bill A k U V = 0 := |
| 116 | not_not.mp fun hh => he (e.book.actual _ _ _ _ hh).exactFlags |
| 117 | |
| 118 | /-- Licensed even with mismatched flags (zero). -/ |
| 119 | lemma integrable_color (h : e.Receipt R) (A : Stores S) (V : Config G c) (k : S.Choices) : |
| 120 | Integrable (e.color R A V k) (e.law A V k) := by |
| 121 | by_cases hv : e.matched A V |
| 122 | · obtain ⟨hg,hp⟩ := h.matchPos A V hv k |
| 123 | exact (full_price e.tube e.x V k A R (shots S e.x) e.forest e.book e.chip e.chart e.d e.point h.radius |
| 124 | _ _ _ h.solvent hp.nativePos hg h.ratio h.bp (h.licenses A V k)).2.1 |
| 125 | have hz : e.color R A V k = 0 := by funext u; simp [color,sleeves,wrong hv,uncurry] |
| 126 | rw [hz]; exact integrable_zero .. |
| 127 | |
| 128 | lemma cut_eq (h : e.Receipt R) (A : Stores S) (V : Config G c) : |
| 129 | cutEntry e.book e.forest e.tube R A V = Real.exp (e.outside R V) * ∑ k, e.value R A V k := by |
| 130 | unfold cutEntry Allocation.column tagTotal |
| 131 | rw [Finset.mul_sum,Finset.mul_sum] |
| 132 | refine Finset.sum_congr rfl fun k _ => ?_ |
| 133 | by_cases he : e.matched A V |
| 134 | · rw [value,if_pos he, outside_exp h] |
| 135 | obtain ⟨hg,hp⟩ := h.matchPos A V he k |
| 136 | have hh := (full_price e.tube e.x V k A R (shots S e.x) e.forest e.book e.chip e.chart e.d e.point h.radius |
| 137 | _ _ _ h.solvent hp.nativePos hg h.ratio h.bp (h.licenses A V k)).2.2 |
| 138 | unfold law; rw [integral_prod _ (integrable_color h A V k),hh,mul_assoc]; rfl |
| 139 | simp [value,he, Allocation.portion,wrong he] |
| 140 | |
| 141 | lemma cut_sum (h : e.Receipt R) (I : Finset (Stores S)) (V : Config G c) : |
| 142 | ∑ A ∈ I, cutEntry e.book e.forest e.tube R A V = Real.exp (e.outside R V) * e.head R V I := by |
| 143 | unfold head; rw [Finset.mul_sum]; exact Finset.sum_congr rfl fun A _ => cut_eq h A V |
| 144 | |
| 145 | |
| 146 | end Plate |
| 147 | |
| 148 | section live |
| 149 | variable {B : Sheet G} {D : Rolls B} {Θ : Protection D} {W : Delays Θ} {Y : Bar W} {I : Wait Y} |
| 150 | {Z : ChartRatio G} {K : MapPrices} {P : PostCost D} (b : Directed G I Z K P) |
| 151 | |
| 152 | /-- Tightly bound to the committed prices. -/ |
| 153 | def assigned (N m p : ℕ) (g a : ℕ → ℕ → ℝ) |
| 154 | (F : Forest (b.a.clock.op m p).ratio) (χ : Chi) |
| 155 | (u : Allocation G (b.a.clock.op m p) (b.a.clock.hatBeta m) (g (b.a.clock.J (m+1)) (b.a.clock.J m))) |
| 156 | (k : (b.a.clock.op m p).Choices) : Plate G (b.a.clock.op m p) := |
| 157 | ⟨_,_,ships b N m p,F,u,Z,χ,b.a.budget m,a (b.a.clock.J (m+1)) (b.a.clock.J m) * b.a.clock.threshold (m+1), k⟩ |
| 158 | |
| 159 | variable {N m p : ℕ} {g a E : ℕ → ℕ → ℝ} |
| 160 | variable (F : Forest (b.a.clock.op m p).ratio) (χ : Chi) |
| 161 | (u : Allocation G (b.a.clock.op m p) (b.a.clock.hatBeta m) (g (b.a.clock.J (m+1)) (b.a.clock.J m))) |
| 162 | (k : (b.a.clock.op m p).Choices) |
| 163 | |
| 164 | lemma purchased (hW : Ringing K g W) (hh : Cosmos Z K W g a E) (hm : m < N) (R : Rep G (b.a.S.side (m+1) p)) |
| 165 | (hl : Lives b.bake N (m+1) p R) (hb : R.beta ∈ band b.a (m+1)) : |
| 166 | (assigned b N m p g a F χ u k).Receipt R := by |
| 167 | let e := assigned b N m p g a F χ u k |
| 168 | obtain ⟨_,hd,hr,hZ,hE,hJ,hP,κ,hκ,H⟩ := committed b hW hh N m p hm R hl hb |
| 169 | obtain ⟨hU,hG,hQ⟩ := H u F χ |
| 170 | have hp := proceeds b N m p hm |
| 171 | have hy := Client.funded b hW hh N m p hm |
| 172 | constructor |
| 173 | · change (Native.kinetic _ F k _).PosDef |
| 174 | obtain ⟨η,hη,h⟩ := Gap.stood G (b.a.clock.op m p).patch _ |
| 175 | rw [← Native.ground_gram _ F k _ (funds_branch hp)] |
| 176 | apply Matrix.PosDef.submatrix ?_ (Native.lineEquiv ..).injective |
| 177 | exact Gap.solvent _ _ _ F _ 1 k _ hη (h _ _ rfl hy.2.1 hy.2.2 hp _ _ F k) |
| 178 | · rfl |
| 179 | · exact b.ratio |
| 180 | · exact hP |
| 181 | · intro A V hv k |
| 182 | obtain ⟨h',h'',-⟩ := hG A k V |
| 183 | obtain ⟨hg,hA,-⟩ := h'' hv |
| 184 | refine ⟨hA,⟨hg,hP,(meanLog_cont _ _ _ _ _ _ _ _ hp hd hr).measurable,fun u hu hf i => ?_,b.ratio,hd,hZ⟩⟩ |
| 185 | obtain ⟨a,ha,hx,-,hc,-⟩ := h' u hu hf i.val (Or.inl i.property) |
| 186 | exact ⟨a,ha,hx,hc⟩ |
| 187 | intro A V k; exact (hG A k V).2.2 |
| 188 | end live |
| 189 | end YM.AnalyticBridge.ResetIncome |