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.RG.Bounded |
| 2 | import YM.RG.Push |
| 3 | import YM.Gauge.Casimir |
| 4 | |
| 5 | /-! |
| 6 | # Represented histories |
| 7 | |
| 8 | These are proof-independent |
| 9 | interfaces for an exact history. |
| 10 | |
| 11 | All constants, the kernel parameters, and |
| 12 | the scalar reading of the coupling belong to THAT history. |
| 13 | |
| 14 | `Levels` freezes |
| 15 | the stage choices and the common schedule, not a class to infer. |
| 16 | |
| 17 | Pre choices |
| 18 | are to be supplied before block ratios; Θ gates use after-ratio powers; the |
| 19 | budget feasibility obligations are separate and may need much more data at a |
| 20 | working step than is asserted **after** construction of a trajectory. |
| 21 | |
| 22 | We don't |
| 23 | use contour or perturbative semantics in the target. |
| 24 | |
| 25 | Inverse coupling definition here: β is the actual scalar in the represented |
| 26 | base `S_t`, with array and kinetic metric normalization conditions on flat |
| 27 | coefficients, remaining loop kernel without those leading Fourier coefficients, |
| 28 | and affine remainder vanishing, flags, addresses etc. Not a number associated to |
| 29 | the measure independently. This is a formulation with *existence* of such a |
| 30 | representation and continuation. Does not require uniqueness/reproducing an |
| 31 | implementation's path choice, tags unused after integration, etc. See ledger on |
| 32 | specialization/generalization from E; do not infer any usual beta-function claim |
| 33 | beyond `Running`. |
| 34 | -/ |
| 35 | |
| 36 | set_option autoImplicit false |
| 37 | noncomputable section |
| 38 | namespace YM.RG |
| 39 | |
| 40 | open Wilson Lattice MeasureTheory Filter Set |
| 41 | open scoped Matrix.Norms.Frobenius Topology BigOperators |
| 42 | |
| 43 | /-- Stage-indexed choices. Chosen before `L` when costs are used |
| 44 | that way; do not hide `L` powers. Source cone cap included for use later. -/ |
| 45 | structure Stage where |
| 46 | clip : Clip |
| 47 | order : ℕ |
| 48 | power : ℕ |
| 49 | supportExponent : ℝ |
| 50 | width : ℝ |
| 51 | paths : ℝ |
| 52 | drift : ℝ |
| 53 | columns : ℝ |
| 54 | order_ge : 6 ≤ order |
| 55 | power_ge : 2 ≤ power |
| 56 | price_pos : 0 < supportExponent |
| 57 | width_pos : 0 < width |
| 58 | paths_pos : 0 < paths |
| 59 | slow_selector : 12 ≤ clip.relaxation * width |
| 60 | columns_ge : 1 ≤ columns |
| 61 | drift_ge : 0 ≤ drift |
| 62 | |
| 63 | /-- Fixed numerical scales and hatted coupling (threshold independent of actual shooting). -/ |
| 64 | structure Calendar (G : Gauge) where |
| 65 | schedule : Schedule |
| 66 | kernel : KernelChoices |
| 67 | bar : ℝ |
| 68 | bar_pos : 0 < bar |
| 69 | stage : ℕ → Stage |
| 70 | factor : ℕ → Side |
| 71 | theta : ℕ → ℝ |
| 72 | J : ℕ → ℕ |
| 73 | adm m : 4 ≤ J m |
| 74 | namespace Calendar |
| 75 | variable {G : Gauge} (S : Calendar G) |
| 76 | |
| 77 | abbrev params (m : ℕ) := S.stage (S.J m) |
| 78 | |
| 79 | def hatBeta (m : ℕ) : ℝ := S.bar + G.slopeConstant * S.schedule.scale m |
| 80 | def hatCoupling (m) := (Real.sqrt (S.hatBeta m))⁻¹ |
| 81 | def monitor (m) := Real.exp ((Real.log (Real.log (S.hatBeta m)))^2) |
| 82 | def coverSize (m) := Nat.ceil ((Real.log (S.hatBeta m))^2) |
| 83 | def threshold (m) := S.hatCoupling m * S.monitor m |
| 84 | def allowance (m) := S.hatCoupling m ^ ((11 : ℝ)/5) |
| 85 | def forcedAllowance (m) := Real.exp (- ((S.monitor m) ^ ((1 : ℝ)/5))) |
| 86 | def loopCap (m) := 2 * (S.monitor m) ^ (S.theta (S.J m)) |
| 87 | |
| 88 | def op (m p : ℕ) : StepData (S.schedule.side m p) (S.schedule.side (m+1) p) where |
| 89 | kernel := S.kernel |
| 90 | patch := ⟨_,S.J (m+1),S.adm _, S.schedule.block_large m, S.schedule.block_odd m⟩ |
| 91 | sizes := (S.schedule.oneStep m p).exact_size |
| 92 | |
| 93 | /-- Stage receipt in a realized trajectory. Intermediate constructors must still |
| 94 | supply this with the right dependency order. `Fits` constants strengthened |
| 95 | numerically (patch/halo buffers; schedule must pay by delay and period choice). |
| 96 | Not an assertion of historical feasibility. -/ |
| 97 | structure Fits : Prop where |
| 98 | mesh : S.schedule.Gentle |
| 99 | sameFactor m : S.factor (S.J (m+1)) = S.schedule.block m |
| 100 | monotoneL : Monotone (fun i => (S.factor i).val) |
| 101 | mono : Monotone S.J |
| 102 | stepSlow m : S.J (m+1) ≤ S.J m + 1 |
| 103 | deep : Tendsto S.J atTop atTop |
| 104 | deepOrder : Monotone (fun m => (S.params m).order) |
| 105 | deepPower : Monotone (fun m => (S.params m).power) |
| 106 | deepExp : Monotone (fun m => (S.params m).supportExponent) |
| 107 | delayed m : 1 < S.hatBeta m |
| 108 | smallField m : S.threshold m ≤ 1 |
| 109 | sizeT m p : 100 * (S.coverSize m + 1) ≤ (S.schedule.side m p).val |
| 110 | fitsPatch m p : 100 * ((S.op m p).patch.radius + 1) ≤ (S.schedule.side (m+1) p).val |
| 111 | thetaRange m : 0 < S.theta (S.J m) ∧ S.theta (S.J m) ≤ ((S.J m : ℕ) : ℝ)⁻¹ |
| 112 | thetaMono : Antitone S.theta |
| 113 | /-- For pre-L constants in the recursion. -/ |
| 114 | driftSmall m : (S.params (m+1)).drift / Real.log (S.schedule.block m).val ≤ ((S.J (m+1) : ℝ)^2)⁻¹ |
| 115 | logCost m : |
| 116 | let p := S.params (m+1) |
| 117 | Real.log (1 + p.paths + p.width⁻¹ + p.columns + p.clip.relaxation + p.supportExponent) / |
| 118 | Real.log (S.schedule.block m).val ≤ ((S.J (m+1) : ℝ)^2)⁻¹ |
| 119 | |
| 120 | structure BlockControl (m p : ℕ) : Prop where |
| 121 | branches : (S.op m p).patch.Branches S.kernel G |
| 122 | symmetric β (U : Config G (S.schedule.side (m+1) p)) (V : Config G (S.schedule.side m p)) |
| 123 | (s : Signed) (b : Site (S.schedule.side m p)) : |
| 124 | (S.op m p).density β (pull s ((S.op m p).ratio.embed b) U) (pull s b V) = |
| 125 | (S.op m p).density β U V |
| 126 | gauge β (U : Config G (S.schedule.side (m+1) p)) V t : |
| 127 | (S.op m p).density β (Lattice.gauge t U) (Lattice.gauge (t ∘ (S.op m p).ratio.embed) V) = |
| 128 | (S.op m p).density β U V |
| 129 | end Calendar |
| 130 | |
| 131 | structure Levels (G : Gauge) where |
| 132 | clock : Calendar G |
| 133 | fits : clock.Fits |
| 134 | blocks : ∀ m p : ℕ, clock.BlockControl m p |
| 135 | namespace Levels |
| 136 | variable {G : Gauge} (s : Levels G) |
| 137 | |
| 138 | abbrev S := s.clock.schedule |
| 139 | abbrev params := s.clock.params |
| 140 | |
| 141 | def budget (m : ℕ) : BudgetPoint where |
| 142 | order := (s.params m).order |
| 143 | power := (s.params m).power |
| 144 | supportExponent := (s.params m).supportExponent |
| 145 | B := s.clock.coverSize m |
| 146 | threshold := s.clock.threshold m |
| 147 | power_ge := (s.params _).power_ge |
| 148 | order_ge := (s.params _).order_ge |
| 149 | exponent_pos := (s.params _).price_pos |
| 150 | B_pos := by |
| 151 | have := Real.log_pos (s.fits.delayed m) |
| 152 | unfold Calendar.coverSize |
| 153 | exact Nat.ceil_pos.mpr (by positivity) |
| 154 | threshold_pos := mul_pos (inv_pos.mpr <| Real.sqrt_pos.2 <| lt_trans zero_lt_one (s.fits.delayed m)) |
| 155 | (Real.exp_pos _) |
| 156 | threshold_le := s.fits.smallField _ |
| 157 | |
| 158 | theorem transition_mass (m p : ℕ) (β : ℝ) : (s.clock.op m p).IsKernel β G := |
| 159 | (s.clock.op m p).isKernel (s.blocks m p).branches _ |
| 160 | end Levels |
| 161 | |
| 162 | variable {n : Side} {G : Gauge} |
| 163 | |
| 164 | /-- Denotational representation with complete support discipline required by `Lawful`. -/ |
| 165 | structure Rep (G : Gauge) (n : Side) where |
| 166 | path : PathData G |
| 167 | clip : Clip |
| 168 | activities : Activities G n |
| 169 | p : BudgetPoint |
| 170 | beta : ℝ |
| 171 | v : ℝ |
| 172 | |
| 173 | namespace Rep |
| 174 | variable (R : Rep G n) |
| 175 | |
| 176 | def exponent (U : Config G n) : ℝ := |
| 177 | R.v * Fintype.card (Site n) - R.path.inChannels R.clip R.p R.beta U - R.activities.additive R.p U |
| 178 | |
| 179 | def eval (U : Config G n) := Real.exp (R.exponent U) * R.activities.gas R.p U |
| 180 | |
| 181 | structure Lawful (σ C Λ δ w : ℝ) : Prop where |
| 182 | paths : R.path.Bounds R.clip σ C Λ |
| 183 | labels : R.activities.Valid R.p δ w |
| 184 | |
| 185 | theorem exponentEnv {σ C Λ δ w : ℝ} (h : R.Lawful σ C Λ δ w) : Envelope R.exponent := by |
| 186 | have g := PathData.channels_env (n := n) h.paths R.p R.beta |
| 187 | have e : Envelope (R.activities.additive R.p) := |
| 188 | ⟨Activities.E_measurable h.labels.regular, (Activities.ESeries h.labels).bound⟩ |
| 189 | have X : Envelope R.exponent := by |
| 190 | unfold exponent |
| 191 | simp_rw [sub_eq_add_neg] |
| 192 | exact (((Envelope.const _).add g.neg).add e.neg) |
| 193 | exact X |
| 194 | |
| 195 | theorem envelope {σ C Λ δ w : ℝ} (h : R.Lawful σ C Λ δ w) : Envelope R.eval := by |
| 196 | exact Envelope.mul (R.exponentEnv h).exp |
| 197 | (show Envelope (R.activities.gas R.p) from |
| 198 | ⟨Activities.gas_measurable h.labels.forced, (Activities.gasSeries h.labels).bound⟩) |
| 199 | end Rep |
| 200 | |
| 201 | /-- All histories under one schedule. `path` kernels/canonical terms independent of period, |
| 202 | not of previous finer blocking depth. Path masks fixed by Atom footprints. Normalize against |
| 203 | **probability** Haar. Ignore `m > N` padding; the physical measure uses level `N`. -/ |
| 204 | structure History (G : Gauge) where |
| 205 | levels : Levels G |
| 206 | rep (N p m : ℕ) : Rep G (levels.S.side m p) |
| 207 | |
| 208 | namespace History |
| 209 | variable (A : History G) |
| 210 | abbrev S := A.levels.S |
| 211 | abbrev β (N p m) := (A.rep N p m).beta |
| 212 | |
| 213 | structure Conv (N p m : ℕ) : Prop where |
| 214 | vac : (A.rep N p m).p = A.levels.budget m |
| 215 | clip : (A.rep N p m).clip = (A.levels.params m).clip |
| 216 | good : (A.rep N p m).Lawful (A.levels.params m).width (A.levels.params m).paths |
| 217 | (A.levels.clock.loopCap m) (A.levels.clock.allowance m) (A.levels.clock.forcedAllowance m) |
| 218 | band : A.β N p m ∈ Set.Icc (A.levels.clock.hatBeta m / 2) (2 * A.levels.clock.hatBeta m) |
| 219 | |
| 220 | /-- The recurrence also records the stage-wise magnitude of the drift |
| 221 | (residual from the universal one-loop leading term, *not* identification of |
| 222 | any particular loop calculation). . -/ |
| 223 | def Transfer (N p m : ℕ) := |
| 224 | let C := A.levels.clock |
| 225 | (A.rep N p m).eval = (C.op m p).push (A.β N p (m+1)) (A.rep N p (m+1)).eval ∧ |
| 226 | |A.β N p (m+1) - A.β N p m - G.slopeConstant*Real.log (A.S.block m).val| ≤ |
| 227 | (C.params (m+1)).drift |
| 228 | |
| 229 | def Running := ∀ ε : ℝ, 0 < ε → ∀ᶠ m : ℕ in atTop, ∀ N p, |
| 230 | m ≤ N → |A.β N p m - A.levels.clock.hatBeta m| ≤ ε * A.S.scale m |
| 231 | |
| 232 | /-- Endpoint history cuts (more intermediate gates can be used to construct |
| 233 | these proofs). -/ |
| 234 | structure Selected : Prop where |
| 235 | path_shared (N p q m : ℕ) : m ≤ N → (A.rep N p m).path = (A.rep N q m).path |
| 236 | represents (N p m : ℕ) : m ≤ N → A.Conv N p m |
| 237 | starts (N p : ℕ) : (A.rep N p N).v = 0 ∧ (A.rep N p N).eval = bare (A.β N p N) |
| 238 | steps (N p m : ℕ) : m < N → A.Transfer N p m |
| 239 | reaches (N p : ℕ) : A.β N p 0 = A.levels.clock.bar |
| 240 | running : A.Running |
| 241 | |
| 242 | theorem partition_eq (h : A.Selected) (N p m : ℕ) (hv : m ≤ N) : |
| 243 | (∫ U, (A.rep N p m).eval U ∂prior G (A.S.side m p)) = partition G (A.S.side N p) (A.β N p N) := by |
| 244 | induction hv using Nat.decreasingInduction with |
| 245 | | self => rw [(h.starts N p).2]; rfl |
| 246 | | of_succ k hk H => |
| 247 | rw [(h.steps N p k hk).1] |
| 248 | rw [StepData.push_integral (A.levels.transition_mass ..) _ |
| 249 | (((A.rep N p (k+1)).envelope (h.represents _ _ _ hk).good).integrable _), H] |
| 250 | end History |
| 251 | end YM.RG |