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.RG08.Flat.Differences |
| 2 | import YM.Push.ABSOLUTE_SUMS.Array |
| 3 | |
| 4 | /-! |
| 5 | # Input/output width transfer across resolutions |
| 6 | |
| 7 | `routed` uses the true integer carry. On a plateau the same width must often |
| 8 | be obtainable at output despite a width loss at fine differentiation/lifting. |
| 9 | We pay coarse exponential weights from fine ones using `L*size(carry)`, not |
| 10 | from a fixed, geometrically decreasing strip at every step. |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.RG08 |
| 16 | open Function Filter Finset Laurent Lattice Wilson Bloch Matrix Precision |
| 17 | open Next.Free Work.F08 Push.AbsoluteSums RG |
| 18 | open scoped Topology BigOperators |
| 19 | |
| 20 | lemma block_carry {L : Side} (r : Site L) (a : Cover) : |
| 21 | L.val*size (carry r a) ≤ size a + 4*L.val := by |
| 22 | have h (i : Axis) : L.val*(carry r a i).natAbs ≤ (a i).natAbs + L.val := by |
| 23 | have he := congr_fun (carry_spec r a) i |
| 24 | simp only [Pi.add_apply, Pi.mul_apply, Pi.natCast_apply,nsmul_eq_mul] at he |
| 25 | have hu := lift_centers r i |
| 26 | have hv := lift_centers (arrives r a) i |
| 27 | rw [show L.val * (carry r a i).natAbs = ((L.val:ℤ) * carry r a i).natAbs from by |
| 28 | rw [Int.natAbs_mul, Int.natAbs_natCast]] |
| 29 | omega |
| 30 | have H : L.val * size (carry r a) ≤ size a + (Fintype.card Axis)*L.val := by |
| 31 | unfold size |
| 32 | rw [Finset.mul_sum] |
| 33 | simpa only [Finset.sum_add_distrib,Finset.sum_const,Finset.card_univ,nsmul_eq_mul,Nat.cast_id] using |
| 34 | Finset.sum_le_sum (s:=Finset.univ) (fun i _ => h i) |
| 35 | exact H |
| 36 | |
| 37 | lemma size_scaled {L : Side} (r : Site L) (a z : Cover) {η σ : ℝ} |
| 38 | (he : 0 ≤ η) (h : η ≤ L.val*σ) : |
| 39 | η*size z ≤ σ*size a + 4*η + η*size (z-carry r a) := by |
| 40 | let d := carry r a |
| 41 | have hc : (L.val:ℝ)*(size d:ℝ) ≤ size a + 4*L.val := by exact_mod_cast block_carry r a |
| 42 | have hl : 0 < (L.val:ℝ) := by positivity |
| 43 | have hu : η*size d ≤ σ*size a + 4*η := by |
| 44 | apply le_of_mul_le_mul_right _ hl |
| 45 | calc |
| 46 | _ = η*(L.val* (size d:ℝ)) := by ring |
| 47 | _ ≤ η*(size a + 4*L.val) := mul_le_mul_of_nonneg_left hc he |
| 48 | _ = η*size a + 4*η*L.val := by ring |
| 49 | _ ≤ L.val*σ*size a + 4*η*L.val := by gcongr |
| 50 | _ = _ := by ring |
| 51 | have hx : size z ≤ size (z-d) + size d := by |
| 52 | nth_rewrite 1 [← sub_add_cancel z d] |
| 53 | exact size_add .. |
| 54 | have hv : (size z:ℝ) ≤ size (z-d) + size d := by exact_mod_cast hx |
| 55 | change η * _ ≤ _ + η*size (z-d) |
| 56 | nlinarith only [hu,mul_le_mul_of_nonneg_left hv he] |
| 57 | |
| 58 | section Budgets |
| 59 | variable {α β E : Type*} |
| 60 | |
| 61 | /-- Project after summing an internal argument; keep absolute budgets. -/ |
| 62 | lemma budget_onto_rows {g : α×β → ℝ} {A : ℝ} (h : SumBudget g A) : |
| 63 | SumBudget (fun x : α => ∑' y : β, g (x,y)) A := |
| 64 | ⟨fun _ => tsum_nonneg fun _ => h.1 _, |
| 65 | ((summable_prod_of_nonneg h.1).mp h.2.1).2, h.2.1.tsum_prod.symm.trans_le h.2.2⟩ |
| 66 | |
| 67 | /-- General coefficient convolution usage: weights strict to avoid any |
| 68 | unconditional sums on zero weight fibers. -/ |
| 69 | lemma budget_projection [NormedAddCommGroup E] {g : α×β → E} {A : ℝ} |
| 70 | (w : β → ℝ) (hw : ∀ i, 0 < w i) |
| 71 | (h : SumBudget (fun i : α×β => w i.2 * ‖g i‖) A) : |
| 72 | SumBudget (fun x : β => w x * ‖∑' y : α, g (y,x)‖) A := by |
| 73 | have he := budget_pull (Equiv.prodComm β α) (Equiv.prodComm β α).injective h |
| 74 | refine budget_mono (budget_onto_rows he) (fun i => mul_nonneg (hw i).le (norm_nonneg _)) ?_ |
| 75 | intro i |
| 76 | change w i*_ ≤ ∑' y : α, w i*‖g (y,i)‖ |
| 77 | rw [tsum_mul_left] |
| 78 | have hy : Summable (fun y : α => w i * ‖g (y,i)‖) := |
| 79 | ((summable_prod_of_nonneg he.1).mp he.2.1).1 i |
| 80 | exact mul_le_mul_of_nonneg_left |
| 81 | (norm_tsum_le_tsum_norm <| (summable_mul_left_iff (hw i).ne').mp hy) (hw i).le |
| 82 | |
| 83 | end Budgets |
| 84 | |
| 85 | /-- Row routing after spending pre-block width. No multiplicity cost from |
| 86 | old fine aggregation. -/ |
| 87 | theorem carry_price {L : Side} {η σ A B : ℝ} (r : Site L) (he : 0 ≤ η) |
| 88 | (h : η ≤ L.val*σ) {f : Cover → ℝ} {g : Cover → Cover → ℝ} |
| 89 | (hf : Width σ A f) (hg : ∀ a, Width η B (g a)) : |
| 90 | Width η (Real.exp (4*η) * A * B) (routed (carry r) f g) := by |
| 91 | let d := carry r |
| 92 | let K := Real.exp (4*η) |
| 93 | let w (z : Cover) := Real.exp (η*size z) |
| 94 | let u (z : Cover) := Real.exp (σ*size z) |
| 95 | have hp (a z) : w z ≤ K*u a*w (z-d a) := by |
| 96 | unfold w K u; rw [← Real.exp_add,← Real.exp_add] |
| 97 | exact Real.exp_le_exp.mpr (by rw [add_comm (4*η)]; exact size_scaled r a z he h) |
| 98 | have hb : 0 ≤ B := budget_nonneg (hg 0) |
| 99 | let b (a z : Cover) := g a (z-d a) |
| 100 | have hk a : SumBudget (fun z => w (z-d a)*‖b a z‖) B := by |
| 101 | let e := Equiv.addRight (-d a) |
| 102 | simpa [e,b,sub_eq_add_neg] using |
| 103 | budget_pull e e.injective (show SumBudget (fun z => w z*‖g a z‖) B from hg a) |
| 104 | have hh a : 0 ≤ K*(u a*‖f a‖) := by unfold u K; positivity |
| 105 | change SumBudget (fun z => w z * ‖∑' y, f y * b y z‖) _ |
| 106 | let l (a : Cover) := K*(u a*‖f a‖) |
| 107 | apply budget_projection (g:=fun i : Cover×Cover => f i.1 * b i.1 i.2) _ (fun i => Real.exp_pos _) |
| 108 | refine budget_rows _ (fun a => l a * B) (fun a => ?_) ?_ |
| 109 | · refine budget_mono (budget_scale (hh a) (hk a)) (fun z => mul_nonneg (Real.exp_pos _).le (norm_nonneg _)) ?_ |
| 110 | intro z |
| 111 | apply (mul_le_mul_of_nonneg_right (hp a z) (norm_nonneg (f a*b a z))).trans_eq |
| 112 | rw [norm_mul]; ring |
| 113 | rw [show (fun a => l a*B)=(fun a => B*l a) from funext fun a => mul_comm .., |
| 114 | mul_comm _ B] |
| 115 | exact budget_scale hb (budget_scale (Real.exp_pos _).le hf) |
| 116 | |
| 117 | section Matrix |
| 118 | variable {L c f : Side} {σ τ A B : ℝ} |
| 119 | variable {α β γ : Type*} [Fintype α] |
| 120 | |
| 121 | lemma strip_routed {P : Row γ α} {Q : Cross L α β} (he : 0 ≤ τ) |
| 122 | (ht : τ ≤ L.val*σ) (hP : P.strip σ A) (hQ : Q.strip τ B) : |
| 123 | (fineCompose P Q).strip τ (Fintype.card α * (Real.exp (4*τ)*A*B)) := by |
| 124 | rintro ⟨r,i⟩ j |
| 125 | exact width_sum_finite fun k => carry_price r he ht (hP i k) (fun a => hQ _ _) |
| 126 | |
| 127 | lemma composed_left (g : Ratio c f) {P : Cross g.count α β} {Q : Cross g.count α γ} |
| 128 | (hp : Whole P) (hq : Whole Q) : |
| 129 | (composeRows (transRows P) Q).acts c = (installed g P)ᵀ * installed g Q := by |
| 130 | have hT : Whole (transRows P) := by |
| 131 | obtain ⟨v,D,hD,h⟩ := hp; exact ⟨v,D,hD,strip_trans h⟩ |
| 132 | rw [hT.acts hq, acts_trans] |
| 133 | ext i j |
| 134 | simp only [Matrix.mul_apply, Matrix.transpose_apply, installed,Matrix.submatrix_apply,id_eq] |
| 135 | exact (Equiv.sum_comp (splitCo g α) fun k => P.acts c k i * Q.acts c k j).symm |
| 136 | |
| 137 | end Matrix |
| 138 | end YM.RG08 |