liminfs and limsups of functions and filters #
Defines the liminf/limsup of a function taking values in a conditionally complete lattice, with respect to an arbitrary filter.
We define limsSup f
(limsInf f
) where f
is a filter taking values in a conditionally complete
lattice. limsSup f
is the smallest element a
such that, eventually, u ≤ a
(and vice versa for
limsInf f
). To work with the Limsup along a function u
use limsSup (map u f)
.
Usually, one defines the Limsup as inf (sup s)
where the Inf is taken over all sets in the filter.
For instance, in ℕ along a function u
, this is inf_n (sup_{k ≥ n} u k)
(and the latter quantity
decreases with n
, so this is in fact a limit.). There is however a difficulty: it is well possible
that u
is not bounded on the whole space, only eventually (think of limsup (fun x ↦ 1/x)
on ℝ.
Then there is no guarantee that the quantity above really decreases (the value of the sup
beforehand is not really well defined, as one can not use ∞), so that the Inf could be anything.
So one can not use this inf sup ...
definition in conditionally complete lattices, and one has
to use a less tractable definition.
In conditionally complete lattices, the definition is only useful for filters which are eventually bounded above (otherwise, the Limsup would morally be +∞, which does not belong to the space) and which are frequently bounded below (otherwise, the Limsup would morally be -∞, which is not in the space either). We start with definitions of these concepts for arbitrary filters, before turning to the definitions of Limsup and Liminf.
In complete lattices, however, it coincides with the Inf Sup
definition.
The limsup
of a function u
along a filter f
is the infimum of the a
such that,
eventually for f
, holds u x ≤ a
.
Equations
- Filter.limsup u f = (Filter.map u f).limsSup
Instances For
The liminf
of a function u
along a filter f
is the supremum of the a
such that,
eventually for f
, holds u x ≥ a
.
Equations
- Filter.liminf u f = (Filter.map u f).limsInf
Instances For
The blimsup
of a function u
along a filter f
, bounded by a predicate p
, is the infimum
of the a
such that, eventually for f
, u x ≤ a
whenever p x
holds.
Instances For
The bliminf
of a function u
along a filter f
, bounded by a predicate p
, is the supremum
of the a
such that, eventually for f
, a ≤ u x
whenever p x
holds.
Instances For
Same as limsup_const applied to ⊥
but without the NeBot f
assumption
Same as limsup_const applied to ⊤
but without the NeBot f
assumption
In a complete lattice, the limsup of a function is the infimum over sets s
in the filter
of the supremum of the function over s
In a complete lattice, the liminf of a function is the infimum over sets s
in the filter
of the supremum of the function over s
If f : α → α
is a morphism of complete lattices, then the limsup of its iterates of any
a : α
is a fixed point.
If f : α → α
is a morphism of complete lattices, then the liminf of its iterates of any
a : α
is a fixed point.
See also Filter.blimsup_or_eq_sup
.
See also Filter.bliminf_or_eq_inf
.
If Filter.limsup u atTop ≤ x
, then for all ε > 0
, eventually we have u b < x + ε
.
If x ≤ Filter.liminf u atTop
, then for all ε < 0
, eventually we have x + ε < u b
.
If Filter.limsup u atTop ≤ x
, then for all ε > 0
, there exists a positive natural
number n
such that u n < x + ε
.
If x ≤ Filter.liminf u atTop
, then for all ε < 0
, there exists a positive natural
number n
such that x + ε < u n
.
Given an indexed family of sets s j
over j : Subtype p
and a function f
, then
liminf_reparam j
is equal to j
if f
is bounded below on s j
, and otherwise to some
index k
such that f
is bounded below on s k
(if there exists one).
To ensure good measurability behavior, this index k
is chosen as the minimal suitable index.
This function is used to write down a liminf in a measurable way,
in Filter.HasBasis.liminf_eq_ciSup_ciInf
and Filter.HasBasis.liminf_eq_ite
.
Equations
Instances For
Writing a liminf as a supremum of infimum, in a (possibly non-complete) conditionally complete linear order. A reparametrization trick is needed to avoid taking the infimum of sets which are not bounded below.
Writing a liminf as a supremum of infimum, in a (possibly non-complete) conditionally complete linear order. A reparametrization trick is needed to avoid taking the infimum of sets which are not bounded below.
Given an indexed family of sets s j
and a function f
, then limsup_reparam j
is equal
to j
if f
is bounded above on s j
, and otherwise to some index k
such that f
is bounded
above on s k
(if there exists one). To ensure good measurability behavior, this index k
is
chosen as the minimal suitable index. This function is used to write down a limsup in a measurable
way, in Filter.HasBasis.limsup_eq_ciInf_ciSup
and Filter.HasBasis.limsup_eq_ite
.
Equations
- Filter.limsup_reparam f s p j = Filter.liminf_reparam f s p j
Instances For
Writing a limsup as an infimum of supremum, in a (possibly non-complete) conditionally complete linear order. A reparametrization trick is needed to avoid taking the supremum of sets which are not bounded above.
Writing a limsup as an infimum of supremum, in a (possibly non-complete) conditionally complete linear order. A reparametrization trick is needed to avoid taking the supremum of sets which are not bounded below.