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.FullVolume.Windows |
| 2 | |
| 3 | /-! |
| 4 | # Unextracted probing |
| 5 | |
| 6 | Unlike the period-and-volume argument in Purchases, rank used here |
| 7 | cannot wait for any extraction. Don't lose uniformity in p near the |
| 8 | projection boundaries: these particular real probes fit everywhere. |
| 9 | Venues are epsilon-near free tests at a fixed stopping level. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.FullVolume |
| 14 | open Function Set Filter Metric MeasureTheory Lattice RG Wilson Extraction Extraction.Lease Difference Gaps Cells Next.Rank Next.Rank.Market Push.RelayDifference |
| 15 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff |
| 16 | variable {G:Gauge}{C:Family G}{S:Table C.book}{d : ℕ}{X:Columns C S d} (T:X.Trials) (hm:C.Makes)(hp: Wcmain C) (h:Purchases T) |
| 17 | (k:ℕ)(l:List Axis) |
| 18 | |
| 19 | def boostsAt (c:Fin (X.dim+1))(i:Cutoffs) : C.label d:= T.lift k i.1 i.2 c |
| 20 | |
| 21 | def focus (j : Fin X.amount) (c : Fin (X.dim+1)) := (X.row j).tests (standard C) X.basis (X.basis c) |
| 22 | |
| 23 | include h hm |
| 24 | lemma gaugesFull (ε:ℝ) (hε:0<ε) : |
| 25 | ∀ᶠ k:ℕ in atTop, ∀ᶠ i in mesh, ∀ (j : Fin X.amount) (c : Fin (X.dim+1)), |
| 26 | dist (monitor (siblings T k j) i (Bid.upper C (boostsAt T k c)) (loc T k j i)) (focus (X:=X) j c) < ε:=by |
| 27 | classical |
| 28 | let p k i (j:Fin X.amount) (c: Fin (X.dim+1)):= monitor (siblings T k j) i (Bid.upper C (boostsAt T k c)) (loc T k j i) |
| 29 | let T':= standard C |
| 30 | have he (j : Fin X.amount) (c:Fin (X.dim+1)): ∀ᶠ k:ℕ in atTop,∀ᶠ i in mesh, dist (p k i j c) (focus (X:=X) j c) < ε:=by |
| 31 | have hi:= (T'.class_smooth T' (Maxwell.table_smooth _) (roles X j c)).continuousOn |
| 32 | let x := (X.row j).expected; let F k:= T'.useAt T' (T.tested k j) (roles X j c); have hx:= generic_conf _ (X.row j|>.probes) |
| 33 | have hL : Tendsto F atTop (𝓝 (focus (X:=X) j c)):= by rw [focus,← roles_score]; exact ((hi _ hx).continuousAt ((conf_open _).mem_nhds hx)).tendsto.comp (h.tuned j) |
| 34 | filter_upwards [(h.monitor_tends j c).eventually (gt_mem_nhds (half_pos hε)),Metric.tendsto_nhds.mp hL (ε/2) (half_pos hε)] with k hk hv |
| 35 | filter_upwards [deepen.eventually (h.arrays k)] with i hi |
| 36 | obtain ⟨hK,H⟩:=hi |
| 37 | have hX:= Read.full_cost (N:=i.1) (u:=T.mark k j) (t:=pulse T k i.1 i.2 j c) hm (freed (h.axis k j)) (T.allowed k) (Cells.center C.S i.2 ((T.window k).trans hK) 0) ((H i.2 j c).1) ((H i.2 j c).2) |
| 38 | have hb: p k i j c=C.numeric i.1 i.2 (pulse T k i.1 i.2 j c) (fun u=> location C.S (T.depth k) i.1 i.2 (T.mark k j u)) := by |
| 39 | unfold p; rw [ridge]; unfold lifted |
| 40 | congr 1 |
| 41 | · funext u; refine Fin.cases ?_ (fun u=> ?_) u <;> rfl |
| 42 | funext u; exact loc_wrap T k j i hK u |
| 43 | apply lt_of_le_of_lt (dist_triangle _ (F k) _) |
| 44 | have ha : dist (p k i j c) (F k) < ε/2:= by rw [hb,dist_eq_norm]; exact hX.trans_lt hk |
| 45 | linarith only [ha,hv] |
| 46 | filter_upwards [eventually_all.mpr (fun j => eventually_all.mpr (he j))] with k hk using eventually_all.mpr (fun j=> eventually_all.mpr (hk j)) |
| 47 | |
| 48 | omit h |
| 49 | structure VitalRank : Prop where |
| 50 | shops : Booths T |
| 51 | performance (ε:ℝ)(hε:0<ε): ∀ᶠ k:ℕ in atTop, ∀ᶠ i in mesh, ∀ (j : Fin X.amount) (c : Fin (X.dim+1)), |
| 52 | dist (monitor (siblings T k j) i (Bid.upper C (boostsAt T k c)) (loc T k j i)) (focus (X:=X) j c) < ε |
| 53 | include h in |
| 54 | lemma took : VitalRank T:= ⟨invested T h,gaugesFull T hm h⟩ |
| 55 | variable (h':Booths T) |
| 56 | include hp h' |
| 57 | lemma probesUp {ε:ℝ}(hε:0<ε)(k:ℕ): |
| 58 | ∀ᶠ b:ℝ in 𝓝[>] 0, ∀ᶠ i in mesh, ∀ (j : Fin X.amount) (c:Fin (X.dim+1)), |
| 59 | dist (probe T k i b l (boostsAt T k c i) j) (monitor (siblings T k j) i (Bid.upper C (boostsAt T k c)) (loc T k j i)) ≤ ε := by |
| 60 | obtain ⟨A,hA⟩:= h'.bounded k |
| 61 | let p (j: Fin X.amount)(i:Cutoffs)(c:Fin (X.dim+1)):= monitor (siblings T k j) i (Bid.upper C (boostsAt T k c)) |
| 62 | have hQ(j:Fin X.amount): ∀ᶠ b:ℝ in 𝓝[>] 0, ∀ᶠ i in mesh, ∀ c:Fin (X.dim+1), dist (probe T k i b l (boostsAt T k c i) j) (p j i c (loc T k j i)) ≤ ε:=by |
| 63 | obtain ⟨t,ht,hS⟩:= lobby T h' hm hp k j A ε hε |
| 64 | have hy: ∀ᶠ b:ℝ in 𝓝 0, l.length*(2*b) ≤ t:= (show Continuous (fun b:ℝ=> l.length*(2*b)) by fun_prop).continuousAt.eventually (ge_mem_nhds (by simpa using ht)) |
| 65 | filter_upwards [self_mem_nhdsWithin, hy.filter_mono (nhdsWithin_le_nhds)] with b (hb : b∈Ioi 0) hB |
| 66 | filter_upwards [hS,deepen.eventually_ge_atTop (T.depth k),deepen.eventually (step_upper C.S hb)] with i hi hh hL c |
| 67 | let a:= C.S.a i.1 |
| 68 | rw [probe_eq _ _ _ _ _ (boostsAt T k c)] |
| 69 | apply closer a (steps C.S b i.1) l hL.1 (C.S.a_pos _) (T.realPlace k j) (show a*steps C.S b i.1 ≤2*b from (mul_comm ..).trans_le hL.2.2) (p j i c) |
| 70 | (loc T k j i) (R:=t) |
| 71 | · intro y he |
| 72 | let v:= Fin.cons (α:=fun _ : Fin ((X.row j).extra+1)=> C.label d) (boostsAt T k c i) (fun u=> wisps T k j u i) |
| 73 | unfold p; rw [ridge,ridge]; apply le_of_lt (hi v (fun u=> ?_) y he) |
| 74 | refine Fin.cases ?_ (fun j' => ?_) u |
| 75 | · exact hA _ _ _ |
| 76 | exact hA _ _ _ |
| 77 | rw [loc_tag T k j i hh, dist_self]; linarith |
| 78 | filter_upwards [eventually_all.mpr hQ] with b hb using eventually_all.mpr hb |
| 79 | |
| 80 | lemma siblingsPrice (k : ℕ) (j) : ∃ v:(Fin (X.row j).extra)→ℕ→ℝ, ∀ u, Affords (siblings T k j u) (fun k _=> v u k):=by |
| 81 | obtain ⟨Z,h⟩:= h'.bounded k |
| 82 | choose v hv using fun u => Funded.primaries hm hp (wisps T k j u) (Y:=Z) (Eventually.of_forall fun i=> h i.1 i.2 _) |
| 83 | exact ⟨v,hv⟩ |
| 84 | |
| 85 | /-- detector action at one offset. -/ |
| 86 | lemma warded (k:ℕ)(j):∃ t:ℝ,0<t∧ ∀ (F:Trial C) (u:ℕ→Cutoffs→ℝ), Affords F u → |
| 87 | ∀ᶠ w:ℕ in atTop, ∃ A:ℝ,0≤A ∧ ∀ᶠ i in mesh,∀ x, |
| 88 | dist (tag (C.S.a i.1) x) (T.realPlace k j) ≤ t → ‖monitor (siblings T k j) i F x‖ ≤ u w i*A := by |
| 89 | obtain ⟨t,r,ht,hr,hK⟩:= arena T h' k j; let g:=4*r |
| 90 | have hg : 0<g:=by unfold g; positivity |
| 91 | obtain ⟨v,hV⟩:= siblingsPrice T hm hp h' k j |
| 92 | let H w k:= max 1 (v w k) |
| 93 | refine ⟨t,ht,fun F u hF =>?_⟩ |
| 94 | let E:= Fin.cons (α:=fun _ : Fin ((X.row j).extra+1)=> ℕ→ Cutoffs→ℝ) u (fun i k _=> H i k) |
| 95 | have he i:Affords ((Fin.cons (α:=fun _ : Fin ((X.row j).extra+1)=>Trial C) F (siblings T k j)) i) (E i):=by |
| 96 | refine Fin.cases hF (fun r=> ?_) i; exact (hV r).enlarged (Eventually.of_forall (fun i=> Eventually.of_forall (fun j=> le_max_right ..))) |
| 97 | filter_upwards [cohort hm (Fin.cons F (siblings T k j)) he hg] with w hw |
| 98 | refine ⟨∏ z,H z w,Finset.prod_nonneg (fun _ _=>zero_le_one.trans (le_max_left ..)),?_⟩ |
| 99 | filter_upwards [hw] with i hi x hX; refine le_trans (hi (wrap _ ∘ x) (fun u v huv=>?_)) ?_ |
| 100 | · exact gridSeparation C.S _ rfl (fun l l' he=> ⟨0,hK _ hX i.2 l l' he (0:Axis)⟩) v u huv.symm |
| 101 | rw [Fin.prod_univ_succ]; simp [E] |
| 102 | |
| 103 | /-- Average detector on a difference with an already-funded primary. -/ |
| 104 | lemma invites (k:ℕ): ∀ᶠ b:ℝ in 𝓝[>] 0, |
| 105 | (∀ (F:Trial C), Funded F → (∀ N p x,Continuous (F N p x)) → ∃ v:ℝ,∀ᶠ i in mesh, ‖assay T k i b l (hops F l)‖ ≤ v) ∧ |
| 106 | ∀ (F:Trial C) (u:Cutoffs→ℝ), Owed F u → Tendsto u mesh (𝓝 0) → Tendsto (fun i=> assay T k i b l F) mesh (𝓝 0):=by |
| 107 | classical |
| 108 | choose t ht hT using warded T hm hp h' k |
| 109 | have he j: ∀ᶠ b:ℝ in 𝓝 0, l.length*(2*b) ≤ t j:= |
| 110 | (show Continuous (fun b:ℝ=> l.length*(2*b)) by fun_prop).continuousAt.eventually (ge_mem_nhds (by simpa using ht j)) |
| 111 | filter_upwards [self_mem_nhdsWithin,(eventually_all.mpr he).filter_mono nhdsWithin_le_nhds] with b (hb : b∈Ioi 0) hB |
| 112 | have hv:0<b:=hb |
| 113 | constructor |
| 114 | · rintro F ⟨u,hu⟩ hL |
| 115 | let g:= hops F l |
| 116 | have hW(j:Fin X.amount):∃ A:ℝ, 0≤A∧ ∀ᶠ i in mesh, ‖assay T k i b l g j‖ ≤ A:=by |
| 117 | obtain ⟨w,A,ha,h⟩:= (hT j F _ hu).exists |
| 118 | let a:=(max 0 (u w))*A |
| 119 | have hx:0≤a:=mul_nonneg (le_max_left ..) ha |
| 120 | let Z:= (2/b)^l.length*a |
| 121 | refine ⟨Z,mul_nonneg (by positivity) hx,?_⟩ |
| 122 | filter_upwards [h,deepen.eventually_ge_atTop (T.depth k),deepen.eventually (step_upper C.S hb)] with i hi hd hj |
| 123 | unfold assay g; rw [scores_hops _ _ _ hL (fun j x=> C.continuousO ..)] |
| 124 | have hz:=reserve_abs (C.S.a i.1) (steps C.S b i.1) l hj.1 (C.S.a_pos i.1) (T.realPlace k j) hb hj.2.1 hj.2.2 _ hx (fun x (h':_ ≤ t j)=> le_trans (hi x h') (mul_le_mul_of_nonneg_right (le_max_right _ (u w)) ha)) (loc T k j i) ?_ |
| 125 | · exact hz |
| 126 | rw [loc_tag T _ _ _ hd,dist_self]; linarith [hB j] |
| 127 | choose v H hP using hW |
| 128 | obtain ⟨u,hv,hQ⟩:= ((eventually_ge_atTop (0:ℝ)).and (eventually_all.mpr (fun j=> eventually_ge_atTop (v j)))).exists |
| 129 | refine ⟨u,?_⟩; filter_upwards [eventually_all.mpr hP] with i hi; exact (pi_norm_le_iff_of_nonneg hv).mpr (fun j=> (hi j).trans (hQ j)) |
| 130 | intro F u hF hL |
| 131 | apply tendsto_pi_nhds.mpr |
| 132 | intro j |
| 133 | obtain ⟨w,A,hA,h⟩:= (hT j F _ hF).exists |
| 134 | rw [tendsto_iff_norm_sub_tendsto_zero]; simp only [Pi.zero_apply,sub_zero] |
| 135 | have hp:= hL.mul_const A; rw [zero_mul] at hp |
| 136 | refine squeeze_zero' (Eventually.of_forall (fun i=> norm_nonneg _)) ?_ hp |
| 137 | filter_upwards [h,deepen.eventually_ge_atTop (T.depth k),deepen.eventually (step_upper C.S hb)] with i hi hv ht |
| 138 | apply rounds _ _ l ht.1 (C.S.a_pos _) (T.realPlace k j) (show C.S.a i.1*steps C.S b i.1 ≤ 2*b from (mul_comm ..).trans_le ht.2.2) _ (hi) _ |
| 139 | rw [loc_tag T _ _ _ hv,dist_self]; linarith [hB j] |
| 140 | end YM.FullVolume |