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.Next.EXTRACTION.Tails |
| 2 | import YM.Next.FREE_KERNELS.Signal |
| 3 | import YM.Push.CORRECTED_COLUMNS.Tree |
| 4 | import YM.Work.E01 |
| 5 | import YM.Work.E04 |
| 6 | import YM.Work.E09.Scales |
| 7 | |
| 8 | /-! |
| 9 | # The halo toll for holes in the intact normalized estimate |
| 10 | |
| 11 | Not a forecast: includes proof that share income from points_grant (even |
| 12 | a fraction) is sufficient for our elimination, once stationed. In |
| 13 | particular at next height, must still buy along with other delays so no |
| 14 | Program advance estimated by imposing this on a finished calendar. |
| 15 | -/ |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.Further.RootedInteractingRemainder.Levy |
| 19 | open Filter Function Lattice RG RG.Patch Axial Wilson Finset Precision Tree Exterior Bloch Laurent |
| 20 | open Pressure Pressure.Stores Pressure.Teller Pressure.Tube Bid |
| 21 | open Vac.Numbers |
| 22 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 23 | variable {G : Gauge} {c f : Side} {S : StepData c f} |
| 24 | |
| 25 | lemma nucleated (S : StepData c f) (C : Stores S) (r : ℕ) : |
| 26 | (C.dome r).card ≤ 4 * C.shares * (r+r+1)^4 := |
| 27 | (Lattice.Corona.halo_size C.place _).trans (Nat.mul_le_mul_right _ (Work.E01.place_card C)) |
| 28 | |
| 29 | lemma covers_intern (S : StepData c f) (C : Stores S) (x : ℝ) : |
| 30 | (C.intern x).card ≤ 4*4*(2*radiusB x+2*radiusB x+1)^4*C.shares := by |
| 31 | let r := 2*radiusB x |
| 32 | calc |
| 33 | _ ≤ (C.dome r ×ˢ (univ : Finset Axis)).card := Finset.card_le_card (t:=C.dome r ×ˢ (univ : Finset Axis)) (fun i hi=>mem_product.mpr ⟨(mem_filter.mp hi).2,mem_univ _⟩) |
| 34 | _ ≤ (4 * C.shares * (r+r+1)^4)*Fintype.card Axis := by |
| 35 | rw [Finset.card_product,Finset.card_univ]; exact Nat.mul_le_mul_right _ (nucleated ..) |
| 36 | _ = _ := by rw [show Fintype.card Axis = 4 by decide]; unfold r; ring |
| 37 | |
| 38 | lemma covers_limit (S : StepData c f) (C : Stores S) (x : ℝ) : |
| 39 | (C.limit x).card ≤ Work.E01.volumePrice (2*radiusB x)*C.shares*S.patch.L.val^4 := by |
| 40 | let r := 2*radiusB x |
| 41 | let P := C.limit x |
| 42 | let Y := C.dome r |
| 43 | let T := Site S.patch.L × PlaqAxes |
| 44 | let e (i : Cell f) : Site c × T := (S.ratio.parent i.1,S.ratio.residue i.1, i.2) |
| 45 | have hi : Function.Injective e := by |
| 46 | intro i j H; have hy := Prod.mk.inj H |
| 47 | have he : S.ratio.splitSites i.1 = S.ratio.splitSites j.1 := by rw [← S.ratio.unpack,←S.ratio.unpack,hy.1, (Prod.mk.inj hy.2).1] |
| 48 | exact Prod.ext (S.ratio.splitSites.injective he) (Prod.mk.inj hy.2).2 |
| 49 | have he : P.image e ⊆ (Y ×ˢ (univ : Finset T)) := by |
| 50 | intro u h; obtain ⟨i,hi,rfl⟩ := mem_image.mp h; exact mem_product.mpr ⟨(mem_filter.mp hi).2,mem_univ _⟩ |
| 51 | change P.card ≤ _ |
| 52 | rw [← Finset.card_image_of_injective _ hi] |
| 53 | calc |
| 54 | _ ≤ _ := Finset.card_le_card he |
| 55 | _ = Y.card * (S.patch.L.val^4*Fintype.card PlaqAxes) := by simp [T,site_card] |
| 56 | _ ≤ _ := Nat.mul_le_mul_right _ (nucleated S C r) |
| 57 | _ = _ := by unfold Work.E01.volumePrice r; ring |
| 58 | |
| 59 | -- holes for both coins for THIS Store count |
| 60 | def density (L : Side) (x : ℝ) : ℕ := |
| 61 | (4*4+4*(Fintype.card PlaqAxes)*L.val^4)*(5*(1+radiusB x))^4 |
| 62 | lemma unit_density (S : StepData c f) (C : Stores S) (x : ℝ) : |
| 63 | (C.limit x).card+(C.intern x).card ≤ density S.patch.L x*C.shares := by |
| 64 | apply (Nat.add_le_add (covers_limit S C x) (covers_intern S C x)).trans |
| 65 | unfold Work.E01.volumePrice density |
| 66 | have he : (2*radiusB x+2*radiusB x+1)^4 ≤ (5*(1+radiusB x))^4 := by gcongr; omega |
| 67 | calc |
| 68 | _ ≤ _ := Nat.add_le_add |
| 69 | (Nat.mul_le_mul_right _ (Nat.mul_le_mul_right _ (Nat.mul_le_mul_right _ (Nat.mul_le_mul_left 4 he)))) |
| 70 | (Nat.mul_le_mul_right _ (Nat.mul_le_mul_left (4*4) he)) |
| 71 | _ = _ := by ring |
| 72 | |
| 73 | open Work.E09 |
| 74 | -- Power any. `β.shape²` compared at same hat variable b on both levels. |
| 75 | private lemma monitor_cover (i : ℕ) (L : Side) : |
| 76 | Tendsto (fun x : ℝ => (1+Real.log (betaF G x L))^i / Vac.Numbers.P (betaF G x L)) atTop (𝓝 0) := by |
| 77 | have h : Tendsto (fun v : ℝ => (1+Real.log v)^i/P v) atTop (𝓝 0) := by |
| 78 | let y := fun v : ℝ=> Real.log (Real.log v) |
| 79 | have he : Tendsto y atTop atTop := Real.tendsto_log_atTop.comp Real.tendsto_log_atTop |
| 80 | have hg : Tendsto (fun v => 2^i * Real.exp (-(y v))) atTop (𝓝 0) := by |
| 81 | have hx := (Real.tendsto_exp_neg_atTop_nhds_zero.comp he).const_mul ((2:ℝ)^i) |
| 82 | simpa using hx |
| 83 | refine squeeze_zero' ?_ ?_ hg |
| 84 | · filter_upwards [eventually_gt_atTop 1] with v hv; have := Real.log_pos hv; have hp : 0<P v := Real.exp_pos _; positivity |
| 85 | filter_upwards [he.eventually_ge_atTop ((i:ℝ)+1),Real.tendsto_log_atTop.eventually_ge_atTop 1] with v hh hv |
| 86 | let a:=y v |
| 87 | have ht : 0<Real.log v := zero_lt_one.trans_le hv |
| 88 | change (i:ℝ)+1≤a at hh |
| 89 | unfold P |
| 90 | calc |
| 91 | _ ≤ (2*Real.exp a)^i/Real.exp (a^2) := by rw [Real.exp_log ht]; gcongr; linarith |
| 92 | _ = 2^i*Real.exp ((i:ℝ)*a - a^2) := by rw [mul_pow,←Real.exp_nat_mul,mul_div_assoc,Real.exp_sub] |
| 93 | _ ≤ _ := by |
| 94 | change (2:ℝ)^i * _ ≤ (2:ℝ)^i*_ |
| 95 | gcongr; change (i:ℝ)*a - a^2 ≤ -a; nlinarith [Nat.cast_nonneg (α:=ℝ) i] |
| 96 | exact h.comp (betaF_growth G L) |
| 97 | |
| 98 | private lemma halo_toll (L : Side) (d : ℕ) : |
| 99 | Tendsto (fun x => (density L x : ℝ)*d*(1+Real.log (betaF G x L)) / (Vac.Numbers.P (betaF G x L))) atTop (𝓝 0) := by |
| 100 | let v := fun x => betaF G x L |
| 101 | let C : ℕ := (4*4+4*Fintype.card PlaqAxes*L.val^4)*5^4*3^4 |
| 102 | -- B≈log²; 1+B≤3(log v+1)^2 |
| 103 | have ht (x : ℝ) (hx : 1≤x) : (density L x:ℝ) ≤ C * (1+Real.log (v x))^8 := by |
| 104 | have hb : (radiusB x:ℝ) ≤ (Real.log x)^2 + 1 := (Nat.ceil_lt_add_one (sq_nonneg _)).le |
| 105 | have hx' : x ≤ v x := le_add_of_nonneg_right (Work.E04.shift_nonneg G L) |
| 106 | have hL : 0≤Real.log x := Real.log_nonneg hx |
| 107 | have he := Real.log_le_log (by linarith only [hx]) hx' |
| 108 | have hy : (1:ℝ)+radiusB x ≤ 3*(1+Real.log (v x))^2 := by nlinarith only [hb,hL,he] |
| 109 | unfold C density; push_cast |
| 110 | calc |
| 111 | _ ≤ _ := mul_le_mul_of_nonneg_left (pow_le_pow_left₀ |
| 112 | (show (0:ℝ)≤5*(1+(radiusB x:ℝ)) by positivity) (mul_le_mul_of_nonneg_left hy (a:= (5:ℝ)) (by norm_num)) 4) (by positivity) |
| 113 | _ = _ := by ring |
| 114 | have hg : Tendsto (fun x => (C:ℝ)*d*((1+Real.log (v x))^9/P (v x))) atTop (𝓝 0) := by |
| 115 | have hb := (monitor_cover (G:=G) 9 L).const_mul ((C:ℝ)*d) |
| 116 | simpa only [mul_zero] using hb |
| 117 | refine squeeze_zero' ?_ ?_ hg |
| 118 | · filter_upwards [(betaF_growth G L).eventually_ge_atTop 1] with x hx |
| 119 | have := Real.log_nonneg hx; have hP := Real.exp_pos ((Real.log (Real.log (v x)))^2) |
| 120 | change 0 ≤ _*(1+Real.log (betaF G x L)) / Real.exp _; positivity |
| 121 | filter_upwards [(betaF_growth G L).eventually_ge_atTop 1,eventually_ge_atTop (1:ℝ)] with x hx he |
| 122 | let y := 1+Real.log (v x) |
| 123 | have hy : 0≤y := by dsimp only [y,v]; linarith [Real.log_nonneg hx] |
| 124 | calc |
| 125 | _ ≤ (C:ℝ)*y^8*d*y/P (v x) := div_le_div_of_nonneg_right (mul_le_mul_of_nonneg_right (mul_le_mul_of_nonneg_right (ht x he) (Nat.cast_nonneg _)) hy) (Real.exp_pos _).le |
| 126 | _ = _ := by change _ ≤ _ at hy; unfold y v; ring |
| 127 | |
| 128 | /-- Restoring even all the lost halo links (per seed, conservative count), |
| 129 | out of same grant on intact. -/ |
| 130 | theorem buy_halos (G : Gauge) (δ : ℕ) (L : Side) (κ : ℝ) (hκ : 0<κ) : |
| 131 | ∀ᶠ x : ℝ in atTop, ∀ β : ℝ,betaF G x L/2 ≤ β → β≤2*betaF G x L → |
| 132 | let v := fiery G x L |
| 133 | let τ := Real.sqrt β |
| 134 | Real.exp (-(κ/2)*(β*v^2))*(τ^δ)^density L x ≤ 1 := by |
| 135 | filter_upwards [(halo_toll (G:=G) L (δ)).eventually (ge_mem_nhds (show 0<(κ/4) by positivity)), |
| 136 | (betaF_growth G L).eventually_ge_atTop 4] with x hx he |
| 137 | intro β h hB v τ |
| 138 | let b := betaF G x L |
| 139 | have h4 : 4≤b := he |
| 140 | have hp : 0<β := by change b/2 ≤ β at h; linarith |
| 141 | have ht : 0<τ := Real.sqrt_pos.mpr hp |
| 142 | let p := P b |
| 143 | have hP : 1≤p := Real.one_le_exp (sq_nonneg _) |
| 144 | have hτ : τ ≤ b := by change β ≤ 2*b at hB; nlinarith only [Real.sq_sqrt hp.le,hB,h4,ht] |
| 145 | have hy : Real.log τ ≤ Real.log b := Real.log_le_log ht hτ |
| 146 | let d := (δ) |
| 147 | let n := density L x |
| 148 | rw [show (τ^d)^n=Real.exp (n*(d*Real.log τ)) by rw [Real.exp_nat_mul,Real.exp_nat_mul,Real.exp_log ht],← Real.exp_add] |
| 149 | apply Real.exp_le_one_iff.mpr |
| 150 | have hv : b*v^2=p^2 := by |
| 151 | unfold v fiery temp; rw [mul_pow,inv_pow,Real.sq_sqrt (show 0≤betaF G x L by linarith only [he]),←mul_assoc, show (betaF G x L)=b by rfl,mul_inv_cancel₀ (by linarith),one_mul]; rfl |
| 152 | have he : (density L x:ℝ)*d*(1+Real.log b) ≤ κ/4*p := (div_le_iff₀ (zero_lt_one.trans_le hP)).mp hx |
| 153 | have hd : 0 ≤ (density L x:ℝ)*d := by positivity |
| 154 | change b/2 ≤ β at h |
| 155 | have hT := mul_le_mul_of_nonneg_right h (sq_nonneg v) |
| 156 | unfold n |
| 157 | linarith only [mul_le_mul_of_nonneg_left (show Real.log τ≤1+Real.log b by linarith only [hy]) hd,he, |
| 158 | mul_le_mul_of_nonneg_left (show p≤p^2 by nlinarith only [hP]) hκ.le, mul_le_mul_of_nonneg_left hT hκ.le, |
| 159 | show κ*(b*v^2)=κ*p^2 by rw [hv]] |
| 160 | |
| 161 | theorem cash_holes (G : Gauge) (L : Side) (κ : ℝ) (hκ : 0<κ) : |
| 162 | ∀ᶠ x : ℝ in atTop, ∀ β : ℝ,betaF G x L/2 ≤ β → β≤2*betaF G x L → |
| 163 | let v := fiery G x L |
| 164 | let τ := Real.sqrt β |
| 165 | Real.exp (-(κ/2)*(β*v^2))*(τ^Module.finrank ℝ G.Color)^density L x ≤ 1 := |
| 166 | buy_halos G _ L κ hκ |
| 167 | |
| 168 | end YM.Further.RootedInteractingRemainder.Levy |