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.Forecast |
| 2 | import YM.AnalyticNext.CONNECTED_ACTIVITY_BOUNDS.Rate |
| 3 | import YM.Progress.STATIONARY_SCENES.Response |
| 4 | |
| 5 | /-! |
| 6 | # Use with `allowance` budget; one more power of B at a time |
| 7 | |
| 8 | At this point in the proof we can fix the actual patch after L. All powers |
| 9 | of t are in fine cut-chart units, not the shooting β. Combine |
| 10 | these receipts with others with the SAME data and with β on its range. |
| 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 Rates |
| 18 | open scoped Topology BigOperators Matrix.Norms.Frobenius Classical |
| 19 | variable {G : Gauge} {c f n : Side} {S : StepData c f} |
| 20 | |
| 21 | -- convenient stencil radius receipt |
| 22 | lemma prepare (D : Patch) : ∀ᶠ x : ℝ in atTop, |
| 23 | 4*stencilD D (till x)+10 ≤ radiusB x/4 ∧ radial (till x) D ≤ radiusB x/4 := by |
| 24 | filter_upwards [Work.E01.radiusB_tendsto.eventually_ge_atTop (1000*(1+predReach D))] with x hx |
| 25 | unfold stencilD radial till; omega |
| 26 | |
| 27 | lemma late_cost (P : Teller G) (D : Patch) (hb : D.Branches P.bind G) (p : ℕ) : ∀ᶠ x : ℝ in atTop, |
| 28 | ∀ (c f : Side) (S : StepData c f) (T : Tube G S), P.Funds S T → S.patch=D → |
| 29 | ∀ (a : LogField G f) (b : LogField G c), |
| 30 | let r := allowance G D x 1 p; let W := allowance G D x 1 (p+1); let Z := allowance G D x 2 (p+p+3) |
| 31 | ‖a‖≤r → ‖b‖≤r → |
| 32 | let R := till x; let U := represent a; let V := represent b |
| 33 | (∀ i, let N := zip (flatN T) (Limage T b) i; ‖N‖≤W ∧ ‖primalN T R V i-N‖ ≤ Z) ∧ |
| 34 | ∀ (k : S.Choices) (y : Pos S), let F := forecast T y a b |
| 35 | ‖F‖ ≤ W ∧ ‖primal T R y k V U - F‖ ≤ Z := by |
| 36 | obtain ⟨C,τ,r,hC,hτ,hr,H⟩ := ordered_cost P D hb |
| 37 | filter_upwards [(Rates.vanishes G D p).eventually (ge_mem_nhds hr), Rates.grow G D C (by omega : p<p+1) 1, |
| 38 | Rates.decay G D hτ 1 0 1, Rates.widen G D 1 (by omega : 0 ≤ p+1), Work.E01.radiusB_tendsto.eventually_ge_atTop 1, |
| 39 | Rates.grow G D (3*C) (show p+(p+1)<p+p+3 by omega) 2] with x h1 h2 h3 h4 h5 h6 c f S T hT hD a b Y W Z ha hy R U V |
| 40 | have he : (1:ℝ)≤(radiusB x) := by exact_mod_cast h5 |
| 41 | have hv : 0 ≤ Y := allowance_nn .. |
| 42 | have hw : C*Y*Next.Fluctuations.widen R Y τ ≤ Z := by |
| 43 | have hp : (radiusB x:ℝ)*Y=W := by unfold W Y allowance Rates.pieces; rw [pow_succ]; ring |
| 44 | have hm : (till x:ℝ) ≤ radiusB x := by exact_mod_cast Nat.div_le_self (radiusB x) 100000 |
| 45 | simp only [Rates.pieces, pow_zero, mul_one, one_mul] at h3 |
| 46 | have hf : Next.Fluctuations.widen R Y τ ≤ 3*W := by |
| 47 | unfold Next.Fluctuations.widen |
| 48 | have hh := h3.trans h4 |
| 49 | change Real.exp (-τ*R) ≤ W at hh; change (R:ℝ) ≤ (radiusB x:ℝ) at hm |
| 50 | linarith [mul_le_mul_of_nonneg_right hm hv, mul_le_mul_of_nonneg_right he hv] |
| 51 | calc |
| 52 | _ ≤ C*Y*(3*W) := mul_le_mul_of_nonneg_left hf (by positivity) |
| 53 | _ = 3*C*(Y*W) := by ring |
| 54 | _ ≤ Z := by unfold Y W; rw [Rates.exchange]; exact h6 |
| 55 | constructor |
| 56 | · intro i; obtain ⟨hu,hv⟩ := (H c f S T hT hD a b Y h1 ha hy R Classical.ofNonempty).1 i |
| 57 | exact ⟨hu.trans h2,hv.trans hw⟩ |
| 58 | intro k y; obtain ⟨hu,hv⟩ := (H c f S T hT hD a b Y h1 ha hy R k).2 y |
| 59 | exact ⟨hu.trans h2,hv.trans hw⟩ |
| 60 | |
| 61 | lemma residual_cost (P : Teller G) (D : Patch) (hb : D.Branches P.bind G) (p r : ℕ) : |
| 62 | ∀ᶠ x : ℝ in atTop, ∀ (c f : Side) (S : StepData c f) (T : Tube G S), S.patch=D → P.Funds S T → |
| 63 | ∀ (a : Pos S) (V : Config G c) (v : Directions G f), |
| 64 | let t := till x; let d := stencilD D t |
| 65 | (∀ i : Bond c, separation (base S a) i.1 ≤ 4*d + 1 → G.chord (V i) ≤ allowance G D x 1 p) → |
| 66 | (∀ i, ‖v i‖ ≤ allowance G D x 1 r) → |
| 67 | ‖forecast T a (form v) 0- derivative T t a V v‖ ≤ allowance G D x 2 (p+r+4) := by |
| 68 | obtain ⟨C,hC,H⟩ := perturb P D hb |
| 69 | filter_upwards [Rates.grow G D (P.top.paths*4) (show r<p+r+2 by omega) 2, |
| 70 | Rates.decay G D P.top.width_pos 1 0 1, prepare D, |
| 71 | Rates.grow G D C (show p+r+1<p+r+2 by omega) 2, |
| 72 | Rates.grow G D 2 (show p+r+2<p+r+4 by omega) 2] |
| 73 | with x hf hh hp hc hw c f S T hD hT a V v t d hv hu |
| 74 | let X := allowance G D x 1 p |
| 75 | let Y := allowance G D x 1 r |
| 76 | let Z := allowance G D x 2 (p+r+2) |
| 77 | have hz : 0≤X := allowance_nn .. |
| 78 | have hY : 0≤Y := allowance_nn .. |
| 79 | have h : ‖derivative T t a V v-derivative T t a 1 v‖ ≤ Z := by |
| 80 | have he y : separation (base S a) y.1 ≤ 4*stencilD S.patch t+1 → G.chord (V y) ≤ X := by |
| 81 | rw [hD]; apply hv y |
| 82 | have hh (y : Bond f) (_ : separation (base S a) (home S y) ≤ stencilD S.patch t+1) := hu y |
| 83 | apply le_trans (H _ _ S T hD hT t a v Y X hY hz hh V he) |
| 84 | rw [hD] |
| 85 | calc |
| 86 | _ ≤ C*(radiusB x)*X*Y := by |
| 87 | have hi : (((4*d:ℕ):ℝ)+1) ≤ radiusB x := by |
| 88 | exact_mod_cast (show 4*d+1 ≤ radiusB x by unfold d t; omega) |
| 89 | gcongr |
| 90 | _ ≤ Z := by |
| 91 | change _ ≤ allowance G D _ _ _ |
| 92 | convert hc using 1; unfold X Y allowance Rates.pieces; ring |
| 93 | have hi := leave P x T hT a v Y hY hu |
| 94 | simp only [Rates.pieces,pow_zero,mul_one,one_mul] at hh |
| 95 | have ht := le_trans hi (mul_le_mul_of_nonneg_right |
| 96 | (mul_le_mul_of_nonneg_right |
| 97 | (mul_le_mul_of_nonneg_right hh (P.top.paths_pos.le)) (by positivity : 0 ≤ (4 : ℝ))) hY) |
| 98 | have ht : ‖forecast T a (form v) 0 - derivative T t a 1 v‖ ≤ Z := ht.trans <| le_trans |
| 99 | (le_of_eq (show allowance G D x 1 0 * P.top.paths * 4 * Y = P.top.paths*4*allowance G D x 2 r by |
| 100 | unfold Y allowance Rates.pieces; ring)) hf |
| 101 | apply le_trans (norm_sub_le_norm_sub_add_norm_sub _ (derivative T t a 1 v) _) |
| 102 | rw [norm_sub_rev (derivative T t a 1 v)]; exact (add_le_add ht h).trans ((two_mul Z).symm ▸ hw) |
| 103 | |
| 104 | lemma chord_price (G : Gauge) (D : Patch) (p : ℕ) : ∀ᶠ x : ℝ in atTop, |
| 105 | ∀ (n : Side) (a : LogField G n), ‖a‖ ≤ allowance G D x 1 p → |
| 106 | ∀ i : Bond n,G.chord (represent a i) ≤ allowance G D x 1 (p+1) := by |
| 107 | obtain ⟨C,r,hC,hr,H⟩ := chord_chart_cost G |
| 108 | filter_upwards [(vanishes G D p).eventually (ge_mem_nhds hr), Rates.grow G D C (by omega : p<p+1) 1] |
| 109 | with x hx hc n a ha i |
| 110 | have hu : ‖a (pole i)‖ ≤ allowance G D x 1 p := (norm_le_pi_norm a (pole i)).trans ha |
| 111 | change G.chord (G.lieExp (a (pole i))*1) ≤ _; rw [mul_one] |
| 112 | exact ((H _ (hu.trans hx)).trans (mul_le_mul_of_nonneg_left hu hC.le)).trans hc |
| 113 | |
| 114 | lemma absolute_response (P : Teller G) (p : ℕ) (D : Patch) : ∀ᶠ x : ℝ in atTop, |
| 115 | ∀ (c f : Side) (S : StepData c f) (T : Tube G S), P.Funds S T → S.patch = D → |
| 116 | ∀ (b : LogField G c), ‖b‖ ≤ allowance G D x 1 p → ∀ (F : Forest S.ratio), |
| 117 | ‖station T F b‖ ≤ allowance G D x 1 (p+1) := by |
| 118 | let N : ℝ := max 1 (Response.total D.J P.η P.C) |
| 119 | let n : ℝ := Fintype.card G.ColorIndex |
| 120 | have hn : 0 < N := zero_lt_one.trans_le (le_max_left ..) |
| 121 | filter_upwards [Rates.grow G D (Real.sqrt n * N) (by omega : p<p+1) 1] with x hv c f S T h hD b he F |
| 122 | let K := extracted S F (installed S.ratio T.R.A0) |
| 123 | let E := allowance G D x 1 p |
| 124 | have hq := allowance_nn G D x 1 p |
| 125 | have ht := ((h.crosses).2.2.2 [] (Nat.zero_le _)).1 |
| 126 | simp only [advanceC,List.length_nil,add_zero,pow_one] at ht |
| 127 | apply (pi_norm_le_iff_of_nonneg (allowance_nn G D ..)).mpr; intro i |
| 128 | have hy (j : G.ColorIndex) : |station T F b i j| ≤ N*E := by |
| 129 | have hY := Response.response_price S P.width.le ht F i |
| 130 | have hs : ∑ u : Body 1 c, |K i u| ≤ N := by |
| 131 | apply le_trans _ (le_trans hY (show Response.total S.patch.J P.η P.C ≤ N from hD.symm ▸ le_max_right ..)) |
| 132 | refine Finset.sum_le_sum fun i _ => le_mul_of_one_le_left (abs_nonneg _) ?_ |
| 133 | apply Real.one_le_exp; have h := P.width; positivity |
| 134 | calc |
| 135 | _ ≤ ∑ u, |K i u * parts G 1 b j u| := Finset.abs_sum_le_sum_abs .. |
| 136 | _ ≤ ∑ u, |K i u| * E := Finset.sum_le_sum fun u _ => by |
| 137 | rw [abs_mul]; exact mul_le_mul_of_nonneg_left ((piece_cost (b u) j).trans ((norm_le_pi_norm b u).trans he)) |
| 138 | (abs_nonneg _) |
| 139 | _ ≤ _ := by rw [← Finset.sum_mul]; exact mul_le_mul_of_nonneg_right hs hq |
| 140 | have hz : ‖station T F b i‖^2 ≤ n*(N*E)^2 := by |
| 141 | rw [EuclideanSpace.real_norm_sq_eq] |
| 142 | apply le_trans (Finset.sum_le_sum (g:=fun _ => (N*E)^2) ?_) (le_of_eq ?_) |
| 143 | · intro j _; rw [← sq_abs]; exact pow_le_pow_left₀ (abs_nonneg _) (hy j) _ |
| 144 | simp [n] |
| 145 | apply le_trans _ hv |
| 146 | have hp := Nat.cast_nonneg (α:=ℝ) (Fintype.card G.ColorIndex) |
| 147 | apply (sq_le_sq₀ (norm_nonneg _) (by positivity : 0≤Real.sqrt n*N*allowance G D x 1 p)).mp |
| 148 | rw [mul_assoc,mul_pow,Real.sq_sqrt]; exact hz; exact hp |
| 149 | end YM.AnalyticNext.ConnectedActivity.Aff |