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.Bid.Drops |
| 2 | import YM.OS.Halves |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # D05 |
| 7 | |
| 8 | The centered estimate (use the power, not just `CenteredBook`) gives a |
| 9 | power budget on the *same* period-then-mesh tails (`late`) on which we |
| 10 | can compare with generic values of S. Use two scales, a cell scale m |
| 11 | for separation, and k with room to use centered estimates even from |
| 12 | uncentered points (`fits_budget`). Need to choose k **also** with a |
| 13 | power lower bound on its spacing. |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.Work.D05 |
| 18 | open Function Set Filter Cells Extraction |
| 19 | open scoped Topology BigOperators |
| 20 | |
| 21 | variable {G : Gauge} {C : Family G} {f : Order} {S : Table C.book} {n : ℕ} |
| 22 | |
| 23 | private lemma one_le_inv_side (Q : Schedule) (m : ℕ) : 1 ≤ (Q.a m)⁻¹ := |
| 24 | (one_le_inv₀ (Q.a_pos m)).2 (by simpa only [Q.a_zero] using Q.strictAnti.antitone (Nat.zero_le m)) |
| 25 | |
| 26 | private lemma centered_power (h : CenterPort C f) (v : C.book.Token) : |
| 27 | ∃ (M D : ℕ) (B : ℝ), 0 ≤ B ∧ ∀ k ≥ M, |
| 28 | f.late (centeredBudget C v (B * (C.S.a k)⁻¹ ^ D) k) := by |
| 29 | rcases v with ⟨d,v⟩ |
| 30 | obtain ⟨M,hM,B,hB,E⟩ := h.cells.centered d 1 (‖v‖+1) (by norm_num) (by positivity) |
| 31 | refine ⟨M,d+1,B+1,by positivity,fun k hk => ?_⟩ |
| 32 | refine (E k hk 1 (by norm_num)).mono fun i hi => hi.mono ?_ |
| 33 | rintro j ⟨hj, hroot⟩ |
| 34 | refine ⟨hj,hM.trans (hk.trans hj),fun o => ?_⟩ |
| 35 | obtain ⟨hg,he⟩ := hroot v (by simp) o |
| 36 | refine ⟨hg,he.trans ?_⟩ |
| 37 | rw [show -(d:ℝ)-1 = -((↑(d+1 : ℕ)) : ℝ) by push_cast; ring, |
| 38 | Real.rpow_neg_eq_inv_rpow, Real.rpow_natCast, add_mul, one_mul] |
| 39 | exact add_le_add_right (one_le_pow₀ (one_le_inv_side C.S k)) _ |
| 40 | |
| 41 | /-- For a fixed tuple pay also for its copied orientations. B, D fixed |
| 42 | before the side choice; tails may depend on that side. -/ |
| 43 | lemma image_power (h : CenterPort C f) (v : Fin n → C.book.Token) : |
| 44 | ∃ (M D : ℕ) (B : ℝ), 0 ≤ B ∧ ∀ k ≥ M, |
| 45 | f.late (Around.imageBudget v (B * (C.S.a k)⁻¹ ^ D) k) := by |
| 46 | classical |
| 47 | let w (i : Fin n × Extraction.Spin.Frame) := Extraction.Spin.token C.book (v i.1) i.2 |
| 48 | choose m d b hb E using fun i => centered_power h (w i) |
| 49 | obtain ⟨M,hM⟩ : ∃ M : ℕ, ∀ i, m i ≤ M := |
| 50 | (eventually_all.mpr fun i => eventually_ge_atTop (m i)).exists |
| 51 | obtain ⟨D,hD⟩ : ∃ D : ℕ, ∀ i, d i ≤ D := |
| 52 | (eventually_all.mpr fun i => eventually_ge_atTop (d i)).exists |
| 53 | obtain ⟨B,hB,hb'⟩ : ∃ B : ℝ, 0 ≤ B ∧ ∀ i, b i ≤ B := |
| 54 | ((eventually_ge_atTop (0:ℝ)).and (eventually_all.mpr fun i => eventually_ge_atTop (b i))).exists |
| 55 | refine ⟨M,D,B,hB,fun k hk => ?_⟩ |
| 56 | let A := B * (C.S.a k)⁻¹ ^ D |
| 57 | have hr (i) : ∀ᶠ l in f.fuse, centeredBudget C (w i) A k l.1 l.2 := by |
| 58 | rw [Order.fused] |
| 59 | refine (E i k ((hM i).trans hk)).mono fun j hj => hj.mono fun t ht => fixup C ht ?_ |
| 60 | have ha := one_le_inv_side C.S k |
| 61 | exact mul_le_mul (hb' i) (pow_le_pow_right₀ ha (hD i)) |
| 62 | (pow_nonneg (zero_le_one.trans ha) _) hB |
| 63 | have hr' := Order.fused f _ |>.1 (eventually_all.mpr hr) |
| 64 | have hs : ∀ᶠ j : ℕ in atTop, ∀ i, ∀ p, Around.Fit (w i) k (f.mesh j) p := |
| 65 | eventually_all.mpr fun i => Around.fit (w i) k |
| 66 | refine hr'.mono fun j hj => ?_ |
| 67 | filter_upwards [hj, hs, f.mesh.cofinal.eventually (eventually_ge_atTop k)] with t ht H Hk |
| 68 | exact ⟨Hk, fun i s => ⟨ht (i,s), H (i,s) _⟩⟩ |
| 69 | |
| 70 | private def separated (s : ℝ) (n : ℕ) : Set (Points n) := |
| 71 | {x | ∀ i j, i ≠ j → s < cubedist (x i) (x j)} |
| 72 | |
| 73 | private lemma separated_open (s : ℝ) (n : ℕ) : IsOpen (separated s n) := by |
| 74 | rw [show separated s n = ⋂ i : Fin n, ⋂ j : Fin n, |
| 75 | ⋂ _ : i ≠ j, {x : Points n | s < cubedist (x i) (x j)} by ext; simp [separated]] |
| 76 | exact isOpen_iInter_of_finite fun i => isOpen_iInter_of_finite fun j => |
| 77 | isOpen_iInter_of_finite fun _ => isOpen_lt continuous_const (by unfold cubedist; fun_prop) |
| 78 | |
| 79 | private lemma eventual_separation (Q : Schedule) (s : ℝ) (hs : 0 < s) (K : Set (Points n)) |
| 80 | (hK : IsCompact K) (hu : K ⊆ separated s n) : |
| 81 | ∀ᶠ p in atTop, ∀ x∈K, Gaps.someFine Q p s x := by |
| 82 | filter_upwards [Gaps.expand_equivalent Q hK] with p hp x hx i j hij |
| 83 | obtain ⟨a,ha⟩ : ∃ a : Axis, s ≤ |Gaps.distances x i j a| := by |
| 84 | by_contra! he |
| 85 | have hl : cubedist (x i) (x j) < s := by |
| 86 | unfold cubedist |
| 87 | refine (dist_pi_lt_iff hs).mpr fun a => ?_ |
| 88 | rw [dist_comm, Real.dist_eq] |
| 89 | exact he a |
| 90 | exact hl.not_gt (hu hx i j hij) |
| 91 | exact ⟨a,fun t => ha.trans (hp x hx i j a t)⟩ |
| 92 | |
| 93 | /-- Comparison at a point. All constants in the side budgets independent |
| 94 | of x. The period threshold to compare (and not wrap around x) needn't be. -/ |
| 95 | private lemma separated_bound (H : C.Makes) (hS : S.Smooth) (he : f.PointLimits C S) |
| 96 | (v : Fin n → C.book.Token) (s A : ℝ) (hs : 0 < s) |
| 97 | (m k : ℕ) (hm : C.S.a m < s) (hmk : m ≤ k) |
| 98 | (hk : (n:ℝ)*(2*(3*C.S.a k)) < C.S.a m) |
| 99 | (hA : f.late (Around.imageBudget v A k)) : |
| 100 | ∀ x∈separated s n, ‖S.read x v‖ ≤ A ^ n := by |
| 101 | obtain ⟨P,hP,hv⟩ := he |
| 102 | have hg (x : Points n) (hx : x∈separated s n) (he : x ∈ generic n) : |
| 103 | ‖S.read x v‖ ≤ A ^ n := by |
| 104 | have ht : Tendsto (fun i => (P (f.per i)).read x v) atTop (𝓝 (S.read x v)) := by |
| 105 | refine Metric.tendsto_nhds.mpr fun ε hε => ?_ |
| 106 | filter_upwards [hv n {x} (isCompact_singleton) (singleton_subset_iff.mpr he) v ε hε] with i hi |
| 107 | rw [dist_eq_norm] |
| 108 | exact hi x (mem_singleton x) |
| 109 | obtain ⟨K,hK,hI,hU⟩ := exists_compact_subset (separated_open _ _) hx |
| 110 | refine le_of_tendsto ht.norm ?_ |
| 111 | unfold Order.late at hA |
| 112 | filter_upwards [hA, f.per.cofinal.eventually (eventual_separation C.S s hs K hK hU), |
| 113 | f.per.cofinal.eventually (room C.S hK)] with i hi hb hw |
| 114 | let u j := address (C.S.a (f.mesh j)) x |
| 115 | have hr := (chosen (S := C.S) x).comp f.mesh.cofinal |
| 116 | have hX : x ∈ Cyclic C.S (f.per i) n := |
| 117 | (no_wrap_tie C.S (hw (interior_subset hI))).2 he |
| 118 | refine le_of_tendsto (f.evaluated C hP (f.per i) n v x hX u hr).norm ?_ |
| 119 | filter_upwards [hi, hr.eventually (mem_interior_iff_mem_nhds.mp hI)] with j hJ htag |
| 120 | exact Around.fits_budget H v K s hb A hm hmk hk hJ (u j) htag |
| 121 | intro x hx |
| 122 | have hC : x∈conf n := spaced_conf hs fun i j hij => (hx i j hij).le |
| 123 | have hc : ContinuousAt (fun y => S.read y v) x := |
| 124 | ((S.smooth_read hS v).continuousOn x hC).continuousAt ((conf_open n).mem_nhds hC) |
| 125 | haveI : NeBot (𝓝[generic n] x) := mem_closure_iff_nhdsWithin_neBot.mp (Dash.full n x) |
| 126 | refine le_of_tendsto (hc.norm.continuousWithinAt (s := generic n)).tendsto ?_ |
| 127 | filter_upwards [self_mem_nhdsWithin, |
| 128 | mem_nhdsWithin_of_mem_nhds ((separated_open s n).mem_nhds hx)] with y hy hY using hg y hY hy |
| 129 | |
| 130 | /-- Tile with two scales, neither too fine (uniform power in the |
| 131 | requested separation). Keep M to enter the power-budget regime. -/ |
| 132 | lemma scales (Q : Schedule) (h : Q.Gentle) (M n : ℕ) : |
| 133 | ∃ c : ℝ, 0 < c ∧ ∀ r : ℝ, 0 < r → r ≤ 1 → ∃ m k : ℕ, |
| 134 | M ≤ k ∧ Q.a m < r/2 ∧ m ≤ k ∧ (n:ℝ)*(2*(3*Q.a k)) < Q.a m ∧ |
| 135 | c * r^4 ≤ Q.a k := by |
| 136 | obtain ⟨c,hc,H⟩ := OS.thickness Q M h |
| 137 | let b : ℝ := 6*((n:ℝ)+1) |
| 138 | have hb : 1 ≤ b := by unfold b; linarith [Nat.cast_nonneg (α:=ℝ) n] |
| 139 | have hb' : 0 < b := zero_lt_one.trans_le hb |
| 140 | refine ⟨c * (c/(4*b))^2,by positivity,fun r hr ht => ?_⟩ |
| 141 | obtain ⟨m,hm⟩ := OS.turn Q M (r/2) (by positivity) |
| 142 | have hw : c*(r/2)^2 ≤ Q.a m := H _ (by positivity) (by linarith) m hm |
| 143 | let δ := Q.a m / b |
| 144 | have hδ : 0 < δ := div_pos (Q.a_pos _) hb' |
| 145 | obtain ⟨k,hk⟩ := OS.turn Q M δ hδ |
| 146 | have hδ' : δ ≤ Q.a m := div_le_self (Q.a_pos _).le hb |
| 147 | have hm' := hm.2.1 |
| 148 | have hk' := hk.2.1 |
| 149 | refine ⟨m,k,hk.1,hm',(Q.strictAnti.lt_iff_gt.mp (hk'.trans_le hδ')).le,?_,?_⟩ |
| 150 | · have hv : Q.a k*b < Q.a m := (lt_div_iff₀ hb').1 hk' |
| 151 | unfold b at hv |
| 152 | linarith [Q.a_pos k] |
| 153 | calc |
| 154 | c * (c/(4*b))^2 * r^4 = c * (c*(r/2)^2/b)^2 := by field_simp; ring |
| 155 | _ ≤ c * δ^2 := by |
| 156 | have hi : c*(r/2)^2/b ≤ δ := div_le_div_of_nonneg_right hw hb'.le |
| 157 | exact mul_le_mul_of_nonneg_left (pow_le_pow_left₀ (by positivity) hi 2) hc.le |
| 158 | _ ≤ Q.a k := H δ hδ (by linarith) k hk |
| 159 | |
| 160 | theorem answer : YM.Bid.D05 := by |
| 161 | intro G C S f H h hS he n d v |
| 162 | let w (i : Fin n) : C.book.Token := ⟨d i, v i⟩ |
| 163 | obtain ⟨M,D,B,hB,hf⟩ := image_power h w |
| 164 | obtain ⟨c,hc,hu⟩ := scales C.S C.path.levels.fits.mesh M n |
| 165 | refine ⟨4 * D * n,(B * c⁻¹ ^ D) ^ n,by positivity, fun r hr hR x hx => ?_⟩ |
| 166 | obtain ⟨m,k,hM,hm,hmk,hk,hw⟩ := hu r hr hR |
| 167 | have hX : x ∈ separated (r/2) n := |
| 168 | fun i j hij => lt_of_lt_of_le (by linarith) (hx i j hij) |
| 169 | have hi : (C.S.a k)⁻¹ ≤ c⁻¹ * (r⁻¹)^4 := calc |
| 170 | _ ≤ (c*r^4)⁻¹ := inv_le_inv₀ (C.S.a_pos _) (by positivity) |>.2 hw |
| 171 | _ = _ := by rw [mul_inv, inv_pow] |
| 172 | change ‖S.read x w‖ ≤ _ |
| 173 | calc |
| 174 | _ ≤ (B * (C.S.a k)⁻¹ ^ D)^n := |
| 175 | separated_bound H hS he w (r/2) _ (by positivity) m k hm hmk hk (hf k hM) x hX |
| 176 | _ ≤ (B * (c⁻¹ * (r⁻¹)^4)^D)^n := by |
| 177 | have ha := C.S.a_pos k |
| 178 | exact pow_le_pow_left₀ (by positivity) |
| 179 | (mul_le_mul_of_nonneg_left (pow_le_pow_left₀ (by positivity) hi _) hB) _ |
| 180 | _ = _ := by simp only [mul_pow, pow_mul]; ring |
| 181 | |
| 182 | end YM.Work.D05 |