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.OPE.Log.Grid |
| 2 | import YM.RG05Readout.Aligned.Lengths |
| 3 | /-! |
| 4 | # Procurement for WM observation geometry |
| 5 | |
| 6 | Λ=2+log(hatBeta) is NOT a power of the physical spacing logarithm and |
| 7 | observations must not be moved by polynomial powers of inverse coupling |
| 8 | at will. `brackets` supplies the spatial capture geometry at the ACTUAL |
| 9 | admitted WM radii, with constants for finite fixed shapes. Need an extra |
| 10 | step relative to the enclosing cell in this version of `Ballet`. Doesn't |
| 11 | yet purchase the analytic (e.g. log-price for the overshoot) bounds then |
| 12 | needed for qpta. The `Plot` estimate is for *aligned* offset in this |
| 13 | first version; scale and hull calculations here useful for both. |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.RG05Readout |
| 18 | open Filter Topology Set Function |
| 19 | open scoped Topology BigOperators ContDiff Classical |
| 20 | variable {ι : Type} {l:Filter ι} {m j:ι→ℕ} {S:Schedule} {T r : ι→ℝ} |
| 21 | open OPE |
| 22 | |
| 23 | private lemma spacing_inf (S:Schedule) (e:ℝ) : ∃ i:ℕ,e < S.scale i:= (S.divergent.eventually_gt_atTop e).exists |
| 24 | |
| 25 | /-- least stop with spacing BELOW a given positive physical length. -/ |
| 26 | def crossLevel (S:Schedule)(r:ℝ):ℕ:= Nat.find (spacing_inf S (-Real.log r)) |
| 27 | |
| 28 | lemma pace_crossing (hp:S.Gentle)(ht:Tendsto T l atTop)(hr:RateIs l T r (-1)) : |
| 29 | let p i:=crossLevel S (r i) |
| 30 | Height S l T p 1 ∧ ∀ᶠ i in l, S.a (p i)< r i ∧ r i ≤ S.a (p i-1):=by |
| 31 | intro p; let a i := -Real.log (r i) |
| 32 | have h : Tendsto r l (𝓝[>] 0) := tendsto_nhdsWithin_iff.mpr ⟨hr.tends neg_one_lt_zero ht, hr.pos⟩ |
| 33 | have he := run_towards h |
| 34 | have hz : Tendsto (fun i=>a i/T i) l (𝓝 1):=by simp only [a,neg_div]; simpa only [neg_neg] using hr.rate.neg -- inspect |
| 35 | have hv(i): a i < S.scale (p i):= Nat.find_spec (spacing_inf S (a i)) |
| 36 | have hξ := found_up he hz S hp |
| 37 | obtain ⟨q,hq,hQ⟩:= hξ |
| 38 | have hx:Tendsto p l atTop:=tendsto_atTop.mpr fun j=>by |
| 39 | filter_upwards [he.eventually_ge_atTop (S.scale j)] with i hi |
| 40 | exact (scale_mono S).le_iff_le.mp (le_trans hi (hv i).le) |
| 41 | constructor |
| 42 | · exact ⟨hx, tendsto_of_tendsto_of_tendsto_of_le_of_le' hz hq.pace |
| 43 | ((ht.eventually_gt_atTop 0).mono (fun i hi=> div_le_div_of_nonneg_right (hv i).le hi.le)) |
| 44 | ((ht.eventually_gt_atTop 0).mono (fun i hi=> div_le_div_of_nonneg_right ((scale_mono S).monotone (show p i ≤ q i from Nat.find_min' _ (hQ i))) hi.le))⟩ |
| 45 | filter_upwards [hr.pos,hx.eventually_gt_atTop 0] with i hi hJ |
| 46 | constructor |
| 47 | · apply (Real.log_lt_log_iff (S.a_pos _) hi).mp |
| 48 | apply neg_lt_neg_iff.mp |
| 49 | rw [← Real.log_inv (S.a (p i))]; exact hv _ |
| 50 | apply (Real.log_le_log_iff hi (S.a_pos _)).mp |
| 51 | apply neg_le_neg_iff.mp; rw [← Real.log_inv] |
| 52 | exact not_lt.mp (Nat.find_min (spacing_inf S (a i)) (show p i-1<p i by omega)) |
| 53 | |
| 54 | variable {G:Gauge} {C:Family G} {X:RG.Levels G} {B M η:ℝ} |
| 55 | open RG |
| 56 | /-- Mast/log convention. -/ |
| 57 | def Lambda (X:Levels G)(m:ℕ):= 2+Real.log (X.clock.hatBeta m) |
| 58 | lemma lambda_gt (X:Levels G)(m:ℕ):2<Lambda X m:=lt_add_of_pos_right _ (Real.log_pos (X.fits.delayed _)) |
| 59 | lemma lambda_growth (hG:G.Simple) (X:Levels G) : Tendsto (Lambda X) atTop atTop:= |
| 60 | tendsto_atTop_add_const_left _ _ (Real.tendsto_log_atTop.comp (Next.Rank.Station.hat_rate _ hG)) |
| 61 | lemma lambda_rate (hG:G.Simple)(ht:Tendsto T l atTop)(hj:Height X.S l T j 1): RateIs l T (fun i=>Lambda X (j i)) 0 := by |
| 62 | -- hat budget from schedule, not from un-hatted representation |
| 63 | have hx : RateLE l T (fun i=> X.clock.hatBeta (j i)) 0 := by |
| 64 | have hr : RateIs l T (fun i=>X.clock.hatBeta (j i)) 0:= by |
| 65 | let u:= X.clock.hatBeta; have he:Tendsto (fun i=>Real.log (u i)/X.S.scale i) atTop (𝓝 0):= (Work.I04.hat_receipt X hG).tendsto_div_nhds_zero |
| 66 | have hp : MergeProof.Ribbons.Note X.S u 0:= ⟨fun i=>zero_lt_one.trans (X.fits.delayed _),he⟩ |
| 67 | exact height0 hp hj |
| 68 | exact hr.pays ht |
| 69 | refine RateIs.of_sandwich (RateIs.const ht two_pos) |
| 70 | ((RateLE.const (2:ℝ) ht).add hx ht) (Eventually.of_forall fun i=> (lambda_gt X _).le) ?_ ht |
| 71 | exact Eventually.of_forall fun i=> add_le_add_right (Real.log_le_self (zero_le_one.trans (X.fits.delayed _).le)) _ |
| 72 | |
| 73 | lemma budgetW (X:Levels G)(m:ℕ): ((X.budget m).B : ℝ) < Lambda X m ^ (2:ℕ):=by |
| 74 | let x:= Real.log (X.clock.hatBeta m) |
| 75 | have hh:0<x:=Real.log_pos (X.fits.delayed _) |
| 76 | refine lt_trans (Nat.ceil_lt_add_one (sq_nonneg x)) ?_ |
| 77 | change x^2 + 1 < ((2+x)^2); linarith only [hh] |
| 78 | |
| 79 | lemma shelf (hG:G.Simple)(hr:0<η)(hh:4<B): ∀ᶠ i in atTop, |
| 80 | 2*((X.budget i).B:ℝ)^2 < η*Lambda X i^B:=by |
| 81 | have hb : Tendsto (fun i=> (Lambda X i)^(B-4)) atTop atTop := |
| 82 | (tendsto_rpow_atTop (sub_pos.mpr hh)).comp (lambda_growth hG X) |
| 83 | filter_upwards [(hb.const_mul_atTop hr).eventually_ge_atTop 2] with i hi |
| 84 | let x:= Lambda X i; have hx:0<x:= zero_lt_two.trans (lambda_gt ..); have he: η*x^(B-4) ≥ 2:=hi |
| 85 | have h₁ : ((X.budget i).B:ℝ) ^ 2 < (x^2)^2:= pow_lt_pow_left₀ (budgetW ..) (Nat.cast_nonneg _) (by decide) |
| 86 | change _ < η*x^B |
| 87 | calc _ < 2*x^(4:ℕ):=(mul_lt_mul_of_pos_left h₁ two_pos).trans_eq (by ring) |
| 88 | _ ≤ η*x^(B-4)*x^(4:ℕ):= mul_le_mul_of_nonneg_right he (pow_nonneg hx.le _) |
| 89 | _ = _ := by |
| 90 | have hk : x^(B-4) * x^(4:ℕ) = x^B:=by |
| 91 | rw [← Real.rpow_natCast, ← Real.rpow_add hx]; norm_num |
| 92 | rw [mul_assoc,hk] |
| 93 | |
| 94 | /-- Observation length *window*. Wrt the schedule hatted beta. -/ |
| 95 | def measured (X:Levels G)(j:ℕ)(r B:ℝ) := X.S.a j * Lambda X j^B ≤ r ∧ r ≤ X.S.a j * Lambda X j^(B+1) |
| 96 | |
| 97 | lemma measured_rate (hG:G.Simple)(ht:Tendsto T l atTop)(hj:Height X.S l T j 1) |
| 98 | (hv:∀ᶠ i in l, measured X (j i) (r i) B) : RateIs l T r (-1):= by |
| 99 | have hi:= lambda_rate hG ht hj |
| 100 | exact RateIs.of_sandwich ((hj.mesh.mul (hi.rpow B)).swap (by ring)) (((hj.mesh.mul (hi.rpow (B+1))).swap (by ring)).pays ht) (hv.mono fun _ hi=> hi.1) (hv.mono fun _ hi=>hi.2) ht |
| 101 | |
| 102 | |
| 103 | namespace Aligned |
| 104 | open MergeProof MergeProof.Accent |
| 105 | variable {I : Type} [Fintype I] {Y:ι→I→ Lattice.Cover} |
| 106 | |
| 107 | /-- Two ancestral cells needed when using `joins`, even though we still |
| 108 | reach the same height. -/ |
| 109 | def captureAt (C:Family G) (M r:ℝ) := crossLevel C.S ((8*M+2)*r)-1-1 |
| 110 | set_option quotPrecheck false |
| 111 | local notation "b₁" => fun i=> captureAt C M (r i) |
| 112 | |
| 113 | lemma brackets (hM:0≤M)(ht:Tendsto T l atTop)(hv:RateIs l T r (-1)) : |
| 114 | Height C.S l T (b₁) 1 ∧ (∀ᶠ i in l, (8*M+2)*r i ≤ C.S.a (captureAt C M (r i)+1) ∧ |
| 115 | C.S.a (captureAt C M (r i)+2)< (8*M+2)*r i) := by |
| 116 | have hi:0<8*M+2:=by linarith only [hM] |
| 117 | obtain ⟨hp,hw⟩:= pace_crossing C.path.levels.fits.mesh ht (((RateIs.const ht hi).mul hv).swap (zero_add _)); let a i:=crossLevel C.S ((8*M+2)*r i) |
| 118 | have hy:= Log.previous ht hp C.path.levels.fits.mesh |
| 119 | refine ⟨Log.previous ht hy C.path.levels.fits.mesh,?_⟩ |
| 120 | filter_upwards [hw,hp.grows.eventually_ge_atTop 2] with i hi he |
| 121 | change 2 ≤ a i at he |
| 122 | change ((8*M+2)*r i ≤ C.S.a (a i-1-1+1)) ∧ C.S.a (a i-1-1+2) < _ |
| 123 | rw [show a i-1-1+2=a i from by omega, show a i-1-1+1=a i-1 from by omega]; exact hi.symm |
| 124 | |
| 125 | omit [Fintype I] in |
| 126 | lemma book {k:ℕ}(hG:G.Simple)(ht:Tendsto T l atTop)(hj:Height C.S l T j 1) |
| 127 | (hr:∀ᶠ i in l, measured C.path.levels (j i) (r i) B) |
| 128 | (hh:4 < B)(hη:0 < η)(hM:0 ≤ M):∀ᶠ i in l, ∀ x:I→ Lattice.Cover, |
| 129 | WithinRoom (r i) M η (C.S.gridPoint (j i) ∘ x) 0 → |
| 130 | Plot C k (b₁ i) (j i) x := by |
| 131 | have hm := measured_rate hG (X:=C.path.levels) ht hj hr |
| 132 | obtain ⟨hK,hU⟩:= brackets (C:=C) hM ht hm |
| 133 | filter_upwards [hr,hK.grows.eventually_ge_atTop k,hm.pos,hU,hj.grows.eventually (shelf (X:=C.path.levels) hG hη hh)] with i he hi hy hA hx x hw |
| 134 | have hX:=hA.1 |
| 135 | let s:= Lambda C.path.levels (j i) |
| 136 | have hu:= lambda_gt C.path.levels (j i) |
| 137 | have hz: 1 < s^B:= Real.one_lt_rpow (one_lt_two.trans hu) (by linarith only [hh]); let a:= C.S.a (j i) |
| 138 | have hv:a < r i:= lt_of_lt_of_le (lt_mul_of_one_lt_right (C.S.a_pos _) hz) he.1 |
| 139 | have hP : r i ≤ (8*M+2)*r i:= le_mul_of_one_le_left hy.le (by linarith only [hM]) |
| 140 | refine ⟨fun a=> ?_, fun u v h=> lt_of_lt_of_le ?_ ((hw.spaced u v h)) ,hi,?_⟩ -- typo relation |
| 141 | · have ha:= hw.span a; rw [sub_zero] at ha; exact ((show 8*‖(C.S.gridPoint (j i) ∘ x) a‖ ≤ 8*(M*r i) from mul_le_mul_of_nonneg_left ha (by norm_num)).trans_lt (show 8*(M*r i) < (8*M+2)*r i from by linarith only [hy])).trans_le hX |
| 142 | · let L:= C.path.levels; have ha:= C.S.a_pos (j i) |
| 143 | have hZ:2*a*((L.budget (j i)).B:ℝ)^2 < η*r i:= by |
| 144 | calc _ = a*(2*((L.budget (j i)).B:ℝ)^2) := by ring |
| 145 | _ < a*(η*s^B):=mul_lt_mul_of_pos_left hx ha |
| 146 | _ = η*(a*s^B):=by ring |
| 147 | _ ≤ _:=mul_le_mul_of_nonneg_left he.1 hη.le |
| 148 | exact hZ |
| 149 | exact (C.S.strictAnti.lt_iff_gt.mp (hv.trans_le (hP.trans hX))).le |
| 150 | |
| 151 | end Aligned |
| 152 | end YM.RG05Readout |