theorem
weierstrass_m_test
(f : ℕ → ℝ → ℝ)
(M : ℕ → ℝ)
(S : Set ℝ)
(hM : ∀ (j : ℕ), ∀ x ∈ S, |f j x| ≤ M j)
(hMsum : Summable M)
:
(∀ x ∈ S, Summable fun (j : ℕ) => f j x) ∧ TendstoUniformlyOn (fun (n : ℕ) (x : ℝ) => ∑ j ∈ Finset.range n, f j x) (fun (x : ℝ) => ∑' (j : ℕ), f j x)
Filter.atTop S
Weierstrass M-test: if |f j x| ≤ M j for all j and all x ∈ S, and ∑ M j converges,
then for every x ∈ S the series ∑ f j x converges (absolutely), and the partial sums
∑_{j < n} f j x converge uniformly on S to ∑' j, f j x.