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.Extra.WEAK_SCALING_ACTLAW.Jets |
| 2 | import YM.Next.EXTRACTION.Basis |
| 3 | |
| 4 | /-! |
| 5 | # Finite Wilson comparisons via actual all-subset corrections on a basis |
| 6 | |
| 7 | Product |
| 8 | corrections defined recursively by triangular free moment subtraction (i.e. |
| 9 | the coefficients after formally dividing the source by the free moment |
| 10 | series in commuting square-zero variables). |
| 11 | |
| 12 | In particular not the simple |
| 13 | product of centered variables. |
| 14 | |
| 15 | Wilson expectation of every nonempty |
| 16 | adjustment controlled via full rooted chessboard; multiplication back pays |
| 17 | all free sublist moments, uniform including through projection ties on the |
| 18 | window. |
| 19 | |
| 20 | Unit fields represent omitted factors in free sublist tests. |
| 21 | |
| 22 | Geometry |
| 23 | of the tiling is part of the *required estimate*, not simply granted for |
| 24 | these patterns. |
| 25 | -/ |
| 26 | set_option autoImplicit false |
| 27 | noncomputable section |
| 28 | namespace YM.Extra.WeakScaling |
| 29 | open Set Function MeasureTheory Filter Climb Extraction Cells Wilson Table Ward |
| 30 | open scoped Topology ContDiff |
| 31 | variable {G : Gauge} {C : Family G} {M n d : ℕ} {Q : ℝ} |
| 32 | |
| 33 | private def within (v : Fin n → (Free C).Tag) (s : Finset (Fin n)) := fun i => |
| 34 | if i ∈ s then v i else (⟨(v i).1,(Free C).unit (v i).1⟩ : (Free C).Tag) |
| 35 | |
| 36 | def expected (v : Fin n → (Free C).Tag) (x : Points n) (s : Finset (Fin n)) := disc (within v s) x |
| 37 | lemma entire (v : Fin n → (Free C).Tag) (x) : expected v x Finset.univ = disc v x := by rw [expected,show within v Finset.univ = v by funext i; simp [within]] |
| 38 | lemma expected_bound (v : Fin n → (Free C).Tag) (q : Finset (Fin n)) (hQ : 0 < Q) : |
| 39 | ∃ B : ℝ, 0 ≤ B ∧ ∀ x ∈ apart Q n, ‖expected v x q‖ ≤ B := by |
| 40 | obtain ⟨B,hB⟩ := (compact_window Q n).exists_bound_of_continuousOn |
| 41 | (((Free C).class_smooth (Free C) (Maxwell.table_smooth _) (within v q)).continuousOn.mono |
| 42 | (show Scaling.window Q n ⊆ conf n from fun x hx => spaced_conf (by positivity) hx.1)) |
| 43 | refine ⟨max 0 B,le_max_left .., fun x hx => (hB x ⟨fun i j he => ?_,hx.1.le⟩).trans (le_max_right ..)⟩ |
| 44 | obtain ⟨a,ha⟩ := hx.2 j i he.symm |
| 45 | exact ha.le.trans ((dist_pi_le_iff (r:=cubedist (x i) (x j)) dist_nonneg).mp le_rfl a) |
| 46 | |
| 47 | variable (b : Stations C) (k N p : ℕ) (v : Fin n → (Free C).Tag) (u : Fin n → Lattice.Cover) |
| 48 | |
| 49 | def insertions (I : Finset (Fin n)) (U : Config G (C.side N p)) := |
| 50 | ∏ i ∈ I, C.seen (b.name k N p (v i)) (Cells.location C.S (b.grid k) N p (u i)) U |
| 51 | |
| 52 | private def smallerSets {α : Type*} [DecidableEq α] (I : Finset α) := I.ssubsets.erase ∅ |
| 53 | |
| 54 | /-- Corrections on nonempty subsets (value on ∅ unused). Free coefficients |
| 55 | computed at the same rescaled positions. -/ |
| 56 | def corrected (I : Finset (Fin n)) (U : Config G (C.side N p)) : ℂ := insertions b k N p v u I U - expected v (b.rescaled k u) I - |
| 57 | ∑ t ∈ (smallerSets I).attach, expected v (b.rescaled k u) (I \ t.val) * corrected t.val U |
| 58 | termination_by I.card |
| 59 | decreasing_by exact Finset.card_lt_card (Finset.mem_ssubsets.mp (Finset.mem_of_mem_erase t.property)) |
| 60 | |
| 61 | lemma multiply_back (I : Finset (Fin n)) (U : Config G (C.side N p)) : insertions b k N p v u I U = expected v (b.rescaled k u) I + |
| 62 | corrected b k N p v u I U + ∑ t ∈ smallerSets I, expected v (b.rescaled k u) (I \ t) * corrected b k N p v u t U := by |
| 63 | rw [corrected,Finset.sum_attach (smallerSets I) (fun t => expected _ _ _ * corrected _ _ _ _ _ _ t U)] |
| 64 | ring |
| 65 | |
| 66 | lemma moment_le_root {n : Lattice.Side} (T : Tiling n) {β : ℝ} (h : Seam G n β) (F : Config G n → ℂ) |
| 67 | (hf : Interior (T.chamber 0) F) : ‖moment β F‖ ≤ T.rootTest β F := by |
| 68 | simpa using T.planted h (fun _ : Unit => 0) (fun _ _ _ => rfl) (fun _ => F) (fun _ => hf) |
| 69 | |
| 70 | lemma finite_comparison (h : C.Makes) (x : Points n) (hx : x = b.rescaled k u) |
| 71 | (I : Finset (Fin n)) (hi : I.Nonempty) (T : Tiling (C.side N p)) (B η : ℝ) (_hη : 0 ≤ η) |
| 72 | (hB : ∀ s, ‖expected v x s‖ ≤ B) |
| 73 | (ht : ∀ s ⊆ I, s.Nonempty → let Y := corrected b k N p v u s |
| 74 | Interior (T.chamber 0) Y ∧ T.rootTest (C.beta N p) Y ≤ η) : |
| 75 | ‖moment (C.beta N p) (insertions b k N p v u I) - expected v x I‖ ≤ (1 + (smallerSets I).card * B) * η := by |
| 76 | subst x |
| 77 | let Y := corrected b k N p v u |
| 78 | let E := expected v (b.rescaled k u) |
| 79 | let μ := law G (C.side N p) (C.beta N p) |
| 80 | have h₁ (s : Finset (Fin n)) (hs : s ∈ smallerSets I) := ht s |
| 81 | (Finset.mem_ssubsets.mp (Finset.mem_of_mem_erase hs)).subset (Finset.nonempty_iff_ne_empty.mpr (Finset.ne_of_mem_erase hs)) |
| 82 | have h₂ (s : Finset (Fin n)) (hs : s ∈ smallerSets I) : Integrable (fun U => E (I \ s)*Y s U) μ := |
| 83 | ((h₁ s hs).1.integrable _).const_mul _ |
| 84 | have he : moment (C.beta N p) (insertions b k N p v u I) - E I = moment (C.beta N p) (Y I) + |
| 85 | ∑ s ∈ smallerSets I, E (I \ s) * moment (C.beta N p) (Y s) := by |
| 86 | unfold moment |
| 87 | simp_rw [multiply_back] |
| 88 | change (∫ U, (E I + Y I U) + ∑ s ∈ smallerSets I, E (I\s)*Y s U ∂μ) - E I = _ |
| 89 | have hY : Integrable (Y I) μ := (ht I (by rfl) hi).1.integrable (C.beta N p) |
| 90 | rw [integral_add (show Integrable (fun U => E I + Y I U) μ from (integrable_const (E I)).add hY) (integrable_finsetSum _ h₂),integral_finsetSum _ h₂, |
| 91 | integral_add (integrable_const _) hY] |
| 92 | simp only [μ,integral_const, probReal_univ,one_smul,integral_const_mul]; dsimp only [Y,E]; abel |
| 93 | change ‖_ - E I‖ ≤ _ |
| 94 | have H (s hs he) := (moment_le_root T (seamless h N p) (Y s) (ht s hs he).1).trans (ht s hs he).2 |
| 95 | rw [he] |
| 96 | apply (norm_add_le ..).trans |
| 97 | calc |
| 98 | _ ≤ η + ∑ s ∈ smallerSets I, B * η := by |
| 99 | gcongr |
| 100 | · exact H _ (by rfl) hi |
| 101 | refine (norm_sum_le ..).trans (Finset.sum_le_sum (fun s hs => ?_)) |
| 102 | exact norm_mul_le .. |>.trans (mul_le_mul (hB _) ((moment_le_root T (seamless h N p) _ (h₁ s hs).1).trans (h₁ s hs).2) |
| 103 | (norm_nonneg _) ((norm_nonneg _).trans (hB I))) |
| 104 | _ = _ := by simp; ring |
| 105 | |
| 106 | variable {b k N p v u} {f : Extraction.Order} {D : ℕ} {ι : ℕ → Type*} |
| 107 | |
| 108 | /-- Genuine missing corrected all-subset/root estimates on C. Fit **one** |
| 109 | comparison tiling and use the whole reflected copies with conjugation as in |
| 110 | Seam; the required estimate is uniform on rescaled `apart Q n` generic |
| 111 | placements, at arbitrarily large fixed k late on the ordered cutoffs. Only |
| 112 | basis lists and subsets of their actual slot indices (include repeated labels; |
| 113 | don't identify their markers) needed in this port. The calibration is NOT |
| 114 | retuned in smaller subtests. -/ |
| 115 | def RootCosts (b : Stations C) (f : Extraction.Order) (B : ∀ d, Module.Basis (ι d) ℂ ((Free C).Field d)) |
| 116 | (M D : ℕ) (Q : ℝ) := ∀ n, n ≤ M → ∀ d : Caps n, (∀ i, d i ≤ D) → ∀ j : (i : Fin n) → ι (d i), |
| 117 | let v := fun i => (⟨d i,B (d i) (j i)⟩ : (Free C).Tag) |
| 118 | ∀ η : ℝ, 0 < η → ∀ᶠ k in atTop, ∀ u : Fin n → Lattice.Cover, b.rescaled k u ∈ apart Q n → b.rescaled k u ∈ generic n → |
| 119 | f.late fun N p => ∃ T : Tiling (C.side N p), ∀ s : Finset (Fin n), s.Nonempty → |
| 120 | let Y := corrected b k N p v u s; Interior (T.chamber 0) Y ∧ T.rootTest (C.beta N p) Y ≤ η |
| 121 | |
| 122 | variable {B : ∀ d, Module.Basis (ι d) ℂ ((Free C).Field d)} |
| 123 | |
| 124 | private def Small (b : Stations C) (f : Extraction.Order) (Q : ℝ) (Z : ℕ → ℕ → ℕ → (Fin n → Lattice.Cover) → ℂ) := |
| 125 | ∀ η : ℝ, 0 < η → ∀ᶠ k in atTop, ∀ u : Fin n → Lattice.Cover, b.rescaled k u ∈ apart Q n → b.rescaled k u ∈ generic n → |
| 126 | f.late fun N p => ‖Z k N p u‖ ≤ η |
| 127 | |
| 128 | private lemma Small.sum {α : Type*} {Z : α → ℕ → ℕ → ℕ → (Fin n → Lattice.Cover) → ℂ} (c : α → ℂ) (s : Finset α) |
| 129 | (h : ∀ i ∈ s, Small b f Q (Z i)) : Small b f Q (fun k N p u => ∑ i ∈ s, c i • Z i k N p u) := by |
| 130 | let B := 1 + ∑ i ∈ s, ‖c i‖ |
| 131 | have hB : 0 < B := add_pos_of_pos_of_nonneg zero_lt_one (Finset.sum_nonneg fun i _ => norm_nonneg _) |
| 132 | intro η hη |
| 133 | filter_upwards [(eventually_all_finset s).mpr (fun i hi => h i hi (η/B) (by positivity))] with k hk u hu hv |
| 134 | have he (i) (hi : i ∈ s) : ∀ᶠ w : ℕ × ℕ in f.fuse, ‖Z i k w.1 w.2 u‖ ≤ η/B := hk i hi _ hu hv |
| 135 | refine ((eventually_all_finset s).mpr he).mono (fun w hw => (norm_sum_le ..).trans |
| 136 | ((Finset.sum_le_sum (fun i hi => (norm_smul (c i) _).trans_le (mul_le_mul_of_nonneg_left (hw i hi) (norm_nonneg _)))).trans ?_)) |
| 137 | rw [← Finset.sum_mul, mul_div_assoc', div_le_iff₀ hB,mul_comm η] |
| 138 | gcongr |
| 139 | simp [B] |
| 140 | |
| 141 | private theorem root_entry (H : C.Makes) (h : RootCosts b f B M D Q) (hQ : 0 < Q) (hn : n ≤ M) |
| 142 | (d : Caps n) (hd : ∀ i, d i ≤ D) (j : (i : Fin n) → ι (d i)) : |
| 143 | let v := fun i => (⟨d i,B (d i) (j i)⟩ : (Free C).Tag) |
| 144 | Small b f Q (fun k N p u => b.cost k N p v u - disc v (b.rescaled k u)) := by |
| 145 | cases n with |
| 146 | | zero => |
| 147 | intro v η hη |
| 148 | refine Eventually.of_forall fun k u hu he => Eventually.of_forall fun p => Eventually.of_forall fun N => ?_ |
| 149 | change ‖b.cost k _ _ v u - disc v _‖ ≤ η |
| 150 | rw [Stations.cost,Family.num,disc,show (Free C).useAt (Free C) _ v = 1 from (Maxwell.table_regular _).trivial (fun i => ⟨(v i).1,(Free C).representative _ (v i).2⟩) _] |
| 151 | simp [hη.le] |
| 152 | | succ n => |
| 153 | intro v η hη |
| 154 | obtain ⟨A,hA,hx⟩ : ∃ A : ℝ, 0 ≤ A ∧ ∀ s, ∀ x ∈ apart Q (n+1), ‖expected v x s‖ ≤ A := by |
| 155 | choose A hA hx using fun s => expected_bound v s hQ |
| 156 | exact ⟨∑ s, A s,Finset.sum_nonneg (fun s _ => hA s), fun s x h => (hx s x h).trans |
| 157 | (Finset.single_le_sum (fun j _ => hA j) (Finset.mem_univ _))⟩ |
| 158 | let I := (Finset.univ : Finset (Fin (n+1))) |
| 159 | let L := 1 + (smallerSets I).card * A |
| 160 | have hL : 0 < L := by dsimp [L]; positivity |
| 161 | filter_upwards [h _ hn d hd j (η/L) (by positivity)] with k hk u hu hv |
| 162 | have he : ∀ᶠ w in f.fuse, ∃ T : Tiling (C.side w.1 w.2), ∀ s : Finset (Fin (n+1)), s.Nonempty → |
| 163 | let Y := corrected b k w.1 w.2 v u s; Interior (T.chamber 0) Y ∧ T.rootTest (C.beta w.1 w.2) Y ≤ η/L := hk u hu hv |
| 164 | refine (Order.fused f (fun w : ℕ × ℕ => ‖b.cost k w.1 w.2 v u - disc v (b.rescaled k u)‖ ≤ η)).1 ?_ |
| 165 | refine he.mono ?_ |
| 166 | rintro ⟨N,p⟩ ⟨T,hT⟩ |
| 167 | rw [← entire] |
| 168 | exact (finite_comparison b k N p v u H _ rfl I Finset.univ_nonempty T A (η/L) (by positivity) |
| 169 | (fun s => hx s _ hu) (fun s _ hs => hT s hs)).trans_eq (mul_div_cancel₀ _ hL.ne') |
| 170 | |
| 171 | lemma aligned_of_root [∀ d, Fintype (ι d)] (H : C.Makes) (h : RootCosts b f B M D Q) (hQ : 0 < Q) : AlignedCosts b f M D Q := by |
| 172 | classical |
| 173 | intro n hn v hv |
| 174 | let d : Caps n := fun i => (v i).1 |
| 175 | let w (i : Fin n) := (v i).2 |
| 176 | let J := ∀ i : Fin n, ι (d i) |
| 177 | letI : Fintype J := Pi.instFintype |
| 178 | let Z (j : J) := fun i => (⟨d i, B (d i) (j i)⟩ : (Free C).Tag) |
| 179 | let c := fun j : J => ∏ i, (B (d i)).repr (w i) (j i) |
| 180 | let Y := fun (v : Fin n → (Free C).Tag) k N p u => b.cost k N p v u - disc v (b.rescaled k u) |
| 181 | suffices he : Y v = fun k N p u => ∑ i : J, c i • Y (Z i) k N p u by |
| 182 | change Small b f Q (Y v); rw [he]; exact Small.sum c Finset.univ (fun i _ => root_entry H h hQ hn d hv i) |
| 183 | funext k N p u |
| 184 | let g : MatrixTest C d := ((C.ensemble (N:=N) (p:=p) d (location C.S (b.grid k) N p ∘ u)).compLinearMap |
| 185 | (fun i => (b.coef k (d i) N p).toLinearMap)) - ((Free C).classMoment (Free C) d (b.rescaled k u)) |
| 186 | change g w = ∑ i : J, c i • (g (fun s => B (d s) (i s))) |
| 187 | have ht i := (B (d i)).sum_repr (w i) |
| 188 | conv_lhs => rw [← funext ht] |
| 189 | rw [MultilinearMap.map_sum]; exact Finset.sum_congr rfl fun i _ => g.map_smul_univ _ _ |
| 190 | |
| 191 | /-- Geometry B root inputs only on the same finite basis, simultaneous at |
| 192 | the indicated width through a whole tested word. No `m` chosen after seeing |
| 193 | individual offsets. Requires separate `Sym` to use on rotations and stars. |
| 194 | -/ |
| 195 | def BasisCenter (b : Stations C) (f : Extraction.Order) (B : ∀ d, Module.Basis (ι d) ℂ ((Free C).Field d)) |
| 196 | (M D : ℕ) (Q : ℝ) := ∀ n, n ≤ M → ∀ d : Caps n, (∀ i, d i ≤ D) → |
| 197 | ∃ A : ℕ → ℝ, (∀ k, 0 ≤ A k) ∧ Tendsto (fun k => (A k)^n*b.delta k) atTop (𝓝 0) ∧ |
| 198 | ∀ᶠ k in atTop, ∃ m j : ℕ, m≤j ∧ C.S.a m < b.r k/Q ∧ |
| 199 | (n:ℝ)*(2*(3*C.S.a j)) < C.S.a m ∧ C.S.a j < b.r k/(4*Q) ∧ |
| 200 | f.late fun N p => ∀ (i : Fin n) (z : ι (d i)), centeredBudget C (b.name k N p ⟨d i,B (d i) z⟩) (A k) j N p |
| 201 | |
| 202 | private def spins (h : (Free C).RealSpin) (s : Extraction.Spin.Frame) (v : (Free C).Field d) := |
| 203 | let w := (Free C).mirror h d s.1 v |
| 204 | if s.2 then (Free C).conj h d w else w |
| 205 | private lemma applies {h : (Free C).RealSpin} (hc : ∀ g u, b.coef k d N p ((Free C).mirror h d g u) = |
| 206 | C.book.mirrorGroup d g (b.coef k d N p u)) (hv : ∀ u, b.coef k d N p ((Free C).conj h d u) = star (b.coef k d N p u)) |
| 207 | (v : (Free C).Field d) (s : Extraction.Spin.Frame) : |
| 208 | b.name k N p ⟨d,spins h s v⟩ = Extraction.Spin.token C.book (b.name k N p ⟨d,v⟩) s := by |
| 209 | dsimp only [Extraction.Spin.token,Register.conjugate,Register.move,spins,Stations.name] |
| 210 | split <;> simp_all |
| 211 | |
| 212 | private lemma lump [∀ d, Fintype (ι d)] (B : ∀ d, Module.Basis (ι d) ℂ ((Free C).Field d)) (h : (Free C).RealSpin) |
| 213 | (v : Fin n → (Free C).Tag) : ∃ L : ℝ, 0 ≤ L ∧ ∀ i s, ∑ z, ‖(B (v i).1).repr (spins h s (v i).2) z‖ ≤ L := by |
| 214 | obtain ⟨L,hL,hv⟩ := ((eventually_ge_atTop (0:ℝ)).and <| eventually_all.mpr fun i => eventually_all.mpr fun s => |
| 215 | eventually_ge_atTop (∑ z, ‖(B (v i).1).repr (spins h s (v i).2) z‖)).exists |
| 216 | exact ⟨L,hL,hv⟩ |
| 217 | |
| 218 | private lemma column_combination [Fintype (ι d)] (h : C.Makes) (B : Module.Basis (ι d) ℂ ((Free C).Field d)) (N p m k : ℕ) |
| 219 | (hN : m ≤ N) (hw : C.ref d ≤ N) (D L : ℝ) (hD : 0 ≤ D) |
| 220 | (ht : ∀ z, centeredBudget C (b.name k N p ⟨d,B z⟩) D m N p) (v : (Free C).Field d) (hv : ∑ z, ‖B.repr v z‖ ≤ L) : |
| 221 | centeredBudget C (b.name k N p ⟨d,v⟩) (L*D) m N p := by |
| 222 | classical |
| 223 | refine ⟨hN,hw,fun x => ?_⟩ |
| 224 | let T := center C.S p hN x |
| 225 | let O : (Free C).Field d →ₗ[ℂ] Config G (C.side N p) → ℂ := ((C.linearO N p d x).mk' _).comp (b.coef k d N p).toLinearMap |
| 226 | have he (i) : Interior (T.chamber 0) (O (B i)) ∧ T.rootTest (C.beta N p) (O (B i)) ≤ D := (ht i).choose_spec.2 x |
| 227 | change Interior _ (O v) ∧ T.rootTest _ (O v) ≤ _ |
| 228 | have hv' := congrArg O (B.sum_repr v) |
| 229 | simp only [_root_.map_sum,map_smul] at hv' |
| 230 | rw [← hv']; obtain ⟨hF,hE⟩ := Next.Extract.rooted T _ (seamless h N p) Finset.univ (fun z => O (B z)) (B.repr v) |
| 231 | (fun i _ => (he i).1) |
| 232 | refine ⟨hF,hE.trans ((Finset.sum_le_sum (fun z _ => mul_le_mul_of_nonneg_left (he z).2 (norm_nonneg (B.repr v z)))).trans ?_)⟩ |
| 233 | rw [← Finset.sum_mul]; exact mul_le_mul_of_nonneg_right hv hD |
| 234 | |
| 235 | theorem center_of_basis [∀ d, Fintype (ι d)] {H : (Free C).RealSpin} (h : C.Makes) |
| 236 | (hH : ∀ k d, d≤D → Sym b f H k d) (hC : BasisCenter b f B M D Q) : CenterCosts b f M D Q := by |
| 237 | intro n hn v hv |
| 238 | let d := fun i => (v i).1 |
| 239 | obtain ⟨A,hA,hlim,he⟩ := hC n hn d hv |
| 240 | obtain ⟨L,hL,ht⟩ := lump B H v |
| 241 | have hl : Tendsto (fun k => (L*A k)^n * b.delta k) atTop (𝓝 0) := by |
| 242 | simpa only [mul_zero,mul_pow,mul_assoc] using hlim.const_mul (L^n) |
| 243 | refine ⟨fun k => L*A k, fun k => mul_nonneg hL (hA k),hl,he.mono ?_⟩ |
| 244 | rintro k ⟨m,j,h₁,h₂,h₃,h₄,h₅⟩ |
| 245 | have h₀ : ∀ᶠ w : ℕ × ℕ in f.fuse, ∀ i z, centeredBudget C (b.name k w.1 w.2 ⟨d i,B (d i) z⟩) (A k) j w.1 w.2 := h₅ |
| 246 | have hs (i : Fin n) : ∀ᶠ w in f.fuse, let c := b.coef k (d i) w.1 w.2 |
| 247 | (∀ g u, c ((Free C).mirror H _ g u) = C.book.mirrorGroup _ g (c u)) ∧ (∀ u, c ((Free C).conj H _ u) = star (c u)) ∧ |
| 248 | c ((Free C).unit _) = C.refUnit _ := hH k (d i) (hv i) |
| 249 | have hf (z : ℕ) := (cofin_fst f).eventually (eventually_ge_atTop z) |
| 250 | refine ⟨m,j,h₁,h₂,h₃,h₄, (Order.fused f (fun w => ∀ i s, centeredBudget C |
| 251 | (Extraction.Spin.token C.book (b.name k w.1 w.2 (v i)) s) (L*A k) j w.1 w.2)).1 ?_⟩ |
| 252 | filter_upwards [h₀,eventually_all.mpr hs,hf j,eventually_all.mpr (fun i => hf (C.ref (d i)))] with w hw hs hj hr i s |
| 253 | have hh := applies (hs i).1 (hs i).2.1 (v i).2 s |
| 254 | rw [← show (⟨(v i).1,(v i).2⟩ : (Free C).Tag) = v i from Sigma.eta _, ← hh] |
| 255 | exact column_combination h (B (d i)) w.1 w.2 j k hj (hr i) _ _ (hA k) (hw i) _ (ht i s) |
| 256 | |
| 257 | /-- Finite comparison estimates only on the indicated basis (plus separate |
| 258 | coefficient norm and H/real/unit receipts) produce the cutoff inputs of act. -/ |
| 259 | theorem finite_of_basis [∀ d, Fintype (ι d)] {H : (Free C).RealSpin} (h : C.Makes) (hQ : 0 < Q) |
| 260 | (hb : ∀ k d, ∃ A : ℝ, 0 ≤ A ∧ ∃ p₀ : ℕ, ∀ p ≥ p₀, ∀ᶠ j in atTop, ‖b.coef k d (f.mesh j) p‖ ≤ A) |
| 261 | (hH : ∀ k d, d≤D → Sym b f H k d) (hC : BasisCenter b f B M D Q) (hr : RootCosts b f B M D Q) : |
| 262 | FiniteCosts b f H M D Q := ⟨hb,hH,center_of_basis h hH hC,aligned_of_root h hr hQ⟩ |
| 263 | end YM.Extra.WeakScaling |