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.Charges |
| 2 | import YM.AnalyticNext.QUARTIC_MATCH.Estimate.Meter |
| 3 | import YM.AnalyticNext.QUARTIC_MATCH.Estimate.Voyage |
| 4 | |
| 5 | /-! |
| 6 | # Per true path forms (capacity L² usable by a single rough direction) |
| 7 | -/ |
| 8 | set_option autoImplicit false |
| 9 | noncomputable section |
| 10 | namespace YM.AnalyticNext.QuarticMatch.Estimate |
| 11 | open Filter Function Lattice Laurent Matrix Hessian Analysis RG Precision Exterior Bid Wilson |
| 12 | open Progress.StationaryScenes Work.F03 YM.Next.Free |
| 13 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators |
| 14 | attribute [local instance] Gauge.frobInner |
| 15 | |
| 16 | variable {G : Gauge} {n l : Side} {ι : Type*} [DecidableEq ι] |
| 17 | variable {P : Purse ι (Site n)} {η : ℝ} |
| 18 | open Purse |
| 19 | |
| 20 | omit [DecidableEq ι] in |
| 21 | def Linkbill (l : Side) (P : Purse ι (Site n)) (d : ι→Dir G n) := ∀ (i : ι) (j : TypeFace 1), P.Pays {i} (fun x => d i (x,j)) (l.val:ℝ)⁻¹ |
| 22 | |
| 23 | namespace Logfee |
| 24 | omit [DecidableEq ι] in |
| 25 | lemma stroke {d : ι→Dir G n} (h : Linkbill l P d) (he : tollRate P l η) (hp : 0 ≤ η) (i : ι) (e : Step) : |
| 26 | P.Pays {i} (width (d i) e) (guide l η 1*(l.val:ℝ)⁻¹) := by |
| 27 | rcases e with ⟨a,x|x⟩ |
| 28 | · rw [show width (d i) ⟨a,false⟩=fun x => ‖d i (x,coord a)‖ from funext fun _ => rfl] |
| 29 | exact ((h i (coord a)).under (g:=fun x => ‖d i (x,coord a)‖) (fun _ => by simp)).mono (le_mul_of_one_le_left (by positivity) |
| 30 | (Real.one_le_exp (by positivity))) |
| 31 | rw [show width (d i) ⟨a,true⟩=fun x => ‖d i (x-step a,coord a)‖ from funext fun _ => rfl] |
| 32 | have ht := h i (coord a) |
| 33 | let F := Equiv.addRight (-step a:Site n) |
| 34 | have hh (x : Site n) : separation x (F x) ≤ 1 := (Response.by_one x (negDir a)).1 |
| 35 | have hk := shifting P he hp ht 1 F hh; rw [Finset.card_singleton,pow_one] at hk |
| 36 | exact hk.under (fun x => by change ‖‖d i (_,_)‖‖ ≤ ‖d i (_+ -_,_)‖; simp [sub_eq_add_neg]) |
| 37 | omit [DecidableEq ι] in |
| 38 | lemma travel_bill {d : ι→Dir G n} (h : Linkbill l P d) (he : tollRate P l η) (hp : 0 ≤ η) (i : ι) (w : Walk) : |
| 39 | P.Pays {i} (weight (d i) w) ((w.length:ℝ)/l.val*guide l η w.length) := by |
| 40 | induction w with |
| 41 | | nil => simpa only [show weight (d i) []=(0:Site n→ℝ) from rfl,List.length_nil,Nat.cast_zero,zero_div,zero_mul] using (Pays.zero (C:=0) (P:=P) (S:={i}) le_rfl : P.Pays {i} (0 : Site n → ℝ) 0) |
| 42 | | cons e w ih => |
| 43 | let F := Equiv.addRight (e.vec:Site n) |
| 44 | have ht := shifting P he hp ih 1 F (fun i => (Response.by_one i e).1); rw [Finset.card_singleton,pow_one] at ht |
| 45 | apply ((stroke h he hp i e).plus ht).mono |
| 46 | let x := guide l η 1; let z := guide l η w.length |
| 47 | have hx : 0 ≤ x := (guide_pos ..).le |
| 48 | have hz : 1≤z := Real.one_le_exp (by positivity) |
| 49 | rw [List.length_cons,Nat.cast_add,succ_guide l w.length,Nat.cast_one,add_div,add_mul] |
| 50 | change x*(l.val:ℝ)⁻¹+x*(_/l.val*z) ≤ w.length/(l.val:ℝ)*(z*x)+_*(z*x) |
| 51 | rw [show x*(w.length/(l.val:ℝ)*z)=w.length/(l.val:ℝ)*(z*x) from by ring, add_comm _ (_*(_*x))] |
| 52 | apply add_le_add le_rfl _ |
| 53 | exact (le_mul_of_one_le_left (mul_nonneg hx (by positivity : 0 ≤ (l.val:ℝ)⁻¹)) hz).trans_eq (by ring) |
| 54 | |
| 55 | def basicPay (G : Gauge) (l : Side) (η : ℝ) (m k r : ℕ) := (unitPrice G m).C^k * ((r:ℝ)/(l.val:ℝ)*guide l η r)^k |
| 56 | lemma insured {d : ι→Dir G n} (h : Linkbill l P d) (he : tollRate P l η) (hp : 0 ≤ η) (S : Finset ι) (w : Walk) |
| 57 | (m : ℕ) (hv : S.card ≤ m) (x : Dir G n) (hx : ‖x‖ ≤ 1) : P.Jets S d (transport w) x (ample G*basicPay G l η m S.card w.length) := by |
| 58 | have ht := Pays.prod (fun i => weight (d i) w) _ S (fun i _ => travel_bill h he hp i w) |
| 59 | have hy : 0 ≤ (unitPrice G m).C := zero_le_one.trans (unitPrice G m).used |
| 60 | simp only [Finset.prod_const] at ht |
| 61 | rw [basicPay,← mul_assoc] |
| 62 | exact ht.repay (mul_nonneg (ample_pos G).le (by positivity)) fun i => |
| 63 | (ticket _ _ _ m w S hv hx).trans_eq (by rw [Real.norm_of_nonneg (Finset.prod_nonneg fun i _ => weight_nonneg ..),mul_assoc]) |
| 64 | |
| 65 | def tollBound (G : Gauge) (η : ℝ) (m : ℕ) := ample G * ((unitPrice G m).C * max 1 η⁻¹)^m |
| 66 | lemma tollBound_pos (G : Gauge) (η : ℝ) (m : ℕ) : 0 < tollBound G η m := mul_pos (ample_pos _) (pow_pos |
| 67 | (mul_pos (zero_lt_one.trans_le (unitPrice G m).used) (lt_of_lt_of_le one_pos (le_max_left ..))) _) |
| 68 | lemma speed (hp : 0 < η) (r : ℕ) : (r:ℝ)/(l.val:ℝ) ≤ max 1 η⁻¹*guide l η r := by |
| 69 | apply le_trans _ (mul_le_mul_of_nonneg_right (le_max_right ..) (guide_pos l η r).le) |
| 70 | rw [inv_mul_eq_div]; apply (le_div_iff₀ hp).mpr; unfold guide |
| 71 | apply le_trans _ (Real.add_one_le_exp _); ring_nf; simp |
| 72 | lemma guide_ge (l : Side) (r : ℕ) (η : ℝ) (he : 0 ≤ η) : 1 ≤ guide l η r := Real.one_le_exp (by positivity) |
| 73 | |
| 74 | |
| 75 | lemma book {d : ι→Dir G n} (h : Linkbill l P d) (he : tollRate P l η) (hp : 0 < η) (w : Walk) (S : Finset ι) |
| 76 | (m : ℕ) (hv : S.card ≤ m) (x : Dir G n) (hx : ‖x‖ ≤ 1) : P.Jets S d (transport w) x (tollBound G η m * guide l (2*m*η) w.length) := by |
| 77 | apply (insured h he hp.le S w m hv x hx).mono |
| 78 | let r := w.length; let y := guide l η r; let k := (unitPrice G m).C; let z := max 1 η⁻¹ |
| 79 | have h1 : 1≤ k := (unitPrice G m).used; have h2 : 1≤z := le_max_left ..; have h3 : 1≤y := guide_ge l r _ hp.le |
| 80 | have hy : 1 ≤ y*y := one_le_mul_of_one_le_of_one_le h3 h3 |
| 81 | have hh : 1 ≤ k*z := one_le_mul_of_one_le_of_one_le h1 h2 |
| 82 | have hm : (y*y)^m=guide l (2*m*η) r := by |
| 83 | unfold guide y guide; rw [← Real.exp_add, ← Real.exp_nat_mul]; congr 1; ring |
| 84 | unfold tollBound |
| 85 | rw [mul_assoc (ample G)]; apply mul_le_mul_of_nonneg_left _ (ample_pos G).le; unfold basicPay |
| 86 | change k^S.card*((r:ℝ)/l.val*y)^S.card ≤ (k*z)^m*guide l _ r |
| 87 | rw [← hm,← mul_pow, ← mul_pow] |
| 88 | refine le_trans (pow_le_pow_left₀ ?_ ?_ S.card) (pow_le_pow_right₀ (one_le_mul_of_one_le_of_one_le hh hy) hv) |
| 89 | · have H := zero_le_one.trans h1; have h := zero_le_one.trans h3; positivity |
| 90 | exact (mul_le_mul_of_nonneg_left (mul_le_mul_of_nonneg_right (speed hp r) (zero_le_one.trans h3)) (zero_le_one.trans h1)).trans_eq (show k*(z*y*y)=_ from by ring) |
| 91 | end Logfee |
| 92 | end YM.AnalyticNext.QuarticMatch.Estimate |