Dirichlet's test for series
ProvedFamousTheorems.dirichlet_test_seriesDirichlet's test for series. Let be a nonincreasing sequence of reals tending to , and let be vectors in a real normed space whose partial sums are bounded, for all . Then the partial sums of form a Cauchy sequence.
In a complete space this means the series converges. Dirichlet's test proves convergence of series such as and for and . The alternating series test is the special case .
Formalization note. Mathlib's Antitone.cauchySeq_series_mul_of_tendsto_zero_of_bounded. The sequence is Antitone (nonincreasing) and tends to 0, so it is nonnegative. The conclusion is CauchySeq of the partial sums , which does not require completeness of the space.
Preamble
import Mathlib
Formal statement
namespace FamousTheorems
theorem dirichlet_test_series {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] {b : ℝ} {f : ℕ → ℝ} {z : ℕ → E}
(hfa : Antitone f) (hf0 : Filter.Tendsto f Filter.atTop (nhds 0))
(hgb : ∀ n, ‖∑ i ∈ Finset.range n, z i‖ ≤ b) :
CauchySeq fun n => ∑ i ∈ Finset.range n, f i • z i := by sorry
end FamousTheoremsSource
Listed in Mathlib's curated theorem manifests (docs/1000.yaml); formalized in Mathlib as `Antitone.cauchySeq_series_mul_of_tendsto_zero_of_bounded`. Proof here reduces to that Mathlib result.