Intervals
In any preorder α
, we define intervals (which on each side can be either infinite, open, or
closed) using the following naming conventions:
i
: infiniteo
: openc
: closed
Each interval has the name I
+ letter for left side + letter for right side. For instance,
Ioc a b
denotes the inverval (a, b]
.
This file contains these definitions, and basic facts on inclusion, intersection, difference of
intervals (where the precise statements may depend on the properties of the order, in particular
for some statements it should be linear_order
or densely_ordered
).
TODO: This is just the beginning; a lot of rules are missing
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
theorem
set.Ioo_subset_Ioo_iff
{α : Type u}
[linear_order α]
{a₁ a₂ b₁ b₂ : α}
[densely_ordered α] :
@[simp]
@[simp]
@[simp]
@[simp]
Unions of adjacent intervals
Two infinite intervals
@[simp]
@[simp]
@[simp]
A finite and an infinite interval
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
An infinite and a finite interval
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
Two finite intervals, I?o
and Ic?
@[simp]
@[simp]
@[simp]
@[simp]
Two finite intervals, I?c
and Io?
@[simp]
@[simp]
@[simp]
@[simp]
Two finite intervals with a common point
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]