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.CONNECTED_ACTIVITY_JETS_E6.Paths |
| 2 | import YM.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Weights |
| 3 | |
| 4 | /-! |
| 5 | # Real masked occurrence costs |
| 6 | |
| 7 | PathPrices at inputs to RAdvances. Per-label exponent bills: no random |
| 8 | multipliers erased, path Taylor tests, stationary equality or coupling-reset |
| 9 | assumed. In a Mayer test also after further multiplication in the exponent by |
| 10 | any protective factors of magnitude ≤1, and on rotated orientations. These |
| 11 | are sup bounds (including measures on same sector stencils, not restricted to |
| 12 | average F) before occupancy choices, output-Hessian and contour comparisons. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.ConnectedActivityE6.Raw |
| 17 | open Filter Lattice RG Pressure Pressure.Stores Wilson Finset MeasureTheory |
| 18 | open Push AbsoluteSums AbsoluteSums.Paths AbsoluteSums.Footprint |
| 19 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 20 | variable {G : Gauge} {c f : Side} |
| 21 | |
| 22 | /-- MAY use a *different* spatial scale for projection of supports (e.g. |
| 23 | coarse identity scale for output-only tails). -/ |
| 24 | def pathPay (L : Side) (r m l B : ℕ) (ε C γ a : ℝ) := |
| 25 | payment (L.val^4) (originFee l B) m ε C γ a |
| 26 | (preCost l + 10*preCost l / L.val *(1+(r:ℝ))) |
| 27 | |
| 28 | lemma pathPay_rate (L L' : Side) (l r m : ℕ) {a u v ε : ℝ} {C γ : ℝ → ℝ} |
| 29 | (h : Rate G L u C) (k : Rate G L v γ) : Rate G L (u+v) (fun x => pathPay L' r m l (radiusB x) ε (C x) (γ x) a) := |
| 30 | h.payment k (Rate.transfers l 1) _ m ε a _ |
| 31 | |
| 32 | /-- `pairFoot` buys one same-level mask reach. Here allow l more halos in |
| 33 | output metric for decisions over the *entire* inherited footprint. -/ |
| 34 | lemma price_foot (p : Ratio c f) (l : ℕ) (T : PathData G) (x : Cell f) (i : ℕ×ℕ) (B : ℕ) (he : 0 < B) : |
| 35 | enlargement p l B (pairFoot B T x i) ⊆ enlargement p (l+2) B (bundle x.1 (duplex T x.2 i)) := by |
| 36 | intro y hy |
| 37 | obtain ⟨z,hz,hh⟩ := halo_spec.mp hy |
| 38 | obtain ⟨w,hw,rfl⟩ := mem_image.mp hz |
| 39 | apply halo_spec.mpr |
| 40 | rcases mem_union.mp hw with hm|hm |
| 41 | · obtain ⟨x',hx',ht⟩ := halo_spec.mp hm |
| 42 | rw [mem_singleton.mp hx'] at ht |
| 43 | refine ⟨p.parent x.1,mem_image_of_mem _ (mem_insert_self ..), (separation_triangle _ (p.parent w) _).trans ?_⟩ |
| 44 | have h := Work.E04.parent_separation p x.1 w |
| 45 | rw [Nat.add_mul]; omega |
| 46 | exact ⟨p.parent w,mem_image_of_mem _ hm,hh.trans (Nat.mul_le_mul_right B (Nat.le_add_right l 2))⟩ |
| 47 | |
| 48 | /-- At the true `R = floor (B/100000)`, this is a negligible tail. -/ |
| 49 | lemma tail_sale (p : Ratio c f) (l B d R k : ℕ) (T : PathData G) (s : Clip) (σ D Λ : ℝ) (r : PlaqAxes) |
| 50 | (h : T.Bounds s σ D Λ) (hB : 0 < B) (hd : 0 < d) |
| 51 | (C a ε : ℝ) (hC : 0 ≤ C) (he : 2*ε < σ/2) |
| 52 | (hu : reserve (σ/2-2*ε) a (legFee p (l+2) B) ε) (z : Site f × (ℕ × ℕ) → ℝ) (hz : ∀ i : Site f × (ℕ × ℕ), |
| 53 | 0 ≤ z i ∧ z i ≤ C * pairPrice T R d r i.2*(1+(length (duplex T r i.2):ℝ))^k) : |
| 54 | Sales B a ε (fun i => enlargement p l B (pairFoot B T (i.1,r) i.2)) z (fun i => length (duplex T r i.2)) |
| 55 | (pathPay p.count 2 k (l+2) B ε C (2*Real.exp (-(σ/(2*d))*R)*(D*D)) a) := by |
| 56 | refine Sales.paths (l := l+2) p (duplex T r) (pairPrice_nonneg T R d r) ?_ _ |
| 57 | (fun i => price_foot p l T (i.1,r) i.2 B hB) (sub_pos.mpr he) hB hu k hC z hz |
| 58 | have h1 : 0 ≤ 2*Real.exp (-(σ/(2*d))*R) := by positivity |
| 59 | apply budget_mono (budget_scale h1 (budget_prod (h.rows r) (h.rows r))) |
| 60 | · intro i; exact mul_nonneg (pairPrice_nonneg ..) (Real.exp_pos _).le |
| 61 | intro i |
| 62 | unfold pairPrice |
| 63 | split |
| 64 | next hg => |
| 65 | unfold long at hg |
| 66 | let x := (T.row r i.1).2.length |
| 67 | let y := (T.row r i.2).2.length |
| 68 | have hx : (R:ℝ) ≤ ((x:ℝ)+(y:ℝ))*(d:ℝ) := by |
| 69 | change ¬(x*d ≤ R ∧ y*d ≤ R) at hg |
| 70 | have hy : R ≤ (x+y)*d := by rw [Nat.add_mul]; omega |
| 71 | exact_mod_cast hy |
| 72 | have hσ := h.width |
| 73 | have hv : 0 < (d:ℝ) := by exact_mod_cast hd |
| 74 | rw [duplex_price,Nat.cast_add] |
| 75 | calc |
| 76 | _ ≤ 2*mate T r i * Real.exp (-(σ/(2*d))*R+σ*x+σ*y) := by |
| 77 | have he : R / (d:ℝ) ≤ (x:ℝ)+(y:ℝ) := (div_le_iff₀ hv).2 hx |
| 78 | apply mul_le_mul_of_nonneg_left _ (by unfold mate; positivity) |
| 79 | apply Real.exp_monotone; unfold x y at * |
| 80 | field_simp; nlinarith |
| 81 | _ = _ := by unfold x y mate; rw [Real.exp_add,Real.exp_add]; ring |
| 82 | next hg => |
| 83 | rw [zero_mul]; exact (budget_scale h1 (budget_prod (h.rows r) (h.rows r))).1 _ |
| 84 | |
| 85 | lemma atom_sale {k : ℕ} (p : Ratio c f) (l B m : ℕ) (T : ℕ → Atom G k) (σ D : ℝ) |
| 86 | (h : SumBudget (fun i => (T i).budget σ) D) (hB : 0 < B) |
| 87 | (C a ε : ℝ) (hC : 0 ≤ C) (he : 2*ε < σ) |
| 88 | (hu : reserve (σ-2*ε) a (legFee p (l+5) B) ε) (z : Site f × ℕ → ℝ) |
| 89 | (hz : ∀ i : Site f × ℕ, 0 ≤ z i ∧ z i ≤ C*(T i.2).magnitude*(1+((T i.2).length:ℝ))^m) : |
| 90 | Sales B a ε (fun i => enlargement p l B (inspected ((T i.2).footprint i.1))) z (fun i => (T i.2).length) |
| 91 | (pathPay p.count k m (l+5) B ε C D a) := by |
| 92 | refine Sales.paths (l := l+5) p (fun i => (T i).leg) (w:=fun i => (T i).magnitude) |
| 93 | (fun i => by unfold Atom.magnitude; positivity) (δ:=σ) h _ |
| 94 | (fun i => ?_) (sub_pos.mpr he) hB hu m hC z hz |
| 95 | rw [← atom_foot]; exact inspected_price p l B _ hB |
| 96 | |
| 97 | /-! Keeping this flexible in k/angular order permits pricing the C-path |
| 98 | components of an integrated estimate, with additional marks: exact currencies. |
| 99 | Need put in numerical caps in this version (e.g. |
| 100 | `C = β*t^3`, `g i` the corresponding NO exponent-β-reset value at that |
| 101 | support). Test permits extra seed marks via Mixed; these output sales INCLUDE |
| 102 | a per-vertex degree/length charge. The support can be the FULL inspected one |
| 103 | *before* intersecting. Parameters θ, t, etc are not altered from readout. |
| 104 | -/ |
| 105 | lemma atom_bills (G : Gauge) (L L' : Side) (k m l : ℕ) {σ a ε : ℝ} {u v : ℝ} |
| 106 | (hε : 0 < ε) (hσ : 4*ε < σ) (ha : 0 ≤ a) {C γ : ℝ → ℝ} |
| 107 | (hc : Rate G L u C) (hv : Rate G L v γ) {r : ℝ} (hr : u+v < r) : |
| 108 | ∀ᶠ x : ℝ in atTop, ∀ (c f : Side) (p : Ratio c f), p.count=L' → ∀ T : ℕ → Atom G k, |
| 109 | SumBudget (fun i => (T i).budget σ) (γ x) → ∀ z : Site f × ℕ → ℝ, |
| 110 | 0 ≤ C x → |
| 111 | (∀ i, 0 ≤ z i ∧ z i ≤ C x * (T i.2).magnitude*(1+((T i.2).length:ℝ))^m) → |
| 112 | let B := radiusB x |
| 113 | Sales B a ε (fun i => enlargement p l B (inspected ((T i.2).footprint i.1))) z (fun i => (T i.2).length) |
| 114 | (betaF G x L^r) := by |
| 115 | filter_upwards [(pathPay_rate (a:=a) (ε:=ε) L L' (l+5) k m hc hv) r hr, |
| 116 | Fees.horizons G L' (l+5) hε ha (show 2*ε < σ-2*ε by linarith)] with x hx hp |
| 117 | intro c f p hP T h z hZ hg B |
| 118 | have he := atom_sale p l B m T σ (γ x) h hp.1 _ a ε hZ (by linarith) (hp.2.2 _ _ _ hP) z hg |
| 119 | apply he.raise |
| 120 | rw [hP]; exact (le_abs_self _).trans hx |
| 121 | |
| 122 | /-- Unlike unlabelled culling, no need a cutoff on paths visited by a |
| 123 | compulsory packet. The true length exponential (same-level) gives a |
| 124 | negligible hit at each output site even including the cover query halo. |
| 125 | L' projection parameter: fine inputs L, same-level identity for coarse |
| 126 | uses. r is any real loss, incl. arbitrary inverse powers. -/ |
| 127 | lemma tail_bills (G : Gauge) (L L' : Side) (m l d : ℕ) {s : Clip} {σ C u a ε : ℝ} (hd : 0 < d) |
| 128 | (hε : 0 < ε) (hσ : 8*ε < σ) (ha : 0 ≤ a) {D : ℝ → ℝ} (hg : Rate G L u D) (r : ℝ) : |
| 129 | ∀ᶠ x : ℝ in atTop, ∀ (c f : Side) (p : Ratio c f), p.count=L' → ∀ T : PathData G, ∀ Λ : ℝ, |
| 130 | T.Bounds s σ C Λ → ∀ i : PlaqAxes, ∀ z : Site f × (ℕ×ℕ) → ℝ, 0 ≤ D x → |
| 131 | (∀ j, 0 ≤ z j ∧ z j ≤ D x * pairPrice T (till x) d i j.2*(1+(length (duplex T i j.2):ℝ))^m) → |
| 132 | let B := radiusB x |
| 133 | Sales B a ε (fun j => enlargement p l B (pairFoot B T (j.1,i) j.2)) z (fun j => length (duplex T i j.2)) |
| 134 | (betaF G x L^r) := by |
| 135 | have h0 : 0 < σ := by linarith |
| 136 | let γ (x : ℝ) := 2*Real.exp (-(σ/(2*d))*till x) * (C*C) |
| 137 | have hv : Rate G L (r-1-u) γ := ((Rate.cutoff (show 0 < σ/(2*d:ℝ) by positivity)).mul_left 2).mul_right _ |
| 138 | filter_upwards [(pathPay_rate (a := a) (ε := ε) L L' (l+2) 2 m hg hv) r (by linarith), |
| 139 | Fees.horizons G L' (l+2) hε ha (show 2*ε<σ/2-2*ε by linarith)] with x hx hp |
| 140 | intro c f p hP T Λ h i z hZ he B |
| 141 | apply (tail_sale p _ _ d _ m T s σ C Λ i h hp.1 hd (D x) _ _ hZ (by linarith) (hp.2.2 c f p hP) z he).raise |
| 142 | rw [hP]; exact (le_abs_self _).trans hx |
| 143 | end YM.ConnectedActivityE6.Raw |