Filter.atTop
and Filter.atBot
filters on preorded sets, monoids and groups. #
In this file we define the filters
Filter.atTop
: corresponds ton → +∞
;Filter.atBot
: corresponds ton → -∞
.
Then we prove many lemmas like “if f → +∞
, then f ± c → +∞
”.
atTop
is the filter representing the limit → ∞
on an ordered set.
It is generated by the collection of up-sets {b | a ≤ b}
.
(The preorder need not have a top element for this to be well defined,
and indeed is trivial when a top element exists.)
Equations
- Filter.atTop = ⨅ (a : α), Filter.principal (Set.Ici a)
Instances For
atBot
is the filter representing the limit → -∞
on an ordered set.
It is generated by the collection of down-sets {b | b ≤ a}
.
(The preorder need not have a bottom element for this to be well defined,
and indeed is trivial when a bottom element exists.)
Equations
- Filter.atBot = ⨅ (a : α), Filter.principal (Set.Iic a)
Instances For
Sequences #
If u
is a sequence which is unbounded above,
then after any point, it reaches a value strictly greater than all previous values.
If u
is a sequence which is unbounded below,
then after any point, it reaches a value strictly smaller than all previous values.
If u
is a sequence which is unbounded above,
then it Frequently
reaches a value strictly greater than all previous values.
If u
is a sequence which is unbounded below,
then it Frequently
reaches a value strictly smaller than all previous values.
The monomial function x^n
tends to +∞
at +∞
for any positive natural n
.
A version for positive real powers exists as tendsto_rpow_atTop
.
$\lim_{x\to+\infty}|x|=+\infty$
$\lim_{x\to-\infty}|x|=+\infty$
Multiplication by constant: iff lemmas #
If r
is a positive constant, then λ x, r * f x
tends to infinity along a filter if and only
if f
tends to infinity along the same filter.
If r
is a positive constant, then λ x, f x * r
tends to infinity along a filter if and only
if f
tends to infinity along the same filter.
If r
is a positive constant, then x ↦ f x * r
tends to infinity along a filter if and only
if f
tends to infinity along the same filter.
If f
tends to infinity along a nontrivial filter l
, then fun x ↦ r * f x
tends to infinity
if and only if 0 < r.
If f
tends to infinity along a nontrivial filter l
, then fun x ↦ f x * r
tends to infinity
if and only if 0 < r.
If f
tends to infinity along a nontrivial filter l
, then x ↦ f x * r
tends to infinity
if and only if 0 < r.
If a function tends to infinity along a filter, then this function multiplied by a positive
constant (on the left) also tends to infinity. For a version working in ℕ
or ℤ
, use
filter.tendsto.const_mul_atTop'
instead.
If a function tends to infinity along a filter, then this function multiplied by a positive
constant (on the right) also tends to infinity. For a version working in ℕ
or ℤ
, use
filter.tendsto.atTop_mul_const'
instead.
If a function tends to infinity along a filter, then this function divided by a positive constant also tends to infinity.
If r
is a positive constant, then λ x, r * f x
tends to negative infinity along a filter if
and only if f
tends to negative infinity along the same filter.
If r
is a positive constant, then λ x, f x * r
tends to negative infinity along a filter if
and only if f
tends to negative infinity along the same filter.
If r
is a negative constant, then λ x, r * f x
tends to infinity along a filter if and only
if f
tends to negative infinity along the same filter.
If r
is a negative constant, then λ x, f x * r
tends to infinity along a filter if and only
if f
tends to negative infinity along the same filter.
If r
is a negative constant, then λ x, r * f x
tends to negative infinity along a filter if
and only if f
tends to infinity along the same filter.
If r
is a negative constant, then λ x, f x * r
tends to negative infinity along a filter if
and only if f
tends to infinity along the same filter.
The function λ x, r * f x
tends to infinity along a nontrivial filter if and only if r > 0
and f
tends to infinity or r < 0
and f
tends to negative infinity.
The function λ x, f x * r
tends to infinity along a nontrivial filter if and only if r > 0
and f
tends to infinity or r < 0
and f
tends to negative infinity.
The function λ x, r * f x
tends to negative infinity along a nontrivial filter if and only if
r > 0
and f
tends to negative infinity or r < 0
and f
tends to infinity.
The function λ x, f x * r
tends to negative infinity along a nontrivial filter if and only if
r > 0
and f
tends to negative infinity or r < 0
and f
tends to infinity.
If f
tends to negative infinity along a nontrivial filter l
, then fun x ↦ r * f x
tends to
infinity if and only if r < 0.
If f
tends to negative infinity along a nontrivial filter l
, then fun x ↦ f x * r
tends to
infinity if and only if r < 0.
If f
tends to negative infinity along a nontrivial filter l
, then fun x ↦ r * f x
tends to
negative infinity if and only if 0 < r.
If f
tends to negative infinity along a nontrivial filter l
, then fun x ↦ f x * r
tends to
negative infinity if and only if 0 < r.
If f
tends to infinity along a nontrivial filter l
, then fun x ↦ r * f x
tends to negative
infinity if and only if r < 0.
If f
tends to infinity along a nontrivial filter l
, then fun x ↦ f x * r
tends to negative
infinity if and only if r < 0.
If a function tends to infinity along a filter, then this function multiplied by a negative constant (on the left) tends to negative infinity.
If a function tends to infinity along a filter, then this function multiplied by a negative constant (on the right) tends to negative infinity.
If a function tends to negative infinity along a filter, then this function multiplied by a positive constant (on the left) also tends to negative infinity.
If a function tends to negative infinity along a filter, then this function multiplied by a positive constant (on the right) also tends to negative infinity.
If a function tends to negative infinity along a filter, then this function divided by a positive constant also tends to negative infinity.
If a function tends to negative infinity along a filter, then this function multiplied by a negative constant (on the left) tends to positive infinity.
If a function tends to negative infinity along a filter, then this function multiplied by a negative constant (on the right) tends to positive infinity.
A function f
grows to +∞
independent of an order-preserving embedding e
.
Alias of Filter.tendsto_atTop_atTop_of_monotone
.
Alias of Filter.tendsto_atBot_atBot_of_monotone
.
A function f
goes to -∞
independent of an order-preserving embedding e
.
If f
is a monotone sequence of Finset
s and each x
belongs to one of f n
, then
Tendsto f atTop atTop
.
Alias of Filter.tendsto_atTop_finset_of_monotone
.
If f
is a monotone sequence of Finset
s and each x
belongs to one of f n
, then
Tendsto f atTop atTop
.
A function f
maps upwards closed sets (atTop sets) to upwards closed sets when it is a
Galois insertion. The Galois "insertion" and "connection" is weakened to only require it to be an
insertion and a connection above b'
.
The image of the filter atTop
on Ici a
under the coercion equals atTop
.
The image of the filter atTop
on Ioi a
under the coercion equals atTop
.
The atTop
filter for an open interval Ioi a
comes from the atTop
filter in the ambient
order.
The atTop
filter for an open interval Ici a
comes from the atTop
filter in the ambient
order.
The atBot
filter for an open interval Iio a
comes from the atBot
filter in the ambient
order.
The atBot
filter for an open interval Iio a
comes from the atBot
filter in the ambient
order.
The atBot
filter for an open interval Iic a
comes from the atBot
filter in the ambient
order.
The atBot
filter for an open interval Iic a
comes from the atBot
filter in the ambient
order.
If u
is a monotone function with linear ordered codomain and the range of u
is not bounded
above, then Tendsto u atTop atTop
.
If u
is a monotone function with linear ordered codomain and the range of u
is not bounded
below, then Tendsto u atBot atBot
.
If a monotone function u : ι → α
tends to atTop
along some non-trivial filter l
, then
it tends to atTop
along atTop
.
If a monotone function u : ι → α
tends to atBot
along some non-trivial filter l
, then
it tends to atBot
along atBot
.
Let f
and g
be two maps to the same commutative additive monoid. This lemma gives
a sufficient condition for comparison of the filter atTop.map (fun s ↦ ∑ b in s, f b)
with
atTop.map (fun s ↦ ∑ b in s, g b)
. This is useful to compare the set of limit points of
∑ b in s, f b
as s → atTop
with the similar set for g
.
Equations
- Filter.map_atTop_finset_sum_le_of_sum_eq.match_1 b motive x h_1 = Exists.casesOn x fun w h => h_1 w h
Instances For
Let f
and g
be two maps to the same commutative monoid. This lemma gives a sufficient
condition for comparison of the filter atTop.map (fun s ↦ ∏ b in s, f b)
with
atTop.map (fun s ↦ ∏ b in s, g b)
. This is useful to compare the set of limit points of
Π b in s, f b
as s → atTop
with the similar set for g
.
Given an antitone basis s : ℕ → Set α
of a filter, extract an antitone subbasis s ∘ φ
,
φ : ℕ → ℕ
, such that m < n
implies r (φ m) (φ n)
. This lemma can be used to extract an
antitone basis with basis sets decreasing "sufficiently fast".
If f
is a nontrivial countably generated filter, then there exists a sequence that converges
to f
.
An abstract version of continuity of sequentially continuous functions on metric spaces:
if a filter k
is countably generated then Tendsto f k l
iff for every sequence u
converging to k
, f ∘ u
tends to l
.
A sequence converges if every subsequence has a convergent subsequence.
Let g : γ → β
be an injective function and f : β → α
be a function from the codomain of g
to an additive commutative monoid. Suppose that f x = 0
outside of the range of g
. Then the
filters atTop.map (fun s ↦ ∑ i in s, f (g i))
and atTop.map (fun s ↦ ∑ i in s, f i)
coincide.
This lemma is used to prove the equality ∑' x, f (g x) = ∑' y, f y
under
the same assumptions.
Let g : γ → β
be an injective function and f : β → α
be a function from the codomain of g
to a commutative monoid. Suppose that f x = 1
outside of the range of g
. Then the filters
atTop.map (fun s ↦ ∏ i in s, f (g i))
and atTop.map (fun s ↦ ∏ i in s, f i)
coincide.
The additive version of this lemma is used to prove the equality ∑' x, f (g x) = ∑' y, f y
under
the same assumptions.