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.AnalyticNext.QUARTIC_MATCH.Cells.Entry |
| 2 | import YM.AnalyticNext.QUARTIC_MATCH.Hessian.Review |
| 3 | import YM.AnalyticNext.QUARTIC_MATCH.Radius.Gradient |
| 4 | import YM.Next.PHASE.Seats |
| 5 | |
| 6 | /-! |
| 7 | # Axis coordinates from any stationary charts |
| 8 | |
| 9 | Get uniform real costs. No contour gauge assumptions. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.AnalyticNext.QuarticMatch.Radius |
| 14 | open Filter Function Lattice Laurent Matrix Hessian Analysis RG Precision Exterior Bid Wilson |
| 15 | open Progress.StationaryScenes Work.F03 YM.Next.Free Tree Joint Local Local.Wages Polish Fetch |
| 16 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators InnerProductSpace |
| 17 | |
| 18 | lemma room {X : Type*} [NormedAddCommGroup X] {P : X→Prop} (h : ∀ᶠ x in 𝓝 0,P x) : ∃ r : ℝ,0<r ∧ ∀ q : X, ‖q‖≤r → P q := by |
| 19 | obtain ⟨r,hp,ht⟩ := Metric.mem_nhds_iff.mp h |
| 20 | exact ⟨r/2,half_pos hp,fun q hq => ht (Metric.mem_ball.mpr (by rw [dist_zero_right]; linarith))⟩ |
| 21 | lemma ceilingD {X Y : Type*} [NormedAddCommGroup X] [NormedAddCommGroup Y] [NormedSpace ℝ X] [NormedSpace ℝ Y] |
| 22 | [ProperSpace X] (f : X→Y) (r : ℝ) (h : ∀ x, ‖x‖≤ r → ContDiffAt ℝ ω f x) (n : ℕ) : |
| 23 | ∃ C : ℝ,1≤C ∧ ∀ x, ‖x‖ ≤ r → ‖iteratedFDeriv ℝ n f x‖ ≤ C := by |
| 24 | let A : Set X := Metric.closedBall 0 r |
| 25 | have he x (he : x∈A) : ContDiffAt ℝ ω f x := h x ((dist_zero_right x) ▸ he) |
| 26 | have hf : ContinuousOn (iteratedFDeriv ℝ n f) A := fun i hi => ((he i hi).continuousAt_iteratedFDeriv le_top).continuousWithinAt |
| 27 | obtain ⟨M,hm⟩ := (isCompact_closedBall (0:X) r).bddAbove_image hf.norm |
| 28 | exact ⟨max 1 M,le_max_left ..,fun x hx => (hm (Set.mem_image_of_mem _ (Metric.mem_closedBall.mpr (by rwa [dist_zero_right])))).trans (le_max_right ..)⟩ |
| 29 | |
| 30 | namespace Showroom |
| 31 | open Green (wt) |
| 32 | section along |
| 33 | variable {G : Gauge} {c f : Side} (S : StepData c f) (H : Forest S.ratio) |
| 34 | abbrev outer (S : StepData c f) (G : Gauge) (t : ℝ) (i : Site f) : Ticket (Dir G c) := Amount t (S.ratio.embed ∘ Prod.fst) i |
| 35 | abbrev charge (H : Forest S.ratio) (G : Gauge) (t : ℝ) (i : Site f) : Ticket (AxisChart G H) := Amount t (fun p : H.Free=> p.val.1) i |
| 36 | abbrev On (H : Forest S.ratio) (G : Gauge) (t : ℝ) (i : Site f) : Ticket (ChartVars H G) := fun x c => outer S G t i x.1 c ∧ charge S H G t i x.2 c |
| 37 | |
| 38 | lemma onward (t : ℝ) {x : ChartVars H G} {i : Site f} {p : ℝ} (h : On S H G t i x p) |
| 39 | (s : ℝ) (he : t ≤ s) (hp : 0 ≤ p) : On S H G s i x p := ⟨seek he hp h.1,seek he hp h.2⟩ |
| 40 | lemma move (t : ℝ) {x : ChartVars H G} {i : Site f} {p : ℝ} (h : On S H G t i x p) |
| 41 | (z : Site f) (hp : 0 ≤ t) (hq : 0 ≤ p) : On S H G t z x (p*wt t z i) := ⟨Amount.origin h.1 z hp hq,Amount.origin h.2 z hp hq⟩ |
| 42 | lemma stamped (t : ℝ) (hp : 0≤t) (x : ChartVars H G) (i : Site f) : On S H G t i x ‖x‖ := |
| 43 | ⟨Amount.elevate (Amount.constant t hp i x.1) (le_max_left ..),Amount.elevate (Amount.constant t hp i x.2) (le_max_right ..)⟩ |
| 44 | |
| 45 | def collects (e : Edge (Site f)) : ChartVars H G →L[ℝ] G.Color × G.Color := |
| 46 | if h : e∈ H.trunks then 0 else |
| 47 | ((ContinuousLinearMap.proj (R:=ℝ) (⟨e,h⟩:H.Free)).comp (ContinuousLinearMap.snd ..)).prod ( |
| 48 | if S.ratio.parent (e.1+step e.2)=S.ratio.parent e.1 then 0 else (ContinuousLinearMap.proj (R:=ℝ) (S.ratio.parent e.1,coord e.2)).comp (ContinuousLinearMap.fst ..)) |
| 49 | |
| 50 | lemma presents (e : Edge (Site f)) (x : ChartVars H G) : |
| 51 | live H x e=G.lieExp (collects S H e x).1 * G.lieExp (collects S H e x).2 := by |
| 52 | unfold collects; split |
| 53 | · next he => rw [show live H x e=1 from H.on_tree _ ⟨e,he⟩]; simp |
| 54 | next he => |
| 55 | rw [show live H x e=G.lieExp (x.2 ⟨e,he⟩) * replica S.ratio (represent x.1) e from H.off_tree _ ⟨e,he⟩, replica]; split |
| 56 | · simp_all |
| 57 | next hz => |
| 58 | rw [represent_link]; rfl |
| 59 | lemma token (e : Edge (Site f)) (x : ChartVars H G) (t p : ℝ) (h : On S H G t e.1 x p) (ht : 0 ≤ t) (hp : 0 ≤ p) : |
| 60 | ‖collects S H e x‖ ≤ Real.exp (t*S.ratio.count.val)*p := by |
| 61 | let C := Real.exp (t*S.ratio.count.val); have hc : 1≤C := Real.one_le_exp (by positivity); have hd := hp.trans (le_mul_of_one_le_left hp hc) |
| 62 | unfold collects; split |
| 63 | · simpa using hd |
| 64 | next he => |
| 65 | have hh : ‖x.2 ⟨e,he⟩‖ ≤ p := by |
| 66 | have h := h.2 ⟨e,he⟩; simpa [Green.wt] using h |
| 67 | split |
| 68 | · rw [ContinuousLinearMap.prod_apply]; exact max_le (hh.trans (le_mul_of_one_le_left hp hc)) ((by simp only [_root_.zero_apply,norm_zero]; exact hd) : ‖(0 : ChartVars H G→L[ℝ] G.Color) x‖ ≤ _) |
| 69 | change max _ ‖x.1 (S.ratio.parent e.1,coord e.2)‖ ≤ _ |
| 70 | refine max_le (hh.trans (le_mul_of_one_le_left hp hc)) ((h.1 (_,coord e.2)).trans ?_) |
| 71 | rw [mul_comm p]; apply mul_le_mul_of_nonneg_right _ hp; dsimp only [Function.comp_apply]; apply Real.exp_monotone; gcongr |
| 72 | have hh := Corona.near S.ratio e.1; rw [separation_comm]; omega |
| 73 | lemma collects_le (e : Edge (Site f)) (x : ChartVars H G) : ‖collects S H e x‖ ≤ ‖x‖ := by |
| 74 | simpa only [zero_mul,Real.exp_zero,one_mul] using token S H e x 0 ‖x‖ (stamped S H _ le_rfl x e.1) le_rfl (norm_nonneg _) |
| 75 | end along |
| 76 | |
| 77 | section template |
| 78 | variable (G : Gauge) |
| 79 | def pose (x : G.Color × G.Color) := G.lieExp x.1 * G.lieExp x.2 |
| 80 | def express (x : G.Color × G.Color) := G.plog (G.mat (pose G x)) |
| 81 | |
| 82 | end template |
| 83 | |
| 84 | section quotes |
| 85 | variable {G : Gauge} {b r : ℝ} {c f : Side} (S : StepData c f) (H : Forest S.ratio) |
| 86 | |
| 87 | structure Shelf (G : Gauge) (r b : ℝ) where |
| 88 | pos : 0 < r |
| 89 | base : 0 < b |
| 90 | earns x : ‖x‖≤r → ContDiffAt ℝ ω (express G) x ∧ G.lieExp (express G x)=pose G x ∧ ‖express G x‖ ≤ b |
| 91 | rates : ℕ→ℝ |
| 92 | prices k : 1 ≤ rates k |
| 93 | cost n x : ‖x‖≤ r → ‖iteratedFDeriv ℝ n (express G) x‖ ≤ rates n |
| 94 | |
| 95 | variable (P : Shelf G r b) {x : ChartVars H G} (he : ‖x‖≤r) |
| 96 | include he |
| 97 | include P |
| 98 | omit he P in |
| 99 | lemma home (e : Edge (Site f)) (x : ChartVars H G) : axisLog H x (e.1,coord e.2)=express G (collects S H e x) := by |
| 100 | rw [axisLog, express, show axisEquiv.symm (coord e.2)=e.2 from axisEquiv.symm_apply_apply e.2, presents S H e x]; rfl |
| 101 | lemma makes : represent (axisLog H x)=live H x := by |
| 102 | funext e; rw [represent_link, home S H]; exact (P.earns _ ((collects_le S H e x).trans he)).2.1.trans (presents S H e x).symm |
| 103 | lemma priced : ContDiffAt ℝ ω (axisLog H (G:=G)) x := by |
| 104 | refine contDiffAt_pi.mpr ?_; rintro ⟨i,j⟩; obtain ⟨k,rfl⟩ := axisEquiv.surjective j |
| 105 | rw [show (fun x : ChartVars H G=> axisLog H x (i,axisEquiv k))=express G ∘ collects S H (i,k) from funext (home S H (i,k))] |
| 106 | exact ((P.earns _ ((collects_le S H _ _).trans he)).1).comp _ (ContinuousLinearMap.contDiff .. |>.contDiffAt) |
| 107 | lemma inside : ‖axisLog H x‖ ≤ b := by |
| 108 | refine (pi_norm_le_iff_of_nonneg P.base.le).mpr ?_; rintro ⟨i,j⟩; obtain ⟨k,rfl⟩ := axisEquiv.surjective j |
| 109 | rw [show axisEquiv k=coord k from rfl, home (e:=(i,k))]; exact (P.earns _ ((collects_le S H (i,k) x).trans he)).2.2 |
| 110 | |
| 111 | def fetch (P : Shelf G r b) (l : Side) (t : ℝ) (m) := P.rates m * (Real.exp (t*l.val))^m |
| 112 | omit he in |
| 113 | lemma fetch_pos (l : Side) (t : ℝ) (k : ℕ) : 0 ≤ fetch P l t k := mul_nonneg (zero_le_one.trans (P.prices _)) (pow_nonneg (Real.exp_pos _).le _) |
| 114 | lemma rapid (z : Site f) (k : ℕ) (t : ℝ) (hp : 0 ≤ t) : Costs (On S H G t z) (trials G (k*t) z) (axisLog H) x k (fetch P S.patch.L t k) := by |
| 115 | intro d c hc p |
| 116 | rcases p with ⟨i,j⟩; obtain ⟨m,rfl⟩ := axisEquiv.surjective j; let e : Edge (Site f) := (i,m) |
| 117 | let w := wt t i z |
| 118 | let L := Real.exp (t*S.patch.L.val) |
| 119 | let B := collects S H (G:=G) e |
| 120 | have hx (j) : ‖B (d j)‖ ≤ L*(c j*w) := token S H e (d j) t (c j*w) (move S H t (hc j).2 i hp (hc j).1) hp |
| 121 | (mul_nonneg (hc j).1 (Green.wt_pos ..).le) |
| 122 | let V := axisLog H (G:=G) |
| 123 | have hh : iteratedFDeriv ℝ k V x d (i,coord m)=iteratedFDeriv ℝ k (express G ∘ B) x d := by |
| 124 | let E : Dir G f →L[ℝ] G.Color := ContinuousLinearMap.proj (e.1,coord e.2) |
| 125 | rw [show express G ∘ B=E ∘ V from funext fun i => (home S H e i).symm,E.iteratedFDeriv_comp_left (priced S H P he) le_top]; rfl |
| 126 | change ‖iteratedFDeriv ℝ k V x d (i,coord m)‖ ≤ _; rw [hh, lin_rate_at _ B x ((P.earns _ ((collects_le S H e _).trans he)).1)] |
| 127 | apply ((iteratedFDeriv ℝ k (express G) (B x)).le_opNorm _).trans |
| 128 | have ht := P.cost k _ ((collects_le S H e _).trans he) |
| 129 | apply (mul_le_mul ht (Finset.prod_le_prod (fun i _ => norm_nonneg (B (d i))) (fun i _ => hx i)) (by positivity) ((norm_nonneg _).trans ht)).trans_eq |
| 130 | simp_rw [Finset.prod_mul_distrib, Finset.prod_const]; rw [Finset.card_univ, Fintype.card_fin]; unfold fetch |
| 131 | change _=P.rates k*L^k*_ * wt _ i z |
| 132 | rw [show wt ((k:ℝ)*t) i z=w^k from (by unfold w Green.wt; rw [← Real.exp_nat_mul]; ring_nf)]; ring |
| 133 | end quotes |
| 134 | end Showroom |
| 135 | end YM.AnalyticNext.QuarticMatch.Radius |