Left and right limits #
We define the (strict) left and right limits of a function.
leftLim f xis the strict left limit offatx(usingf xas a garbage value ifxis isolated to its left).rightLim f xis the strict right limit offatx(usingf xas a garbage value ifxis isolated to its right).
We develop a comprehensive API for monotone functions. Notably,
Monotone.continuousAt_iff_leftLim_eq_rightLimstates that a monotone function is continuous at a point if and only if its left and right limits coincide.Monotone.countable_not_continuousAtasserts that a monotone function taking values in a second-countable space has at most countably many discontinuity points.
We also port the API to antitone functions.
TODO #
Prove corresponding stronger results for StrictMono and StrictAnti functions.
Let f : α → β be a function from a linear order α to a topological space β, and
let a : α. The limit strictly to the left of f at a, denoted with leftLim f a, is defined
by using the order topology on α. If a is isolated to its left or the function has no left
limit, we use f a instead to guarantee a good behavior in most cases.
Equations
Instances For
Let f : α → β be a function from a linear order α to a topological space β, and
let a : α. The limit strictly to the right of f at a, denoted with rightLim f a, is defined
by using the order topology on α. If a is isolated to its right or the function has no right
limit, , we use f a instead to guarantee a good behavior in most cases.
Equations
Instances For
A monotone function is continuous to the left at a point if and only if its left limit coincides with the value of the function.
A monotone function is continuous to the right at a point if and only if its right limit coincides with the value of the function.
A monotone function is continuous at a point if and only if its left and right limits coincide.
An antitone function is continuous to the left at a point if and only if its left limit coincides with the value of the function.
An antitone function is continuous to the right at a point if and only if its right limit coincides with the value of the function.
An antitone function is continuous at a point if and only if its left and right limits coincide.