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.Curtain |
| 2 | |
| 3 | /-! |
| 4 | # Local expenses even on broad regular and frozen shell stencils |
| 5 | |
| 6 | Quantitative, no cost of inverse heat divided out yet. Key |
| 7 | `Aff.arc_bill`. Extension not by enforcing good `U` outside the patch. |
| 8 | Selections shared with all roots. |
| 9 | -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.AnalyticNext.ConnectedActivity.Aff |
| 13 | open Filter Function Lattice RG Precision Wilson Pressure Pressure.Stores Exterior Bloch Turn |
| 14 | open Matrix Work.F03 Progress.StationaryScenes Push.SectorMeasure Push.SectorMeasure.Oriented |
| 15 | open Push.AbsoluteSums Tree Next.Fluctuations Finset Win Rates |
| 16 | open scoped Topology BigOperators ContDiff Matrix.Norms.Frobenius Classical |
| 17 | variable {G : Gauge} {c f n : Side} {S : StepData c f} |
| 18 | |
| 19 | def Stops (S : StepData c f) (a : Directions G f) (V : Config G c) (U : Config G f) (i : Site c) |
| 20 | (R : ℕ) (w : ℝ) := |
| 21 | (∀ j : Bond f,separation i (home S j) ≤ R → ‖a j‖ ≤ w) ∧ |
| 22 | AgreeNear S.ratio.parent i R U (increment (replica S.ratio V) a) |
| 23 | |
| 24 | lemma in_scene (S : StepData c f) (x : Site c) (s : Directions G f) (V : Config G c) (U : Config G f) |
| 25 | (z : Site c → G.El) (R : ℕ) (w : ℝ) (he : 0 ≤ w) (h : Stops S s V U x R w) |
| 26 | (b : LogField G c) (hp : AgreeNear id x R (gauge z V) (represent b)) : |
| 27 | ∃ a : Directions G f,(∀ j, ‖a j‖≤w) ∧ |
| 28 | (∀ j : Bond f, separation x (home S j) ≤ R → rotateG s (z ∘ S.ratio.parent) j = a j) ∧ |
| 29 | AgreeNear S.ratio.parent x R (gauge (z ∘ S.ratio.parent) U) (increment (replica S.ratio (represent b)) a) := by |
| 30 | let a (j : Bond f) := if separation x (home S j)≤ R then rotateG s (z∘S.ratio.parent) j else 0 |
| 31 | have hh i (he : separation x (home S i) ≤ R) : a i = rotateG s (z∘S.ratio.parent) i := if_pos he |
| 32 | refine ⟨a,fun j => ?_,fun j he => (hh j he).symm,shadows b s a hp h.2 fun i h => (hh i h).symm⟩ |
| 33 | dsimp only [a]; split |
| 34 | next hi => rw [rotateG, G.norm_adjoint]; exact h.1 j hi |
| 35 | next => rwa [norm_zero] |
| 36 | |
| 37 | lemma quadratic_forecast (P : Teller G) (D : Patch) (hd : D.Branches P.bind G) (p : ℕ) : ∀ᶠ x : ℝ in atTop, |
| 38 | ∀ (c f : Side) (S : StepData c f) (T : Tube G S) (a : LogField G f) (y : Pos S), |
| 39 | S.patch=D → P.Funds S T → ‖a‖≤allowance G D x 2 p → ‖forecast T y a 0‖ ≤ allowance G D x 2 (p+1) := by |
| 40 | obtain ⟨C,τ,r,hC,_,hr,h⟩ := ordered_cost P D hd |
| 41 | filter_upwards [(vanishes G D 0).eventually (ge_mem_nhds hr),grow G D C (by omega : p<p+1) 2, |
| 42 | burn G D 1 p 1 1 (by norm_num)] with x hx hp hv c f S T a y hD hT he |
| 43 | let H := allowance G D x 2 p |
| 44 | rw [one_mul,one_mul] at hv |
| 45 | exact ((h c f S T hT hD a 0 H (hv.trans hx) he (by rw [norm_zero]; exact allowance_nn ..) 0 |
| 46 | Classical.ofNonempty).2 y).1.trans hp |
| 47 | |
| 48 | /-- Uniform **pointwise in sector** affine error bound on real weak |
| 49 | patch. Allow rough V elsewhere, no mask on U retained in conclusions |
| 50 | here. r uses `t` unit of fine scale. -/ |
| 51 | theorem arc_bill (P : Teller G) (C : ℝ) (he : Reserve P C) (D : Patch) (hD : D.Branches P.bind G) |
| 52 | (p : ℕ) (hp : 7 ≤ p) : ∀ᶠ x : ℝ in atTop, ∀ (c f : Side) (S : StepData c f) (T : Tube G S), |
| 53 | S.patch=D → P.Funds S T → ∀ (V : Config G c) (A : Stores S) (_F : Forest S.ratio), cert S x A V → |
| 54 | ∀ (k : S.Choices) (U : Config G f) (a : Pos S) (s : Directions G f), let B := radiusB x |
| 55 | base S a ∉ A.dome (2*B) → Stops S s V U (base S a) B (allowance G D x 1 p) → let R := till x; let t := temp x |
| 56 | ‖target T R t a k V U‖ ≤ allowance G D x 1 (p+4) ∧ |
| 57 | ‖target T R t a k V U- (target T R t a k V (replica S.ratio V) + derivative T R a V s)‖ ≤ |
| 58 | allowance G D x 2 (p+p+6) := by |
| 59 | filter_upwards [remote_frame G D 1 (by norm_num), first_bill P C he D hD p, Rates.widen G D 1 hp, |
| 60 | pressing G D p, prepare D, late_cost P D hD (p+1), he.receipt D.L, |
| 61 | residual_cost P D hD (p+1) p, quadratic_forecast P D hD (p+p+1), |
| 62 | burn G D 1 (p+1+(p+1)+3) 1 1 (by norm_num), chord_price G D p, |
| 63 | Rates.widen G D 1 (show p≤p+1 by omega), Rates.widen G D 1 (show 0≤p+1+1 by omega), |
| 64 | grow G D 2 (show p+1+1<p+4 by omega) 1, Rates.widen G D 2 (show p+p+3≤p+1+(p+1)+3 by omega), |
| 65 | Rates.widen G D 2 (show p+p+1+1≤p+1+(p+1)+3 by omega), |
| 66 | Rates.widen G D 2 (show p+1+p+4≤p+1+(p+1)+3 by omega), |
| 67 | grow G D 4 (show p+1+(p+1)+3<p+p+6 by omega) 2] |
| 68 | with x hx hu hp ht hH hy hm hh hf hd hK hv hl hz hi hq hG hX c f S T hS hT V A F hL k U a s B hA hw R t |
| 69 | let Y := allowance G D x 1 p; let Z := allowance G D x 2 (p+1+(p+1)+3) |
| 70 | let o := base S a |
| 71 | obtain ⟨z,b,hb,hc⟩ := hx c f S hS A V hL o hA |
| 72 | have hb : ‖b‖ ≤ Y := hb.trans hp |
| 73 | let W := gauge z V; let X := z∘S.ratio.parent |
| 74 | have ha : ∀ v,separation (base S a) v≤B → v∉ RG.flags (temp x) W := fun v h => by |
| 75 | unfold W; rw [gauge_flags]; apply vacancy x A V (2*B) hL.2 hA; omega |
| 76 | rw [one_mul] at hc |
| 77 | let c' := form (linearCopy S.ratio (collect G b)) |
| 78 | let u := target T R t a k V U |
| 79 | let w := target T R t a k V (replica S.ratio V) |
| 80 | let d := derivative T R a V s |
| 81 | let F' := forecast T a c' b |
| 82 | have he : ‖G.adjoint (z o) w-F'‖ ≤ Z := by |
| 83 | have h := (hu c f S T W F hT hS hL.1 k a b hb hc ha).2 |
| 84 | unfold w |
| 85 | rw [show z o=z (base S a) from rfl,← target_gauge P hT] |
| 86 | apply le_trans _ hi |
| 87 | rw [show gauge (z ∘ S.ratio.parent) (replica S.ratio V)=replica S.ratio W from copied S.ratio S.patch.odd_side V z] |
| 88 | exact h |
| 89 | obtain ⟨r,hr,hV,hU⟩ := in_scene S o s V U z B Y (allowance_nn ..) hw b hc |
| 90 | obtain ⟨a',h1,h2⟩ := ht _ r c' hr ((shadow_copy S.ratio b).2.trans hb) |
| 91 | let g := forecast T a a' b; let y := forecast T a (form r) 0 |
| 92 | have hkey : G.adjoint (z o) u = primal T R a k (represent b) (represent a') := by |
| 93 | have hT' := (hm c _ S T hT (congr_arg Patch.L hS) hL.1 F W).2.1 |
| 94 | rw [(shadow_copy S.ratio b).1,h1] at hU |
| 95 | rw [← show target T R t a k W (gauge X U) = G.adjoint (z o) u from target_gauge P hT .., |
| 96 | target_unveiled T x _ _ _ _ hT' ha] |
| 97 | have hv : radial R S.patch ≤ B := by rw [hS]; apply hH.2.trans (Nat.div_le_self ..) |
| 98 | exact primal_local T R _ _ (funds_branch hT) (hU.shrink (show separation o o + radial R S.patch ≤ B by simpa)) |
| 99 | (hc.shrink (show separation o o + radial R S.patch ≤ B by simpa)) |
| 100 | obtain ⟨h1,h3⟩ := (hy c _ S T hT hS a' b h2.1 (hb.trans hv)).2 k a |
| 101 | have h3 : ‖G.adjoint (z o) u - g‖ ≤ Z := by rw [hkey]; exact h3 |
| 102 | constructor |
| 103 | · have ht := norm_le_norm_sub_add (G.adjoint (z o) u) g |
| 104 | change ‖u‖ ≤ _; rw [← G.norm_adjoint (z o) u] |
| 105 | change ‖g‖≤_ at h1; change 1*Z≤1*_ at hd |
| 106 | linarith only [h1,h3,ht,hd,hz,hl] |
| 107 | have hd : ‖y-G.adjoint (z o) d‖ ≤ Z := by |
| 108 | unfold d |
| 109 | rw [show z o=z (base S a) from rfl, ← derivative_gauge T R a V s z hT, derivative_range T R a W (funds_branch hT) _ r ?_] |
| 110 | apply le_trans _ hG |
| 111 | apply hh c _ S T hS hT a W r _ hr |
| 112 | · intro j hj |
| 113 | unfold W; rw [hc j (show separation o j.1≤radiusB x by change _≤_ at hj; unfold o; omega)] |
| 114 | exact hK _ b hb j |
| 115 | intro i hi |
| 116 | apply hV; unfold R at hi; rw [hS] at hi; unfold o B; omega |
| 117 | have hk : ‖g-(F'+y)‖ ≤ Z := by |
| 118 | let j := a' - (c'+form r) |
| 119 | have h : ‖forecast T a j 0‖ ≤ Z := (hf c _ S T j _ hS hT h2.2).trans hq |
| 120 | have he : a'=(c'+form r)+j := by unfold j; abel |
| 121 | have hy : g=F'+y+forecast T a j 0 := by unfold g; conv_lhs => rw [he,forecast_step hT,forecast_step hT] |
| 122 | rwa [hy, add_sub_cancel_left] |
| 123 | change ‖u-(w+d)‖ ≤ _ |
| 124 | rw [← G.norm_adjoint (z o) (u-(w+d)),map_sub,map_add] |
| 125 | apply le_trans (norm_sub_le_norm_sub_add_norm_sub _ g _) |
| 126 | apply le_trans (add_le_add h3 (le_trans (norm_sub_le_norm_sub_add_norm_sub g (F'+y) _) |
| 127 | (add_le_add hk ?_))) (show Z+(Z+(Z+Z))≤_ from by convert hX using 1; unfold Z; ring) |
| 128 | let t := G.adjoint (z o) w; let v := G.adjoint (z o) d |
| 129 | change ‖(F'+y)-(t+v)‖≤_ |
| 130 | rw [show F'+y-(t+v)=y-v-(t-F') by abel]; exact (norm_sub_le ..).trans (add_le_add hd he) |
| 131 | end YM.AnalyticNext.ConnectedActivity.Aff |