Extra lemmas about intervals #
This file contains lemmas about intervals that cannot be included into Data.Set.Intervals.Basic
because this would create an import
cycle. Namely, lemmas in this file can use definitions
from Data.Set.Lattice
, including Disjoint
.
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
theorem
Set.eq_of_Ico_disjoint
{α : Type v}
[LinearOrder α]
{x₁ : α}
{x₂ : α}
{y₁ : α}
{y₂ : α}
(h : Disjoint (Set.Ico x₁ x₂) (Set.Ico y₁ y₂))
(hx : x₁ < x₂)
(h2 : x₂ ∈ Set.Ico y₁ y₂)
:
y₁ = x₂
If two half-open intervals are disjoint and the endpoint of one lies in the other, then it must be equal to the endpoint of the other.
theorem
IsGLB.iUnion_Ioi_eq
{ι : Sort u}
{α : Type v}
[LinearOrder α]
{a : α}
{f : ι → α}
(h : IsGLB (Set.range f) a)
:
theorem
IsLUB.iUnion_Iio_eq
{ι : Sort u}
{α : Type v}
[LinearOrder α]
{a : α}
{f : ι → α}
(h : IsLUB (Set.range f) a)
:
theorem
iUnion_Ici_eq_Ici_iInf
{ι : Sort u}
{R : Type u_1}
[CompleteLinearOrder R]
{f : ι → R}
(has_least_elem : ⨅ (i : ι), f i ∈ Set.range f)
:
theorem
iUnion_Iic_eq_Iic_iSup
{ι : Sort u}
{R : Type u_1}
[CompleteLinearOrder R]
{f : ι → R}
(has_greatest_elem : ⨆ (i : ι), f i ∈ Set.range f)
: