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.BOUNDARY.Coordinates |
| 2 | import YM.Next.FOUNDATIONS.SU2 |
| 3 | import YM.Next.FREE_KERNELS.Lifts |
| 4 | import YM.Next.FREE_KERNELS.Traffic |
| 5 | import YM.Next.SCHEDULE.Postal |
| 6 | import YM.Progress.STATIONARY_SCENES.Frames |
| 7 | |
| 8 | /-! |
| 9 | # Quantitative spending of the stationary scene |
| 10 | |
| 11 | Show uniform localization of the TRUE linear |
| 12 | response of the nonlinear critical branches supplied here (every tree), |
| 13 | beyond the F04 ticket. Important because coming from a finite-period IFT |
| 14 | by itself would not even price the linear tangent uniformly in the period. A discrepancy from a coarse source at scaled distance kept in the row |
| 15 | weights (torus native fine-site max-distance over L). Pre-L price (including |
| 16 | the tree and rooted `psi` part for which this proof pays $C_J$, not $C_J/L$). Use accepted estimates on the concrete free horizons. Doesn't price higher |
| 17 | jet derivatives, claim measure influence or price every Laurent/higher admin. |
| 18 | -/ |
| 19 | set_option autoImplicit false |
| 20 | noncomputable section |
| 21 | namespace YM.Progress.StationaryScenes |
| 22 | |
| 23 | open Filter Lattice RG RG.Supply Wilson Precision Bid Tree Function Matrix Exterior Bloch Laurent |
| 24 | open YM.Next.Free |
| 25 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators |
| 26 | |
| 27 | namespace Response |
| 28 | variable {G : Gauge} {c f : Side} |
| 29 | |
| 30 | /-- Uniform geometric payments in the *fine* lattice. -/ |
| 31 | lemma by_one (z : Site f) (b : Step) : |
| 32 | separation z (z+b.vec) ≤ 1 ∧ separation z (b.used z).1 ≤ 1 := by |
| 33 | have h : separation z (z+b.vec) ≤ 1 := by |
| 34 | rw [separation_comm,separation, add_comm,add_sub_cancel_right, Step.vec]; split |
| 35 | · rw [pdist_neg]; exact pdist_step _ |
| 36 | exact pdist_step _ |
| 37 | refine ⟨h,?_⟩ |
| 38 | unfold Step.used; split |
| 39 | · next he => simpa [Step.vec,he,sub_eq_add_neg] using h |
| 40 | simp |
| 41 | |
| 42 | /-- Local integralLink bill on physical reads, increments counted in fine |
| 43 | units even if winding. Also usable for arbitrary tree hikes. -/ |
| 44 | lemma integral_near (v : form 1 f) (x y : Site f) (w : Walk) (r : ℕ) (C : ℝ) |
| 45 | (h : ∀ z : Body 1 f, separation x z.1 ≤ r → |v z| ≤ C) |
| 46 | (hw : separation x y + w.length ≤ r) : |integralLink y w v| ≤ w.length*C := by |
| 47 | induction w generalizing y with |
| 48 | | nil => simp [integralLink,linkSum] |
| 49 | | cons b l ih => |
| 50 | obtain ⟨hh,hg⟩ := by_one y b |
| 51 | have hr := separation_triangle x y (y+b.vec) |
| 52 | have ht := separation_triangle x y (b.used y).1 |
| 53 | have he := h ((b.used y).1,coord (b.used y).2) (show separation x (b.used y).1 ≤ r by |
| 54 | rw [List.length_cons] at hw; omega) |
| 55 | have hi := ih (y+b.vec) (show separation x (y+b.vec)+l.length ≤ r by |
| 56 | rw [List.length_cons] at hw; omega) |
| 57 | rw [List.length_cons,Nat.cast_add,Nat.cast_one,add_mul,one_mul,add_comm (l.length*C) C] |
| 58 | change |(if _ then _ else _) + integralLink _ l v| ≤ _ |
| 59 | refine (abs_add_le ..).trans (add_le_add ?_ hi); split |
| 60 | · rw [abs_neg]; exact he |
| 61 | exact he |
| 62 | |
| 63 | section tree |
| 64 | variable (S : StepData c f) |
| 65 | local notation "L" => S.ratio.count.val |
| 66 | local notation "r₀" => S.patch.radius |
| 67 | |
| 68 | lemma lengths (a b : S.patch.Points) (o : Lattice.Order) : |
| 69 | (route a.val b.val o).length ≤ 8*r₀ := by |
| 70 | have hf (l : List Axis) : (axisRoute a.val b.val l).length ≤ l.length*(2*r₀) := by |
| 71 | induction l with |
| 72 | | nil => simp [axisRoute] |
| 73 | | cons x l ih => |
| 74 | rw [show axisRoute a.val b.val (x::l) = straight x (b.val x - a.val x) ++ axisRoute a.val b.val l from rfl, |
| 75 | List.length_append,List.length_cons,Nat.add_mul, one_mul] |
| 76 | obtain ⟨hl,hu⟩ := box_test.mp a.property |
| 77 | obtain ⟨hl',hu'⟩ := box_test.mp b.property |
| 78 | specialize hl x; specialize hu x; specialize hl' x; specialize hu' x |
| 79 | rw [add_comm] |
| 80 | refine Nat.add_le_add ih ?_ |
| 81 | unfold straight; rw [List.length_replicate]; omega |
| 82 | apply le_trans (hf (allAxes o)) |
| 83 | simp [allAxes]; omega |
| 84 | |
| 85 | /-- Footprint bound for `atPoint` paths. -/ |
| 86 | lemma at_point (y : Site c) (z : S.patch.Points) : |
| 87 | separation (S.ratio.embed y) (atPoint S y z) ≤ 4*r₀ := by |
| 88 | rw [separation_comm,separation,atPoint,add_sub_cancel_right] |
| 89 | apply le_trans (within_size z.val f) |
| 90 | unfold size |
| 91 | refine le_trans (b := ∑ _i : Axis, r₀) (Finset.sum_le_sum ?_) ?_ |
| 92 | · intro i _ |
| 93 | obtain ⟨hl,hr⟩ := box_test.mp z.property |
| 94 | specialize hl i; specialize hr i; omega |
| 95 | simp [Axis] |
| 96 | |
| 97 | private lemma average {X : Type} [Fintype X] [Nonempty X] (a : X → ℝ) (C : ℝ) |
| 98 | (h : ∀ i, |a i| ≤ C) : |(Fintype.card X : ℝ)⁻¹ * ∑ i, a i| ≤ C := by |
| 99 | rw [abs_mul,abs_of_nonneg (inv_nonneg.mpr (by positivity))] |
| 100 | have he : |∑ i, a i| ≤ Fintype.card X*C := by |
| 101 | refine le_trans ((Finset.abs_sum_le_sum_abs ..).trans |
| 102 | (Finset.sum_le_sum (g := fun _ => C) (fun i _ => h i))) ?_ |
| 103 | rw [Finset.sum_const,Finset.card_univ,nsmul_eq_mul] |
| 104 | have hf : 0 < (Fintype.card X : ℝ) := by exact_mod_cast Fintype.card_pos |
| 105 | exact (mul_le_mul_of_nonneg_left he (by positivity)).trans_eq (inv_mul_cancel_left₀ hf.ne' _) |
| 106 | |
| 107 | /-- `ψ` bill (root of the actual Q). -/ |
| 108 | lemma psi (v : form 1 f) (x : Site f) (y : Site c) (t : ℕ) (B : ℝ) (hB : 0 ≤ B) |
| 109 | (h : ∀ z : Body 1 f, separation x z.1 ≤ t → |v z| ≤ B) |
| 110 | (hh : separation x (S.ratio.embed y) + 12*r₀ ≤ t) : |
| 111 | |(fixRoot S *ᵥ v) (y,vac)| ≤ 16*r₀*B := by |
| 112 | let M : ℝ := 8*r₀*B |
| 113 | have ha (a : S.patch.Points) : |tau S y a v| ≤ M := by |
| 114 | unfold tau |
| 115 | simp only [LinearMap.smul_apply, LinearMap.neg_apply, LinearMap.sum_apply, smul_eq_mul, abs_neg] |
| 116 | refine average _ _ fun b => average _ _ fun i => ?_ |
| 117 | have hf := at_point S y a |
| 118 | have hl := lengths S a b i |
| 119 | have hx := separation_triangle x (S.ratio.embed y) (atPoint S y a) |
| 120 | refine (integral_near v x (atPoint S y a) _ t _ h (by omega)).trans ?_ |
| 121 | apply mul_le_mul_of_nonneg_right _ hB |
| 122 | exact_mod_cast hl |
| 123 | have he : |∑ b, S.patch.weight b * tau S y b v| ≤ M := by |
| 124 | calc |
| 125 | _ ≤ ∑ b, |S.patch.weight b * tau S y b v| := Finset.abs_sum_le_sum_abs .. |
| 126 | _ ≤ ∑ b : S.patch.Points, S.patch.weight b * M := by |
| 127 | refine Finset.sum_le_sum fun b _ => ?_ |
| 128 | rw [abs_mul, abs_of_nonneg (S.patch.weight_nonneg b)] |
| 129 | exact mul_le_mul_of_nonneg_left (ha b) (S.patch.weight_nonneg b) |
| 130 | _ = M := by rw [← Finset.sum_mul,S.patch.weight_sum,one_mul] |
| 131 | simp only [fixRoot,LinearMap.toMatrix'_mulVec,LinearMap.pi_apply,adjusted,LinearMap.sub_apply, |
| 132 | LinearMap.sum_apply,LinearMap.smul_apply,smul_eq_mul] |
| 133 | refine le_trans ((abs_sub ..).trans (add_le_add (ha _) he)) (le_of_eq ?_) |
| 134 | unfold M; ring |
| 135 | |
| 136 | /-- Moving the fine origin of a cross-row weight. -/ |
| 137 | lemma radius_cost {η : ℝ} (h : 0 ≤ η) (x z : Site f) (y : Site c) (t : ℕ) |
| 138 | (hx : separation x z ≤ t*L) : |
| 139 | crossW S.ratio η x y ≤ Real.exp (η*t)*crossW S.ratio η z y := by |
| 140 | unfold crossW; rw [← Real.exp_add]; apply Real.exp_monotone |
| 141 | have hh := (div_le_iff₀ (side_pos S.ratio.count)).2 (show (separation x z:ℝ) ≤ (t:ℝ)*L by exact_mod_cast hx) |
| 142 | rw [← mul_add]; apply mul_le_mul_of_nonneg_left _ h |
| 143 | calc |
| 144 | _ ≤ ((separation x z:ℝ)+ (separation z (S.ratio.embed y):ℝ))/(L:ℝ) := by |
| 145 | refine div_le_div_of_nonneg_right ?_ (side_pos S.ratio.count).le |
| 146 | exact_mod_cast separation_triangle x z (S.ratio.embed y) |
| 147 | _ = _ := add_div .. |
| 148 | _ ≤ _ := add_le_add hh le_rfl |
| 149 | |
| 150 | /-- Use on sup-fields. Sign-field test below recovers AN ABSOLUTE row sum. -/ |
| 151 | lemma start {η C : ℝ} {W : Cross S.ratio.count (TypeFace 1) (TypeFace 1)} |
| 152 | (h : 0 ≤ η) (hW : W.strip η (C/L)) (t : ℕ) (x : Site f) (v : form 1 c) |
| 153 | (hv : ∀ y : Body 1 c, |v y| ≤ crossW S.ratio η x y.1) (z : Body 1 f) (ht : separation x z.1 ≤ t*L) : |
| 154 | |(installed S.ratio W *ᵥ v) z| ≤ (Real.exp (η*t)*Real.exp η*(Fintype.card (TypeFace 1):ℝ)*C)/L := by |
| 155 | unfold mulVec dotProduct |
| 156 | apply le_trans (Finset.abs_sum_le_sum_abs ..) |
| 157 | let B := Real.exp (η*t) |
| 158 | calc |
| 159 | _ ≤ ∑ y : Body 1 c, B*(crossW S.ratio η z.1 y.1*‖installed S.ratio W z y‖) := by |
| 160 | refine Finset.sum_le_sum fun y _ => ?_ |
| 161 | rw [abs_mul, ← mul_assoc, Real.norm_eq_abs, mul_comm |installed S.ratio W z y|] |
| 162 | exact mul_le_mul_of_nonneg_right ((hv y).trans (radius_cost S h x z.1 _ _ ht)) (abs_nonneg _) |
| 163 | _ ≤ B*(Real.exp η*(Fintype.card (TypeFace 1)*(C/L))) := by |
| 164 | rw [← Finset.mul_sum] |
| 165 | exact mul_le_mul_of_nonneg_left (cross_sprawl S.ratio h hW z) (Real.exp_pos _).le |
| 166 | _ = _ := by unfold B; ring |
| 167 | |
| 168 | /-- *Pre-L* straightening bill. -/ |
| 169 | def steps (j : ℕ) : ℕ := 12*(j+3)+5 |
| 170 | |
| 171 | def advance (j : ℕ) (η C : ℝ) : ℝ := |
| 172 | Real.exp (η*(steps j))*Real.exp η*(Fintype.card (TypeFace 1):ℝ)*(max C 1) |
| 173 | |
| 174 | def correction (j : ℕ) (η C : ℝ) : ℝ := (4+16*(j+3:ℝ))*advance j η C |
| 175 | |
| 176 | def total (j : ℕ) (η C : ℝ) : ℝ := advance j η C + 2*correction j η C |
| 177 | |
| 178 | lemma nonneg (j : ℕ) (η C : ℝ) : 0 ≤ advance j η C := by |
| 179 | have h : 0 ≤ max C 1 := le_max_of_le_right (by norm_num) |
| 180 | unfold advance; positivity |
| 181 | |
| 182 | lemma local_pose {η C : ℝ} {W : Cross S.ratio.count (TypeFace 1) (TypeFace 1)} |
| 183 | (h : 0 ≤ η) (hW : W.strip η (C/L)) (x : Site f) (v : form 1 c) |
| 184 | (hv : ∀ y : Body 1 c, |v y| ≤ crossW S.ratio η x y.1) (z : Body 1 f) |
| 185 | (ht : separation x z.1 ≤ steps S.patch.J * L) : |
| 186 | |(installed S.ratio W *ᵥ v) z| ≤ advance S.patch.J η C / L := by |
| 187 | refine (start S h hW _ x _ hv z ht).trans ?_ |
| 188 | unfold advance; gcongr; exact le_max_left .. |
| 189 | |
| 190 | /-- Uniform in the tree. Price in-arbor nodes near a probe; don't infer |
| 191 | that the A0 widths on mixed kernels persist on *fine lattice* units. -/ |
| 192 | lemma straighten_price {η C : ℝ} {W : Cross S.ratio.count (TypeFace 1) (TypeFace 1)} |
| 193 | (h : 0 ≤ η) (hW : W.strip η (C/L)) (F : Forest S.ratio) (x z : Site f) (hx : separation x z ≤ 1) |
| 194 | (v : form 1 c) (hv : ∀ y : Body 1 c, |v y| ≤ crossW S.ratio η x y.1) : |
| 195 | |(straighten S F (installed S.ratio W) *ᵥ v) (z,vac)| ≤ correction S.patch.J η C := by |
| 196 | let j := S.patch.J |
| 197 | let V := installed S.ratio W *ᵥ v |
| 198 | let B : ℝ := advance j η C / L |
| 199 | let t := steps j * L |
| 200 | have hL : 1 ≤ L := S.ratio.count.property |
| 201 | have hR := side_pos S.ratio.count |
| 202 | have hB : 0 ≤ B := div_nonneg (nonneg ..) hR.le |
| 203 | have Hl : t = 12*r₀+5*L := by |
| 204 | unfold t j steps RG.Patch.radius; rw [Nat.add_mul, Nat.mul_assoc]; rfl |
| 205 | have HH z hz : |V z| ≤ B := local_pose S h hW x v hv z hz |
| 206 | have hh : (F.hike z).length ≤ 4*L := (F.hike_lower _).trans (F.bound z) |
| 207 | have hs := Corona.near S.ratio z |
| 208 | have hz := separation_triangle x z (S.ratio.embed (S.ratio.parent z)) |
| 209 | have hg := psi S V x (S.ratio.parent z) t B hB HH (by omega) |
| 210 | have he : |integralLink z (F.hike z) V| ≤ (4*L:ℝ)*B := by |
| 211 | refine (integral_near V x z _ t B HH (by omega)).trans (mul_le_mul_of_nonneg_right ?_ hB) |
| 212 | exact_mod_cast hh |
| 213 | rw [books] |
| 214 | apply le_trans ((abs_sub _ _).trans (add_le_add he hg)) (le_of_eq ?_) |
| 215 | unfold B t V j at * |
| 216 | unfold correction Patch.radius |
| 217 | push_cast |
| 218 | change (4* (L:ℝ) * _ + 16*(((S.patch.J:ℝ)+3)*(L:ℝ))*_) = _ |
| 219 | field_simp |
| 220 | |
| 221 | lemma action_price {η C : ℝ} {W : Cross S.ratio.count (TypeFace 1) (TypeFace 1)} |
| 222 | (h : 0 ≤ η) (hW : W.strip η (C/L)) (F : Forest S.ratio) (x : Body 1 f) (v : form 1 c) |
| 223 | (hv : ∀ y : Body 1 c, |v y| ≤ crossW S.ratio η x.1 y.1) : |
| 224 | |(extracted S F (installed S.ratio W) *ᵥ v) x| ≤ total S.patch.J η C := by |
| 225 | let j := S.patch.J |
| 226 | obtain ⟨x,i⟩ := x |
| 227 | obtain ⟨i,rfl⟩ := axisEquiv.surjective i |
| 228 | have hG : |(installed S.ratio W *ᵥ v) (x,coord i)| ≤ advance j η C := by |
| 229 | refine (local_pose S h hW x v hv (x,coord i) (by simp)).trans ?_ |
| 230 | have hu : 1 ≤ (L:ℝ) := by exact_mod_cast S.ratio.count.property |
| 231 | exact div_le_self (nonneg ..) hu |
| 232 | rw [extracted,Matrix.add_mulVec,Pi.add_apply,← Matrix.mulVec_mulVec] |
| 233 | change |_ + (d 0 f *ᵥ _) (x,coord i)| ≤ _ |
| 234 | rw [d_sites] |
| 235 | have ha := straighten_price S h hW F x (x+step i) (by_one x (posDir i)).1 v hv |
| 236 | have hb := straighten_price S h hW F x x (by simp) v hv |
| 237 | apply le_trans ((abs_add_le ..).trans (add_le_add hG ((abs_sub ..).trans (add_le_add ha hb)))) |
| 238 | rw [total,two_mul] |
| 239 | |
| 240 | /-- Weighted *absolute* kernel rows at the unaltered periodization, |
| 241 | pre-L rate/payment. -/ |
| 242 | theorem response_price {η C : ℝ} {W : Cross S.ratio.count (TypeFace 1) (TypeFace 1)} |
| 243 | (h : 0 ≤ η) (hW : W.strip η (C/L)) (F : Forest S.ratio) (x : Body 1 f) : |
| 244 | ∑ y : Body 1 c, crossW S.ratio η x.1 y.1 * ‖extracted S F (installed S.ratio W) x y‖ ≤ total S.patch.J η C := by |
| 245 | let w y := crossW S.ratio η x.1 y |
| 246 | let A := extracted S F (installed S.ratio W) |
| 247 | let v (y : Body 1 c) := if 0 ≤ A x y then w y.1 else -w y.1 |
| 248 | have hv (y : Body 1 c) : |v y| ≤ w y.1 := by |
| 249 | have h : 0 ≤ w y.1 := (Real.exp_pos _).le |
| 250 | unfold v; split |
| 251 | · rw [abs_of_nonneg h] |
| 252 | · rw [abs_neg,abs_of_nonneg h] |
| 253 | have hh := action_price S h hW F x v hv |
| 254 | have he : (A *ᵥ v) x = ∑ y : Body 1 c, w y.1*‖A x y‖ := by |
| 255 | apply Finset.sum_congr rfl; intro y _ |
| 256 | unfold v; split |
| 257 | · rename_i hi; rw [Real.norm_eq_abs, abs_of_nonneg hi, mul_comm] |
| 258 | rename_i hi; rw [Real.norm_eq_abs, abs_of_neg (not_le.mp hi), mul_neg, mul_neg,mul_comm] |
| 259 | rw [← he]; exact (le_abs_self _).trans hh |
| 260 | |
| 261 | /-- Costs a copy subtraction: measure vertical motion in **relative** |
| 262 | coordinates. Weight in coarse distances at the root scales. -/ |
| 263 | lemma tangent_apply {η C : ℝ} {W : Cross S.ratio.count (TypeFace 1) (TypeFace 1)} |
| 264 | (h : 0 ≤ η) (hW : W.strip η (C/L)) (F : Forest S.ratio) |
| 265 | (e : F.Free) (i : G.ColorIndex) (v : Dir G c) |
| 266 | (hv : ∀ z : Body 1 c, |v z i| ≤ crossW S.ratio η e.val.1 z.1) : |
| 267 | |relative F (installed S.ratio W) v e i| ≤ total S.patch.J η C + Real.exp η := by |
| 268 | let x := e.val.1; let j := e.val.2 |
| 269 | let y := S.ratio.parent x |
| 270 | have he := Corona.near S.ratio x |
| 271 | have hs : separation x (S.ratio.embed y) ≤ L := by unfold y; omega |
| 272 | have hp : crossW S.ratio η x y ≤ Real.exp η := by |
| 273 | refine Real.exp_monotone (le_trans |
| 274 | (mul_le_mul_of_nonneg_left (show (separation x (S.ratio.embed y):ℝ)/(L:ℝ) ≤ 1 from ?_) h) (mul_one _).le) |
| 275 | apply (div_le_one (side_pos S.ratio.count)).2; exact_mod_cast hs |
| 276 | have hh := action_price S h hW F (x,coord j) (parts G 1 v i) (fun k => hv k) |
| 277 | change |_ - linearCopy S.ratio (collect G v) _ i| ≤ _ |
| 278 | refine le_trans (abs_sub ..) (add_le_add hh ?_) |
| 279 | unfold linearCopy; split |
| 280 | · rw [PiLp.zero_apply, abs_zero]; exact (Real.exp_pos _).le |
| 281 | exact (hv (y,coord j)).trans hp |
| 282 | |
| 283 | end tree |
| 284 | |
| 285 | abbrev InputKey (G : Gauge) (c : Side) := Body 1 c × G.ColorIndex |
| 286 | |
| 287 | def source (t : InputKey G c) : Dir G c := |
| 288 | Pi.single t.1 (EuclideanSpace.basisFun G.ColorIndex ℝ t.2) |
| 289 | |
| 290 | |
| 291 | |
| 292 | variable {S : StepData c f} |
| 293 | |
| 294 | |
| 295 | |
| 296 | |
| 297 | end Response |
| 298 | |
| 299 | variable {G : Gauge} {a : Levels G} {H : Horizon a} {K : MapPrices} {N m : ℕ} {P : PathData G} {η : ℝ} |
| 300 | |
| 301 | |
| 302 | |
| 303 | end YM.Progress.StationaryScenes |