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.Issued |
| 2 | import YM.AnalyticNext.CONNECTED_ACTIVITY_BOUNDS.Trunk |
| 3 | |
| 4 | /-! |
| 5 | # V predicted affine energy is paid even on arbitrary formal V away from |
| 6 | holes on the footprint. Using $\mu_0$ later consumes **this** cancellation. |
| 7 | |
| 8 | Select a gauge separately even for two calls though fitting their later |
| 9 | estimates simultaneously. Origin far from trivial holonomy is not an |
| 10 | error state. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.AnalyticNext.ConnectedActivity.Aff |
| 15 | open Function Lattice RG Precision Wilson Pressure Pressure.Stores Exterior Bloch Turn |
| 16 | open Matrix Work.F03 Progress.StationaryScenes Push.SectorMeasure Push.SectorMeasure.Oriented |
| 17 | open Push.AbsoluteSums Tree Next.Fluctuations Finset Filter Win Rates |
| 18 | open scoped Topology BigOperators Matrix.Norms.Frobenius Classical |
| 19 | variable {G : Gauge} {c f n : Side} {S : StepData c f} |
| 20 | |
| 21 | section patch |
| 22 | |
| 23 | def cert (S : StepData c f) (x : ℝ) (A : Stores S) (V : Config G c) := |
| 24 | 100*(1+radiusB x)≤c.val ∧ A.flags=RG.flags (temp x) V |
| 25 | |
| 26 | /-- Obtain a linear extension about one gauge patch (7 radius powers, |
| 27 | post-burn). Avoids ALL rough V there through actual output locus; no |
| 28 | assumption on V thresholds in any unreported sector data. -/ |
| 29 | lemma remote_frame (G : Gauge) (D : Patch) (k : ℕ) (hk : k≤40) : ∀ᶠ x : ℝ in atTop, |
| 30 | ∀ (c f : Side) (S : StepData c f) (_h : S.patch=D) (A : Stores S) (V : Config G c), cert S x A V → |
| 31 | let B := radiusB x |
| 32 | ∀ y : Site c, y∉A.dome ((k+1)*B) → ∃ (z : Site c→G.El) (a : LogField G c), |
| 33 | ‖a‖ ≤ allowance G D x 1 7 ∧ AgreeNear id y (k*B) (gauge z V) (represent a) := by |
| 34 | obtain ⟨C,δ,hC,hd,he⟩ := extend_interior G |
| 35 | filter_upwards [tariff_paid G D (k+1), (vanishes G D 6).eventually (ge_mem_nhds hd), |
| 36 | Work.E01.radiusB_tendsto.eventually_ge_atTop 1, grow G D C (by decide : 6<7) 1] |
| 37 | with x hx hu hv ht c f S hh A V hV B y hy |
| 38 | have hz : 0<B := hv |
| 39 | have hs : 100*(1+B) ≤ c.val := hV.1 |
| 40 | have hm : (k+1)*B ≤ 41*B := Nat.mul_le_mul_right _ (by omega) |
| 41 | obtain ⟨z,hz⟩ := reduceV S V A x hV.2 ((k+1)*B) (k*B) (by rw [Nat.add_mul]; omega) y hy (by omega) |
| 42 | obtain ⟨a,ha,hb⟩ := he id y (k*B) (gauge z V) _ (allowance_nn G D x 1 6) hu fun i hi => (hz i hi).trans hx |
| 43 | exact ⟨z,a,ha.trans ht,hb⟩ |
| 44 | |
| 45 | lemma vacancy (x : ℝ) (A : Stores S) (V : Config G c) {i : Site c} (r : ℕ) |
| 46 | (h : A.flags= RG.flags (temp x) V) (he : i∉A.dome r) : ∀ j, separation i j ≤ r → j∉ RG.flags (temp x) V := by |
| 47 | intro j hj hf |
| 48 | rw [← h] at hf |
| 49 | exact he (halo_spec.mpr ⟨j,Finset.mem_union_right _ hf,(separation_comm ..).trans_le hj⟩) |
| 50 | end patch |
| 51 | |
| 52 | lemma shadow_copy (g : Ratio c f) (b : LogField G c) : |
| 53 | let a := linearCopy g (collect G b) |
| 54 | replica g (represent b)=represent (form a) ∧ ‖form a‖ ≤ ‖b‖ := by |
| 55 | intro a |
| 56 | refine ⟨?_,(pi_norm_le_iff_of_nonneg (norm_nonneg b)).mpr ?_⟩ |
| 57 | · rw [← exp_copy]; unfold represent; rw [collect_form] |
| 58 | rintro j; change ‖a _‖ ≤ _ |
| 59 | unfold a linearCopy; split |
| 60 | next => rw [norm_zero]; exact norm_nonneg _ |
| 61 | next => exact norm_le_pi_norm b _ |
| 62 | |
| 63 | lemma shares_copy (S : StepData c f) {U W : Config G c} {y : Site c} {k : ℕ} (h : AgreeNear id y k U W) : |
| 64 | AgreeNear S.ratio.parent y k (replica S.ratio U) (replica S.ratio W) := by |
| 65 | intro i hi; unfold replica; split |
| 66 | next => rfl |
| 67 | next => exact h _ hi |
| 68 | |
| 69 | lemma first_bill (P : Teller G) (C : ℝ) (he : Reserve P C) (D : Patch) (hD : D.Branches P.bind G) (p : ℕ) : |
| 70 | ∀ᶠ x : ℝ in atTop, ∀ (c f : Side) (S : StepData c f) (T : Tube G S) (V : Config G c) (_F : Forest S.ratio), |
| 71 | P.Funds S T → S.patch=D → 100*(1+radiusB x)≤c.val → |
| 72 | let R := till x; let B := radiusB x |
| 73 | ∀ (k : S.Choices) (i : Pos S) (b : LogField G c), |
| 74 | ‖b‖≤allowance G D x 1 p → AgreeNear id (base S i) B V (represent b) → |
| 75 | (∀ j,separation (base S i) j≤B → j∉RG.flags (temp x) V) → |
| 76 | let t := forecast T i (form (linearCopy S.ratio (collect G b))) b |
| 77 | ‖t‖≤ allowance G D x 1 (p+1) ∧ |
| 78 | ‖target T R (temp x) i k V (replica S.ratio V) - t‖ ≤ allowance G D x 2 (p+p+3) := by |
| 79 | filter_upwards [late_cost P D hD p, he.receipt D.L, prepare D] with x hx ht hh c f S T V F h hS hL R B k i b hb hd hf t |
| 80 | have hp := shadow_copy S.ratio b |
| 81 | have hu : AgreeNear id (base S i) (radial (till x) S.patch) V (represent b) := hd.shrink (by |
| 82 | rw [hS,separation_self,zero_add]; exact hh.2.trans (Nat.div_le_self ..)) |
| 83 | have hm := (ht c f S T h (congr_arg Patch.L hS) hL F V).2.1 |
| 84 | rw [target_unveiled _ _ _ _ _ _ hm hf,primal_local T (till x) i _ (h.knobs.symm ▸ h.kernel) (shares_copy _ hu) hu,hp.1] |
| 85 | exact (hx c f S T h hS _ _ (hp.2.trans hb) hb).2 k i |
| 86 | |
| 87 | lemma replica_norm (P : Teller G) (C : ℝ) (he : Reserve P C) (D : Patch) (hD : D.Branches P.bind G) : |
| 88 | ∀ᶠ x : ℝ in atTop, ∀ (c f : Side) (S : StepData c f) (T : Tube G S) (V : Config G c) (A : Stores S) (_F : Forest S.ratio), |
| 89 | P.Funds S T → S.patch=D → cert S x A V → |
| 90 | ∀ (k : S.Choices) (i : Pos S), i∈choosing A (radiusB x) → |
| 91 | ‖target T (till x) (temp x) i k V (replica S.ratio V)‖ ≤ allowance G D x 1 9 := by |
| 92 | filter_upwards [first_bill P C he D hD 7, burn G D 1 (7+7+3) 1 1 (by norm_num), |
| 93 | Rates.widen G D 1 (show 0≤7+1 by decide),Rates.grow G D 2 (show 7+1<9 by decide) 1, |
| 94 | remote_frame G D 1 (by norm_num)] with x ht hx hp hk hv c f S T V A F hh hS hm k i hi |
| 95 | let B := radiusB x; let y := base S i |
| 96 | have hl : y∉A.dome (8*B) := (mem_filter.mp hi).2 |
| 97 | obtain ⟨z,a,ha,hw⟩ := hv c f S hS A V hm y (fun hz => hl (placed A _ _ (by omega) hz)) |
| 98 | have hd p (h : separation (base S i) p ≤ B) : p∉ flags (temp x) (gauge z V) := by |
| 99 | rw [gauge_flags]; apply vacancy x A V (8*B) hm.2 hl; unfold y; omega |
| 100 | rw [one_mul] at hw |
| 101 | obtain ⟨h1,h2⟩ := ht c f S T _ F hh hS hm.1 k i a ha hw hd |
| 102 | let t := target T (till x) (temp x) i k V (replica S.ratio V) |
| 103 | have hy : target T (till x) (temp x) i k (gauge z V) (replica S.ratio (gauge z V)) = G.adjoint (z y) t := by |
| 104 | rw [← copied S.ratio S.patch.odd_side V z]; exact target_gauge P hh .. |
| 105 | rw [hy] at h2 |
| 106 | change ‖t‖ ≤ _ |
| 107 | rw [← G.norm_adjoint (z y) t] |
| 108 | have hh := norm_le_norm_sub_add (G.adjoint (z y) t) (forecast T i (form (linearCopy S.ratio (collect G a))) a) |
| 109 | linarith only [h1,h2,hx,hp,hk,hh] |
| 110 | |
| 111 | lemma shot_budget (P : Teller G) (p : ℕ) (D : Patch) : ∀ᶠ x : ℝ in atTop, ∀ (c f : Side) |
| 112 | (S : StepData c f) (T : Tube G S) (F : Forest S.ratio) (b : LogField G c), |
| 113 | S.patch=D → P.Funds S T → ‖b‖≤allowance G D x 1 p → |
| 114 | ∀ i : Bond f, ‖attempt T F b i‖ ≤ allowance G D x 1 (p+2) := by |
| 115 | filter_upwards [absolute_response P p D,grow G D 2 (show p+1<p+2 by omega) 1, |
| 116 | Rates.widen G D 1 (show p≤p+1 by omega)] with x hx hy hv c f S T F b hD h hb i |
| 117 | let a := collect G (station T F b) i |
| 118 | let B := allowance G D x 1 (p+1) |
| 119 | have hi : ‖a‖ ≤ B := (norm_le_pi_norm _ (pole i)).trans (hx c f S T h hD b hb F) |
| 120 | have hf : ‖linearCopy S.ratio (collect G b) i‖ ≤ B := by |
| 121 | unfold linearCopy; split |
| 122 | next => rw [norm_zero]; exact allowance_nn .. |
| 123 | next => exact (norm_le_pi_norm b _).trans (hb.trans hv) |
| 124 | change ‖a-_‖ ≤ _; exact (norm_sub_le ..).trans ((add_le_add hi hf).trans (by linarith only [hy,show 2*B≤_ from hy])) |
| 125 | |
| 126 | /-- Ungauged statement of the local row estimate. Needs SAME `b` to pay |
| 127 | using the actual extensions even at neighboring rows. Projection (freeze) |
| 128 | not used here: for the active set later, large seed margins ensure that |
| 129 | projection won't change the tested row. -/ |
| 130 | lemma unfrozen (P : Teller G) (C : ℝ) (he : Reserve P C) (D : Patch) (hD : D.Branches P.bind G) (p : ℕ) : |
| 131 | ∀ᶠ x : ℝ in atTop, ∀ (c f : Side) (S : StepData c f) (T : Tube G S) (V : Config G c) |
| 132 | (F : Forest S.ratio) (k : S.Choices), S.patch=D → 100*(1+radiusB x)≤c.val → |
| 133 | P.Funds S T → ∀ (A B : Bed), Alongside A B T → |
| 134 | ∀ (b : LogField G c) (i : Pos S), let r := radiusB x; let z := base S i |
| 135 | ‖b‖ ≤ allowance G D x 1 p → AgreeNear id z r V (represent b) → |
| 136 | (∀ j,separation z j≤r → j∉ flags (temp x) V) → |
| 137 | let R := till x |
| 138 | ‖target T R (temp x) i k V (replica S.ratio V) + derivative T R i V (attempt T F b)‖ ≤ |
| 139 | allowance G D x 2 (p+p+9) := by |
| 140 | filter_upwards [first_bill P C he D hD p, shot_budget P p D, |
| 141 | chord_price G D p, residual_cost P D hD (p+1) (p+2), prepare D, |
| 142 | Rates.widen G D 2 (show p+p+3≤p+1+(p+2)+4 by omega), |
| 143 | Rates.grow G D 2 (show p+1+(p+2)+4<p+p+9 by omega) 2] with x hx hw hz he hm hy hQ c f S T V F k hS hs hT A B hA b i r z hv hk hf R |
| 144 | let a := linearCopy S.ratio (collect G b); let W := attempt T F b |
| 145 | obtain ⟨-,h'⟩ := hx c f S T V F hT hS hs k i b hv hk hf |
| 146 | have hd : ‖forecast T i (form W) 0-derivative T R i V W‖ ≤ allowance G D x 2 (p+1+(p+2)+4) := by |
| 147 | apply he c f S T hS hT i V W _ (hw _ _ S T F b hS hT hv) |
| 148 | intro j hj; rw [hk j (Nat.le_trans hj ?_)]; apply hz c b hv j |
| 149 | unfold r; omega |
| 150 | have ht : station T F b=form a + form W := by |
| 151 | have hw : station T F b = form (a+W) := by unfold W attempt a; rw [add_sub_cancel, form_collect] |
| 152 | exact hw |
| 153 | have hr : forecast T i (station T F b) b = 0 := by |
| 154 | obtain ⟨h1,h2⟩ := escape T hA hT i.1 F b |
| 155 | unfold forecast |
| 156 | cases i with | mk s u => rcases u with i|i <;> simp only [h1,h2,Sum.elim_inl,Sum.elim_inr, |
| 157 | sub_self] |
| 158 | let X := target T R (temp x) i k V (replica S.ratio V) |
| 159 | let Y := derivative T R i V W; let H := forecast T i (form a) b; let t := forecast T i (form W) 0 |
| 160 | rw [ht, forecast_step hT] at hr |
| 161 | change ‖X+Y‖≤_ |
| 162 | rw [show X+Y=(X-H)-(t-Y) by rw [eq_neg_of_add_eq_zero_left (show H+t=0 from hr)]; abel] |
| 163 | apply le_trans ((norm_sub_le ..).trans (add_le_add (h'.trans hy) hd)); linarith only [hQ] |
| 164 | end YM.AnalyticNext.ConnectedActivity.Aff |