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.Primitives.SMALL_FIELD_EXTERIOR.Shed |
| 2 | import YM.Primitives.SMALL_FIELD_EXTERIOR.Window |
| 3 | import YM.Push.BETA_TRANSPORT.Block |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | # One-step normalized response in an exact convex domain |
| 8 | |
| 9 | Wilson and the actual block kernel; not assuming a running `Rep`. Real β, |
| 10 | real source parameter. At fixed V, condition on `shed` in the Haar tree |
| 11 | slice. This probability is NOT fed to a global bound without paying the |
| 12 | out-of-domain term. Keep the whole part inside, including Haar weight, paths |
| 13 | from the frame, noise, and counting/gauge conventions. Includes a response |
| 14 | in the Wilson sources, not differentiation in the choice of domain, forest or |
| 15 | payoff schedule. |
| 16 | -/ |
| 17 | set_option autoImplicit false |
| 18 | noncomputable section |
| 19 | namespace YM.Primitives.SmallFieldExterior.Forestage |
| 20 | open Function Set Filter Metric MeasureTheory Matrix |
| 21 | open Lattice Precision Wilson RG Tree Push.Uniform YM.Next.Fluctuations.Sector |
| 22 | open scoped Topology ContDiff BigOperators Matrix.Norms.Frobenius Classical |
| 23 | |
| 24 | variable {G : Gauge} {c f : Side} {S : StepData c f} (B : Forest S.ratio) (t : S.Choices) {β r : ℝ} |
| 25 | {F H : Config G f → ℝ} |
| 26 | |
| 27 | def kernelWeight (β : ℝ) (V : Config G c) (u : B.Slice G) := S.density β (B.drape u) V*bare β (B.drape u) |
| 28 | |
| 29 | |
| 30 | /-- Entire tag sum is in the kernel; on the operating log domain tag replacements in the predictors |
| 31 | are jointly justified (`normal_identity`). -/ |
| 32 | def funnel (β : ℝ) (V : Config G c) (F : Config G f → ℝ) (u : B.Slice G) := kernelWeight B β V u * F (B.drape u) |
| 33 | lemma live (a : S.patch.Branches S.kernel G) (β : ℝ) (V : Config G c) (hF : Continuous F) : Integrable (funnel B β V F) (B.order G) := by |
| 34 | let k := (Push.BetaTransport.slice_estimate S a V).comp (f:=B.drape) B.continuous_drape.measurable |
| 35 | let f : B.Slice G → ℝ := fun u => (bare β (B.drape u))*F (B.drape u) |
| 36 | have hh : Continuous f := ((bare_cont β).mul hF).comp B.continuous_drape |
| 37 | have h := k.smul_integrable β (hh.integrable_of_hasCompactSupport (μ:=B.order G) (HasCompactSupport.of_compactSpace f)) |
| 38 | unfold funnel kernelWeight |
| 39 | simpa only [mul_assoc,f,smul_eq_mul] using! h |
| 40 | |
| 41 | /-- The mass WITH operand, still unnormalized, on `shed`. -/ |
| 42 | def localMass (x : Positions (Primary c G)) (β r : ℝ) (F : Config G f → ℝ) := |
| 43 | ∫ a in shed B x r, funnel B β (roof G x) F a ∂B.order G |
| 44 | |
| 45 | def view (x : Positions (Primary c G)) (F : Config G f → ℝ) : Points (Key B G) → ℝ := F ∘ B.drape ∘ convertSlice B x |
| 46 | lemma view_coin (x : Positions (Primary c G)) (hF : Continuous F) : Continuous (view B x F) := |
| 47 | hF.comp (B.continuous_drape.comp (convertSlice_cont B x)) |
| 48 | lemma realize (x : Positions (Primary c G)) (v : Points (Key B G)) : |
| 49 | B.drape (convertSlice B x v)=fine G B (meetVar x v) := by |
| 50 | unfold fine outer |
| 51 | rw [paint_meet B]; rfl |
| 52 | lemma reflect_bg (x : Positions (Primary c G)) (v : Points (Key B G)) : |
| 53 | roof G x=outer G B (meetVar x v) := by rw [outer,paint_meet]; rfl |
| 54 | |
| 55 | section pilot |
| 56 | variable {μ C R m k : ℝ} {j n : ℕ} {Q : KernelChoices} |
| 57 | {A : Before G μ C j Q n} {P : ChartRatio G} |
| 58 | (a : Pilot A P S β r R m k) {x : Positions (Primary c G)} (hx : ‖x‖ ≤ (chart A S.patch).safety) |
| 59 | include a hx |
| 60 | lemma incoming (v : Points (Key B G)) (hv : v∈cube _ r) : kernelWeight B β (roof G x) (convertSlice B x v) = |
| 61 | prefactor S G β * Real.exp (-β * bill B t G x v) := by |
| 62 | rw [kernelWeight, realize,reflect_bg B x v,mul_comm]; |
| 63 | exact normal_identity B (p:=firstClip) rfl A a.shape.1 a.index a.kernel t β (meetVar x v) |
| 64 | (closedBall_subset_ball (a.hessian_data B t).reserveH_lt (a.within B hx hv)) |
| 65 | lemma local_price (hF : Continuous F) : localMass B x β r F=prefactor S G β * raw r (actual B t β P x) (view B x F) := by |
| 66 | unfold localMass |
| 67 | rw [uses B a.stamp a.positive.le a.localBox x _ (live B a.shape.1 _ _ hF).integrableOn,raw, ← integral_const_mul] |
| 68 | apply setIntegral_congr_fun (cube_meas _); intro y hy |
| 69 | unfold funnel actual view; simp only; rw [incoming B t a hx y hy, coin_exp B a.stamp a.positive.le a.localBox y hy] |
| 70 | simp only [Pi.add_apply,neg_add,Real.exp_add,Pi.smul_apply,smul_eq_mul,Function.comp_apply, neg_mul]; ring |
| 71 | |
| 72 | |
| 73 | |
| 74 | end pilot |
| 75 | |
| 76 | def mark (F : Config G f → ℝ) (θ : ℝ) (U : Config G f) := Real.exp (θ * F U) |
| 77 | lemma mark_cont (hF : Continuous F) (θ : ℝ) : Continuous (mark F θ) := by unfold mark; fun_prop |
| 78 | |
| 79 | |
| 80 | def fiber (x : Positions (Primary c G)) (β r : ℝ) (F H : Config G f → ℝ) (θ : ℝ) := |
| 81 | localMass B x β r (mark F θ * H) / localMass B x β r (mark F θ) |
| 82 | |
| 83 | variable {μ C R m k : ℝ} {j n : ℕ} {Q : KernelChoices} |
| 84 | {A : Before G μ C j Q n} {P : ChartRatio G} |
| 85 | (a : Pilot A P S β r R m k) {x : Positions (Primary c G)} (hx : ‖x‖ ≤ (chart A S.patch).safety) |
| 86 | include a hx |
| 87 | lemma tagged (hF : Continuous F) (hH : Continuous H) (θ : ℝ) : localMass B x β r (mark F θ * H) = prefactor S G β * |
| 88 | raw r (actual B t β P x - θ • view B x F) (view B x H) := by |
| 89 | rw [local_price B t a hx ((mark_cont hF θ).mul hH)] |
| 90 | congr 1; unfold raw; apply integral_congr_ae; filter_upwards with y |
| 91 | simp only [Pi.sub_apply, neg_add,neg_neg,sub_eq_add_neg,Real.exp_add,view,Function.comp_apply,Pi.mul_apply,mark,Pi.smul_apply,smul_eq_mul] |
| 92 | ring |
| 93 | lemma tagMass (hF : Continuous F) (θ : ℝ) : localMass B x β r (mark F θ) = prefactor S G β * raw r (actual B t β P x - θ • view B x F) 1 := by |
| 94 | nth_rw 1 [← mul_one (mark F θ)] |
| 95 | exact tagged B t a hx hF (show Continuous (1:Config G f → ℝ) from continuous_const) θ |
| 96 | |
| 97 | lemma lean_price (hF : Continuous F) (hH : Continuous H) (θ : ℝ) : fiber B x β r F H θ = |
| 98 | ∫ y, view B x H y ∂plume (cover B t G β) r (Wplan B t β P x - θ • view B x F) := by |
| 99 | rw [fiber,tagged B t a hx hF hH, tagMass B t a hx hF, plume_read (a.cover_pos B t), |
| 100 | show load _ (_ - θ • view B x F)=actual B t β P x- θ • view B x F by unfold load Wplan; abel, |
| 101 | mul_div_mul_left _ _ (prefactor_pos _).ne']; rfl |
| 102 | lemma marked (hF : Continuous F) (hH : Continuous H) : HasDerivAt (fiber B x β r F H) |
| 103 | (correlated (plume (cover B t G β) r (Wplan B t β P x)) (view B x F) (view B x H)) 0 := by |
| 104 | rw [show fiber B x β r F H = _ from funext (lean_price B t a hx hF hH)] |
| 105 | simpa only [zero_smul, sub_zero] using plume_source (a.cover_pos B t) a.positive (a.field B t hx).cOn (view_coin B x hF).continuousOn |
| 106 | (view_coin B x hH).continuousOn 0 |
| 107 | |
| 108 | |
| 109 | include t in |
| 110 | /-- Response estimate with explicit supports and prices. Interpret ALL on |
| 111 | the SAME tree. `StepData.push` comparison will also use this tree. -/ |
| 112 | theorem features (hF : Continuous F) (hH : Continuous H) (ρ σ : Site f) (p q : ℕ) (L N : Finset (Key B G)) (d e : ℝ) |
| 113 | (h₁ : Features (location B G) ρ p L r (view B x F) d) |
| 114 | (h₂ : Features (location B G) σ q N r (view B x H) e) : let b := pace A S.patch |
| 115 | |deriv (fiber B x β r F H) 0| ≤ feat b L p d / margin A S.patch β * (Decay b ρ σ * feat b N q e) := by |
| 116 | intro b |
| 117 | rw [(marked B t a hx hF hH).deriv, covariance_cloud (a.cover_pos B t),load_Wplan] |
| 118 | have he := a.margin_pos B t |
| 119 | exact featured a.positive (a.potential B t hx) (a.positive_pace B t).le he ((a.gap B t hx).drop he.le) |
| 120 | (fun y hy => a.extended B t hx y hy ρ) h₁ h₂ |
| 121 | end YM.Primitives.SmallFieldExterior.Forestage |