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.Forms.Lines |
| 2 | import YM.RG08.Forms.Cot |
| 3 | |
| 4 | /-! |
| 5 | # Simultaneous rent: pull every slot by possibly distinct cover kernels at post-block prices |
| 6 | or varying preblock powers. Use Δ line needn't depend on other legs. `beacon` can specify enough |
| 7 | geometry ONLY on nonzero coefficients of each respective stencil; e.g. canonical path choices. |
| 8 | Shares are per leg (also at root!). |
| 9 | -/ |
| 10 | noncomputable section |
| 11 | namespace YM.RG08.Forms |
| 12 | open Pert.Bulk Packets Finset Function |
| 13 | open scoped BigOperators Topology ENNReal Classical |
| 14 | set_option autoImplicit false |
| 15 | variable {I J M : Type}{n:ℕ} |
| 16 | |
| 17 | abbrev Cables (n:ℕ)(I J:Type):= Fin n → I→J→ℝ |
| 18 | |
| 19 | def lighthouse (d:Ground I)(D:Ground J)(σ τ:ℝ) (E K:Cables n I J):Prop:= |
| 20 | 0≤σ ∧ 0≤τ ∧ (∀ i x y, 0≤E i x y) ∧ ∀ (i j:Fin n), i≠j → ∀ a b x y, K i a x≠0 → K j b y≠0 → τ*D.span x y ≤ σ*d.span a b + E i a x + E j b y |
| 21 | |
| 22 | def street (E K:Cables n I J) (p:Fin n→ℝ):Prop:=∀ i, 0≤p i ∧ |
| 23 | (∀ x,∑' y,bill (K i x y) (E i x y) ≤ ENNReal.ofReal (p i)) ∧ (∀ y,∑' x,bill (K i x y) (E i x y) ≤ ENNReal.ofReal (p i)) |
| 24 | |
| 25 | lemma two {i j:Fin n}(h:i≠j)(p:Fin n→ℝ)(hp:∀ i,0 ≤ p i) : p i+p j ≤ ∑ i,p i:=by |
| 26 | have hh : ∑ k ∈ ({i,j} : Finset (Fin n)), p k ≤ ∑ k, p k := |
| 27 | Finset.sum_le_sum_of_subset_of_nonneg (subset_univ _) (fun k _ _ => hp k) |
| 28 | simpa [h] using hh |
| 29 | |
| 30 | def design (K:Cables n I J)(x:Tape n I)(y:Tape n J):=∏ i,K i (x i) (y i) |
| 31 | variable {d:Ground I}{D:Ground J}{σ τ C:ℝ}{E K:Cables n I J}{F:Flake n I}{p:Fin n→ℝ} |
| 32 | |
| 33 | theorem lighthouse.position (h:lighthouse d D σ τ E K){x:Tape n I}{y:Tape n J}(hxy:design K x y≠0): |
| 34 | τ*D.radius y ≤ σ*d.radius x+∑ i,E i (x i) (y i) := by |
| 35 | have hs:=h.2.1;have hx:=h.1 |
| 36 | have he:=h.2.2.1 |
| 37 | have hn (x:Tape n I)(y:Tape n J):0≤σ*d.radius x+∑ i,E i (x i) (y i):= add_nonneg (mul_nonneg hx (d.radius_nn _)) (sum_nonneg fun _ _=>he ..) |
| 38 | rcases eq_or_lt_of_le hs with hT|hT |
| 39 | · rw [←hT,zero_mul];exact hn x y |
| 40 | have hp (j:Fin n):K j (x j) (y j)≠0:=Finset.prod_ne_zero_iff.mp hxy j (mem_univ j) |
| 41 | suffices H:D.radius y ≤ (σ*d.radius x+∑ i,E i (x i) (y i))/τ by simpa [mul_comm] using (le_div_iff₀ hT).mp H |
| 42 | apply D.radius_le _ (div_nonneg (hn x y) hT.le) |
| 43 | intro i j |
| 44 | rcases eq_or_ne i j with hc|hc |
| 45 | · rw [hc,D.stay];exact div_nonneg (hn x y) hT.le |
| 46 | rw [le_div_iff₀ hT,mul_comm] |
| 47 | apply (h.2.2.2 i j hc (x i) (x j) (y i) (y j) (hp i) (hp j)).trans |
| 48 | have H:=two hc (fun i=>E i (x i) (y i)) (fun _=>he ..) |
| 49 | have H':=mul_le_mul_of_nonneg_left (d.le_radius x i j) hx |
| 50 | nlinarith [H'] |
| 51 | |
| 52 | /-- No arity dependence in width; Γ comparisons may need distinct E or a reproof that |
| 53 | both stencils and their differences satisfy this width geometry. -/ |
| 54 | def vat (K:Cables n I J) (F:Flake n I) (y:Tape n J)(x:Tape n I):= F x*design K x y |
| 55 | |
| 56 | def raft (K:Cables n I J)(F:Flake n I): Flake n J:=fun y=>∑' x,vat K F y x |
| 57 | |
| 58 | def tow (K:Cables n I J)(F:Flake n I):Flake n J:=bleach (raft K F) |
| 59 | |
| 60 | def cable (E K:Cables n I J):=fun i (x:I)(y:J)=>bill (K i x y) (E i x y) |
| 61 | |
| 62 | lemma beam_vat (h:lighthouse d D σ τ E K) (x:Tape n I)(y:Tape n J) : |
| 63 | bill (vat K F y x) (τ*D.radius y) ≤ mark d σ F x * ∏ i,cable E K i (x i) (y i):=by |
| 64 | by_cases hxy:design K x y=0 |
| 65 | · simp [vat,hxy,bill] |
| 66 | unfold vat |
| 67 | rw [show (∏ i,_) = bill (design K x y) (∑ i,E i (x i) (y i)) from ?_] |
| 68 | · exact bill_mul _ _ _ _ _ (h.position hxy) |
| 69 | exact (bill_products (fun i=>K i (x i) (y i)) (fun i=>E i (x i) (y i))).symm |
| 70 | |
| 71 | lemma sum_hold_factor (i:Fin n)(z:J)(x:Tape n I): |
| 72 | (∑' y:Tape n J, row (fun y=>∏ k,cable E K k (x k) (y k)) i z y) = |
| 73 | cable E K i (x i) z * ∏ k∈univ.erase i,(∑' a,cable E K k (x k) a):=by |
| 74 | let V (k:Fin n)(a:J):= if k=i ∧ a≠z then 0 else cable E K k (x k) a |
| 75 | have he (y:Tape n J):row (fun y=>∏ k,cable E K k (x k) (y k)) i z y=∏ k,V k (y k):=by |
| 76 | by_cases hf:y i=z |
| 77 | · simp only [row,hf,if_true] |
| 78 | apply prod_congr rfl; intro j _ |
| 79 | by_cases hh:j=i<;>simp [V,hh,hf] |
| 80 | unfold row |
| 81 | rw [if_neg hf,prod_eq_zero (i:=i) (mem_univ i) (by simp [V,hf])] |
| 82 | simp_rw [he,all_Δ V,←Finset.mul_prod_erase _ (fun k=>∑' a,V k a) (mem_univ i)] |
| 83 | congr 1 |
| 84 | · have h:(V i)=fun a=>if a=z then cable E K i (x i) a else 0:=by ext a;by_cases hh:a=z<;>simp [V,hh] |
| 85 | rw [h];simp [tsum_ite_eq] |
| 86 | apply Finset.prod_congr rfl;intro a ha |
| 87 | simp [V,(Finset.mem_erase.mp ha).1] |
| 88 | |
| 89 | lemma Ensign.incoming {f:Tape n I→ℝ≥0∞}{P:ℝ≥0∞}(h:Ensign f P)(i:Fin n)(g:I→ℝ≥0∞): |
| 90 | (∑' x:Tape n I,f x*g (x i)) ≤ P*∑' a:I,g a:=by |
| 91 | have he (x:Tape n I): f x*g (x i)=∑' a,row f i a x*g a:=by simp [row,ite_mul] |
| 92 | calc |
| 93 | (∑' x : Tape n I, f x * g (x i)) = |
| 94 | ∑' x : Tape n I, ∑' a : I, row f i a x * g a := tsum_congr he |
| 95 | _ = ∑' a : I, ∑' x : Tape n I, row f i a x * g a := |
| 96 | ENNReal.tsum_comm |
| 97 | _ = ∑' a : I, (∑' x : Tape n I, row f i a x) * g a := by |
| 98 | apply tsum_congr |
| 99 | intro a |
| 100 | exact ENNReal.tsum_mul_right |
| 101 | _ ≤ ∑' a : I, P * g a := by |
| 102 | apply ENNReal.tsum_le_tsum |
| 103 | intro a |
| 104 | exact mul_le_mul_left (h i a) _ |
| 105 | _ = P * ∑' a : I, g a := ENNReal.tsum_mul_left |
| 106 | |
| 107 | lemma raft_major (h:lighthouse d D σ τ E K)(hk:street E K p)(hf:Held d σ C F)(_hC:0≤C): |
| 108 | Ensign (fun y:Tape n J=>∑' x, bill (vat K F y x) (τ*D.radius y)) (ENNReal.ofReal C * ∏ i,ENNReal.ofReal (p i)):=by |
| 109 | intro i z |
| 110 | let T k:=ENNReal.ofReal (p k) |
| 111 | let U x:= mark d σ F x |
| 112 | calc |
| 113 | _ ≤ ∑' y:Tape n J, ∑' x:Tape n I,U x * row (fun y=>∏ k,cable E K k (x k) (y k)) i z y:= by |
| 114 | apply ENNReal.tsum_le_tsum |
| 115 | intro y |
| 116 | by_cases hh : y i = z |
| 117 | · unfold row |
| 118 | simp only [hh, if_true] |
| 119 | exact ENNReal.tsum_le_tsum fun x => beam_vat h x y |
| 120 | simp [row, hh] |
| 121 | _ = ∑' x:Tape n I, U x * (cable E K i (x i) z * ∏ k∈univ.erase i,(∑' a,cable E K k (x k) a)):=by |
| 122 | rw [ENNReal.tsum_comm];simp_rw [ENNReal.tsum_mul_left,sum_hold_factor] |
| 123 | _ ≤ ∑' x:Tape n I,U x * (cable E K i (x i) z * ∏ k∈univ.erase i,T k):=by |
| 124 | refine ENNReal.tsum_le_tsum fun x=>mul_le_mul_right (mul_le_mul_right (prod_le_prod' ?_) _) _ |
| 125 | intro k _;exact (hk k).2.1 _ |
| 126 | _ ≤ _:=by |
| 127 | simp_rw [←mul_assoc,ENNReal.tsum_mul_right];rw [←Finset.mul_prod_erase _ T (mem_univ i),←mul_assoc] |
| 128 | exact mul_le_mul_left (((ensign.mp hf).incoming i _).trans (mul_le_mul_right ((hk i).2.2 z) _)) _ |
| 129 | |
| 130 | private lemma earn_product (S:Finset (Fin n))(p:Fin n→ℝ)(hp:∀ i∈S,0≤p i) : ENNReal.ofReal (S.prod p)=(∏ i∈S,ENNReal.ofReal (p i)):=by |
| 131 | induction S using Finset.induction_on with |
| 132 | | empty=>simp |
| 133 | | @insert i s hi ih=> rw [prod_insert hi,prod_insert hi,ENNReal.ofReal_mul (hp i (mem_insert_self ..)),ih (fun i hi=>hp i (mem_insert_of_mem hi))] |
| 134 | lemma Held.raft (hf:Held d σ C F)(hC:0≤C)(h:lighthouse d D σ τ E K)(hk:street E K p): Held D τ (C*∏ i,p i) (Forms.raft K F):=by |
| 135 | rw [ensign,ENNReal.ofReal_mul hC,earn_product _ _ fun i _=>(hk i).1];exact (raft_major h hk hf hC).mono (fun _=>bill_tsum ..) le_rfl |
| 136 | lemma Held.tow (hf:Held d σ C F)(hC:0≤C)(h:lighthouse d D σ τ E K)(hk:street E K p): Held D τ (C*∏ i,p i) (Forms.tow K F):=(hf.raft hC h hk).bleach (mul_nonneg hC (Finset.prod_nonneg fun i _=>(hk i).1)) |
| 137 | lemma raft_sum (hn:0<n)(hf:Held d σ C F)(hC:0≤C)(h:lighthouse d D σ τ E K)(hk:street E K p)(y:Tape n J) : Summable (fun x=>‖vat K F y x‖):=by |
| 138 | have he:= ENNReal.ofReal_ne_top (r:=C*∏ i,p i) |
| 139 | rw [ENNReal.ofReal_mul hC,earn_product _ _ fun i _=>(hk i).1] at he |
| 140 | have hf := bill_ne_top (ne_top_of_le_ne_top he ((raft_major h hk hf hC).point hn y)) |
| 141 | exact (hf.mul_right (Real.exp (τ * D.radius y))⁻¹).congr fun i => by |
| 142 | simp [Real.norm_eq_abs] |
| 143 | end YM.RG08.Forms |