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.Throne |
| 2 | |
| 3 | /-! |
| 4 | # The accompanying short rows L/D/N/C, all rotations |
| 5 | |
| 6 | Real predictor and thinned input retained here, no analytic-at-germs |
| 7 | assumption on backed `w`; hence ready to add each item independently to |
| 8 | optional price tests. No redistributing out to selected/unselected |
| 9 | neighbors. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.AnalyticNext.ConnectedActivity.Aff |
| 14 | open Filter Function Lattice RG Precision Wilson Pressure Pressure.Stores Exterior Bloch Turn |
| 15 | open Matrix Work.F03 Progress.StationaryScenes Push.SectorMeasure Push.SectorMeasure.Oriented |
| 16 | open Push.AbsoluteSums Tree Next.Fluctuations Finset Win Rates |
| 17 | open scoped Topology BigOperators InnerProductSpace Matrix.Norms.Frobenius Classical |
| 18 | variable {G : Gauge} {c f n : Side} {S : StepData c f} |
| 19 | |
| 20 | lemma flag_turn (U : Config G n) (s : Signed) (v) (y) (h : y ∈ RG.flags v (pull s 0 U)) : s.act y ∈ RG.flags v U := by |
| 21 | rw [← Work.H03.flags_send s 0 v U]; exact mem_image.mpr ⟨y,h,add_zero _⟩ |
| 22 | |
| 23 | lemma normC (T : Tube G S) (W : Config G c) (p : Cell c) (R : ℕ) (t : ℝ) (he : toll W p ≤ t) : |
| 24 | T.workC R W t p = -(T.low.direct/2*missed G (faceValue W p)) := by |
| 25 | rw [Work.E05.workC_eq, PathData.clipped, if_pos he] |
| 26 | have h : (if toll W p=0 then 1 else min 1 (t / toll W p))=1 := by |
| 27 | split |
| 28 | next => rfl |
| 29 | next h => |
| 30 | rw [min_eq_left]; rw [le_div_iff₀ (lt_of_le_of_ne (show 0≤toll W p from G.chord_nonneg _) (Ne.symm h)),one_mul]; exact he |
| 31 | rw [h]; unfold missed toll; ring |
| 32 | |
| 33 | lemma earnsC (P : Teller G) (D : Patch) : ∀ᶠ x : ℝ in atTop, |
| 34 | ∀ (c f : Side) (S : StepData c f) (T : Tube G S) (V : Config G c) (A : Stores S), P.Funds S T → cert S x A V → |
| 35 | ∀ (s : Signed) (p : Cell c), s.act p.1 ∉ A.dome (2*radiusB x) → |
| 36 | |T.workC (till x) (pull s 0 V) (temp x) p| ≤ allowance G D x 4 5 := by |
| 37 | filter_upwards [currency (G:=G) (P.below.clip.direct/2) D 1, grow G D 2 (by decide : 0<1) 1, |
| 38 | closer G D] with x hx hv he c f S T V A hT hA s p hp |
| 39 | have hh := he.1.trans (show 2 * fiery G x D.L ≤ allowance G D x 1 1 by simpa [allowance,pieces] using hv) |
| 40 | have hs : toll (pull s 0 V) p ≤ temp x := honor fun hs => vacancy x A V _ hA.2 hp _ (by simp) (flag_turn V s _ _ hs) |
| 41 | rw [normC T _ _ _ _ hs,hT.low,abs_neg] |
| 42 | exact hx _ (hs.trans hh) |
| 43 | |
| 44 | lemma lends (D : Patch) (G : Gauge) (p : ℕ) (τ : ℝ) (ht : 0<τ) : ∀ᶠ x : ℝ in atTop, |
| 45 | Next.Fluctuations.widen (till x) (allowance G D x 1 p) τ ≤ allowance G D x 1 (p+2) := by |
| 46 | filter_upwards [decay G D ht 1 0 1,Rates.widen G D 1 (show 0 ≤ p+1 by omega), |
| 47 | Work.E01.radiusB_tendsto.eventually_ge_atTop 2,grow G D 2 (show p+1<p+2 by omega) 1] with x hh hx hv hp |
| 48 | apply le_trans _ hp |
| 49 | unfold Next.Fluctuations.widen; rw [two_mul] |
| 50 | apply add_le_add _ (le_trans (by simpa [pieces] using hh) hx) |
| 51 | have ht : 1+(till x:ℝ) ≤ (radiusB x:ℝ) := by exact_mod_cast (show 1+till x ≤ _ by unfold till; omega) |
| 52 | calc |
| 53 | _ ≤ (radiusB x:ℝ)*_ := mul_le_mul_of_nonneg_right ht (allowance_nn ..) |
| 54 | _ = _ := by unfold allowance pieces; ring |
| 55 | |
| 56 | lemma earnsN (P : Teller G) (C : ℝ) (he : Reserve P C) (D : Patch) (hd : D.Branches P.bind G) : ∀ᶠ x : ℝ in atTop, |
| 57 | ∀ (c f : Side) (S : StepData c f) (T : Tube G S) (V : Config G c) (A : Stores S) (_F : Forest S.ratio), |
| 58 | S.patch=D → P.Funds S T → cert S x A V → ∀ K H, Alongside K H T → |
| 59 | ∀ (s : Signed) (p : Co c Gain), s.act p.1 ∉ A.dome (2*radiusB x) → |
| 60 | T.workN (till x) (pull s 0 V) (temp x) p ≤ allowance G D x 4 34 := by |
| 61 | filter_upwards [prepare D,remote_frame G D 1 (by norm_num), late_cost P D hd 7, he.receipt D.L, |
| 62 | Work.E01.radiusB_tendsto.eventually_ge_atTop 10] with x hx hh ht hp hv c f S T V A F hS hT he K H hA s p hk |
| 63 | let V' := pull s 0 V; let y := s.act p.1; let B := radiusB x; let R := till x |
| 64 | obtain ⟨z,b,hb,h⟩ := hh c f S hS A V he _ hk |
| 65 | let w := z∘s.act (R:=Per c); let X := gauge w V'; let a := orient s b |
| 66 | have hr : AgreeNear id p.1 (B/2) X (represent a) := by |
| 67 | rw [one_mul] at h |
| 68 | unfold X V' a; rw [orient_represents]; unfold w; rw [← gauge_pulled]; apply pull_agreesCoarse |
| 69 | apply h.shrink; simp; omega |
| 70 | have hV u (hy : separation p.1 u ≤ B) : u ∉ RG.flags (temp x) X := by |
| 71 | unfold X; rw [gauge_flags]; intro hf |
| 72 | apply vacancy x A V _ he.2 hk _ _ (flag_turn V s _ _ hf); rw [separation_signed]; omega |
| 73 | let t := temp x |
| 74 | let m := zip (T.N R X) (T.vision R t X) p |
| 75 | have hu : 2*R+4 ≤ B/2 := by unfold R B; unfold radial at hx; omega |
| 76 | have hm : m=primalN T R (represent a) p := by |
| 77 | rw [← primalN_local T R p X (represent a) (hr.shrink (by rw [separation_self,zero_add]; exact hu))] |
| 78 | apply Unseen.pay _ _ _ (i:=p) (laneSight T.R.o S.patch.L.val R S.patch.L.property id mesh) (fun _ _ => rfl) |
| 79 | intro j hj |
| 80 | exact veil T x X j (hp c f S T hT (congr_arg Patch.L hS) he.1 F X).2.1 |
| 81 | fun q he => hV q ((separation_triangle _ (mesh j).1 _).trans ((Nat.add_le_add |
| 82 | (show separation p.1 (mesh j).1≤R from hj) he).trans (by omega))) |
| 83 | have hA' : ‖a‖ ≤ allowance G D x 1 7 := (orient_norm ..).trans hb |
| 84 | have hz := (ht c f S T hT hS 0 a (by rw [norm_zero]; exact allowance_nn ..) hA').1 p |
| 85 | rw [gain_zero T hA hT a p] at hz; simp only [sub_zero] at hz |
| 86 | have hm' : G.adjoint (w p.1) (zip (T.N R V') (T.vision R t V') p) = m := (congr_fun (movers P hT R V' w t).2.2.2 _).symm |
| 87 | unfold Tube.workN; rw [← show V'=pull s 0 V from rfl] |
| 88 | rw [← G.norm_adjoint (w p.1),hm',hm] |
| 89 | apply le_trans (half_le_self (sq_nonneg _)) |
| 90 | apply le_trans (pow_le_pow_left₀ (norm_nonneg _) hz.2 2); rw [pow_two,exchange] |
| 91 | |
| 92 | lemma earnsLD (P : Teller G) (C : ℝ) (he : Reserve P C) (D : Patch) (hD : D.Branches P.bind G) (p : ℕ) (hp : 7≤p) : |
| 93 | ∀ᶠ x : ℝ in atTop, ∀ (c f : Side) (S : StepData c f) (T : Tube G S), |
| 94 | S.patch=D → P.Funds S T → ∀ (V : Config G c) (A : Stores S) (_F : Forest S.ratio), cert S x A V → |
| 95 | ∀ (k : S.Choices) (U : Config G f) (i : Cell c) (s : Signed) (w : Directions G f), let B := radiusB x |
| 96 | let o := s.act i.1 |
| 97 | o∉A.dome (2*B) → Stops S w V U o B (allowance G D x 1 p) → |
| 98 | let W := pull s 0 V; let U' := pull s 0 U; let Q := S.prediction U' (choice s k); let t := temp x; let R := till x |
| 99 | |T.workL R U' Q W t i| + |T.workD R W t i| ≤ allowance G D x 3 (p+p+9) := by |
| 100 | obtain ⟨K,τ,r,hK,hτ,hr,H⟩ := interior_cost P D hD |
| 101 | filter_upwards [(vanishes G D (p+2)).eventually (ge_mem_nhds hr),lends D G (p+2) τ hτ, he.receipt D.L, |
| 102 | shine G D p hp, Rates.widen G D 1 (show 1≤p+2 by omega), grow G D C (by decide : 0<1) 1, |
| 103 | prepare D, grow G D (4*K) (show p+p+7<p+p+9 by omega) 3] with x hx hv ht hh hp hC hq hB c f S T hS hT V A F he k U i s w B o hA hw W U' Q t R |
| 104 | obtain ⟨z,hz⟩ := hh _ _ S U V A w hS he s i.1 hA hw |
| 105 | let X := allowance G D x 1 (p+2); let E := allowance G D x 1 (p+2+2) |
| 106 | let Y := allowance G D x 1 1 |
| 107 | let Z := K * allowance G D x 2 (p+p+6) |
| 108 | have he' (j : Twin c) : ‖T.vision R t W j‖ ≤ Y := by |
| 109 | have hh := (ht c f S T hT (congr_arg Patch.L hS) he.1 F W).2.2.up j |
| 110 | rw [hS] at hh; exact hh.trans (by simpa [allowance,pieces,Y] using hC) |
| 111 | have hi : 0 ≤ X := allowance_nn .. |
| 112 | have hy j := (he' j).trans hp |
| 113 | have hg : K*X*Next.Fluctuations.widen R X τ ≤ Z := by |
| 114 | apply le_trans (mul_le_mul_of_nonneg_left (show Next.Fluctuations.widen R X τ≤E from hv) (show 0≤K*X by positivity)) |
| 115 | rw [mul_assoc]; unfold X E; rw [exchange,show p+2+(p+2+2)=p+p+6 by omega] |
| 116 | have hf j : ‖lGap T R U' Q W (i,j)‖ ≤ Z ∧ ‖dGap T R W (T.vision R t W) (i,j)‖ ≤ Z := by |
| 117 | obtain ⟨hl,hd⟩ := H c f S T hS hT (choice s k) R (B/2) (by rw [hS]; unfold R B; unfold stencilD radial at hq; omega) |
| 118 | U' W _ hi hx (i,j) z hz.2 hz.1 |
| 119 | exact ⟨hl.trans hg,(hd _ X hi hy).trans hg⟩ |
| 120 | have hu {u v : Bool→ G.Color} (m : ℝ) (hm : 1≤m) (he : ∀ i, ‖u i‖ ≤ Y) (ht : ∀ i, ‖v i‖≤Z) : |
| 121 | |∑ i,inner ℝ (u i) (v i)/m| ≤ 2*(Y*Z) := by |
| 122 | rw [Fintype.sum_bool]; apply le_trans (abs_add_le ..) |
| 123 | have hh i : |inner ℝ (u i) (v i)/m| ≤ Y*Z := by |
| 124 | rw [abs_div, abs_of_nonneg (zero_le_one.trans hm)] |
| 125 | apply le_trans (div_le_self (abs_nonneg _) hm) |
| 126 | exact (abs_real_inner_le_norm _ _).trans (mul_le_mul (he i) (ht i) (norm_nonneg _) (allowance_nn ..)) |
| 127 | rw [two_mul]; exact add_le_add (hh _) (hh _) |
| 128 | rw [workL_gap,workD_gap]; apply le_trans (add_le_add (b:=2*(Y*Z)) |
| 129 | (by simpa only [div_one] using! |
| 130 | (hu (u:=fun j => T.vision R t W (i,j)) (v:=fun j => lGap T R U' Q W (i,j)) 1 le_rfl (fun j => he' _) fun j => (hf j).1)) |
| 131 | (hu 2 (by norm_num) (fun _ => he' _) fun j => (hf j).2)) |
| 132 | apply le_trans _ hB; rw [show 2*(Y*Z)+2*(Y*Z)=4*K*(Y*allowance G D x 2 (p+p+6)) by unfold Z; ring] |
| 133 | unfold Y; rw [exchange,show 1+(p+p+6)=p+p+7 by omega] |
| 134 | end YM.AnalyticNext.ConnectedActivity.Aff |