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.RG08.Flat.Curl |
| 2 | import YM.RG08.Packets.Limit |
| 3 | |
| 4 | /-! |
| 5 | # kfalt for the flat Wilson quadratic precision. Full finer limit (arbitrary depth) |
| 6 | |
| 7 | Fix all proof demands in advance. `Spacing` asks only length/plateau and delay inputs in addition |
| 8 | to the already accepted linear `retained_support` plan. Restricted to a single common RG schedule |
| 9 | on a stipulated tail `e` but across all finer cutoffs and all reporting ages there. `k` denotes |
| 10 | reporting scale, `i` the fixed-level output; may also be coarser than k. No period or phase choice |
| 11 | in this limit; the coefficients are those used for unmasked cover bulk before capture/quotient. |
| 12 | |
| 13 | ***Scope*** This file quantifies order zero in the vacuum prescription only. It compares the full |
| 14 | position-space quadratic log-germ coefficient (twice its coefficient if measuring ordered action |
| 15 | bilinear via K; see `Flat.output`, no 1/2, Hessian convention), NOT the off-curl two-form |
| 16 | extension, G, or any positive order or source kernels. Appears in *exactly* the stationary |
| 17 | prescription on each actual formal step, see `embedded` (doesn't require the path metric |
| 18 | extension coincide as long as its orientation contractions do). Later use kbulk for cumulant |
| 19 | iteration will also require the other flat kernels and graph/normalization estimates. |
| 20 | -/ |
| 21 | noncomputable section |
| 22 | namespace YM.RG08.Flat |
| 23 | open Filter Finset Pert.Bulk Laurent Lattice Bloch Stationary Function Matrix RG08.Packets RG08.Rate RG Precision Next.Free Exterior |
| 24 | open scoped Topology ENNReal |
| 25 | |
| 26 | set_option autoImplicit false |
| 27 | variable {G : Gauge} {a : Levels G} {H : Horizon a} {P : MapPrices} |
| 28 | {S : Schedule} {Z : ℕ→ℝ} {w : ℕ→ℝ} {θ : ℝ} {e i : ℕ} |
| 29 | |
| 30 | def clock (S : Schedule)(Z : ℕ→ℝ)(k i : ℕ):= 2+ Z k + |S.scale i-S.scale k| |
| 31 | |
| 32 | structure Spacing (a : Levels G)(P : MapPrices)(Z w:ℕ→ℝ)(θ:ℝ)(e:ℕ) : Prop where |
| 33 | Z_pos k : 0 ≤ Z k |
| 34 | lit j : 0 < w j |
| 35 | narrow j : w j ≤ P.α j |
| 36 | small j : w j ≤ 1 |
| 37 | shared i : e ≤ i → w (a.clock.J i) ≤ bridgeWidth a P i |
| 38 | gain : 0 < θ |
| 39 | paid i : e ≤ i → quote a P i (w (a.clock.J (i+1))) ≤ ((a.S.block i).val:ℝ)^(-θ) |
| 40 | crossing i : e ≤ i → 2*w (a.clock.J i) ≤ (a.S.block i).val * w (a.clock.J (i+1)) |
| 41 | age_cap : ∃ (A:ℝ)(d:ℕ),0≤A ∧ ∀ k j,e≤j → P.Ω (a.clock.J j) ≤ A * clock a.S Z k j^d |
| 42 | |
| 43 | abbrev Road (e : ℕ) := ℕ×(Σ i:{t:ℕ//e≤t}, {n:ℕ//i.val≤n}) |
| 44 | |
| 45 | def berth (a : Levels G) (e:ℕ)(Z:ℕ→ℝ)(hZ:∀ k,0 ≤ Z k): World (Road e) G where |
| 46 | trial _ := a |
| 47 | low _ := e |
| 48 | fine x := x.2.1.val |
| 49 | extra x := x.2.2.val |
| 50 | measure x := x.1 |
| 51 | Z x := Z x.1 |
| 52 | Z_nonneg _ := hZ _ |
| 53 | deep x := x.2.1.property |
| 54 | earlier x := x.2.2.property |
| 55 | |
| 56 | theorem Spacing.funded (hs : Spacing a P Z w θ e)(h:H.Suffices P) : (berth a e Z hs.Z_pos).Funding P w θ := by |
| 57 | refine ⟨hs.lit,hs.narrow,fun x i hi _=> hs.shared _ hi.1,hs.gain,fun x i hi _=> hs.crossing _ hi.1,fun x i hi _=> ?_,?_⟩ |
| 58 | · rw [Rate.Stair.drop_length]; exact hs.paid _ hi.1 |
| 59 | obtain ⟨A,d,hA,hB⟩:= hs.age_cap |
| 60 | refine ⟨Fintype.card Faces*(A+A),d,by positivity,fun x i hi=>?_⟩ |
| 61 | dsimp only; split |
| 62 | · have ht:= Ω_pos h i |
| 63 | change 0 ≤ topTab a P i ∧ topTab a P i ≤ (Fintype.card Faces : ℝ) * (A+A)*clock a.S Z x.1 i^d |
| 64 | unfold topTab |
| 65 | have hr := hB x.1 i hi.1 |
| 66 | exact ⟨by positivity,(mul_le_mul_of_nonneg_left (add_le_add hr hr) (by positivity)).trans_eq (by ring)⟩ |
| 67 | have ht := Rate.Stair.age_big (berth a e Z hs.Z_pos).bar x i |
| 68 | exact ⟨le_rfl,mul_nonneg (by positivity) (pow_nonneg ((le_trans (by norm_num) ht)) _)⟩ |
| 69 | |
| 70 | lemma mesh_sides (S : Schedule) (m:ℕ) : Tendsto (fun n=>(S.side m n).val) atTop atTop := by |
| 71 | refine tendsto_atTop_mono (f:=fun i=>(S.period i).val) (fun i=>?_ ) S.period_strict.tendsto_atTop |
| 72 | exact Nat.le_mul_of_pos_right _ (S.denominator m).pos |
| 73 | |
| 74 | /-- Quantitative row UV convergence, under adjacent-stage schedule data. -/ |
| 75 | theorem meshed (hs : Spacing a P Z w θ e) (h : H.Suffices P) |
| 76 | (hp : ∀ (i N:ℕ), e ≤ i → i<N → (H.towers N i).T=((destination a N i).duo a.clock.kernel.penalty).T) : |
| 77 | let y i := w (a.clock.J i) |
| 78 | ∃ (A:ℝ) (d:ℕ) (c:ℝ), 0≤A ∧ 0<c ∧ |
| 79 | ∀ (k i N n:ℕ), e ≤ i → i≤N → N≤n → RowCost (y i) 1 (fun x z=> output (H.H n i) x z-output (H.H N i) x z) |
| 80 | (A*clock a.S Z k i^d * ((a.S.a N/a.S.a i)^c)) := by |
| 81 | intro y |
| 82 | let W := berth a e Z hs.Z_pos |
| 83 | let M (x:Road e):Horizon (W.trial x):=H |
| 84 | have hρ : World.Provides M P := ⟨fun _=>h,fun _ i=>hp i _⟩ |
| 85 | obtain ⟨K,A,d,c,hA,hC,Hr⟩:= World.overlap hρ (hs.funded h) |
| 86 | refine ⟨sumToken*A,d,c,mul_nonneg sumToken_pos hA,hC,fun k i N n hi hIN hN =>?_⟩ |
| 87 | let x : Road e := (k, ⟨⟨N,hi.trans hIN⟩,n,hN⟩) |
| 88 | have hr := Hr x i (show W.bar.Here x i from ⟨hi,hIN⟩) |
| 89 | change FlatRep H N n i (y i) (A * clock a.S Z k i^d * ((a.S.a N/a.S.a i)^c)) (K x i) at hr |
| 90 | let B := H.H n i; let D:=H.H N i |
| 91 | have hq := Ω_pos h i |
| 92 | have ht := hs.narrow (a.clock.J i) |
| 93 | have hv : 0 < y i:= hs.lit _ |
| 94 | have hw : y i ≤ 1:= hs.small _ |
| 95 | let s := P.Ω (a.clock.J i) |
| 96 | have he : B.metric.strip (y i) s := fun u z=> ((h.rows n i (hIN.trans hN)).2.1 u z).mono ht le_rfl |
| 97 | have hh : D.metric.strip (y i) s := fun u z=> ((h.rows N i hIN).2.1 u z).mono ht le_rfl |
| 98 | have hΛ : 2≤ clock a.S Z k i := Rate.Stair.age_big W.bar x i |
| 99 | have hK:0≤ A * clock a.S Z k i^d * ((a.S.a N/a.S.a i)^c) := by |
| 100 | have ht := a.S.a_pos N; have hg := a.S.a_pos i; have hr:0≤clock a.S Z k i:= le_trans (by norm_num) hΛ; positivity |
| 101 | convert (resolve (K:=K x i) (mesh_sides a.S i) hr.here he hh hq hv.le hw hr.declared hv.le hw hK).2 using 1; ring |
| 102 | |
| 103 | private def meshE (σ : ℝ) : Expense (J:=Market Links × Links) (fun _=>Cover):= fun z x=> σ*delta (1:Side) z.1.1 x |
| 104 | |
| 105 | /-- In the same width (no output-to-topology count-dependent loss). Gives every fixed |
| 106 | position-moment under finite further width discount; address/field-free. -/ |
| 107 | theorem supplies (hs : Spacing a P Z w θ e) (h : H.Suffices P) |
| 108 | (hp : ∀ (i N:ℕ), e ≤ i → i<N → (H.towers N i).T=((destination a N i).duo a.clock.kernel.penalty).T) : |
| 109 | let y i := w (a.clock.J i) |
| 110 | ∃ (F:ℕ→Kernel Links Links)(A B:ℝ)(d l:ℕ)(c:ℝ), 0≤A ∧ 0≤B ∧ 0<c ∧ ∀ k i, e ≤ i → |
| 111 | RowCost (y i) 1 (F i) (B * clock a.S Z k i^l) ∧ |
| 112 | (∀ m z,Tendsto (fun n=> output (H.H n i) m z) atTop (𝓝 (F i m z))) ∧ |
| 113 | ∀ N,i≤N → RowCost (y i) 1 (fun x z=> output (H.H N i) x z-F i x z) (A * clock a.S Z k i^d * ((a.S.a N/a.S.a i)^c)) := by |
| 114 | intro y |
| 115 | obtain ⟨A,d,c,hA,hc,Hc⟩:=meshed hs h hp |
| 116 | obtain ⟨B,l,hB,Hb⟩:=hs.age_cap |
| 117 | let u (k i N) := A * clock a.S Z k i^d * ((a.S.a N/a.S.a i)^c) |
| 118 | let v (k i) := sumToken*Fintype.card Faces*(B*clock a.S Z k i^l) |
| 119 | let R i n := output (H.H n i) |
| 120 | have ht i k (hi:e ≤ i) : ∃ F, RowCost (y i) 1 F (v k i) ∧ |
| 121 | (∀ m z,Tendsto (fun n=> R i n m z) atTop (𝓝 (F m z))) ∧ |
| 122 | ∀ N,i≤N → RowCost (y i) 1 (fun x z=> R i N x z-F x z) (u k i N) := by |
| 123 | let D (n:ℕ) (z:Market Links × Links) (x:Cover) := R i n z.1 (x,z.2) |
| 124 | have hU : Tendsto (u k i) atTop (𝓝 0) := by |
| 125 | have ht := a.S.shrinks.div_const (a.S.a i) |
| 126 | have hu := ht.rpow (tendsto_const_nhds (x:=c)) (Or.inr hc) |
| 127 | simpa only [u,_root_.zero_div,Real.zero_rpow hc.ne',mul_zero] using hu.const_mul (A*clock a.S Z k i^d) |
| 128 | have hq : 0 ≤ y i:= (hs.lit _).le |
| 129 | have hX : ∀ n m, i ≤ n → n ≤ m → Ticket (meshE (y i)) (fun z x=>D n z x - D m z x) (u k i n) := fun n m hn hm z=> by |
| 130 | have h := Hc k i n m hi hn hm z.1 z.2 |
| 131 | convert h using 1 |
| 132 | apply tsum_congr; intro x |
| 133 | rw [stamp_real, bill,bill,abs_sub_comm] |
| 134 | rfl |
| 135 | have hu (N:ℕ) : 0 ≤ u k i N := by |
| 136 | have hz := a.S.a_pos N; have hm:=a.S.a_pos i |
| 137 | have hk:=hs.Z_pos k; unfold u clock; positivity |
| 138 | have hr n (hn:i ≤ n): Ticket (meshE (y i)) (D n) (v k i):= fun z=> by |
| 139 | change (∑' x,stamp (R i n z.1 (x,z.2)) _) ≤ _ |
| 140 | simp_rw [stamp_real] |
| 141 | obtain ⟨HA,-⟩:=output_cost (Y:=H.H n i) (p:=P.Ω (a.clock.J i)) (σ:=y i) |
| 142 | (fun x z=> ((h.rows n i hn).2.1 x z).mono (hs.narrow _) le_rfl) (Ω_pos h i) hq (hs.small _) |
| 143 | apply (HA z.1 z.2).trans |
| 144 | apply ENNReal.ofReal_le_ofReal |
| 145 | unfold v |
| 146 | rw [mul_assoc] |
| 147 | have ht := sumToken_pos |
| 148 | gcongr; exact Hb k i hi |
| 149 | obtain ⟨V,hT,H',HH⟩:= solvent (K:=D) i (fun j x=>mul_nonneg hq (delta_nonneg ..)) hU hX (fun N _=> hu N) _ ((eventually_ge_atTop i).mono hr) |
| 150 | refine ⟨fun m z=> V (m,z.2) z.1,?_,fun m z=>hT (m,z.2) z.1,?_⟩ |
| 151 | · intro m z |
| 152 | simpa only [meshE,earning,stamp_real] using HH (m,z) |
| 153 | intro N hn m z |
| 154 | simpa only [meshE,earning,D,stamp_real] using H' N hn (m,z) |
| 155 | classical |
| 156 | choose Y hg hz hv using fun (i : { i // e ≤ i}) k=> ht i.val k i.property |
| 157 | have Hj (i : { i // e ≤ i}) k : Y i 0 = Y i k := funext fun m=>funext fun z=> tendsto_nhds_unique (hz i 0 m z) (hz i k m z) |
| 158 | refine ⟨fun i=> if he:e ≤ i then Y ⟨i,he⟩ 0 else 0,A,sumToken*Fintype.card Faces*B,d,l,c,hA, mul_nonneg (mul_nonneg sumToken_pos (Nat.cast_nonneg _)) hB,hc,?_⟩ |
| 159 | intro k i he |
| 160 | dsimp only |
| 161 | rw [dif_pos he,Hj _ k] |
| 162 | have hh : sumToken*Fintype.card Faces*B*clock a.S Z k i^l = v k i := by unfold v; ring |
| 163 | rw [hh] |
| 164 | exact ⟨hg ⟨i,he⟩ k,hz ⟨i,he⟩ k,hv ⟨i,he⟩ k⟩ |
| 165 | end YM.RG08.Flat |