Documentation

Atlas.RealAnalysis.code.Sequences.LimSupInf

theorem Sequences.limsup_eq_lim_sup_tail (x : ) (hb : BddAbove (Set.range x)) (hb' : BddBelow (Set.range x)) :
Filter.limsup x Filter.atTop = ⨅ (n : ), ⨆ (i : ), x (i + n)

For a bounded real sequence x : ℕ → ℝ, the filter-theoretic limsup along atTop agrees with the textbook definition limsup x = inf_{n} sup_{k ≥ n} x k, here written as ⨅ n, ⨆ i, x (i + n).

This realizes the informal definition: for bounded {xₙ}, limsup xₙ := lim_{n→∞} sup{xₖ : k ≥ n}.

A bounded real sequence x : ℕ → ℝ converges to some limit L if and only if its limsup and liminf (along atTop) coincide.

This is the standard characterization: a bounded sequence {xₙ} converges iff liminf xₙ = limsup xₙ.