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.AnalyticBridge.VERIFIED_RESET_STEP.Residual |
| 2 | import YM.Push.LOCAL_SPLITTING.Orientation |
| 3 | |
| 4 | |
| 5 | /-! Actual paths of every signed channel oriented before deployment. |
| 6 | Negative positive-link derivatives charge the `LOCAL_SPLITTING` turn cost, |
| 7 | not naive preservation of ordered jets. -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.AnalyticBridge.VerifiedReset |
| 11 | open Function Filter Set Lattice Wilson RG StressFlux UVNext.PricedKernels Next.Scheduling |
| 12 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 13 | variable {G : Gauge} {n : Side} {p : BudgetPoint} {X : Support n} |
| 14 | |
| 15 | open Next.Foundations in |
| 16 | lemma regular_mapped {E F : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [MeasurableSpace E] |
| 17 | [BorelSpace E] [NormedAddCommGroup F] [NormedSpace ℝ F] [MeasurableSpace F] [BorelSpace F] |
| 18 | (L : E →L[ℝ] F) {f : Config G n → E} (h : p.Regular X f) : p.Regular X (L ∘ f) := |
| 19 | ⟨fun U V he => congrArg L (h.sites U V he), L.continuous.measurable.comp h.borel,fun t U => congrArg L (h.symmetry t U), |
| 20 | fun U he => L.contDiff.contDiffAt.comp 0 (h.smooth U he),fun U he A _l hl => left_has A hl (L.contDiff.contDiffAt.comp 0 (h.smooth U he))⟩ |
| 21 | |
| 22 | -- Need left deriv commutation for L even at boundary. |
| 23 | open Next.Foundations in |
| 24 | lemma left_real (f : Pot G n) (U) {l : List (Dir G n)} {k : ℕ} (he : ContDiffAt ℝ k (f ∘ increment U) 0) (hl : l.length ≤ k) : |
| 25 | leftDerivs (fun x => (f x:ℂ)) l U = ((leftDerivs f l U:ℝ):ℂ) := by |
| 26 | induction l generalizing U with |
| 27 | | nil => rfl |
| 28 | | cons A l ih => |
| 29 | refine ((Complex.ofRealCLM.hasFDerivAt.comp_hasDerivAt 0 (left_has A (show l.length < k from hl) he)).congr_of_eventuallyEq |
| 30 | (f₁:=fun t => leftDerivs (fun x => (f x:ℂ)) l (increment U (t • A))) ?_).deriv |
| 31 | obtain ⟨c,hc,hC,hcc⟩ := Progress.DirectedRecipe.shifted (u:=Prod.fst (α:=Dir G n) (β:=Dir G n)) (v:=Prod.snd) |
| 32 | (x:=0) (m:=↑k) rfl rfl contDiffAt_fst contDiffAt_snd |
| 33 | have hb := (((hc.symm ▸ he).comp (f:=c) 0 hC).congr_of_eventuallyEq ((hcc U).fun_comp f)).eventually (by simp) |
| 34 | let q (t : ℝ) := (t • A, (0:Dir G n)); have ht : Tendsto q (𝓝 0) (𝓝 0) := by |
| 35 | rw [← show q 0=0 by simp [q, Prod.zero_eq_mk]]; exact (show Continuous q by unfold q; fun_prop).tendsto _ |
| 36 | filter_upwards [ht.eventually hb] with t h |
| 37 | exact ih _ (h.comp 0 (f:=fun x => (t • A,x)) (contDiffAt_const.prodMk contDiffAt_id)) (by simp_all; omega) |
| 38 | |
| 39 | lemma sup_real {f : Pot G n} {o a} (h : p.Regular X f) : p.supBounds o X (fun U => (f U : ℂ)) a ↔ p.supBounds o X f a := |
| 40 | and_congr_right fun _ => forall_congr' fun _ => forall_congr' fun he => forall_congr' fun l => forall_congr' fun hl => by |
| 41 | rw [left_real _ _ (h.smooth _ he) hl,Complex.norm_real] |
| 42 | |
| 43 | abbrev Seat (n : Side) := Signed × Site n |
| 44 | namespace Seat |
| 45 | variable (x : Seat n) |
| 46 | |
| 47 | def view : Config G n → Config G n := pull x.1 x.2 |
| 48 | def spread (X : Support n) := X.image (affine x.1 x.2) |
| 49 | def reg (X : Support n) (hX : (0:Site n) ∈ X) : RegularAddress n := ⟨x.2,x.spread X,Finset.mem_image.mpr ⟨0,hX,by simp [affine]⟩⟩ |
| 50 | lemma turn_zero : Push.Local.turnSites x.1 x.2 0 = x.2 := by change affine x.1 x.2 0 = x.2; simp [affine] |
| 51 | lemma healthy (t : ℝ) (X : Support n) (U : Config G n) : Healthy t (spread x X) U ↔ Healthy t X (view x U) := healthy_image .. |
| 52 | lemma distribute (t : ℝ) (X : Support n) (f : Pot G n) : masked t (x.spread X) (f ∘ x.view) = masked t X f ∘ x.view := by |
| 53 | ext U |
| 54 | by_cases he : Healthy t (spread x X) U |
| 55 | · rw [masked_eq _ _ _ _ he,show ((masked t X f ∘ x.view) U) = masked t X f (x.view U) from rfl,masked_eq _ _ _ _ ((healthy ..).1 he)]; rfl |
| 56 | rw [masked_ne _ _ _ _ he,show ((masked t X f ∘ x.view) U) = masked t X f (x.view U) from rfl, masked_ne _ _ _ _ (mt (healthy ..).2 he)] |
| 57 | |
| 58 | lemma regular {f : Pot G n} (h : p.Regular X f) : p.Regular (spread x X) (f ∘ x.view) := by |
| 59 | have h' := regular_mapped Complex.ofRealCLM h |
| 60 | exact regular_mapped Complex.reCLM (Push.Local.regular_pull h' x.1 x.2) |
| 61 | lemma sup {a} {f : Pot G n} (h : p.Regular X f) (ha : p.supBounds 0 X f a) : |
| 62 | p.supBounds x.2 (spread x X) (f ∘ view x) (Push.Local.turnCost p.order p.power * a) := by |
| 63 | apply (sup_real (regular x h)).1 |
| 64 | exact x.turn_zero ▸ Push.Local.bound_pull (regular_mapped Complex.ofRealCLM h) ((sup_real h).2 ha) x.1 x.2 |
| 65 | |
| 66 | lemma unwrapped (h : Nonwrapping (spread x X) x.2) : Nonwrapping X 0 := by |
| 67 | rw [← spin_wrap x.1 x.2]; simpa only [affine,Signed.act_zero,zero_add] using! h |
| 68 | lemma hessian (hG : G.Simple) {f : Pot G n} (h : p.Regular X f) (hX : Nonwrapping (spread x X) x.2) |
| 69 | (hn : 4 ≤ n.val) (a b : LinearJet G) : logHessian (f ∘ view x) (a.field x.2) (b.field x.2) = |
| 70 | logHessian f ((a.turn x.1).field 0) ((b.turn x.1).field 0) := by |
| 71 | simpa only [affine,Signed.act_zero,zero_add] using! a.hessian_turn x.1 x.2 _ (unwrapped x hX) hn b hG h |
| 72 | |
| 73 | lemma visit_count (X : Support n) : coverNumber p.B (spread x X) = coverNumber p.B X := |
| 74 | Push.Local.cover_map (Push.Local.turnSites x.1 x.2) (Push.Local.turn_sep _ _) .. |
| 75 | |
| 76 | def move (s : Signed) (b : Site n) : Equiv.Perm (Seat n) := (Equiv.mulLeft s).prodCongr (Push.Local.turnSites s b) |
| 77 | lemma spread_move (s : Signed) (b : Site n) (X : Support n) : spread (move s b x) X = (spread x X).image (affine s b) := by |
| 78 | change X.image (affine (s*x.1) (affine s b x.2)) = _ |
| 79 | simp only [spread, Finset.image_image, affine]; congr 1; funext i; simp [affine,Signed.act_mul,add_assoc] |
| 80 | lemma view_move (s : Signed) (b : Site n) : view (move s b x) (G:=G) = view x ∘ pull s b := funext fun _ => (pull_pull ..).symm |
| 81 | end Seat |
| 82 | end YM.AnalyticBridge.VerifiedReset |