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_BOUNDS.Monitors |
| 2 | import YM.AnalyticNext.CONNECTED_ACTIVITY_BOUNDS.Stint |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # Central chart guards buy trigger disappearance (values) |
| 7 | |
| 8 | Ticket spent on coordinate tiles. Shared between rotated or central |
| 9 | frames. Include all *possible* indices, even inactive; for each word |
| 10 | prove the expense sparse in `occupied`. Shrink on direction, doesn't |
| 11 | require a strict equality price between β and a real previous trajectory. |
| 12 | ε tested once after fixed thresholds (post-L). Values only here; |
| 13 | e.g. doesn't delete a U derivative by using equality without proving a |
| 14 | margin. |
| 15 | -/ |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.AnalyticNext.ConnectedActivity.Jewels |
| 19 | open Filter Function Lattice RG Precision Wilson Pressure Pressure.Stores Exterior Bloch Turn MeasureTheory |
| 20 | open Matrix Work.F03 Progress.StationaryScenes Push.SectorMeasure Push.SectorMeasure.Oriented |
| 21 | open Push.AbsoluteSums Tree Next.Fluctuations Finset Win Win.Promise Green Rates Aff Aff.Mint Wages |
| 22 | open scoped Topology BigOperators InnerProductSpace Matrix.Norms.Frobenius Classical |
| 23 | variable {G : Gauge} {c f n : Side} {S : StepData c f} {T : Tube G S} {x : ℝ} {F : Forest S.ratio} {A : Stores S} |
| 24 | |
| 25 | def pulls (S : StepData c f) (d : ℕ) (i : Site c) : Finset (Bond f) := reaches (home S) d i |
| 26 | |
| 27 | def Awake (S : StepData c f) (d : ℕ) (i : Site c) (z : ArrayR G f) (K : ℝ) := |
| 28 | ∀ j : Vars G f, j.1∈pulls S d i → |z j| ≤ K |
| 29 | |
| 30 | def cashB (Y : Mint T F A x) (β : ℝ) (z : ArrayR G f) := Y.μ+power β • z |
| 31 | |
| 32 | |
| 33 | |
| 34 | def maxParts (G : Gauge) := Real.sqrt (Fintype.card G.ColorIndex) |
| 35 | lemma max_unit {r : ℝ} (hr : 0≤r) (a : G.Color) (h : ∀ i,|a i|≤r) : ‖a‖ ≤ maxParts G*r := by |
| 36 | apply (sq_le_sq₀ (norm_nonneg _) (mul_nonneg (show 0 ≤ maxParts G from Real.sqrt_nonneg _) hr)).mp |
| 37 | rw [EuclideanSpace.real_norm_sq_eq,mul_pow, maxParts,Real.sq_sqrt (by positivity)] |
| 38 | apply le_trans (sum_le_sum (g:=fun _ => r^2) (fun i _ => ?_)); simp |
| 39 | rw [← sq_abs]; exact pow_le_pow_left₀ (abs_nonneg _) (h i) _ |
| 40 | |
| 41 | lemma guard_broad (P : Teller G) (C : ℝ) (hc : Reserve P C) (D : Patch) (hb : D.Branches P.bind G) (ε : ℝ) (_hp : 0 ≤ ε) |
| 42 | (X : Turns) : ∀ᶠ x : ℝ in atTop, |
| 43 | ∀ (c f : Side) (S : StepData c f) (T : Tube G S), P.Funds S T → S.patch=D → ∀ (A : Stores S) (F : Forest S.ratio) |
| 44 | (Y : Mint T F A x), cert S x A Y.V → X.Takes (eyes S G (radiusB x)) Y.sheet (dcol S) (paceR x) → |
| 45 | Y.u=holdSize G D x → ∀ z : ArrayR G f, ∀ i : Bond f, (∀ j : G.ColorIndex,|z (i,j)|≤ ε*fiery G x D.L) → |
| 46 | ‖lie (Y.μ+z) i‖ ≤ chartSize G D x := by |
| 47 | filter_upwards [towers_source P C hc D hb 1 X,pos_size G D, |
| 48 | Rates.grow G D ε (show 0<13 by decide) 1, Rates.grow G D (maxParts G*2) (show 13<17 by decide) 1] |
| 49 | with x hh he hx hv c f S T hT hS A F Y h hr hu z i hz |
| 50 | have hg : 0 ≤ 2 * allowance G D x 1 13 := mul_nonneg (by norm_num) (allowance_nn ..) |
| 51 | have hy := hh c f S T hS hT A F Y h (hu.symm ▸ he.2.1) hu.le hr |
| 52 | have hp j : |lie (Y.μ+z) i j| ≤ 2*allowance G D x 1 13 := by |
| 53 | have ht : ε*fiery G x D.L ≤ allowance G D x 1 13 := by simpa [allowance,pieces] using hx |
| 54 | rw [two_mul] |
| 55 | exact (abs_add_le ..).trans (add_le_add (hy.2.2 _) ((hz j).trans ht)) |
| 56 | rw [mul_assoc] at hv |
| 57 | exact (max_unit hg _ hp).trans hv |
| 58 | |
| 59 | lemma broad_stops (Y : Mint T F A x) (a : ArrayR G f) (i : Site c) (d : ℕ) (ht : 0 < radiusB x) |
| 60 | (hD : d≤2*radiusB x) (he : i∉ A.dome (20*radiusB x)) {p : ℝ} (hp : 0≤p) |
| 61 | (hy : ∀ j∈ activeB A F (radiusB x), separation i (home S j)≤d → ‖lie a j‖ ≤ p) : |
| 62 | Stops S (Y.road a) Y.V (Y.build a) i d p := by |
| 63 | have hv (e : Bond f) (hz : separation i (home S e)≤d) : ‖Y.road a e‖≤p ∧ |
| 64 | Y.build a e=increment (replica S.ratio Y.V) (Y.road a) e := by |
| 65 | rcases environs F A x e _ _ he (by omega) with hk|hk |
| 66 | · obtain ⟨h1,h2⟩ := Y.on_trunk a e hk; exact ⟨by rw [h1,norm_zero]; exact hp,h2⟩ |
| 67 | obtain ⟨h1,h2⟩ := Y.on_active a e hk; unfold increment; rw [h1]; exact ⟨hy _ hk hz,h2⟩ |
| 68 | exact ⟨fun j hj => (hv j hj).1,fun j hj => (hv j hj).2⟩ |
| 69 | |
| 70 | lemma guard_stops (P : Teller G) (C : ℝ) (hc : Reserve P C) (D : Patch) (hb : D.Branches P.bind G) (ε : ℝ) (hp : 0 ≤ ε) |
| 71 | (X : Turns) : ∀ᶠ x : ℝ in atTop, |
| 72 | ∀ (c f : Side) (S : StepData c f) (T : Tube G S), P.Funds S T → S.patch=D → ∀ (A : Stores S) (F : Forest S.ratio) |
| 73 | (Y : Mint T F A x), cert S x A Y.V → X.Takes (eyes S G (radiusB x)) Y.sheet (dcol S) (paceR x) → |
| 74 | Y.u=holdSize G D x → ∀ (z : ArrayR G f) (i : Site c), let B := radiusB x; let a := Y.μ+z |
| 75 | i∉A.dome (20*B) → Awake S B i z (ε*fiery G x D.L) → Stops S (Y.road a) Y.V (Y.build a) i B (chartSize G D x) := by |
| 76 | filter_upwards [guard_broad P C hc D hb ε hp X,pos_size G D, Work.E01.radiusB_tendsto.eventually_ge_atTop 1] |
| 77 | with x hx hp hh c f S T hT hS A F Y h hr hu z i B a he hz |
| 78 | exact broad_stops Y a i B hh (by omega) he (hp.2.1.trans_le hp.2.2).le fun j _ he => |
| 79 | hx c f S T hT hS A F Y h hr hu z j (fun k => hz (j,k) (mem_filter.mpr ⟨mem_univ _,he⟩)) |
| 80 | |
| 81 | /-- Given δ (along positive root) buy ε on same read. Does not stipulate |
| 82 | truncated source to be centered enough: earned in Stint. -/ |
| 83 | lemma guard_δ (P : Teller G) (C : ℝ) (hc : Reserve P C) (D : Patch) (hb : D.Branches P.bind G) |
| 84 | (X : Turns) (δ : ℝ) (hd : 0<δ) : ∃ ε : ℝ, 0 < ε ∧ ∀ᶠ x : ℝ in atTop, |
| 85 | ∀ (c f : Side) (S : StepData c f) (T : Tube G S), P.Funds S T → S.patch=D → |
| 86 | ∀ (A : Stores S) (F : Forest S.ratio) (Y : Mint T F A x), cert S x A Y.V → ∀ J K, Alongside J K T → |
| 87 | X.Takes (eyes S G (radiusB x)) Y.sheet (dcol S) (paceR x) → Y.u=holdSize G D x → |
| 88 | ∀ (o : Pos S) (z : ArrayR G f), let B := radiusB x; let b := Y.μ+z; let i := base S o |
| 89 | i∉ A.dome (20*B) → Awake S B i z (ε*fiery G x D.L) → |
| 90 | ‖target T (till x) (temp x) o Y.k Y.V (Y.build b)‖ ≤ δ*fiery G x D.L := by |
| 91 | obtain ⟨W,hW,H⟩ := gram_budget P D hb |
| 92 | let v := maxParts G |
| 93 | have hv : 0 ≤ v := Real.sqrt_nonneg _ |
| 94 | let s := Real.sqrt weight; have hs : 0<s := Real.sqrt_pos.mpr weight_pos |
| 95 | let ε := δ*s/(4*(1+v)*W) |
| 96 | have hε : 0<ε := by unfold ε; positivity |
| 97 | refine ⟨ε,hε,?_⟩ |
| 98 | filter_upwards [guard_stops P C hc D hb ε hε.le X, |
| 99 | arc_bill P C hc D hb 17 (by norm_num), shifted P C hc D hb X, prepare D, |
| 100 | burn G D 1 40 1 (δ/2) (by positivity), burn G D 1 29 1 (W*ε) (by positivity),pos_size G D] |
| 101 | with x hx ht he hp hh hf hb c f S T hT hS A F Y hY K L hK hr hu o z B b i h hh' |
| 102 | let t := fiery G x D.L |
| 103 | have ht' : 0<t := hb.1 |
| 104 | let g := Y.road b |
| 105 | have hw j : |Y.actions b (o,j)| ≤ 2*W*ε*t := by |
| 106 | have hy : ∀ k : Vars G f,Y.D (o,j) k ≠0 → |z k| ≤ ε*t := by |
| 107 | intro k hk |
| 108 | apply hh'; refine mem_filter.mpr ⟨mem_univ _,?_⟩ |
| 109 | apply le_trans (spring Y (o,j) k hk hT); rw [hS]; omega |
| 110 | have hm : |(Y.D *ᵥ z) (o,j)| ≤ W*(ε*t) := row_ball _ _ _ (H c f S T hT hS F A Y.V x).affine.1 |
| 111 | (half_pos P.top.width_pos).le z (by positivity) (o,j) hy |
| 112 | have hz : |Y.actions Y.μ (o,j)| ≤ allowance G D x 2 29 := he c f S T hT hS K L hK F A Y hY hr _ h |
| 113 | have hx : allowance G D x 2 29 ≤ W*ε*t := by |
| 114 | simpa only [show allowance G D x 1 0=t from by simp [allowance,pieces,t],one_mul] using hf |
| 115 | rw [show Y.actions b=Y.actions Y.μ + Y.D *ᵥ z by unfold actions b; rw [mulVec_add]; abel] |
| 116 | exact ((abs_add_le ..).trans (add_le_add (hz.trans hx) hm)).trans_eq (by ring) |
| 117 | let u := target T (till x) (temp x) o Y.k Y.V (replica S.ratio Y.V) + derivative T (till x) o Y.V g |
| 118 | have hm : ‖u‖ ≤ (δ/2)*t := by |
| 119 | apply le_of_mul_le_mul_left _ hs |
| 120 | have hh : s*‖u‖≤v*(2*W*ε*t) := calc |
| 121 | _ = ‖descend (Y.actions b) o‖ := by rw [Y.roads b o (mem_filter.mpr ⟨mem_univ _, |
| 122 | fun he => h (placed A _ _ (by omega) he)⟩) hT,norm_smul, Real.norm_of_nonneg hs.le] |
| 123 | _ ≤ _ := max_unit (a:=descend (Y.actions b) o) (show 0≤ 2*W*ε*t by positivity) hw |
| 124 | apply hh.trans |
| 125 | apply le_trans (mul_le_mul_of_nonneg_right (by linarith only [] : v≤1+v) (show 0 ≤ 2*W*ε*t by positivity)) |
| 126 | exact le_of_eq (by unfold ε; field_simp; ring) |
| 127 | have ha : ‖target T (till x) (temp x) o Y.k Y.V (Y.build b)-u‖ ≤ allowance G D x 2 40 := |
| 128 | (ht c f S T hS hT Y.V A F hY Y.k (Y.build b) o g (fun he => h (placed A _ _ (by omega) he)) |
| 129 | (hx c f S T hT hS A F Y hY hr hu z _ h hh')).2 |
| 130 | have hh : allowance G D x 2 40 ≤ (δ/2)*t := by |
| 131 | simpa only [show allowance G D x 1 0=t from by simp [allowance,pieces,t],one_mul] using hh |
| 132 | exact (norm_le_norm_sub_add _ u).trans ((add_le_add (ha.trans hh) hm).trans_eq (by unfold t; ring)) |
| 133 | end YM.AnalyticNext.ConnectedActivity.Jewels |