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.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Brush |
| 2 | import YM.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Numerics |
| 3 | |
| 4 | /-! |
| 5 | # Extrapolate geometric Color prices from FLAT |
| 6 | |
| 7 | We will use *unscaled* polynomial jet bounds in gauge-local weak variables, |
| 8 | with cubic/quadratic orders unavailable unless one controls the remainders |
| 9 | of argument differentiation. Avoid high-order Taylor differentiation bounds |
| 10 | of the projected quadratic comparisons by probing **all** directions around the |
| 11 | flat patch (where they agree with unswitched formulas). Flat V not probed |
| 12 | for the final pushed/activity value; only for elementary jet accounting. -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.ConnectedActivityE6.Blaze |
| 16 | open Filter Function Metric Set |
| 17 | open scoped Topology BigOperators ContDiff Classical |
| 18 | variable {E F : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 19 | variable {d e u v : ℝ} {f : E→F} |
| 20 | private lemma velocity {x : E} (hd : 0 < d) (he : 0≤e) (hu : 0≤u) |
| 21 | (h : ∀ y ∈ closedBall x d,DifferentiableAt ℝ f y ∧ |
| 22 | ‖fderiv ℝ f y-fderiv ℝ f x‖ ≤ e*d ∧ ‖f y‖≤u) : |
| 23 | ‖fderiv ℝ f x‖ ≤ 2*u/d + e*d := by |
| 24 | let F':=fderiv ℝ f x; let s:= closedBall x d |
| 25 | have hx : x∈s := mem_closedBall_self hd.le |
| 26 | have he' y (hy : y∈s) : ‖fderiv ℝ f y-F'‖ ≤ e*d := (h y hy).2.1 |
| 27 | apply ContinuousLinearMap.opNorm_le_bound' _ (by positivity) |
| 28 | intro i hi |
| 29 | let y := d*‖i‖⁻¹; let z := y • i+x |
| 30 | have hv : 0<‖i‖ := lt_of_le_of_ne (norm_nonneg _) (Ne.symm hi) |
| 31 | have hp : 0<y := by unfold y; positivity |
| 32 | have hb : z-x=y • i := add_sub_cancel_right _ _ |
| 33 | have hr : ‖z-x‖=d := by rw [hb,norm_smul, Real.norm_of_nonneg hp.le]; unfold y; field_simp |
| 34 | have hz : z∈s := mem_closedBall_iff_norm.mpr hr.le |
| 35 | have hf := Convex.norm_image_sub_le_of_norm_hasFDerivWithin_le' (fun i hi=> (h i hi).1.hasFDerivAt.hasFDerivWithinAt) |
| 36 | he' (convex_closedBall x d) hx hz |
| 37 | rw [hr,hb,map_smul] at hf |
| 38 | have hg : y* ‖F' i‖ ≤ e*d*d+(u+u) := by |
| 39 | rw [← Real.norm_of_nonneg hp.le,← norm_smul] |
| 40 | have hh : F' (y • i)= y • F' i := map_smul .. |
| 41 | have h' : -(f z-f x-y • F' i)+(f z-f x)=y • F' i := by abel |
| 42 | calc |
| 43 | _ = ‖-(f z-f x-y • F' i)+(f z-f x)‖ := by rw [h'] |
| 44 | _ ≤ _ := by apply (norm_add_le ..).trans; rw [norm_neg]; exact add_le_add hf ((norm_sub_le ..).trans (add_le_add (h z hz).2.2 (h x hx).2.2)) |
| 45 | refine le_of_mul_le_mul_left (hg.trans_eq ?_) hp |
| 46 | unfold y; field_simp; ring |
| 47 | |
| 48 | /-- Large radius B, small visibility test 3*b (parameter*hatTemp in use). |
| 49 | Recapture all Hessian costs even in directions of arbitrarily large `E` |
| 50 | DIMENSION (period-independent). -/ |
| 51 | |
| 52 | private lemma speeds {B : ℝ} (hu : 0≤u) (hd : 0<d) (hB : 3*d ≤ B) (hv : 0≤v) |
| 53 | (p : ∀ i ∈ closedBall 0 B, ContDiffAt ℝ 3 f i ∧ normJ 3 f i ≤ v) |
| 54 | (q : ∀ i∈ closedBall 0 (3*d), ‖f i‖≤u) : |
| 55 | let w:=1000*(u/d^2+v*B) |
| 56 | let y:=1000*u/d+w*B*3 |
| 57 | ∀ i∈ closedBall 0 B, normJ 2 f i ≤ w ∧ normJ 1 f i≤ y ∧ normJ 0 f i ≤ u+y*B := by |
| 58 | intro w y |
| 59 | let f' i:=iteratedFDeriv ℝ i f |
| 60 | let s:= closedBall (0:E) B; let o := (0:E) |
| 61 | have hp : 0 ≤ B := by linarith |
| 62 | have hh (j : ℕ) (hj : j<3) i (hi : i ∈ s) : DifferentiableAt ℝ (f' j) i := |
| 63 | (p i hi).1.differentiableAt_iteratedFDeriv (by exact_mod_cast hj) |
| 64 | have h0 : o∈s := mem_closedBall_self hp |
| 65 | have h₃ : 3*d≥0 := by linarith |
| 66 | let H := ‖f' 2 o‖ |
| 67 | have hlift (j : ℕ) i z : ‖fderiv ℝ (f' j) i-fderiv ℝ (f' j) z‖=‖f' (j+1) i - f' (j+1) z‖ := by |
| 68 | unfold f'; rw [iteratedFDeriv_succ_eq_comp_left]; dsimp only [Function.comp_apply] |
| 69 | rw [← dist_eq_norm, LinearIsometryEquiv.dist_map]; exact (dist_eq_norm (fderiv ℝ (f' j) i) (fderiv ℝ (f' j) z)).symm |
| 70 | have hP (j : ℕ) i : ‖fderiv ℝ (f' j) i‖ = ‖f' (j+1) i‖ := norm_fderiv_iteratedFDeriv |
| 71 | have h0' : 0 ≤ H := norm_nonneg _ |
| 72 | have hY z (hz : z∈s) i (hi : i∈s) : ‖f' 2 i-f' 2 z‖≤ v*‖i-z‖ := Convex.norm_image_sub_le_of_norm_fderiv_le |
| 73 | (hh 2 (by norm_num)) (fun i hi=> (hP 2 i).trans_le (p i hi).2) (convex_closedBall o B) hz hi |
| 74 | have hx i (hi : i∈s) : ‖f' 2 i‖ ≤ H + v*‖i‖ := by |
| 75 | simpa only [H, o, sub_zero] using! ((norm_le_norm_add_norm_sub' (f' 2 i) (f' 2 o)).trans (add_le_add_right (hY _ h0 i hi) _)) |
| 76 | |
| 77 | let p := closedBall (0:E) (2*d) |
| 78 | have hU : 0<2*d := by positivity |
| 79 | let r:= d/4 |
| 80 | have hr : 0<r := by unfold r; positivity |
| 81 | let A := 2*u/r+(H+v*(3*d))*r |
| 82 | have hA : 0 ≤ A := by unfold A; positivity |
| 83 | have hD (i : E) (hi : i∈closedBall 0 (3*d)) := (closedBall_subset_closedBall hB) hi |
| 84 | have hf i (hi : i∈p) : ‖f' 1 i‖ ≤ A := by |
| 85 | rw [← hP 0] |
| 86 | refine velocity hr (by positivity) hu ?_ |
| 87 | · intro j hj |
| 88 | have he : j∈closedBall 0 (3*d) := by |
| 89 | apply mem_closedBall.mpr; apply (dist_triangle j i 0).trans |
| 90 | apply (add_le_add (mem_closedBall.mp hj) (mem_closedBall.mp hi)).trans |
| 91 | unfold r; linarith |
| 92 | have hJ y (hy : y∈closedBall i r) : y∈closedBall 0 (3*d) := by |
| 93 | apply mem_closedBall.mpr; apply (dist_triangle y i 0).trans |
| 94 | apply (add_le_add (mem_closedBall.mp hy) (mem_closedBall.mp hi)).trans; unfold r; linarith |
| 95 | refine ⟨hh 0 (by norm_num) _ (hD _ he),?_,by unfold f'; rw [norm_iteratedFDeriv_zero]; exact q j he⟩ |
| 96 | rw [hlift] |
| 97 | apply (Convex.norm_image_sub_le_of_norm_fderiv_le (f:=f' (0+1)) (fun y hy=> hh _ (by decide) y (hD _ (hJ _ hy))) |
| 98 | (C:=H+v*(3*d)) ?_ (convex_closedBall i r) (mem_closedBall_self hr.le) hj).trans |
| 99 | · exact mul_le_mul_of_nonneg_left (mem_closedBall_iff_norm.mp hj) (by positivity) |
| 100 | intro y hy |
| 101 | refine (hP (0+1) _).trans_le ((hx y (hD _ (hJ y hy))).trans (add_le_add_right |
| 102 | (mul_le_mul_of_nonneg_left (mem_closedBall_zero_iff.mp (hJ _ hy)) hv) _)) |
| 103 | have hg : H ≤ 2*A/(2*d)+v*(2*d) := by |
| 104 | unfold H; rw [← hP 1] |
| 105 | have he i (hi : i∈p) := hD _ ((closedBall_subset_closedBall (show 2*d≤3*d by linarith)) hi) |
| 106 | refine velocity hU hv hA fun i hi=> ⟨hh _ (by decide) i (he i hi),?_,hf _ hi⟩ |
| 107 | rw [hlift]; apply (hY _ h0 i (he _ hi)).trans |
| 108 | exact mul_le_mul_of_nonneg_left (mem_closedBall_iff_norm.mp hi) hv |
| 109 | have hWide : H ≤ 50*(u/d^2+v*d) := by |
| 110 | unfold A r at hg; field_simp at hg ⊢; nlinarith [show 0≤v*d^3 by positivity] |
| 111 | |
| 112 | have hw i (hi : i∈s) : ‖f' 2 i‖ ≤ w := by |
| 113 | apply (hx i hi).trans |
| 114 | have he : ‖i‖ ≤ B := mem_closedBall_zero_iff.mp hi |
| 115 | unfold w |
| 116 | have hv' := mul_le_mul_of_nonneg_left he hv; have hh : d ≤ B := by linarith |
| 117 | linarith only [hv',hWide,mul_le_mul_of_nonneg_left hh hv,show 0 ≤ u/d^2+v*B by positivity,mul_nonneg hv hp,show 0≤u/d^2 by positivity] |
| 118 | have hz : 0 ≤ w := (norm_nonneg _).trans (hw _ h0) |
| 119 | have ht i (hi : i∈s) : ‖f' 1 i‖ ≤ y := by |
| 120 | have he := Convex.norm_image_sub_le_of_norm_fderiv_le (hh 1 (by decide)) (fun i hi=> (hP 1 i).trans_le (hw _ hi)) (convex_closedBall 0 B) h0 hi |
| 121 | have hK := hf 0 (mem_closedBall_self hU.le) |
| 122 | have h0x : (H+v*(3*d))*r ≤ w*B := by |
| 123 | apply mul_le_mul _ _ hr.le hz |
| 124 | · unfold w |
| 125 | linarith only [hWide, mul_le_mul_of_nonneg_left hB hv,show 0≤v*d by positivity, show 0≤u/d^2 by positivity] |
| 126 | unfold r; linarith |
| 127 | have hI : ‖i-o‖≤B := mem_closedBall_iff_norm.mp hi |
| 128 | have hE := mul_le_mul_of_nonneg_left hI hz |
| 129 | have hb := norm_le_norm_add_norm_sub' (f' 1 i) (f' 1 o) |
| 130 | have hr : 2*u/r=8*u/d := by unfold r; ring |
| 131 | unfold A at hK; rw [hr] at hK; unfold y; unfold o at * |
| 132 | apply (hb.trans (add_le_add hK (he.trans hE))).trans; simp only [mul_div_assoc]; linarith only [h0x, mul_nonneg hz hp,show 0 ≤ u/d by positivity] |
| 133 | have hy : 0≤y := (norm_nonneg _).trans (ht o h0) |
| 134 | intro i hi; constructor |
| 135 | · exact hw _ hi |
| 136 | refine ⟨ht _ hi,?_⟩ |
| 137 | have he := Convex.norm_image_sub_le_of_norm_fderiv_le (hh 0 (by decide)) (fun i hi=> (hP 0 i).trans_le (ht _ hi)) (convex_closedBall o B) h0 hi |
| 138 | exact (norm_le_norm_add_norm_sub' (f' 0 i) (f' 0 o)).trans (add_le_add |
| 139 | ((norm_iteratedFDeriv_zero ..).trans_le (q 0 (mem_closedBall_self h₃))) (he.trans |
| 140 | (mul_le_mul_of_nonneg_left (mem_closedBall_iff_norm.mp hi) hy))) |
| 141 | |
| 142 | def paidHull (d B u v : ℝ) := let w:=1000*(u/d^2+v*B); let y:=1000*u/d+w*B*3 |
| 143 | u+(y*B+(y*d+(w*d^2+v*d^3))) |
| 144 | lemma ascend {k : ℕ} (hk : 3≤k) {B : ℝ} (hu : 0≤u) (hd : 0<d) (hh : d≤1) (hB : 3*d ≤ B) |
| 145 | (hv : 0 ≤ v) (h : ∀ x,x∈closedBall (0:E) B→ Brush k v 1 f x) |
| 146 | (p : ∀ x∈closedBall 0 (3*d), ‖f x‖≤u) (x : E) (hx : x∈closedBall 0 B) : |
| 147 | Brush k (paidHull d B u v) d⁻¹ f x := by |
| 148 | let w:=1000*(u/d^2+v*B); let y:=1000*u/d+w*B*3; let C:=paidHull d B u v |
| 149 | have hb : 0≤B := by linarith |
| 150 | have hw : 0≤w := by unfold w; positivity |
| 151 | have hy : 0≤y := by unfold y; positivity |
| 152 | have he (x : E) (hx : x∈ closedBall (0:E) B) := (Brush.offer.1 (h x hx)).2 3 hk |
| 153 | obtain ⟨h1,h2,h3⟩:=speeds hu hd hB hv (fun x hx=> ⟨((h x hx).smaller hk).smooth, he x hx⟩) p x hx |
| 154 | have ht : C=u+(y*B+(y*d+(w*d^2+v*d^3))) := rfl |
| 155 | refine ⟨(h x hx).smooth,by positivity,fun i hi => ?_⟩ |
| 156 | rw [inv_pow,← div_eq_mul_inv] |
| 157 | apply (le_div_iff₀ (by positivity)).2 |
| 158 | change _ ≤ C; rw [ht] |
| 159 | rcases i with (_|_|_|i) |
| 160 | · rw [pow_zero, mul_one]; change normJ 0 _ _ ≤ u+y*B at h3 |
| 161 | nlinarith only [h3,mul_nonneg hy hd.le,mul_nonneg hw (sq_nonneg d),show 0≤v*d^3 by positivity] |
| 162 | · change normJ 1 _ _*d^1 ≤ _; rw [pow_one] |
| 163 | change normJ 1 _ _≤y at h2; nlinarith only [mul_le_mul_of_nonneg_right h2 hd.le,mul_nonneg hy hb, |
| 164 | mul_nonneg hw (sq_nonneg d),hu,show 0≤v*d^3 by positivity] |
| 165 | · change normJ 2 _ _ * d^2 ≤ _; change normJ 2 _ _≤w at h1 |
| 166 | nlinarith only [mul_le_mul_of_nonneg_right h1 (sq_nonneg d),mul_nonneg hy hd.le,mul_nonneg hy hb,hu,show 0≤v*d^3 by positivity] |
| 167 | apply le_trans (mul_le_mul ((Brush.offer.1 (h x hx)).2 _ hi) (pow_le_pow_of_le_one hd.le hh (Nat.le_add_left 3 i)) (pow_nonneg hd.le _) hv) |
| 168 | nlinarith only [hu,mul_nonneg hy hd.le,mul_nonneg hw (sq_nonneg d),mul_nonneg hy hb] |
| 169 | |
| 170 | open Lattice RG Pressure |
| 171 | variable {G : Gauge} {L : Side} {d' B u' v' : ℝ → ℝ} {a : ℝ} |
| 172 | lemma recover_price (h1 : Rate G L (-(1/2)) d') (h2 : Rate G L (-(1/2)) B) (h3 : Rate G L a u') |
| 173 | (h4 : Rate G L 0 v') (ha : -(3/2:ℝ) ≤ a) (h5 : Rate G L (1/2) (fun x=> (d' x)⁻¹)) : |
| 174 | Rate G L a (fun x=> paidHull (d' x) (B x) (u' x) (v' x)) := by |
| 175 | have hw : Rate G L (a+1) (fun x=>1000*(u' x/(d' x)^2+v' x*B x)) := by |
| 176 | apply Rate.mul_left |
| 177 | (w:=fun x=> u' x/(d' x)^2+v' x*B x) (Rate.add ?_ ((h4.mul h2).weaken (by linarith))) |
| 178 | have hv:= h3.mul (h5.pow 2) |
| 179 | simp only [inv_pow,← div_eq_mul_inv] at hv; convert hv using 1; push_cast; ring |
| 180 | have hy:= (hw.mul h2).mul_right 3 |
| 181 | dsimp only [paidHull] |
| 182 | simp_rw [div_eq_mul_inv (1000 * u' _)] |
| 183 | have hx:= (h3.mul_left 1000).mul h5 |
| 184 | have he := hx.add (hy.weaken (by linarith)) |
| 185 | apply h3.add |
| 186 | apply Rate.add ((he.mul h2).weaken (by linarith)) |
| 187 | apply Rate.add ((he.mul h1).weaken (by linarith)) |
| 188 | exact ((hw.mul (h1.pow 2)).weaken (by push_cast; linarith)).add ((h4.mul (h1.pow 3)).weaken (by push_cast; linarith)) |
| 189 | end YM.ConnectedActivityE6.Blaze |