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.Measure |
| 2 | |
| 3 | /-! |
| 4 | # Fine plaquette and slot payroll |
| 5 | |
| 6 | Both the expanded map and true path. Preserve two powers of μ at derivatives |
| 7 | as required in actual with-rough and without-rough price. Pay also cruder |
| 8 | nearby-a estimates useful later. |
| 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 Bloch |
| 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 ι] |
| 18 | variable {P : Purse ι (Site n)} {η : ℝ} |
| 19 | open Purse Logfee |
| 20 | namespace Plaque |
| 21 | |
| 22 | def plasty (q : PlaqAxes) (x : Site n) (a : Dir G n) := G.mat (faceValue (represent a) (x,q)) - 1 |
| 23 | lemma order (q : PlaqAxes) (x : Site n) : ContDiff ℝ ω (plasty (G:=G) q x) := |
| 24 | (train_rate x (square q.val.1 q.val.2) (G:=G)).sub contDiff_const |
| 25 | lemma plastic (q : PlaqAxes) (x : Site n) : plasty q x (0:Dir G n)=0 := by simp only [plasty, faceValue, Push.stroll_zero,G.mat_one,sub_self] |
| 26 | lemma produces (a : Dir G n) (q : PlaqAxes) (x : Site n) : D a (plasty q x) 0 = G.colorMat (faceCurl (x,q) a) := by |
| 27 | have hp := (face_deriv (x,q) a).sub_const 1; exact (Push.side (plasty q x) ((order _ _ (G:=G)).contDiffAt.differentiableAt (by simp)) a).unique hp |
| 28 | |
| 29 | def BendBill (l : Side) (P : Purse ι (Site n)) (d : ι→Dir G n) := ∀ (i : ι) (q : PlaqAxes), |
| 30 | P.Pays {i} (fun x => faceCurl (x,q) (d i)) ((l.val:ℝ)^2)⁻¹ |
| 31 | |
| 32 | def plan4 (G : Gauge) (η : ℝ) (m : ℕ) := ample G * ((unitPrice G m).C*(4*Real.exp (η*4)))^m |
| 33 | lemma plan_pos (G : Gauge) (η : ℝ) (m : ℕ) : 0 < plan4 G η m := mul_pos (ample_pos _) (pow_pos |
| 34 | (mul_pos (zero_lt_one.trans_le (unitPrice G m).used) (by positivity)) _) |
| 35 | |
| 36 | lemma expenses {d : ι→Dir G n} (h : Linkbill l P d) (he : tollRate P l η) (hp : 0 ≤ η) (w : Walk) (hw : w.length=4) |
| 37 | (S : Finset ι) (m : ℕ) (hv : S.card ≤ m) (x : Dir G n) (hx : ‖x‖ ≤ 1) : |
| 38 | P.Jets S d (Logfee.transport w) x (plan4 G η m/(l.val:ℝ)^S.card) := by |
| 39 | apply (insured h he hp S w m hv x hx).mono |
| 40 | unfold basicPay plan4; rw [hw, mul_div_assoc]; refine mul_le_mul_of_nonneg_left ?_ (ample_pos G).le |
| 41 | have H : 0 < (l.val:ℝ) := side_pos l |
| 42 | let u := (unitPrice G m).C; have hu : 1≤u := (unitPrice G m).used |
| 43 | have hh : 1 ≤ Real.exp (η*4) := Real.one_le_exp (by positivity) |
| 44 | have ha : 1 ≤ u*(4*Real.exp (η*4)) := one_le_mul_of_one_le_of_one_le hu (by linarith) |
| 45 | change u^S.card*((↑(4:ℕ):ℝ)/ (l.val:ℝ)*guide l η 4)^S.card ≤ (u*(4*Real.exp (η*4)))^m/_ |
| 46 | rw [← mul_pow] |
| 47 | apply le_trans _ (div_le_div_of_nonneg_right (pow_le_pow_right₀ ha hv) (by positivity)); rw [← div_pow] |
| 48 | have hk := guide_pos l η 4; refine pow_le_pow_left₀ ?_ ?_ S.card; · positivity |
| 49 | have he : guide l η 4 ≤ Real.exp (η*4) := by simpa using guide_le l 4 η hp |
| 50 | apply (mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_left he (by positivity)) (by positivity : 0 ≤ u)).trans_eq; push_cast; ring |
| 51 | |
| 52 | def allotted (G : Gauge) (η : ℝ) (m : ℕ) := max G.colorScale (plan4 G η m) |
| 53 | lemma allotted_pos (G : Gauge) (η : ℝ) (m : ℕ) : 0 < allotted G η m := lt_max_of_lt_left G.colorScale_pos |
| 54 | |
| 55 | lemma collectBudget {d : ι→Dir G n} (h : Linkbill l P d) (he : tollRate P l η) (hp : 0 ≤ η) |
| 56 | (S : Finset ι) (m : ℕ) (hm : S.card ≤ m) (u : BendBill l P d) (q : PlaqAxes) : |
| 57 | P.Jets S d (plasty q) 0 (allotted G η m/(l.val:ℝ)^2) := by |
| 58 | have ht := allotted_pos G η m; have hL := side_pos l |
| 59 | rcases Finset.eq_empty_or_nonempty S with hS|hS |
| 60 | · rw [hS]; unfold Jets |
| 61 | simp_rw [blank,plastic]; exact Pays.zero (by positivity) |
| 62 | by_cases H : S.card=1 |
| 63 | · obtain ⟨i,rfl⟩ := Finset.card_eq_one.mp H |
| 64 | let f := fun x => bill {i} d (plasty q x) 0 |
| 65 | have hh := (u i q).repay (g:=f) G.colorScale_pos.le (fun j => by |
| 66 | unfold f; rw [alone _ _ _ (order _ _).contDiffAt, produces, G.colorMat_norm]) |
| 67 | exact hh.mono (by rw [div_eq_mul_inv]; exact mul_le_mul_of_nonneg_right (le_max_left ..) (by positivity)) |
| 68 | have hD : 2 ≤ S.card := by have hc := Finset.card_pos.mpr hS; omega |
| 69 | refine (((expenses h he hp (square q.val.1 q.val.2) rfl S m hm 0 (by simp)).mono ?_).under ?_) |
| 70 | · apply (div_le_div_of_nonneg_right (le_max_right G.colorScale _) (by positivity)).trans |
| 71 | exact div_le_div_of_nonneg_left ht.le (pow_pos hL _) (pow_le_pow_right₀ (by exact_mod_cast l.property) hD) |
| 72 | intro i |
| 73 | change ‖bill S d (fun a => Logfee.transport _ i a - _) 0‖ ≤ _ |
| 74 | rw [minor_rate S d ((train_rate ..).contDiffAt) contDiffAt_const,mute hS,sub_zero] |
| 75 | |
| 76 | lemma post_pop {d : ι→Dir G n} (h : Linkbill l P d) (he : tollRate P l η) (hp : 0 ≤ η) |
| 77 | (S : Finset ι) (m : ℕ) (hm : S.card ≤ m) (x : Dir G n) (hx : ‖x‖ ≤ 1) (q : PlaqAxes) : |
| 78 | P.Jets S d (plasty q) x (max (2*ample G) (plan4 G η m)) := by |
| 79 | rcases Finset.eq_empty_or_nonempty S with H|H |
| 80 | · rw [H] |
| 81 | apply Pays.blank (le_max_of_le_right (plan_pos ..).le); intro i |
| 82 | rw [blank]; apply le_trans _ (le_max_left ..) |
| 83 | have hh := norm_sub_le (G.mat (faceValue (represent x) (i,q))) 1 |
| 84 | rw [unit_pay] at hh; unfold plasty; linarith [show ‖(1:G.Mat)‖ ≤ ample G from le_max_right ..] |
| 85 | refine ((expenses h he hp (square q.val.1 q.val.2) rfl S m hm x hx).mono ((div_le_self (plan_pos ..).le (one_le_pow₀ (by exact_mod_cast l.property))).trans (le_max_right ..))).under ?_ |
| 86 | intro i |
| 87 | change ‖bill S d (fun a => Logfee.transport _ i a-_) x‖ ≤ _ |
| 88 | rw [minor_rate S d ((train_rate ..).contDiffAt) contDiffAt_const,mute H,sub_zero] |
| 89 | |
| 90 | def spool (p : Slot) (x : Site n) (a : Dir G n) := p.atSite (represent a) x |
| 91 | def launch (p : Slot) : Equiv.Perm (Site n) := Equiv.addLeft (wrap n p.offset) |
| 92 | lemma sooner (p : Slot) (x : Site n) : separation x (launch p x) ≤ p.walk.length := by |
| 93 | have he : launch p x=stop x p.walk := by |
| 94 | change wrap n (stop 0 _)+x=_; rw [wrap_stop_cover,map_zero] |
| 95 | exact (by simpa [add_comm] using (Work.E03.stop_add_left x (0:Site n) p.walk).symm) |
| 96 | rw [he]; exact advancing .. |
| 97 | |
| 98 | def skim (G : Gauge) : G.Mat→L[ℝ] G.Color := G.projectColor.toContinuousLinearMap ∘L |
| 99 | ((1/2:ℝ) • ((ContinuousLinearMap.id ℝ _) - (starL ℝ (A:=G.Mat)).toContinuousLinearMap)) |
| 100 | lemma route (p : Slot) (x : Site n) (a : Dir G n) : |
| 101 | spool p x a=skim G (Logfee.transport p.walk x a * plasty p.plaq (launch p x) a * star (Logfee.transport p.walk x a)) := by |
| 102 | let V := travel (represent a) x p.walk |
| 103 | let Q := faceValue (represent a) (launch p x,p.plaq) |
| 104 | rw [spool,atSite_path, ← G.curvature_conjugate,Gauge.curvature] |
| 105 | have he : G.mat V* (G.mat Q-1)*star (G.mat V) = G.mat (V*Q*V⁻¹) - 1 := by |
| 106 | rw [G.mat_mul,G.mat_inv,G.mat_mul,mul_sub,sub_mul,mul_one,G.mat_mul_star] |
| 107 | change G.projectColor ((1/2:ℝ) • (G.mat (V*Q*V⁻¹)-_))=skim G (G.mat V*(G.mat Q-1)*star (G.mat V)) |
| 108 | rw [he]; change _=G.projectColor ((1/2:ℝ) • ((G.mat _-1)-star (G.mat _-1))) |
| 109 | rw [star_sub,G.mat_inv]; simp; rfl |
| 110 | lemma spool_start (p : Slot) (x : Site n) : spool p x (0:Dir G n)=0 := by rw [route,plastic,mul_zero,zero_mul,map_zero] |
| 111 | lemma spinner (p : Slot) (x : Site n) : ContDiff ℝ ω (spool (G:=G) p x) := by |
| 112 | rw [show spool (G:=G) p x=skim G ∘ fun a => _ from funext fun i => route p x i] |
| 113 | have hh := train_rate (G:=G) x p.walk |
| 114 | exact (skim G).contDiff.comp ((hh.mul (order _ _)).mul ((show G.Mat≃L[ℝ] G.Mat from starL ℝ).contDiff.comp hh)) |
| 115 | |
| 116 | /-! Use cost for color projection, explicitly Frobenius. -/ |
| 117 | lemma skim_norm (a : G.Mat) : ‖skim G a‖ ≤ G.colorScale⁻¹*‖a‖ := by |
| 118 | refine (G.project_norm _).trans ?_; rw [inv_mul_eq_div] |
| 119 | apply div_le_div_of_nonneg_right _ G.colorScale_pos.le |
| 120 | change ‖(1/2:ℝ) • (a-star a)‖ ≤ _ |
| 121 | rw [norm_smul, Real.norm_of_nonneg (by norm_num : (0:ℝ) ≤ 1/2)]; have hx := norm_sub_le a (star a); rw [norm_star] at hx; linarith |
| 122 | |
| 123 | /-- Keep the two legs of the transported group conjugation even post-L. |
| 124 | Use number of directions = m but S may be smaller. -/ |
| 125 | def mailCharge (G : Gauge) (η : ℝ) (m : ℕ) := G.colorScale⁻¹*((2:ℝ)^m)^2*tollBound G η m^2 |
| 126 | lemma mailCharge_pos (G : Gauge) (η : ℝ) (m : ℕ) : 0<mailCharge G η m := mul_pos |
| 127 | (mul_pos (inv_pos.mpr G.colorScale_pos) (by positivity)) (pow_pos (tollBound_pos ..) _) |
| 128 | |
| 129 | lemma spool_pays {d : ι→Dir G n} (h : Linkbill l P d) (he : tollRate P l η) (hp : 0 < η) (m : ℕ) {S : Finset ι} (hm : S.card ≤ m) |
| 130 | (x : Dir G n) (hx : ‖x‖ ≤ 1) (q : Slot) (C : ℝ) (hb : ∀ S'⊆S, P.Jets S' d (plasty q.plaq) x C) : |
| 131 | P.Jets S d (spool q) x (mailCharge G η m*C*guide l (5*m*η) q.length) := by |
| 132 | let t := tollBound G η m |
| 133 | let s := q.walk.length |
| 134 | let u := guide l (2*m*η) s |
| 135 | let v := guide l η s |
| 136 | let r := guide l (5*m*η) s |
| 137 | have hC := (hb S (fun _ hh => hh)).1 |
| 138 | have hv : 1 ≤ v := guide_ge l s η hp.le |
| 139 | have hT (T : Finset ι) (ht : T⊆S) := book h he hp q.walk T m ((Finset.card_le_card ht).trans hm) x hx |
| 140 | let W := Logfee.transport (G:=G) (n:=n) q.walk |
| 141 | let p i := plasty (G:=G) q.plaq (launch q i) (n:=n) |
| 142 | let U i := W i * p i |
| 143 | let V : G.Mat→L[ℝ] G.Mat := (show G.Mat ≃L[ℝ] G.Mat from starL ℝ).toContinuousLinearMap |
| 144 | let φ := ContinuousLinearMap.mul ℝ G.Mat |
| 145 | have hh (i) : ContDiffAt ℝ ω (Logfee.transport (G:=G) q.walk i) x := (train_rate ..).contDiffAt |
| 146 | have hj (i) : ContDiffAt ℝ ω (U i) x := (hh i).mul (order ..).contDiffAt |
| 147 | let y := t*u |
| 148 | have h1 (A) (ht : A⊆S) : P.Jets A d U x ((2:ℝ)^m*(y*(v^m*C))) := by |
| 149 | apply Jets.priced φ (fun i j => norm_mul_le i j) hh (fun i => (show ContDiffAt ℝ ω (p i) x from (order (G:=G) q.plaq _).contDiffAt)) |
| 150 | (fun i hi => hT i (hi.trans ht)) _ m ((Finset.card_le_card ht).trans hm) |
| 151 | intro i hi |
| 152 | have h' := hi.trans ht |
| 153 | apply (shifting P he hp.le (hb i h') _ (launch q) (sooner q)).mono |
| 154 | exact mul_le_mul_of_nonneg_right (pow_le_pow_right₀ hv ((Finset.card_le_card h').trans hm)) hC |
| 155 | have h2 (A) (ht : A⊆S) : P.Jets A d (fun i => V ∘ W i) x y := by |
| 156 | apply Jets.change_map (hT A ht) V hh |
| 157 | intro i; exact (norm_star i).le |
| 158 | let f i (a : Dir G n) := U i a * V (W i a) |
| 159 | have hf i : ContDiffAt ℝ ω (f i) x := (hj i).mul (V.contDiff.contDiffAt.comp x (hh i)) |
| 160 | have h3 : P.Jets S d f x ((2:ℝ)^m*((2:ℝ)^m*(y*(v^m*C))*y)) := Jets.priced φ |
| 161 | (fun i j => norm_mul_le i j) hj (fun i => V.contDiff.contDiffAt.comp x (hh i)) h1 h2 m hm |
| 162 | rw [show (spool q (G:=G))=(fun i => skim G ∘ f i) from funext fun i => funext fun j => route q i j] |
| 163 | apply (Jets.spend h3 (skim G) hf (inv_nonneg.mpr G.colorScale_pos.le) (skim_norm)).mono |
| 164 | have hL : s ≤ q.length := by unfold s Slot.length; omega |
| 165 | calc |
| 166 | _ = mailCharge G η m*C*(u*u*v^m) := by unfold y t mailCharge; ring |
| 167 | _ = mailCharge G η m*C*r := by unfold r u v guide; rw [← Real.exp_add,← Real.exp_nat_mul,← Real.exp_add]; congr 2; ring |
| 168 | _ ≤ _ := by |
| 169 | apply mul_le_mul_of_nonneg_left _ (mul_nonneg (mailCharge_pos ..).le hC) |
| 170 | exact Real.exp_monotone (mul_le_mul_of_nonneg_left (by exact_mod_cast hL) (by positivity)) |
| 171 | end Plaque |
| 172 | end YM.AnalyticNext.QuarticMatch.Estimate |