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 Mathlib.Analysis.Normed.Group.Tannery |
| 2 | import YM.Ovens.Coffee |
| 3 | |
| 4 | /-! |
| 5 | # Continuity at fixed dictionary: why a subsequence domination test works |
| 6 | |
| 7 | From any parameters converging to x in the domain of a Curve choose a |
| 8 | subsequence paying even the full absolute `P.mass` on pre-mask jet |
| 9 | deviations. No continuity in a Regime parameter or near |
| 10 | blowing-up geometry, no assertion that one summable majorant over **whole** |
| 11 | parameter intervals is necessary/always available. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Progress.DirectedRecipe |
| 17 | |
| 18 | open Function Set RG Wilson Lattice RG.Shoot Ovens Ovens.Pipes Filter |
| 19 | open scoped Topology BigOperators ContDiff Matrix.Norms.Frobenius |
| 20 | |
| 21 | variable {G : Gauge} {n : Side} {P : BudgetPoint} |
| 22 | |
| 23 | namespace Samples |
| 24 | section Pay |
| 25 | lemma one_le_quote {f : ℕ → ℝ} {c : ℝ} (h : SumBudget f c) (i : ℕ) : f i ≤ c := by |
| 26 | simpa using (h.2.1.sum_le_tsum {i} (fun j _ => h.1 j)).trans h.2.2 |
| 27 | |
| 28 | -- apply to both per-parameter changes |
| 29 | lemma overhead (P : BudgetPoint) {F : ℕ → ℕ → ℝ} (hu : ∀ n i, 0 ≤ F n i) |
| 30 | (X : ℕ → Support n) {c : ℕ → ℝ} {ε : ℝ} (h : HasSum c ε) |
| 31 | (H : ∀ j, SumBudget (fun i => P.mass (X i) (F j i)) (c j)) : |
| 32 | ∃ b : ℕ → ℝ, (∀ j i, F j i ≤ b i) ∧ SumBudget (fun i => P.mass (X i) (b i)) ε := by |
| 33 | let f : ℕ → ℕ → ℝ := fun j i => P.mass (X i) (F j i) |
| 34 | have hp j i : 0 ≤ f j i := (H j).1 i |
| 35 | have hz : Summable fun j => ∑' i, f j i := Summable.of_nonneg_of_le |
| 36 | (fun j => tsum_nonneg (hp j)) (fun j => (H j).2.2) h.summable |
| 37 | have hs : Summable (Function.uncurry f) := (summable_prod_of_nonneg (fun x => hp x.1 x.2)).mpr |
| 38 | ⟨fun j => (H j).2.1, hz⟩ |
| 39 | let b := fun i => ∑' j, F j i |
| 40 | have hF i : Summable fun j => F j i := Summable.of_nonneg_of_le (fun j => hu j i) |
| 41 | (fun j => P.loMass (X i) _ (hu j i)) (hs.prod_symm.prod_factor i) |
| 42 | have hb (i) : P.mass (X i) (b i) = ∑' j, f j i := by |
| 43 | unfold f b BudgetPoint.mass |
| 44 | rw [tsum_mul_left] |
| 45 | refine ⟨b,fun j i => ?_,⟨fun i => (hb i).ge.trans' (tsum_nonneg fun j => hp j i), ?_,?_⟩⟩ |
| 46 | · simpa only [Finset.sum_singleton] using (hF i).sum_le_tsum {j} (fun j _ => hu j i) |
| 47 | · simp_rw [hb]; exact hs.prod_symm.prod |
| 48 | rw [funext hb, hs.tsum_comm] |
| 49 | exact (hz.tsum_le_tsum (fun j => (H j).2.2) h.summable).trans_eq h.tsum_eq |
| 50 | |
| 51 | lemma warp (P : BudgetPoint) (X : ℕ → Support n) (L : ℕ → Prop) [DecidablePred L] {c d : ℕ → ℝ} {a b : ℝ} |
| 52 | (h : SumBudget (fun i => if L i then P.mass (X i) (c i) else 0) a) |
| 53 | (hp : SumBudget (fun i => P.mass (X i) (d i)) b) : |
| 54 | SumBudget (fun i => if L i then P.mass (X i) (c i + d i) else 0) (a+b) := by |
| 55 | let A i := if L i then P.mass (X i) (c i) else 0 |
| 56 | let B i := P.mass (X i) (d i) |
| 57 | let D i := if L i then B i else 0 |
| 58 | have hd i : 0 ≤ D i := by |
| 59 | unfold D; split |
| 60 | · exact hp.1 i |
| 61 | exact le_rfl |
| 62 | have he i : D i ≤ B i := by |
| 63 | unfold D; split |
| 64 | · exact le_rfl |
| 65 | exact hp.1 i |
| 66 | have hD := Summable.of_nonneg_of_le hd he hp.2.1 |
| 67 | have hJ : ∑' i, D i ≤ b := (hD.tsum_le_tsum he hp.2.1).trans hp.2.2 |
| 68 | have hm (i) : A i + D i = if L i then P.mass (X i) (c i + d i) else 0 := by |
| 69 | by_cases hi : L i <;> simp [*,A,B,D,BudgetPoint.mass,mul_add] |
| 70 | rw [← funext hm]; refine ⟨fun i => add_nonneg (h.1 i) (hd i), h.2.1.add hD, ?_⟩ |
| 71 | rw [Summable.tsum_add h.2.1 hD] |
| 72 | exact add_le_add h.2.2 hJ |
| 73 | end Pay |
| 74 | |
| 75 | lemma within {a : Set ℝ} {x} {s : ℕ → ℝ} (hi : ∀ i, s i∈a) (he : Tendsto s atTop (𝓝 x)) : |
| 76 | Tendsto s atTop (𝓝[a] x) := tendsto_nhdsWithin_iff.mpr ⟨he,Eventually.of_forall hi⟩ |
| 77 | |
| 78 | /-- A sampling set INCLUDES the base point. -/ |
| 79 | def sample (x : ℝ) (s : ℕ → ℝ) := insert x (range s) |
| 80 | |
| 81 | lemma sample_sub {a : Set ℝ} {x s} (hx : x∈a) (h : ∀ i, s i∈a) : sample x s ⊆ a := |
| 82 | insert_subset hx (range_subset_iff.mpr h) |
| 83 | |
| 84 | lemma sample_map (x : ℝ) (s : ℕ → ℝ) (j : ℕ) : s j∈sample x s := mem_insert_of_mem _ (mem_range_self _) |
| 85 | |
| 86 | variable {A : ℝ → Activities G n} |
| 87 | |
| 88 | /-- Across all points including x and *all* s, not just eventually in subsequence index. -/ |
| 89 | structure Shared (P : BudgetPoint) (A : ℝ → Activities G n) (x : ℝ) (T : Set ℝ) (δ w : ℝ) : Prop where |
| 90 | B (a) : a∈T → (A a).reg = (A x).reg |
| 91 | C (a) : a∈T → (A a).forced = (A x).forced |
| 92 | E : ∃ b : ℕ → ℝ, (∀ y : Site n, SumBudget (fun i => if ((A x).reg i).site=y then |
| 93 | P.mass ((A x).reg i).support (b i) else 0) δ) ∧ |
| 94 | ∀ a∈T, ∀ i, P.supBounds ((A x).reg i).site ((A x).reg i).support ((A a).E i) (b i) |
| 95 | K : ∃ b : ℕ → ℝ, (∀ y : Site n, SumBudget (fun i => if y∈((A x).forced i).support then |
| 96 | P.mass ((A x).forced i).support (b i) else 0) w) ∧ |
| 97 | ∀ a∈T, ∀ i, (0 ≤ b i) ∧ ∀ U, ‖(A a).K i U‖ ≤ b i |
| 98 | |
| 99 | lemma along {T : Set ℝ} {x : ℝ} (hx : x∈T) (s : ℕ → ℝ) (h : ∀ i, s i∈T) |
| 100 | (hl : Tendsto s atTop (𝓝 x)) {Q : ℝ → Rep G n} (p : Curve P Q T) |
| 101 | {δ w : ℝ} (hp : (Q x).activities.Valid P δ w) {ε : ℝ} (he : 0 < ε) : |
| 102 | ∃ r : ℕ → ℕ, StrictMono r ∧ Shared P (fun i => (Q i).activities) x (sample x (s ∘ r)) (δ+ε) (w+ε) := by |
| 103 | let c (i : ℕ) := (ε/2)*(1/2:ℝ)^i |
| 104 | have hc : HasSum c ε := by |
| 105 | have hz : HasSum c ((ε/2)*2) := hasSum_geometric_two.mul_left _ |
| 106 | rwa [div_mul_cancel₀ _ (by norm_num : (2:ℝ) ≠ 0)] at hz |
| 107 | have hi i : 0 < c i := by unfold c; positivity |
| 108 | choose m hm using fun i => eventually_atTop.1 ((within h hl).eventually (p.continuous (c i) (hi i) x hx)) |
| 109 | -- a subsequence above all the cuts; permits also absolutely summing at the SAME label |
| 110 | let r (i : ℕ) := i + (Finset.range (i+1)).sup m |
| 111 | have hu i : m i≤r i := le_trans (Finset.le_sup (Finset.mem_range.mpr (Nat.lt_succ_self _))) (Nat.le_add_left _ _) |
| 112 | have H : StrictMono r := fun i j hij => add_lt_add_of_lt_of_le hij (Finset.sup_mono (Finset.range_mono |
| 113 | (Nat.add_le_add_right hij.le _))) |
| 114 | have hy := sample_sub hx (fun i => show (s ∘ r) i ∈ T from h (r i)) |
| 115 | choose C D hr hw hC hD using fun i => hm i (r i) (hu i) |
| 116 | let A := (Q x).activities |
| 117 | obtain ⟨a,ha,hA⟩ := hp.boundE |
| 118 | obtain ⟨b,hb,hB⟩ := hp.boundK |
| 119 | obtain ⟨f,hf,hs⟩ := overhead P (fun j i => (hr j i).1) (fun i => (A.reg i).support) hc hC |
| 120 | obtain ⟨g,hg,hg'⟩ := overhead P (fun j i => (hw j i).1) (fun i => (A.forced i).support) hc hD |
| 121 | have hbump {F F' a a' : ℝ} (hv : ‖F‖ ≤ a) (hs : ‖F-F'‖ ≤ a') : ‖F'‖ ≤ a+a' := by |
| 122 | rw [norm_sub_rev] at hs |
| 123 | have ht := (norm_add_le (F'-F) F).trans (add_le_add hs hv) |
| 124 | rwa [sub_add_cancel, add_comm a'] at ht |
| 125 | refine ⟨r,H,⟨fun y hh => p.reg y (hy hh) x hx, fun y hh => p.forced y (hy hh) x hx, |
| 126 | ⟨fun i => a i + f i,fun y => warp P _ _ (hA y) hs,?_⟩, |
| 127 | ⟨fun i => b i+g i,fun y => warp P _ _ (hB y) hg',?_⟩⟩⟩ |
| 128 | · intro y hh i |
| 129 | have hJ : 0 ≤ f i := le_trans (hr 0 i).1 (hf 0 i) |
| 130 | refine ⟨add_nonneg (ha i).1 hJ,?_⟩ |
| 131 | rcases hh with (rfl | ⟨j,rfl⟩) |
| 132 | · exact fun U hU l hL hu => ((ha i).2 U hU l hL hu).trans (le_add_of_nonneg_right hJ) |
| 133 | exact fun U hU l hL hu => hbump ((ha i).2 U hU l hL hu) (((hr j i).2 U hU l hL hu).trans (hf j i)) |
| 134 | intro y hh i |
| 135 | have HJ : 0 ≤ g i := le_trans (hw 0 i).1 (hg 0 i) |
| 136 | refine ⟨add_nonneg (hb i).1 HJ,?_⟩ |
| 137 | rcases hh with (rfl|⟨j,rfl⟩) |
| 138 | · exact fun U => ((hb i).2 U).trans (le_add_of_nonneg_right HJ) |
| 139 | exact fun U => hbump ((hb i).2 U) (((hw j i).2 U).trans (hg j i)) |
| 140 | |
| 141 | end Samples |
| 142 | end YM.Progress.DirectedRecipe |