Intervals without endpoints ordering #
In any lattice α, we define uIcc a b to be Icc (a ⊓ b) (a ⊔ b), which in a linear order is
the set of elements lying between a and b.
Icc a b requires the assumption a ≤ b to be meaningful, which is sometimes inconvenient. The
interval as defined in this file is always the set of things lying between a and b, regardless
of the relative order of a and b.
For real numbers, uIcc a b is the same as segment ℝ a b.
In a product or pi type, uIcc a b is the smallest box containing a and b. For example,
uIcc (1, -1) (-1, 1) = Icc (-1, -1) (1, 1) is the square of vertices (1, -1), (-1, -1),
(-1, 1), (1, 1).
In Finset α (seen as a hypercube of dimension Fintype.card α), uIcc a b is the smallest
subcube containing both a and b.
Notation #
We use the localized notation [[a, b]] for uIcc a b. One can open the scope Interval to
make the notation available.
[[a, b]] denotes the set of elements lying between a and b, inclusive.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Alias of Set.uIcc_toDual.
Alias of Set.notMem_uIcc_of_lt.
Alias of Set.notMem_uIcc_of_gt.
A sort of triangle inequality.
Ι a b denotes the open-closed interval with unordered bounds. Here, Ι is a capital iota,
distinguished from a capital i.
Equations
- Interval.termΙ = Lean.ParserDescr.node `Interval.termΙ 1024 (Lean.ParserDescr.symbol "Ι")
Instances For
Alias of Set.notMem_uIoc.
Alias of Set.eq_of_notMem_uIoc_of_notMem_uIoc.
Alias of Set.uIoo_toDual.
Same as Ioo_subset_uIoo but with Ioo a b replaced by Ioo b a.