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.Local.Limits |
| 2 | import YM.AnalyticNext.QUARTIC_MATCH.Local.Members |
| 3 | import YM.AnalyticNext.QUARTIC_MATCH.Radius.Polish |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | # Due at the path's roots |
| 8 | |
| 9 | All inside a real sup neighborhood; still no claim clipping prices. Weighted |
| 10 | external tests allow exponential growth with distance. Output use then in |
| 11 | compositions on the real graph. All costs independent of period. |
| 12 | -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.AnalyticNext.QuarticMatch.Radius |
| 16 | open Filter Function Lattice Laurent Matrix Hessian Analysis RG Precision Exterior Bid Wilson |
| 17 | open Progress.StationaryScenes Work.F03 YM.Next.Free |
| 18 | open Estimate Estimate.Purse Estimate.Village Estimate.Logfee Estimate.Plaque Joint Local Local.Wages Local.Rotate |
| 19 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators InnerProductSpace |
| 20 | namespace Fetch |
| 21 | open Polish |
| 22 | open Green (wt) |
| 23 | |
| 24 | |
| 25 | variable {α K : Type*} {G : Gauge} {n l c f : Side} |
| 26 | def Amount {X : Type*} [NormedAddCommGroup X] (η : ℝ) (s : α → Site n) (i : Site n) : Ticket (α→X) := |
| 27 | fun x a => ∀ t, ‖x t‖ ≤ a*wt η (s t) i |
| 28 | section |
| 29 | variable {X : Type*} [NormedAddCommGroup X] {t s C D : ℝ} {ι : α→Site n} {i : Site n} {x : α → X} |
| 30 | lemma seek (he : t≤s) (hC : 0 ≤ C) (h : Amount t ι i x C) : Amount s ι i x C := fun u => |
| 31 | (h u).trans (mul_le_mul_of_nonneg_left (Wages.wt_le he ..) hC) |
| 32 | lemma Amount.elevate (h : Amount t ι i x C) (he : C≤D) : Amount t ι i x D := fun u => |
| 33 | (h u).trans (mul_le_mul_of_nonneg_right he (Green.wt_pos ..).le) |
| 34 | lemma Amount.origin (h : Amount t ι i x C) (j : Site n) (he : 0 ≤ t) (hC : 0 ≤ C) : Amount t ι j x (C*wt t j i) := fun u => by |
| 35 | apply (h u).trans; rw [mul_assoc,mul_comm (wt t j i)] |
| 36 | exact mul_le_mul_of_nonneg_left (Green.wt_triangle he ..) hC |
| 37 | lemma zeroed (t : ℝ) (i : Site n) (s : α → Site n) (X : Type*) [NormedAddCommGroup X] (he : 0 ≤ C) : |
| 38 | Amount t s i (0 : α→X) C := fun j => by simp only [Pi.zero_apply,norm_zero]; exact mul_nonneg he (Green.wt_pos ..).le |
| 39 | lemma Amount.constant [Fintype α] (t : ℝ) (he : 0 ≤ t) (i : Site n) (x : α→X) : Amount t ι i x ‖x‖ := |
| 40 | fun _ => (norm_le_pi_norm ..).trans (le_mul_of_one_le_right (norm_nonneg _) (Wages.wt_ge he ..)) |
| 41 | end |
| 42 | |
| 43 | abbrev trials (G : Gauge) {n : Side} (η : ℝ) (x : Site n) : Ticket (Dir G n) := Amount η Prod.fst x |
| 44 | lemma shift_le (q : Signed) (x : Dir G n) : ‖shifts q 0 x‖≤‖x‖ := by |
| 45 | apply (pi_norm_le_iff_of_nonneg (norm_nonneg _)).mpr; rintro ⟨i,j⟩; obtain ⟨k,rfl⟩ := axisEquiv.surjective j |
| 46 | change ‖shifts q 0 x (i,coord k)‖ ≤ _; rw [Rotate.read_norm q k i x]; exact norm_le_pi_norm .. |
| 47 | |
| 48 | variable {ι : Type*} [DecidableEq ι] (G : Gauge) (σ R : ℝ) (p : Clip) |
| 49 | def billage (m : ℕ) := |
| 50 | let t := down σ m; let v := baseCash G m t p.direct R; let u := gift G t m |
| 51 | let f := 2^m*gratuity G t m |
| 52 | Fintype.card PlaqAxes * (v*u^2) + f^ (3:ℕ)*R+ f^ (4:ℕ)*R |
| 53 | |
| 54 | def dues (m : ℕ) := Real.exp (2*down σ m)^m*billage G σ R p m |
| 55 | |
| 56 | variable {G σ R p} {Λ : ℝ} {W : PathData G} (h : W.Bounds p σ R Λ) {m : ℕ} |
| 57 | include h |
| 58 | |
| 59 | private lemma station {d : ι→Dir G n} (x : Dir G n) (hp : ‖x‖<1) (S : Finset ι) (hm : S.card ≤ m) |
| 60 | (P : Estimate.Purse ι (Site n)) (hh : Linkbill 1 P d) (he : tollRate P 1 (down σ m)) : P.Jets S d |
| 61 | (Rotate.total p W) x (billage G σ R p m) := by |
| 62 | let t := down σ m; let v := baseCash G m t p.direct R; let u := gift G t m; let a := 2^m*gratuity G t m |
| 63 | have ht : 0<t := Estimate.down_pos m h.width |
| 64 | have hq : 5*m*t ≤ σ*((1:Side).val:ℝ) := by simpa only [t,PNat.val_ofNat,Nat.cast_one,mul_one] using uses_down m h.width |
| 65 | have he' (B) (T) (h' : T⊆S) := post_pop hh he ht.le T _ ((Finset.card_le_card h').trans hm) x hp.le B |
| 66 | have hu : 0≤u := (gift_pos ..).le |
| 67 | have hv B : P.Jets S d (expense p W B) x (v*u^2) := base_card h hh he ht x hp S m hm hq u he' B hu h.width (h.rows B) |
| 68 | have hx (r : ℕ) (A : ℕ→Atom G r) (h' : Rotate.Ink A σ R) : P.Jets S d (Estimate.atend A) x (a^r*R) := |
| 69 | atom_budget A hh he ht x hp S m hm hq u he' hu h.width h' |
| 70 | have hw := Jets.allotted Finset.univ (expense p W (n:=n)) (fun i _ j => expense_rate h i j _) (fun i _ => hv i) |
| 71 | let f i (x : Dir G n) := ∑ j : PlaqAxes, expense p W j i x |
| 72 | have hb' (i) : ContDiffAt ℝ ω (f i) x := ContDiffAt.sum fun j _ => expense_rate h j i x |
| 73 | have h3 (i : Site n) := atend_rate _ h.width h.three i x |
| 74 | apply (Jets.adding (fun i => (hb' i).add (h3 i)) (fun i => atend_rate _ h.width h.four i x) (Jets.adding hb' h3 hw (hx 3 W.cubic h.three)) (hx 4 W.quartic h.four)).mono |
| 75 | rw [Finset.sum_const,nsmul_eq_mul, Finset.card_univ]; exact le_rfl |
| 76 | |
| 77 | omit h in |
| 78 | lemma lin_rate_at {X Y E : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] [NormedAddCommGroup Y] [NormedSpace ℝ Y] [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 79 | (F : Y→E) (Z : X →L[ℝ] Y) (x : X) (hf : ContDiffAt ℝ ω F (Z x)) (n : ℕ) (d : Fin n→X) : iteratedFDeriv ℝ n (F ∘ Z) x d=iteratedFDeriv ℝ n F (Z x) (fun i=> Z (d i)) := by |
| 80 | let f y := F (Z x + y) |
| 81 | have ht : iteratedFDeriv ℝ n f 0=iteratedFDeriv ℝ n F (Z x) := by unfold f; rw [iteratedFDeriv_comp_add_left,add_zero] |
| 82 | have hu : iteratedFDeriv ℝ n (f ∘ Z) 0=iteratedFDeriv ℝ n (F ∘ Z) x := by |
| 83 | rw [show f ∘ Z=(fun y => (F ∘ Z) (x+y)) from funext fun i => by simp [f], iteratedFDeriv_comp_add_left,add_zero] |
| 84 | have he : ContDiffAt ℝ n f 0 := hf.of_le (show (n:WithTop ℕ∞)≤ω from le_top) |>.comp_of_eq (g:=F) (f:=fun y=>Z x+y) 0 (contDiffAt_const.add contDiffAt_id) (fun _ _=> Set.mem_univ _) (add_zero _) |
| 85 | rw [← hu, ← ht, Next.Foundations.jets_linear Z he]; rfl |
| 86 | |
| 87 | lemma first (k : ℕ) (hm : k ≤ m) (x : Dir G n) (hp : ‖x‖<1) (z : Site n) : |
| 88 | Costs (trials G (down σ m) z) (budget ℝ) (byStage p W z) x k (dues G σ R p m) := by |
| 89 | intro d c hc; let t := down σ m; let P : Purse (Fin k) (Site n) := Local.Wages.account 1 none (fun _=>z) (fun _=> -t) c (fun i => (hc i).1) |
| 90 | let u (i : Fin k) (p : Site n) : ℝ := P.toll i p |
| 91 | have ht : 0<t := down_pos m h.width |
| 92 | have hu i y : u i y=(wt t y z)⁻¹ := by simp [u,P,Wages.account, Green.wt, Real.exp_neg] |
| 93 | have hf : tollRate P 1 t := Wages.travels _ _ _ _ _ _ (fun _ => by rw [abs_neg,abs_of_nonneg ht.le]) |
| 94 | have he : Linkbill 1 P d := by |
| 95 | intro i j; refine ⟨by positivity,fun _ y => ?_,fun he => ?_⟩ |
| 96 | · rw [Purse.price, Finset.prod_singleton,Purse.target, Finset.prod_singleton] |
| 97 | rw [show P.toll i y=_ from hu i y,inv_mul_eq_div]; simp only [PNat.val_ofNat,Nat.cast_one,inv_one, one_mul] |
| 98 | exact (div_le_iff₀ (Green.wt_pos ..)).mpr ((hc i).2 (y,j)) |
| 99 | simp [P, Wages.account, Purse.tagged] at he |
| 100 | let f s (x : Site n) (a : Dir G n) := total p W (s⁻¹.act x) (shifts s 0 a) |
| 101 | let a := dues G σ R p m; let S : Finset (Fin k) := Finset.univ |
| 102 | have hM : S.card≤m := by simpa [S] using hm |
| 103 | have hb (s : Signed) : P.Jets S d (f s) x a := by |
| 104 | have hv := station h (shifts s 0 x) (lt_of_le_of_lt (shift_le s x) hp) _ hM _ (bonds s hf ht.le he) (stays s hf) |
| 105 | refine ((Rotate.restores s hv).mono (mul_le_mul_of_nonneg_right (pow_le_pow_right₀ (Real.one_le_exp (by positivity)) hM) hv.1)).under fun i => ?_ |
| 106 | have ht : bill S d (f s i) x=bill S (shifts s 0 ∘ d) (Rotate.total p W (s⁻¹.act i)) (shifts s 0 x) := by |
| 107 | unfold bill; rw [show f s i=_ from (show f s i=Rotate.total p W (s⁻¹.act i) ∘ shifts s 0 from rfl)] |
| 108 | exact lin_rate_at _ _ _ (total_rate h (s⁻¹.act i) _) _ _ |
| 109 | exact (congr_arg (‖·‖) ht).le |
| 110 | let w (i : Site n) z := ∑ s : Signed, f s i z |
| 111 | have hh (s i) : ContDiffAt ℝ ω (f s i) x := (total_rate h (s⁻¹.act i) (shifts s 0 x)).comp x (shifts s (0:Site n)).contDiff.contDiffAt |
| 112 | have hw i : ContDiffAt ℝ ω (w i) x := ContDiffAt.sum fun s _ => hh s i |
| 113 | unfold Polish.budget |
| 114 | rw [← Estimate.univEstimate _ _ _ (stage_rate h z _)] |
| 115 | have hv : P.Jets S d (byStage p W) x a := by |
| 116 | apply (Jets.rate (Jets.allotted Finset.univ f (fun s _ i => hh s i) (fun s _ => hb s)) _ hw).mono |
| 117 | simp only [Finset.sum_const,nsmul_eq_mul,Finset.card_univ]; exact le_of_eq (by rw [abs_of_nonneg (by positivity)]; field_simp) |
| 118 | have hU := hv.2.1 (show ¬P.tagged S from by simp [P,Purse.tagged,Wages.account]) z |
| 119 | rw [show P.price S z=1 by simp [Purse.price,P,Wages.account,Green.wt],one_mul] at hU |
| 120 | exact hU |
| 121 | end Fetch |
| 122 | end YM.AnalyticNext.QuarticMatch.Radius |