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.Numbers |
| 2 | import YM.Next.FREE_KERNELS.Amend |
| 3 | |
| 4 | /-! |
| 5 | # Per-site jets of the input and output path functionals |
| 6 | |
| 7 | Before channels. Differentiate the TRUE exponential and unmasked sum. Input-base |
| 8 | rows paid independently from R3 and R4 (reservation before L). |
| 9 | -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.AnalyticNext.QuarticMatch.Estimate |
| 13 | open Filter Function Lattice Laurent Matrix Hessian Analysis RG Precision Exterior Bid Wilson |
| 14 | open Progress.StationaryScenes Work.F03 YM.Next.Free |
| 15 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators InnerProductSpace |
| 16 | attribute [local instance] Gauge.frobInner |
| 17 | variable {G : Gauge} {n l : Side} {ι α : Type*} [DecidableEq ι] {k : ℕ} |
| 18 | open Purse Logfee Plaque Cargo |
| 19 | variable {P : Purse ι (Site n)} {η C σ τ R : ℝ} |
| 20 | namespace Village |
| 21 | |
| 22 | def formed (W : PathData G) (p : PlaqAxes) (x : Site n) (z : Dir G n) := W.ell (represent z) (x,p) |
| 23 | def expense (q : Clip) (W : PathData G) (p : PlaqAxes) (x : Site n) (z : Dir G n) := q.direct*G.price (faceValue (represent z) (x,p))+‖formed W p x z‖^2/2 |
| 24 | |
| 25 | lemma formed_rate {W : PathData G} {p : Clip} {σ C Λ} (h : W.Bounds p σ C Λ) (k : PlaqAxes) (x : Site n) (a : Dir G n) : ContDiffAt ℝ ω (formed W k x) a := |
| 26 | Work.F02.ell_contDiffAt (A:=represent) h (x,k) (fun _i => (represent_smooth ..).contDiffAt) |
| 27 | lemma exp_price (G : Gauge) (u : G.El) : G.price u = (2*G.colorScale^2)⁻¹ * ‖G.mat u-1‖^2 := by |
| 28 | have he := G.colorScale_pos |
| 29 | have hx := G.chord_price u |
| 30 | rw [Gauge.chord] at hx; change (‖G.mat u - 1‖ / G.colorScale)^2 = _ at hx |
| 31 | rw [inv_mul_eq_div,eq_div_iff]; swap; · positivity |
| 32 | field_simp at hx; linarith |
| 33 | lemma expense_rate {W : PathData G} {p : Clip} {σ C Λ} (h : W.Bounds p σ C Λ) (k : PlaqAxes) (x : Site n) (a : Dir G n) : |
| 34 | ContDiffAt ℝ ω (expense p W k x) a := by |
| 35 | have he := formed_rate h k x a |
| 36 | have hp := (order k x (G:=G)).contDiffAt (x:=a); unfold expense; simp_rw [exp_price] |
| 37 | exact (contDiffAt_const.mul (contDiffAt_const.mul ((contDiff_norm_sq ℝ).contDiffAt.comp a hp))).add |
| 38 | (((contDiff_norm_sq ℝ).contDiffAt.comp a he).div_const _) |
| 39 | lemma atend_rate (A : ℕ → Atom G k) (h : 0 < σ) (he : SumBudget (fun i => (A i).budget σ) C) (p : Site n) (x : Dir G n) : ContDiffAt ℝ ω (atend A p) x := by |
| 40 | let E (M : Work.F02.Ambient G n) := ∑' i, Work.F02.atomExt (A i) p M |
| 41 | have ht : ContDiffAt ℝ ω E (Work.F02.physical (represent x)) := ((Work.F02.atomExt_series h he p (represent x)).contDiffAt).restrict_scalars ℝ |
| 42 | have hh : atend A p=Complex.reCLM ∘ E ∘ fun x => Work.F02.physical (represent x) := by |
| 43 | funext i; simp only [Function.comp_apply] |
| 44 | unfold E; rw [Work.F02.atomExt_real h he]; rfl |
| 45 | rw [hh]; exact Complex.reCLM.contDiff.contDiffAt.comp x (ht.comp x |
| 46 | (Work.F02.physical_contDiffAt (A:=represent) fun i => (represent_smooth ..).contDiffAt)) |
| 47 | |
| 48 | lemma formed_budget {W : PathData G} {d : ι→Dir G n} (h : Linkbill l P d) (he : tollRate P l η) (hp : 0 < η) |
| 49 | (a : Dir G n) (ha : ‖a‖ < 1) (S : Finset ι) (m : ℕ) (hm : S.card ≤ m) (hq : 5*m*η ≤ σ*l.val) |
| 50 | (C : ℝ) (hb : ∀ q : PlaqAxes, ∀ T⊆S, P.Jets T d (plasty q) a C) |
| 51 | (q : PlaqAxes) (hc : 0 ≤ C) (hσ : 0 < σ) (hx : SumBudget (fun i => |(W.row q i).1| * Real.exp (σ * (W.row q i).2.length)) R) : |
| 52 | P.Jets S d (formed W q) a (mailCharge G η m*C*R) := by |
| 53 | let k := mailCharge G η m*C; have hk : 0 ≤ k := mul_nonneg (mailCharge_pos ..).le hc |
| 54 | let f i := (W.row q i).1; let g i := (W.row q i).2 |
| 55 | let u (i : ℕ) (x : Site n) (a : Dir G n) := service W (x,q) i a |
| 56 | let w (i : ℕ) := |f i| * Real.exp (σ*(g i).length) |
| 57 | have hT (i) : P.Jets S d (u i) a (k*w i) := by |
| 58 | let s := g i |
| 59 | have he := spool_pays h he hp _ hm a ha.le s _ (hb s.plaq) |
| 60 | apply (Jets.rate he (f i) (fun i => (spinner ..).contDiffAt)).mono |
| 61 | exact (mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left (fee_limit _ hq) hk) (abs_nonneg _)).trans_eq (show _ = k*(|f i| *Real.exp (σ*s.length)) by ring) |
| 62 | have hg (i : Site n) := reception W (i,q) hx hσ a ha d S |
| 63 | unfold Jets |
| 64 | rw [show (fun i => bill S d (formed W q i) a)=(fun i => ∑' j, bill S d (u j i) a) from funext fun i => (hg i).tsum_eq.symm] |
| 65 | apply (Pays.tsum hT (hx.2.1.mul_left _) (fun i => (hg i).summable)).mono |
| 66 | rw [tsum_mul_left]; exact mul_le_mul_of_nonneg_left hx.2.2 hk |
| 67 | |
| 68 | def baseCash (G : Gauge) (i : ℕ) (η r R : ℝ) := r*((2*G.colorScale^2)⁻¹*(2:ℝ)^i) + (1/2:ℝ)*(2:ℝ)^i*(mailCharge G η i*R)^2 |
| 69 | |
| 70 | lemma base_card {W : PathData G} {p : Clip} {d : ι→Dir G n} {τ E Λ} (hW : W.Bounds p τ E Λ) |
| 71 | (h : Linkbill l P d) (he : tollRate P l η) (hp : 0 < η) |
| 72 | (a : Dir G n) (ha : ‖a‖ < 1) (S : Finset ι) (m : ℕ) (hm : S.card ≤ m) (hq : 5*m*η ≤ σ*l.val) |
| 73 | (C : ℝ) (hb : ∀ q : PlaqAxes, ∀ T⊆S, P.Jets T d (plasty q) a C) |
| 74 | (q : PlaqAxes) (hc : 0 ≤ C) (hσ : 0 < σ) (hx : SumBudget (fun i => |(W.row q i).1| * Real.exp (σ * (W.row q i).2.length)) R) : |
| 75 | P.Jets S d (expense p W q) a (baseCash G m η p.direct R*C^2) := by |
| 76 | let f := plasty q (n:=n) (G:=G) |
| 77 | let g := formed W q (n:=n) |
| 78 | let k := p.direct*(2*G.colorScale^2)⁻¹ |
| 79 | have hG := G.colorScale_pos; have hk : 0 ≤ k := mul_nonneg p.quadratic_pos.le (by positivity) |
| 80 | have hf (i) := (order (G:=G) q i).contDiffAt (x:=a) |
| 81 | have hU (i) := formed_rate hW q i a |
| 82 | have hh (B) (hB : B⊆S) := formed_budget h he hp a ha B m ((Finset.card_le_card hB).trans hm) hq C |
| 83 | (fun q i hi => hb q i (hi.trans hB)) q hc hσ hx |
| 84 | let F i z := (innerSL ℝ) (f i z) (f i z) |
| 85 | let V i z := (innerSL ℝ) (g i z) (g i z) |
| 86 | have hA (i) : ContDiffAt ℝ ω (F i) a := (((innerSL ℝ).contDiff.contDiffAt.comp _ (hf i)).clm_apply (hf i)) |
| 87 | have hB (i) : ContDiffAt ℝ ω (V i) a := (((innerSL ℝ).contDiff.contDiffAt.comp _ (hU i)).clm_apply (hU i)) |
| 88 | have he1 := Jets.rate (f:=F) (Jets.priced _ (fun x y => norm_inner_le_norm x y) hf hf (hb q) (hb q) m hm) k hA |
| 89 | have he2 := Jets.rate (f:=V) (Jets.priced _ (fun x y => norm_inner_le_norm x y) hU hU hh hh m hm) (1/2:ℝ) hB |
| 90 | have hr : expense p W q (n:=n)=fun i z => k • F i z+(1/2:ℝ) • V i z := by |
| 91 | funext i z |
| 92 | simp only [expense,exp_price]; change p.direct*((2*G.colorScale^2)⁻¹*‖f i z‖^2)+‖g i z‖^2/2=k*inner ℝ (f i z) (f i z)+ (1/2:ℝ)*inner ℝ (g i z) (g i z) |
| 93 | rw [real_inner_self_eq_norm_sq, real_inner_self_eq_norm_sq]; unfold k; ring |
| 94 | rw [hr]; apply (Jets.adding (fun i => (hA i).const_smul k) (fun i => (hB i).const_smul (1/2:ℝ)) he1 he2).mono (le_of_eq ?_) |
| 95 | rw [abs_of_nonneg hk,abs_of_nonneg (by positivity : 0 ≤ (1/2:ℝ))] |
| 96 | unfold baseCash k; ring |
| 97 | |
| 98 | lemma atom_budget {κ : ℕ} (A : ℕ→Atom G κ) {d : ι→Dir G n} (h : Linkbill l P d) (he : tollRate P l η) (hp : 0 < η) |
| 99 | (a : Dir G n) (ha : ‖a‖ < 1) (S : Finset ι) (m : ℕ) (hm : S.card ≤ m) (hq : 5*m*η ≤ σ*l.val) |
| 100 | (C : ℝ) (hb : ∀ q : PlaqAxes, ∀ T⊆S, P.Jets T d (plasty q) a C) |
| 101 | (hc : 0 ≤ C) (hσ : 0 < σ) (hx : SumBudget (fun i => (A i).budget σ) R) : |
| 102 | P.Jets S d (atend A) a (((2:ℝ)^m*(mailCharge G η m*C))^κ*R) := by |
| 103 | let v := ((2:ℝ)^m*(mailCharge G η m*C))^κ |
| 104 | have hv : 0 ≤ v := by unfold v; have ht := mailCharge_pos G η m; positivity |
| 105 | have he (i) := levy h he hp a ha.le S m hm hq _ hb (A i) hc |
| 106 | have hi (i : Site n) := application A a ha hσ hx i S d |
| 107 | unfold Jets; rw [show (fun i => bill S d (atend A i) a)=(fun i => ∑' j, bill S d (effect (A j) i) a) from funext fun i => (hi i).tsum_eq.symm] |
| 108 | apply (Pays.tsum he (hx.2.1.mul_left _) (fun i => (hi i).summable)).mono |
| 109 | rw [tsum_mul_left]; exact mul_le_mul_of_nonneg_left hx.2.2 hv |
| 110 | |
| 111 | lemma start_zero {κ : ℕ} (A : ℕ→Atom G κ) {d : ι→Dir G n} (S : Finset ι) (hm : S.card < κ) (hp : 0<σ) (hx : SumBudget (fun i => (A i).budget σ) R) : |
| 112 | P.Jets S d (atend A) 0 0 := by |
| 113 | unfold Jets; rw [show (fun i => bill S d (atend A i) 0)=(0:Site n→ℝ) from funext fun i => by |
| 114 | rw [← (application A (0:Dir G n) (by simp) hp hx i S d).tsum_eq]; simp_rw [submissing _ _ _ _ hm,tsum_zero]; rfl] |
| 115 | exact Pays.zero le_rfl |
| 116 | end Village |
| 117 | end YM.AnalyticNext.QuarticMatch.Estimate |