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.Next.SCHEDULE.Calling |
| 2 | import YM.Progress.DIRECTED_RECIPE.Normalization |
| 3 | import YM.Progress.DIRECTED_RECIPE.Recipe |
| 4 | |
| 5 | /-! |
| 6 | # Installed recipe: proving usability (pointwise part) |
| 7 | |
| 8 | Performed step earns Lives and exact Move, with Path, strong K and actual |
| 9 | coupling reset preserved. Even ancestors are from the same numerical choices. |
| 10 | This doesn't *give* the pre-assembly expansion (all in `PeriodFuture` or |
| 11 | externally supplied to step), nor an availability result for each Curve yet. |
| 12 | -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.Progress.DirectedRecipe |
| 16 | |
| 17 | open Function Set RG Wilson Lattice RG.Shoot Ovens Ovens.Pipes Input Precision |
| 18 | open Next.Scheduling RG.Supply MeasureTheory |
| 19 | open scoped Topology BigOperators ContDiff Matrix.Norms.Frobenius |
| 20 | |
| 21 | variable {G : Gauge} {a : Levels G} {M : Horizon a} {O : ChartRatio G} |
| 22 | {k : Kin M O} {r : Permissions a} {e : ℕ → ℕ → Exchange} {F : ℕ → ℕ → Postage} |
| 23 | variable {s : Survey G} {q : Quote} {v : ℕ → ℕ} {K : MapPrices} {D : Rolls (s.paper q v)} |
| 24 | {T : Protection D} {W : Delays T} {Z : Bar W} {I : Wait Z} {mould : Beam K D} |
| 25 | variable (paid : Paid I a) (tax : Regime mould e F W) (hk : k.Planned (mould.price F)) |
| 26 | |
| 27 | variable {N m p : ℕ} {U : Rep G (a.S.side m p)} {Q : Rep G (a.S.side (m+1) p)} |
| 28 | lemma begun {X d β} (H : SurfacePay k r N p β X d) (ho : β ∈ band a N) (e) (hk : k.Planned (mould.price F)) : |
| 29 | Lives (recipe k e F r) N N p (fromTop k N p β X d) := |
| 30 | ⟨rfl,rfl,rfl,⟨hk.cap N N le_rfl,H.ingredients.gates ..⟩, PeriodFuture.begin ho H⟩ |
| 31 | |
| 32 | /-- The same prices for paths certified by `Kin.Planned`, the same prices as used |
| 33 | at every call through an Icc. No tightening of θ/allowance *after* acquiring |
| 34 | an output. Pasted strong K on Move. No order-reducing analysis fallback. |
| 35 | `period` implicit here is arbitrary. Including equality faces/masks. -/ |
| 36 | lemma reload {X d Δ} (H : PeriodFuture k e F r N p (m+1) Q) (hQ : BatchPay k e F r N m p Q Δ X d) |
| 37 | (hb : Q.beta ∈ band a (m+1)) (paid : Paid I a) (tax : Regime mould e F W) (hk : k.Planned (mould.price F)) : |
| 38 | let u := receive k N m p Q Δ X d |
| 39 | Lives (recipe k e F r) N m p u ∧ |
| 40 | u.activities.KBound u.p (Real.exp (-(mould.price F).g (a.clock.J (m+1)) * (a.clock.monitor (m+1))^2)) ∧ |
| 41 | |u.beta - Q.beta - k.alpha N m| ≤ 1 := by |
| 42 | intro u |
| 43 | have he : m<N := H.pockets.1 |
| 44 | have Hz : u.activities.Valid u.p (Echarge e F a m Q.beta) (Kcharge F a m Q.beta) := |
| 45 | hQ.ingredients.gates .. |
| 46 | obtain ⟨hE,hK,hK',hb'⟩ := Deployment.recloses paid tax m p Q.beta hb u.activities Hz.boundE Hz.boundK |
| 47 | have hp : u.activities.Valid u.p (a.clock.allowance m) (a.clock.forcedAllowance m) := |
| 48 | { Hz with boundE := hE, boundK := hK' } |
| 49 | refine ⟨⟨rfl,rfl,rfl,⟨hk.cap N m he.le,hp⟩,PeriodFuture.struck he H hb hQ⟩,hK,?_⟩ |
| 50 | rw [show u.beta-Q.beta-k.alpha N m = Δ by change Q.beta+k.alpha N m+Δ-_-_=Δ; ring] |
| 51 | exact hb' Δ hQ.bill |
| 52 | |
| 53 | /-- Every admissible step input is a *real* rep in these respects. |
| 54 | At all configurations, even with flags. `Lives` does not pay the input band |
| 55 | on its own. Prices/horizon support are not assumed |
| 56 | sufficient for kernel analysis beyond those in `Planned`. -/ |
| 57 | structure Packed (k : Kin M O) (e : ℕ → ℕ → Exchange) (F : ℕ → ℕ → Postage) (r : Permissions a) |
| 58 | (N m p : ℕ) (U : Rep G (a.S.side m p)) : Prop where |
| 59 | lives : Lives (recipe k e F r) N m p U |
| 60 | positive V : 0 < U.eval V |
| 61 | gauge : GaugeInvariant U.eval |
| 62 | signed z b V : U.eval (pull z b V) = U.eval V |
| 63 | -- also valid for these very output densities, not just on bare cutoff. |
| 64 | continuous : Continuous U.eval |
| 65 | |
| 66 | section State |
| 67 | open Filter |
| 68 | lemma continuous_density {c f : Side} (S : StepData c f) (β : ℝ) (h : Config G f) : |
| 69 | Continuous (S.density β h) := by |
| 70 | unfold StepData.density; apply continuous_finsetSum |
| 71 | intro i _ |
| 72 | have hg : Continuous fun V : Config G c => S.noise β (S.prediction h i) V := by |
| 73 | change Continuous ((fun x : Config G c × Config G c => S.noise β x.1 x.2) ∘ |
| 74 | fun V : Config G c => (S.prediction h i,V)) |
| 75 | exact Continuous.comp (S.noise_cont β) (continuous_const.prodMk continuous_id) |
| 76 | exact Continuous.const_mul hg (S.likelihood h i) |
| 77 | |
| 78 | lemma continuous_push {c f : Side} (S : StepData c f) (β : ℝ) (L : S.patch.Branches S.kernel G) |
| 79 | (A : Config G f → ℝ) (he : Integrable A (prior G f)) : Continuous (S.push β A) := by |
| 80 | obtain ⟨C,hC⟩ := S.density_bound L β |
| 81 | refine continuous_of_dominated (bound:=fun U => C * ‖A U‖) |
| 82 | (fun V => (StepData.push_slice (S.isKernel L _) V A he).aestronglyMeasurable) |
| 83 | (fun V => Eventually.of_forall (fun U => ?_)) (he.norm.const_mul C) ?_ |
| 84 | · rw [norm_smul, Real.norm_of_nonneg (density_strict S β L U V).le] |
| 85 | exact mul_le_mul_of_nonneg_right (hC ..) (norm_nonneg _) |
| 86 | refine Eventually.of_forall fun U => ?_ |
| 87 | exact (continuous_density S β U).smul continuous_const |
| 88 | end State |
| 89 | |
| 90 | lemma Packed.env (h : Packed k e F r N m p U) : Envelope U.eval := U.envelope h.lives.valid |
| 91 | |
| 92 | lemma Packed.continues (h : Packed k e F r N (m+1) p Q) : |
| 93 | ∀ V, 0 < (a.clock.op m p).push Q.beta Q.eval V := |
| 94 | push_strict _ _ (a.blocks _ _).branches h.positive (h.env.integrable _) |
| 95 | |
| 96 | lemma PeriodFuture.packed (H : PeriodFuture k e F r N p m U) (paid : Paid I a) (tax : Regime mould e F W) |
| 97 | (hk : k.Planned (mould.price F)) : Packed k e F r N m p U := by |
| 98 | induction H with |
| 99 | | @begin β X d w h => |
| 100 | have ht := starter h w e F |
| 101 | refine ⟨begun h w _ hk,?_,?_,?_,?_⟩ <;> rw [ht.raw] |
| 102 | · exact bare_pos _ |
| 103 | · exact fun s U => bare_gauge .. |
| 104 | · exact fun i s U => bare_pull .. |
| 105 | exact bare_cont _ |
| 106 | | @struck m Q Δ X d hj hu hv hg ih => |
| 107 | have he := actual_eval hg (ih.continues 1) |
| 108 | refine ⟨(reload hu hg hv paid tax hk).1,?_,?_,?_,?_⟩ <;> rw [he] |
| 109 | · exact ih.continues |
| 110 | · exact push_orbit _ (ih.env.integrable _) ih.gauge |
| 111 | · exact fun s b => push_pull _ (ih.env.integrable _) s b (ih.signed s _) |
| 112 | exact continuous_push _ _ (a.blocks m p).branches Q.eval (ih.env.integrable _) |
| 113 | |
| 114 | /-- The real Move tickets, not just continuation constraints. -/ |
| 115 | lemma attempts (H : PeriodFuture k e F r N p (m+1) Q) (hx : (recipe k e F r).next N m p U Q) |
| 116 | (paid : Paid I a) (tax : Regime mould e F W) (hM : M.Suffices K) |
| 117 | (hT : LocalRatio O) (hk : k.Planned (mould.price F)) : |
| 118 | (prepared k e F r paid hM hT hk).Move N m p U Q := by |
| 119 | rcases (show m<N ∧ Q.beta ∈ band a (m+1) ∧ _ from hx) with ⟨hn,hb,Y⟩ |
| 120 | obtain ⟨Δ,X,d,hz,rfl⟩ := Y |
| 121 | have he := H.packed paid tax hk |
| 122 | obtain ⟨H1,H2,H3⟩ := reload H hz hb paid tax hk |
| 123 | exact ⟨actual_eval hz (he.continues 1),hx,H1,H2,H3⟩ |
| 124 | |
| 125 | lemma firing {X Δ d} (hg : BatchPay k e F r N m p Q Δ X d) (hb : Q.beta ∈ band a (m+1)) |
| 126 | (H : PeriodFuture k e F r N p (m+1) Q) (paid : Paid I a) (tax : Regime mould e F W) (hM : M.Suffices K) |
| 127 | (hT : LocalRatio O) (hk : k.Planned (mould.price F)) : |
| 128 | let B := prepared k e F r paid hM hT hk |
| 129 | B.Move N m p (receive k N m p Q Δ X d) Q := |
| 130 | attempts H ⟨H.pockets.1,hb,_,_,_,hg,rfl⟩ paid tax hM hT hk |
| 131 | end YM.Progress.DirectedRecipe |