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.Estimate.Products |
| 2 | |
| 3 | /-! |
| 4 | # Infinite rows and atoms. Derivative summability at finite real logs |
| 5 | -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.AnalyticNext.QuarticMatch.Estimate |
| 9 | open Filter Function Lattice Laurent Matrix Hessian Analysis RG Precision Exterior Bid Wilson |
| 10 | open Progress.StationaryScenes Work.F03 YM.Next.Free |
| 11 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators InnerProductSpace |
| 12 | variable {G : Gauge} {n l : Side} {ι α : Type*} {k : ℕ} |
| 13 | open Purse Logfee Plaque Cargo |
| 14 | |
| 15 | section central |
| 16 | variable {X Y : Type*} [NormedAddCommGroup X] [NormedSpace ℝ X] [NormedAddCommGroup Y] [NormedSpace ℝ Y] [CompleteSpace Y] |
| 17 | |
| 18 | theorem honorable {f : ι → X→Y} (h : ∀ i, ContDiff ℝ ω (f i)) {u : ι→ℝ} (he : Summable u) {m : ℕ} |
| 19 | (p : Set X) (hp : IsOpen p) (hc : IsPreconnected p) (hg : ∀ i,∀ x∈p,∀ j≤m, ‖iteratedFDeriv ℝ j (f i) x‖ ≤ u i) {x : X} |
| 20 | (hx : x∈p) : ∀ j : ℕ,j≤m → HasSum (fun i => iteratedFDeriv ℝ j (f i) x) (iteratedFDeriv ℝ j (fun v => ∑' i, f i v) x) := by |
| 21 | have hh i (hi : i≤m) (x) (hx : x∈p) : Summable fun j => iteratedFDeriv ℝ i (f j) x := .of_norm_bounded he fun k => hg k x hx i hi |
| 22 | intro j |
| 23 | induction j generalizing x with |
| 24 | | zero => |
| 25 | intro hj; convert! (hh _ hj x hx).hasSum using 1 |
| 26 | simp_rw [iteratedFDeriv_zero_eq_comp]; exact (continuousMultilinearCurryFin0 ℝ X Y).symm.toContinuousLinearEquiv.map_tsum |
| 27 | | succ j ih => |
| 28 | intro hj; have hv := j.le_succ.trans hj |
| 29 | have h₁ : HasFDerivAt (fun x => ∑' i, iteratedFDeriv ℝ j (f i) x) _ x := hasFDerivAt_tsum_of_isPreconnected he hp hc |
| 30 | (fun i x _ => ((h i).contDiffAt.differentiableAt_iteratedFDeriv (m:=j) (by simp)).hasFDerivAt) |
| 31 | (fun i x hx => by |
| 32 | simpa only [iteratedFDeriv_succ_eq_comp_left, LinearIsometryEquiv.norm_map, |
| 33 | Function.comp_apply] using hg i x hx _ hj) hx (hh j hv x hx) hx |
| 34 | · convert! (hh (j+1) hj x hx).hasSum using 1 |
| 35 | have ht : iteratedFDeriv ℝ j (fun z => ∑' i,f i z) =ᶠ[𝓝 x] fun z => ∑' i, iteratedFDeriv ℝ j (f i) z := |
| 36 | (show ∀ᶠ z in 𝓝 x, z∈p from hp.mem_nhds hx).mono fun z hz => (ih hz hv).tsum_eq.symm |
| 37 | simp_rw [iteratedFDeriv_succ_eq_comp_left] |
| 38 | dsimp only [Function.comp_apply]; rw [(h₁.congr_of_eventuallyEq ht).fderiv]; exact |
| 39 | (continuousMultilinearCurryLeftEquiv ℝ (fun _ : Fin (j + 1) => X) Y).symm.toContinuousLinearEquiv.map_tsum |
| 40 | omit [CompleteSpace Y] in |
| 41 | lemma spends {j : Finset ι} {d : ι → X} {F : α→X→Y} {f : X → Y} {x : X} |
| 42 | (h : HasSum (fun i => iteratedFDeriv ℝ j.card (F i) x) (iteratedFDeriv ℝ j.card f x)) : HasSum (fun i => bill j d (F i) x) (bill j d f x) := |
| 43 | (ContinuousMultilinearMap.apply ℝ _ Y (hook j d)).hasSum h |
| 44 | end central |
| 45 | |
| 46 | section pose |
| 47 | variable {P : Purse ι (Site n)} {η C σ : ℝ} |
| 48 | |
| 49 | def purePay (d : ι→Dir G n) : Purse ι (Site n) where |
| 50 | mark := none |
| 51 | cap := 1 |
| 52 | rooted := zero_le_one |
| 53 | amps i := ‖d i‖ |
| 54 | budget _ := norm_nonneg _ |
| 55 | toll _ _ := 1 |
| 56 | toll_pos _ _ := zero_lt_one |
| 57 | |
| 58 | lemma signs (d : ι→Dir G n) {η : ℝ} (h : 0 ≤ η) : tollRate (purePay d) l η := fun _ _ _ => by |
| 59 | change 1 ≤ _ * 1; rw [mul_one]; apply Real.one_le_exp; positivity |
| 60 | lemma flex (d : ι→Dir G n) : Linkbill 1 (purePay d) d := by |
| 61 | intro i j; refine ⟨by positivity,fun v x => ?_,fun ⟨_,_,he⟩ => ?_⟩ |
| 62 | · simpa only [Purse.price,Finset.prod_singleton,Purse.target,purePay, mul_one,one_mul,PNat.val_ofNat, Nat.cast_one,inv_one] using norm_le_pi_norm (d i) (x,j) |
| 63 | change none=some _ at he; contradiction |
| 64 | |
| 65 | lemma gross {κ : ℕ} (j : Fin κ → Dir G n) {f : Site n→Dir G n→ℝ} (x : Dir G n) (h : ∀ i, ContDiff ℝ ω (f i)) |
| 66 | (he : (purePay j).Jets Finset.univ j f x C) (i : Site n) : |
| 67 | ‖iteratedFDeriv ℝ κ (f i) x j‖ ≤ C*∏ k, ‖j k‖ := by |
| 68 | rw [← univEstimate _ _ _ (h _).contDiffAt] |
| 69 | have hi := he.2.1 (show ¬ (purePay j).tagged Finset.univ from by simp [Purse.tagged,purePay]) i |
| 70 | simpa [Purse.price,purePay,Purse.target] using hi |
| 71 | |
| 72 | def down (σ : ℝ) (m : ℕ) := σ / (5*(m+1:ℝ)) |
| 73 | lemma down_pos (m : ℕ) (h : 0 < σ) : 0 < down σ m := by unfold down; positivity |
| 74 | lemma uses_down (m : ℕ) (h : 0 < σ) : 5*m*down σ m ≤ σ := by |
| 75 | rw [down,← mul_div_assoc]; apply (div_le_iff₀ (by positivity)).mpr; nlinarith |
| 76 | |
| 77 | def gift (G : Gauge) (η : ℝ) (m : ℕ) := max (2*ample G) (plan4 G η m) |
| 78 | def gratuity (G : Gauge) (η : ℝ) (m : ℕ) := mailCharge G η m* gift G η m |
| 79 | lemma gift_pos (G : Gauge) (η : ℝ) (m : ℕ) : 0 < gift G η m := lt_max_of_lt_right (plan_pos G η m) |
| 80 | lemma gratuity_pos (G : Gauge) (η : ℝ) (m : ℕ) : 0<gratuity G η m := mul_pos (mailCharge_pos ..) (gift_pos ..) |
| 81 | |
| 82 | lemma nearby (d : Fin k → Dir G n) (x : Dir G n) (hx : ‖x‖ ≤ 1) (hh : 0<σ) (q : Slot) (m : ℕ) (hm : k ≤ m) : |
| 83 | (purePay d).Jets Finset.univ d (spool q) x (gratuity G (down σ m) m*Real.exp (σ*q.length)) := by |
| 84 | have hp := down_pos m hh; have hg : tollRate (purePay d) 1 (down σ m) := signs d hp.le |
| 85 | have hv : (Finset.univ:Finset (Fin k)).card ≤ m := by simpa using hm |
| 86 | apply (spool_pays (flex d) hg hp _ hv x hx q _ (fun T ht => post_pop (flex d) hg hp.le T _ ((Finset.card_le_card ht).trans hv) x hx _)).mono |
| 87 | apply mul_le_mul_of_nonneg_left |
| 88 | (fee_limit _ (l:=1) (by simpa using uses_down m hh)) (gratuity_pos G _ _).le |
| 89 | |
| 90 | lemma stands (x : Dir G n) (hx : ‖x‖ ≤ 1) (hh : 0 < σ) (q : Slot) (m : ℕ) (hm : k ≤ m) (i : Site n) : |
| 91 | ‖iteratedFDeriv ℝ k (spool q i) x‖ ≤ gratuity G (down σ m) m * Real.exp (σ*q.length) := by |
| 92 | apply ContinuousMultilinearMap.opNorm_le_bound (mul_nonneg (gratuity_pos ..).le (Real.exp_pos _).le); intro d |
| 93 | rw [← univEstimate _ _ _ (spinner ..).contDiffAt] |
| 94 | have hi := (nearby d x hx hh q m hm).2.1 (show ¬ (purePay d).tagged Finset.univ from by simp [Purse.tagged,purePay]) i |
| 95 | simpa [Purse.price,purePay,Purse.target] using hi |
| 96 | |
| 97 | lemma neighbors {r : ℕ} (x : Dir G n) (hx : ‖x‖ ≤ 1) (hh : 0<σ) (A : Atom G r) (m : ℕ) (hm : k ≤ m) (i : Site n) : |
| 98 | ‖iteratedFDeriv ℝ k (effect A i) x‖ ≤ ((2:ℝ)^m * gratuity G (down σ m) m)^r*A.budget σ := by |
| 99 | have hp := down_pos m hh; have hi : (Finset.univ:Finset (Fin k)).card ≤ m := by simpa using hm |
| 100 | apply ContinuousMultilinearMap.opNorm_le_bound (by have ht := gratuity_pos G (down σ m) m; unfold Atom.budget Atom.magnitude; positivity); intro d |
| 101 | have hg : tollRate (purePay d) 1 (down σ m) := signs d hp.le |
| 102 | exact gross d x (effective A) (levy (flex d) hg hp x hx Finset.univ m hi (show _ from by simpa using uses_down m hh) _ |
| 103 | (fun q T ht => post_pop (flex d) hg hp.le T _ ((Finset.card_le_card ht).trans hi) x hx q) A (gift_pos G _ _).le) i |
| 104 | |
| 105 | def service (W : PathData G) (p : Face (Per n)) (i : ℕ) (a : Dir G n) := W.ellTerms p i (represent a) |
| 106 | def atend (A : ℕ→Atom G k) (i : Site n) (x : Dir G n) := ∑' j,effect (A j) i x |
| 107 | |
| 108 | lemma application {κ : ℕ} (A : ℕ→Atom G κ) (x : Dir G n) (hx : ‖x‖ < 1) (hh : 0 < σ) (hm : SumBudget (fun i => (A i).budget σ) C) (i : Site n) (S : Finset ι) (d : ι→Dir G n) : |
| 109 | HasSum (fun j => bill S d (effect (A j) i) x) (bill S d (atend A i) x) := by |
| 110 | refine spends (honorable (f:=fun j => effect (A j) i) (fun _ => effective ..) (hm.2.1.mul_left (((2:ℝ)^S.card*gratuity G (down σ S.card) S.card)^κ)) |
| 111 | (m:=S.card) (Metric.ball (0:Dir G n) 1) Metric.isOpen_ball (convex_ball _ _).isPreconnected ?_ (by simpa using hx) _ le_rfl) |
| 112 | intro i v hv l hl; exact neighbors v (show ‖v‖ ≤ 1 by exact le_of_lt (by simpa using hv)) hh _ _ hl _ |
| 113 | |
| 114 | lemma reception (W : PathData G) (i : Face (Per n)) (hx : SumBudget (fun j => |(W.row i.2 j).1| * Real.exp (σ * (W.row i.2 j).2.length)) C) |
| 115 | (hh : 0<σ) (x : Dir G n) (hp : ‖x‖ < 1) (d : ι→Dir G n) (S : Finset ι) : |
| 116 | HasSum (fun j => bill S d (service W i j) x) (bill S d (fun x => W.ell (represent x) i) x) := by |
| 117 | let w := gratuity G (down σ S.card) S.card |
| 118 | have hg (j) : ContDiff ℝ ω (service W i j) := (spinner (G:=G) _ _).const_smul _ |
| 119 | refine spends (honorable hg (hx.2.1.mul_left w) (m:=S.card) (Metric.ball (0:Dir G n) 1) Metric.isOpen_ball |
| 120 | (convex_ball _ _).isPreconnected ?_ (show x∈_ by simpa using hp) _ le_rfl) |
| 121 | intro j x hp k hk |
| 122 | let y := W.row i.2 j |
| 123 | rw [show service W i j=y.1 • spool (G:=G) y.2 i.1 from rfl, iteratedFDeriv_const_smul_apply |
| 124 | (by exact ((spinner (G:=G) y.2 _).contDiffAt).of_le le_top),norm_smul] |
| 125 | apply (mul_le_mul_of_nonneg_left (stands x (le_of_lt (by simpa using hp)) hh _ _ hk _) (norm_nonneg y.1)).trans_eq |
| 126 | rw [Real.norm_eq_abs]; change |y.1| * (w*_)=w* (|y.1| * _); ring |
| 127 | end pose |
| 128 | end YM.AnalyticNext.QuarticMatch.Estimate |