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.Bid.Kitchen |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # Fixed-period continuity of forced gathering |
| 7 | |
| 8 | For the all-address `deviation` cost we may sum the weighted hit bounds over the |
| 9 | finite native torus (not a volume-independent estimate). In each solid the |
| 10 | field-dependent predicate and the finite label set are exactly the same at the |
| 11 | two parameter values being compared. |
| 12 | -/ |
| 13 | |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Work.H04 |
| 17 | open Filter Function Set RG Wilson Lattice Shoot Ovens Ovens.Pipes |
| 18 | open scoped Topology Matrix.Norms.Frobenius BigOperators Classical |
| 19 | |
| 20 | variable {G : Gauge} {n : Side} {X : Pipes G n} {S : ℝ → Tap G n} {T : Set ℝ} {P : BudgetPoint} |
| 21 | |
| 22 | lemma summable_packets (F : ℕ ≃ X.Pellet) {c : Label → ℝ} {γ : ℝ} |
| 23 | (hc : ∀ i, 0 ≤ c i) (hH : Ac.Hit X.patch P.B c (P.supportExponent + 1) γ) |
| 24 | (hp : (P.B + P.B + 1 : ℕ)^4*(γ:ℝ) ≤ 1) (hγ : 0 ≤ γ) : |
| 25 | Summable fun i => P.mass (addr F P i).support (∏ j∈(F i).val, c j) := by |
| 26 | let r := Ac.roots X.patch P.B c P.supportExponent |
| 27 | have h (x : Site n) : SumBudget (r x) (Real.exp γ - 1) := |
| 28 | Ac.forest X.patch P.B P.exponent_pos.le hc hH hp hγ x |
| 29 | have hs (x : Site n) : Summable fun i => r x (F i).val := |
| 30 | (h x).2.1.comp_injective (show Injective (fun i : ℕ => (F i).val) from |
| 31 | Subtype.val_injective.comp F.injective) |
| 32 | refine Summable.of_nonneg_of_le (f := fun i => ∑ x : Site n, r x (F i).val) ?_ ?_ |
| 33 | (summable_sum fun x _ => hs x) |
| 34 | · intro i |
| 35 | exact mul_nonneg (Real.exp_pos _).le (Finset.prod_nonneg fun j _ => hc j) |
| 36 | intro i |
| 37 | obtain ⟨x, hx⟩ := (X.plot_ne (F i)).mono (X.plot_sub (F i)) |
| 38 | have hroot : Ac.Spark X.patch (F i).val ∧ x ∈ (F i).val.biUnion X.patch := |
| 39 | ⟨(F i).property.2.1,hx⟩ |
| 40 | change Real.exp (P.supportExponent * (coverNumber P.B ((F i).val.biUnion X.patch) : ℝ)) * _ ≤ _ |
| 41 | have he : r x (F i).val ≤ ∑ y : Site n, r y (F i).val := |
| 42 | Finset.single_le_sum (fun y _ => (h y).1 _) (Finset.mem_univ x) |
| 43 | simpa only [r, Ac.roots, if_pos hroot] using he |
| 44 | |
| 45 | lemma reach_bound {c : Label → ℝ} {κ : ℝ} |
| 46 | (hc : ∀ i, 0 ≤ c i) (hκ : 0 ≤ κ) (hd : ∀ a ∈ T, ∀ i : Label, ∀ U, |
| 47 | |reach (S a) i U| ≤ i.elim (fun _ => Real.exp (-κ)) (fun _ => 1)*c i) : |
| 48 | ∀ a ∈ T, ∀ i U, ‖reach (S a) i U‖ ≤ c i := by |
| 49 | intro a ha i U |
| 50 | exact (hd a ha i U).trans (mul_le_of_le_one_left (hc i) (by |
| 51 | rcases i with i|i |
| 52 | · exact Real.exp_le_one_iff.mpr (neg_nonpos.mpr hκ) |
| 53 | · exact le_rfl)) |
| 54 | |
| 55 | lemma prod_bound {c : Label → ℝ} (hd : ∀ a ∈ T, ∀ i U, ‖reach (S a) i U‖ ≤ c i) |
| 56 | {a : ℝ} (ha : a ∈ T) (s : Finset Label) (U : Config G n) : |
| 57 | ‖∏ j∈s, reach (S a) j U‖ ≤ ∏ j∈s, c j := by |
| 58 | rw [norm_prod] |
| 59 | exact Finset.prod_le_prod (fun _ _ => norm_nonneg _) (fun j _ => hd a ha j U) |
| 60 | |
| 61 | lemma solid_bound {c : Label → ℝ} (hc : ∀ i, 0 ≤ c i) |
| 62 | (hd : ∀ a ∈ T, ∀ i U, ‖reach (S a) i U‖ ≤ c i) |
| 63 | (F : ℕ ≃ X.Pellet) {a : ℝ} (ha : a ∈ T) (i : ℕ) (U : Config G n) : |
| 64 | ‖solid F P (S a) i U‖ ≤ ∏ j∈(F i).val, c j := by |
| 65 | unfold solid; split |
| 66 | · exact prod_bound hd ha _ U |
| 67 | · rw [norm_zero]; exact Finset.prod_nonneg fun j _ => hc j |
| 68 | |
| 69 | lemma prod_varies {c : Label → ℝ} (hc : ∀ i, 0 ≤ c i) |
| 70 | (hd : ∀ a ∈ T, ∀ i U, ‖reach (S a) i U‖ ≤ c i) (hj : invariantJet P S T) |
| 71 | {a : ℝ} (ha : a ∈ T) (s : Finset Label) : |
| 72 | ∀ ε : ℝ, 0 < ε → ∀ᶠ b in 𝓝[T] a, ∀ U, |
| 73 | ‖(∏ j∈s, reach (S a) j U) - ∏ j∈s, reach (S b) j U‖ ≤ ε := by |
| 74 | induction s using Finset.induction_on with |
| 75 | | empty => |
| 76 | intro ε he |
| 77 | filter_upwards with b U |
| 78 | simpa using he.le |
| 79 | | @insert j s hjs hi => |
| 80 | intro ε he |
| 81 | let v := ∏ j∈s, c j |
| 82 | have hv : 0 ≤ v := Finset.prod_nonneg fun k _ => hc k |
| 83 | let δ := ε / (1+c j+v) |
| 84 | have hz : 0 < (1+c j+v) := by linarith [hc j] |
| 85 | have hδ : 0 < δ := div_pos he hz |
| 86 | filter_upwards [self_mem_nhdsWithin, hi δ hδ, hj a ha j δ hδ] with b hb hp hq U |
| 87 | rw [Finset.prod_insert hjs, Finset.prod_insert hjs] |
| 88 | let x := reach (S a) j U; let y := reach (S b) j U |
| 89 | let u := ∏ k∈s, reach (S a) k U; let w := ∏ k∈s, reach (S b) k U |
| 90 | have hy : ‖x-y‖ ≤ δ := by rw [norm_sub_rev]; exact hq U |
| 91 | calc |
| 92 | ‖x*u - y*w‖ = ‖x*(u-w) + (x-y)*w‖ := by ring_nf |
| 93 | _ ≤ ‖x*(u-w)‖ + ‖(x-y)*w‖ := norm_add_le .. |
| 94 | _ ≤ c j * δ + δ*v := by |
| 95 | rw [norm_mul, norm_mul] |
| 96 | exact add_le_add (mul_le_mul (hd _ ha j U) (hp U) (norm_nonneg _) (hc j)) |
| 97 | (mul_le_mul hy (prod_bound hd hb s U) (norm_nonneg _) hδ.le) |
| 98 | _ ≤ (1+c j+v)*δ := by nlinarith only [hδ] |
| 99 | _ = ε := by unfold δ; field_simp |
| 100 | |
| 101 | lemma solid_varies {c : Label → ℝ} (hc : ∀ i, 0 ≤ c i) |
| 102 | (hd : ∀ a ∈ T, ∀ i U, ‖reach (S a) i U‖ ≤ c i) (hj : invariantJet P S T) |
| 103 | (F : ℕ ≃ X.Pellet) {a : ℝ} (ha : a ∈ T) (i : ℕ) (ε : ℝ) (he : 0 < ε) : |
| 104 | ∀ᶠ b in 𝓝[T] a, ∀ U, ‖solid F P (S a) i U-solid F P (S b) i U‖ ≤ ε := by |
| 105 | filter_upwards [prod_varies hc hd hj ha (F i).val ε he] with b hb U |
| 106 | unfold solid; split |
| 107 | · exact hb U |
| 108 | · simpa using he.le |
| 109 | |
| 110 | lemma earned_retakes (F : ℕ ≃ X.Pellet) (hj : invariantJet P S T) (hl : X.little P S T) : |
| 111 | retakes F P S T := by |
| 112 | obtain ⟨κ, γ, c, hp, hγ, hκ, hc, hrc, hH⟩ := hl |
| 113 | have hd := reach_bound hc hκ hrc |
| 114 | intro a ha ε he |
| 115 | let r := fun i => ∏ j∈(F i).val, c j |
| 116 | let u := fun b i U => ‖solid F P (S a) i U - solid F P (S b) i U‖ |
| 117 | let g := fun b i => sSup (Set.range (u b i)) |
| 118 | have hg (b) (hb : b ∈ T) (i : ℕ) : |
| 119 | (0 ≤ g b i ∧ ∀ U, u b i U ≤ g b i) ∧ g b i ≤ r i + r i := by |
| 120 | have hr : ∀ y∈Set.range (u b i), y ≤ r i + r i := by |
| 121 | rintro _ ⟨U,rfl⟩ |
| 122 | exact (norm_sub_le ..).trans <| add_le_add (solid_bound hc hd F ha i U) (solid_bound hc hd F hb i U) |
| 123 | have hu (U) : u b i U ≤ g b i := le_csSup ⟨_,hr⟩ (mem_range_self _) |
| 124 | exact ⟨⟨(norm_nonneg _).trans (hu 1),hu⟩,csSup_le (range_nonempty _) hr⟩ |
| 125 | let m := fun b i => P.mass (addr F P i).support (g b i) |
| 126 | let l := fun i => P.mass (addr F P i).support (r i) |
| 127 | have hl := summable_packets F hc hH hp hγ |
| 128 | have hs : Summable (fun i => l i + l i) := hl.add hl |
| 129 | have hle (b) (hb : b ∈ T) i : 0 ≤ m b i ∧ m b i ≤ l i + l i := by |
| 130 | dsimp only [m, l, BudgetPoint.mass] |
| 131 | rw [← mul_add] |
| 132 | exact ⟨mul_nonneg (Real.exp_pos _).le (hg b hb i).1.1, |
| 133 | mul_le_mul_of_nonneg_left (hg b hb i).2 (Real.exp_pos _).le⟩ |
| 134 | have ht (i) : Tendsto (fun b => g b i) (𝓝[T] a) (𝓝 0) := by |
| 135 | refine tendsto_order.mpr ⟨?_,?_⟩ |
| 136 | · intro z hz |
| 137 | filter_upwards [self_mem_nhdsWithin] with b hb |
| 138 | exact hz.trans_le (hg b hb i).1.1 |
| 139 | intro z hz |
| 140 | filter_upwards [solid_varies hc hd hj F ha i (z/2) (half_pos hz)] with b hb |
| 141 | refine lt_of_le_of_lt (csSup_le (range_nonempty _) ?_) (half_lt_self hz) |
| 142 | rintro _ ⟨U,rfl⟩; exact hb U |
| 143 | have hm (i) : Tendsto (fun b => m b i) (𝓝[T] a) (𝓝 0) := by |
| 144 | simpa [m, BudgetPoint.mass] using (ht i).const_mul (Real.exp (P.supportExponent * |
| 145 | (coverNumber P.B (addr F P i).support : ℝ))) |
| 146 | have hsum : Tendsto (fun b => ∑' i, m b i) (𝓝[T] a) (𝓝 0) := by |
| 147 | have hub : ∀ᶠ b in 𝓝[T] a, ∀ i, ‖m b i‖ ≤ l i + l i := by |
| 148 | filter_upwards [self_mem_nhdsWithin] with b hb i |
| 149 | simpa only [Real.norm_eq_abs, abs_of_nonneg (hle b hb i).1] using (hle b hb i).2 |
| 150 | simpa using (tendsto_tsum_of_dominated_convergence hs hm hub) |
| 151 | filter_upwards [self_mem_nhdsWithin, (tendsto_order.mp hsum).2 ε he] with b hb hs' |
| 152 | refine ⟨g b, fun i => (hg b hb i).1.1, fun U i => (hg b hb i).1.2 U, |
| 153 | fun i => (hle b hb i).1, hs.of_nonneg_of_le (fun i => (hle b hb i).1) (fun i => (hle b hb i).2), hs'.le⟩ |
| 154 | |
| 155 | theorem answer : YM.Bid.H04 := by |
| 156 | intro G n X S F T R A P h hj hl |
| 157 | refine ⟨h.beta, h.v, fun _ _ _ _ => rfl, fun _ _ _ _ => rfl, fun ε he a ha => ?_⟩ |
| 158 | filter_upwards [h.continuous ε he a ha, earned_retakes F hj hl a ha ε he] with b h₁ h₂ |
| 159 | obtain ⟨c, _, hc, _, hE, _⟩ := h₁ |
| 160 | obtain ⟨g,hg,hu,hm⟩ := h₂ |
| 161 | exact ⟨c, g, hc, fun i => ⟨hg i, fun U => hu U i⟩, hE, hm⟩ |
| 162 | end YM.Work.H04 |