Functions that are eventually constant along a filter #
In this file we define a predicate Filter.EventuallyConst f l saying that a function f : α → β
is eventually equal to a constant along a filter l. We also prove some basic properties of these
functions.
We also define Filter.EventuallyEmptyOrUniv s l, the specialization of EventuallyConst to a
set s : Set α, saying that s is eventually empty or eventually equal to univ along l.
Implementation notes #
A naive definition of Filter.EventuallyConst f l is ∃ y, ∀ᶠ x in l, f x = y.
However, this proposition is false for empty α, β.
Instead, we say that Filter.map f l is supported on a subsingleton.
This allows us to drop [Nonempty _] assumptions here and there.
The proposition that a function is eventually constant along a filter on the domain.
Equations
- Filter.EventuallyConst f l = (Filter.map f l).Subsingleton
Instances For
Alias of the forward direction of Filter.eventuallyConst_iff_tendsto.
Alias of the forward direction of Filter.eventuallyConst_iff_exists_eventuallyEq.
A set s is eventually empty or eventually universal along a filter l if it is eventually
equal to ∅ or to univ.
This is the specialization of Filter.EventuallyConst to s : Set α.
Equations
- Filter.EventuallyEmptyOrUniv s l = Filter.EventuallyConst (fun (x : α) => x ∈ s) l