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.UV_STRESS.Glide |
| 2 | |
| 3 | /-! |
| 4 | # The two-regime quantitative receipts imply the true Station estimates |
| 5 | |
| 6 | Intensity costs per **finite basis** and power determined by arity. Lift |
| 7 | operators need not be contractions etc. No schedule sufficiency inferred. |
| 8 | -/ |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.Next.UVStress |
| 12 | open Function Set Filter MeasureTheory Extraction Climb Ward Table Cells |
| 13 | open scoped Topology ContDiff BigOperators |
| 14 | variable {G : Gauge} {C : Family G} {S : Table C.book} {F : Extraction.Order} |
| 15 | variable {D N n : ℕ} {R : ℝ} {t : Caps n} |
| 16 | |
| 17 | structure RA (W : ℕ → Wheel C D) (F : Extraction.Order) (H : (Bel C.book).RealSpin) : Prop where |
| 18 | grants : ∀ᶠ k in atTop, ∃ A : ℝ, F.late fun N p => ‖(W k).atCut (N,p)‖ ≤ A |
| 19 | central : ∀ᶠ k in atTop,F.late fun N p => (W k).atCut (N,p) (⟨0,Nat.succ_pos D⟩ : Fin (D+1)) ((Bel C.book).unit 0) = C.book.scalar 0 |
| 20 | real : ∀ᶠ k in atTop,F.late fun N p => ∀ (i : Fin (D+1)) v, (W k).atCut (N,p) i ((Bel C.book).conj H i v) = star ((W k).atCut (N,p) i v) |
| 21 | h_symm : ∀ᶠ k in atTop,F.late fun N p => ∀ (i : Fin (D+1)) s v, |
| 22 | (W k).atCut (N,p) i ((Bel C.book).mirror H i s v) = C.book.mirrorGroup i s ((W k).atCut (N,p) i v) |
| 23 | |
| 24 | abbrev record (C : Family G) (t : Caps n) := Code fun i => (Bel C.book).Field (t i) |
| 25 | |
| 26 | def depthWord (t : Caps n) (p : record C t) : Ribbon (Bel C.book) t := combination _ p |
| 27 | |
| 28 | /-- One regime prices both size and interpolation. `Balances.on_`/`off` etc in Balances |
| 29 | apply *without* assuming any one local limit is already read for W. -/ |
| 30 | structure Granular (W : ℕ → Wheel C D) (F : Extraction.Order) (H : (Bel C.book).RealSpin) |
| 31 | (N : ℕ) (R : ℝ) : Prop extends RA W F H where |
| 32 | small : Tendsto (fun k => (W k).r) atTop (𝓝 0) |
| 33 | proof_ (n : ℕ) (hn : n ≤ N) (t : Caps n) (hu : ∀ i, t i≤D) (x : record C t) : |
| 34 | ∃ e A B, Balances W F R hu (depthWord t x) e A B |
| 35 | |
| 36 | lemma Granular.upon {W : ℕ → Wheel C D} {H} (h : Granular W F H N R) (f : Extraction.Order) : |
| 37 | Granular W (F.refine f) H N R where |
| 38 | small := h.small |
| 39 | grants := h.grants.mono fun i hi => ⟨hi.choose, F.late_refine f hi.choose_spec⟩ |
| 40 | central := h.central.mono fun i hi => F.late_refine f hi |
| 41 | real := h.real.mono fun i hi => F.late_refine f hi |
| 42 | h_symm := h.h_symm.mono fun i hi => F.late_refine f hi |
| 43 | proof_ n hn t hu x := by |
| 44 | obtain ⟨e,A,B,hB⟩ := h.proof_ n hn t hu x; exact ⟨e,A,B,hB.upon W f⟩ |
| 45 | |
| 46 | private lemma bounded_code (t : Caps n) : ∃ A : ℝ,0<A ∧ ∀ w : Ribbon (Bel C.book) t, |
| 47 | (∑ j : record C t, ‖coords _ j w‖) ≤ A * Station.charge (hang t w) := by |
| 48 | let S (i) := (Bel C.book).Field (t i) |
| 49 | let B (j : record C t) i := LinearMap.toContinuousLinearMap ((Module.finBasis ℂ (S i)).coord (j i)) |
| 50 | let U (j : record C t) := ∏ i, ‖B j i‖ |
| 51 | refine ⟨(∑ j, U j)+1,add_pos_of_nonneg_of_pos (Finset.sum_nonneg (fun i _ => by unfold U; positivity)) zero_lt_one,fun w => ?_⟩ |
| 52 | have hs (j : record C t) : ‖coords _ j w‖ ≤ U j * Station.charge (hang t w) := by |
| 53 | rw [coords,norm_prod,Station.charge]; unfold U |
| 54 | rw [← Finset.prod_mul_distrib]; exact Finset.prod_le_prod (fun i _ => norm_nonneg _) fun i _ => (B j i).le_opNorm (w i) |
| 55 | apply le_trans (Finset.sum_le_sum (fun i _ => hs i)) |
| 56 | rw [← Finset.sum_mul]; exact mul_le_mul_of_nonneg_right (by linarith) (show 0 ≤ ∏ i : Fin n, ‖w i‖ by positivity) |
| 57 | |
| 58 | private lemma errors_total (W : Station C D) (hh : ∀ i,t i ≤ D) (hP : (Bel C.book).Smooth) (w : Ribbon (Bel C.book) t) |
| 59 | (T : Test n) (N p : ℕ) : W.paid (hang t w) hh T N p- T.applyTo (disc (hang t w)) = |
| 60 | ∑ j : record C t, coords _ j w * (W.paid (hang t (depthWord t j)) hh T N p - T.applyTo (disc (hang t (depthWord t j)))) := by |
| 61 | let g j := depthWord (C:=C) t j |
| 62 | let A (z : Ribbon (Bel C.book) t) := W.paid (hang t z) hh T N p |
| 63 | let B (z : Ribbon (Bel C.book) t) := disc (hang t z) |
| 64 | have ht : T.applyTo (B w)= ∑ j : record C t, coords _ j w * T.applyTo (B (g j)) := by |
| 65 | have he' : B w = fun x => ∑ j : record C t, coords _ j w * B (g j) x := |
| 66 | funext fun x => basis_tuple _ _ ((Bel C.book).classMoment (Bel C.book) t x) |
| 67 | rw [he']; unfold Test.applyTo; simp_rw [Finset.mul_sum] |
| 68 | have hp (j : record C t) (x : Points n) : T x * (coords _ j w * B (g j) x)=coords _ j w * (T x * B (g j) x) := by ring |
| 69 | simp_rw [hp,← integral_const_mul]; exact integral_finsetSum _ fun j _ => |
| 70 | (T.smearing (smoothDisc (T:=Bel C.book) hP (hang t (g j))).continuousOn).const_mul _ |
| 71 | let T' := dilate W.rad T |
| 72 | let M := (((C.S.a N : ℂ)^(4*n)) • ∑ r : Fin n → Lattice.Site (C.side N p), T' (Order.cells C N p r) • C.ensemble t r).compLinearMap |
| 73 | fun i => (W.atCut (N,p) ⟨t i,Nat.lt_succ_of_le (hh i)⟩).toLinearMap |
| 74 | have he (x : Ribbon (Bel C.book) t) : A x = M x := by |
| 75 | simp only [M, MultilinearMap.compLinearMap_apply, _root_.smul_apply,_root_.sum_apply, smul_eq_mul] |
| 76 | rfl |
| 77 | change A w-T.applyTo (B w)=∑ j : record C t, coords _ j w * (A (g j)-T.applyTo (B (g j))) |
| 78 | simp_rw [mul_sub, Finset.sum_sub_distrib, ht,he] |
| 79 | rw [basis_tuple _ w M]; rfl |
| 80 | |
| 81 | section |
| 82 | variable {a : (Bel C.book).RealSpin} |
| 83 | variable (W : ℕ→ Wheel C D) (h : Granular W F a N R) |
| 84 | variable (hS : F.Ordered C S) (hs : S.Smooth) (hC : C.Makes) (ht : F.PointLimits C S) (hm : (Bel C.book).Smooth) |
| 85 | variable (hR : 0<R) (ε : ℝ) (he : 0<ε) |
| 86 | include h hS hs ht hC hm hR he |
| 87 | |
| 88 | lemma pay_word (t : Caps n) (hn : n ≤ N) (hu : ∀ i, t i ≤ D) : |
| 89 | ∀ᶠ k in atTop, ∀ w : Ribbon (Bel C.book) t, ∀ f : Test n, tsupport f ⊆ Scaling.window R n → |
| 90 | ∀ M : ℝ,0<M → (∀ x, ‖f x‖ ≤ M) → F.upper |
| 91 | (fun N p => ‖(W k).paid (hang t w) hu f N p - f.applyTo (disc (hang t w))‖) (ε*Station.charge (hang t w)*M) := by |
| 92 | obtain ⟨A,hA,hB⟩ := bounded_code (C:=C) t |
| 93 | have hp (j : record C t) : ∀ᶠ k in atTop, ∀ f : Test n, tsupport f ⊆ Scaling.window R n → |
| 94 | ∀ M : ℝ, 0 < M → (∀ x, ‖f x‖ ≤ M) → F.upper |
| 95 | (fun N p => ‖(W k).paid (hang t (depthWord t j)) hu f N p-f.applyTo (disc (hang t (depthWord t j)))‖) (M*(ε/A)) := by |
| 96 | obtain ⟨e,a,b,he'⟩ := h.proof_ n hn t hu j; exact cutoff_balance W hC hR ht hs hm hu _ he' hS h.grants _ (by positivity) |
| 97 | filter_upwards [eventually_all.mpr hp] with k hk w f hf M hM hv η hη |
| 98 | let b (j : record C t) := coords _ j w |
| 99 | let q (u : ℕ×ℕ) (v : Ribbon (Bel C.book) t) := (W k).paid (hang t v) hu f u.1 u.2 - f.applyTo (disc (hang t v)) |
| 100 | let r := Station.charge (hang t w) |
| 101 | let P := ∑ j,‖b j‖ |
| 102 | have hP : 0≤P := by unfold P; positivity |
| 103 | let δ := η/(1+P) |
| 104 | have hd : 0 < δ := by unfold δ; positivity |
| 105 | change ∀ᶠ i in F.fuse, ‖q i w‖ ≤ _ |
| 106 | have ht : ∀ᶠ i in F.fuse, ∀ j, ‖q i (depthWord t j)‖ ≤ M*(ε/A)+δ := eventually_all.mpr |
| 107 | fun (j : record C t) => hk j f hf M hM hv _ hd |
| 108 | filter_upwards [ht] with i hi |
| 109 | have hh : P*δ ≤ η := le_trans (mul_le_mul_of_nonneg_right (by linarith) hd.le) (show (1+P)*δ ≤ η by |
| 110 | unfold δ; rw [mul_div_cancel₀ _ (by linarith)]) |
| 111 | calc |
| 112 | _ = ‖∑ j : record C t,b j * q i (depthWord t j)‖ := congr_arg norm (errors_total _ hu hm w ..) |
| 113 | _ ≤ _ := (norm_sum_le ..).trans (by |
| 114 | calc |
| 115 | _ ≤ P*(M*(ε/A)+δ) := by |
| 116 | unfold P; rw [Finset.sum_mul]; exact Finset.sum_le_sum (fun j _ => by rw [norm_mul]; gcongr; exact hi j) |
| 117 | _ ≤ (A*r * (M*(ε/A))) + η := by rw [mul_add]; exact add_le_add (mul_le_mul_of_nonneg_right (hB w) (by positivity)) hh |
| 118 | _ = _ := by unfold r; field_simp) |
| 119 | |
| 120 | /-- Pay at *all* t and w, genuinely uniform one station. -/ |
| 121 | theorem supply_wheel : ∀ᶠ k in atTop, (W k).toStation.Admissible F a N R ε := by |
| 122 | have hp (n : Fin (N+1)) (t : Fin n → Fin (D+1)) := pay_word W h hS hs hC ht hm hR ε he (fun i : Fin n => (t i).val) |
| 123 | (Nat.le_of_lt_succ n.isLt) (fun i => Nat.le_of_lt_succ (t i).isLt) |
| 124 | filter_upwards [h.grants,h.central,h.real,h.h_symm,eventually_all.mpr fun n => eventually_all.mpr (hp n)] with i hi hc hr hx hh |
| 125 | refine ⟨hi,hc,hr,hx,fun {n} hu v hu' => ?_⟩ |
| 126 | let b : Fin (N+1) := ⟨n,Nat.lt_succ_of_le hu⟩ |
| 127 | let t (i : Fin n) : Fin (D+1) := ⟨(v i).1,Nat.lt_succ_of_le (hu' i)⟩ |
| 128 | exact hh b t (fun j => (v j).2) |
| 129 | end |
| 130 | |
| 131 | /-- Real weak estimate production, conditional quantitative prices. Not |
| 132 | proving from Seed some assumed scheduling inequality for the Wilson beta path. |
| 133 | Call `foundation` with this. -/ |
| 134 | theorem realizes_stations (hC : C.Makes) (ht : F.PointLimits C S) (hS : F.Ordered C S) (hs : S.Smooth) |
| 135 | (hm : (Bel C.book).Smooth) (a : (Bel C.book).RealSpin) |
| 136 | (estimate : ∀ (N D : ℕ) (R : ℝ), 1 ≤ R → ∃ W : ℕ → Wheel C D, Granular W F a N R) : Stations C F a where |
| 137 | arbitrarily D N R ε δ hr he hd := by |
| 138 | obtain ⟨W,hW⟩ := estimate N D R hr |
| 139 | obtain ⟨k,hk,H⟩ := ((supply_wheel W hW hS hs hC ht hm (by linarith) ε he).and (hW.small.eventually (ge_mem_nhds hd))).exists |
| 140 | exact ⟨(W k).toStation,hk,H⟩ |
| 141 | end YM.Next.UVStress |