- Ioo (a b : ℝ) : BoundedInterval
- Icc (a b : ℝ) : BoundedInterval
- Ioc (a b : ℝ) : BoundedInterval
- Ico (a b : ℝ) : BoundedInterval
Instances For
There is a technical issue in that this coercion is not injective: the empty set is represented by multiple bounded intervals. This causes some of the statements in this section to be a little uglier than necessary.
Equations
- ↑(Chapter11.BoundedInterval.Ioo a b) = Set.Ioo a b
- ↑(Chapter11.BoundedInterval.Icc a b) = Set.Icc a b
- ↑(Chapter11.BoundedInterval.Ioc a b) = Set.Ioc a b
- ↑(Chapter11.BoundedInterval.Ico a b) = Set.Ico a b
Instances For
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
- Chapter11.BoundedInterval.instEmpty = { emptyCollection := Chapter11.BoundedInterval.Ioo 0 0 }
@[implicit_reducible]
This is to make Finsets of BoundedIntervals work properly
Lemma 11.1.4 / Exercise 11.1.1
theorem
Chapter11.BoundedInterval.inter
(I J : BoundedInterval)
:
∃ (K : BoundedInterval), ↑I ∩ ↑J = ↑K
Corollary 11.1.6 / Exercise 11.1.2
@[implicit_reducible]
Equations
- Chapter11.BoundedInterval.instInter = { inter := fun (I J : Chapter11.BoundedInterval) => ⋯.choose }
@[simp]
@[implicit_reducible]
Equations
- Chapter11.BoundedInterval.instMembership = { mem := fun (I : Chapter11.BoundedInterval) (x : ℝ) => x ∈ ↑I }
@[implicit_reducible]
Equations
- Chapter11.BoundedInterval.instSubset = { Subset := fun (I J : Chapter11.BoundedInterval) => ∀ x ∈ I, x ∈ J }
@[reducible, inline]
Equations
- (Chapter11.BoundedInterval.Ioo a b).a = a
- (Chapter11.BoundedInterval.Icc a b).a = a
- (Chapter11.BoundedInterval.Ioc a b).a = a
- (Chapter11.BoundedInterval.Ico a b).a = a
Instances For
@[reducible, inline]
Equations
- (Chapter11.BoundedInterval.Ioo a b).b = b
- (Chapter11.BoundedInterval.Icc a b).b = b
- (Chapter11.BoundedInterval.Ioc a b).b = b
- (Chapter11.BoundedInterval.Ico a b).b = b
Instances For
instance
Chapter11.BoundedInterval.instTrans :
IsTrans BoundedInterval fun (x1 x2 : BoundedInterval) => x1 ⊆ x2
@[simp]
@[reducible, inline]
Instances For
Using ||ₗ subscript here to not override ||
Equations
- One or more equations did not get rendered due to their size.
Instances For
- intervals : Finset BoundedInterval
Instances For
theorem
Chapter11.Partition.ext
{I : BoundedInterval}
{x y : Partition I}
(intervals : x.intervals = y.intervals)
:
@[implicit_reducible]
Equations
- Chapter11.Partition.instMembership I = { mem := fun (P : Chapter11.Partition I) (J : Chapter11.BoundedInterval) => J ∈ P.intervals }
@[implicit_reducible]
@[reducible, inline]
Equations
Instances For
theorem
Chapter11.Partition.exist_right
{I : BoundedInterval}
(hI : I.a < I.b)
(hI' : I.b ∉ I)
{P : Partition I}
:
∃ c ∈ Set.Ico I.a I.b, BoundedInterval.Ioo c I.b ∈ P ∨ BoundedInterval.Ico c I.b ∈ P
Exercise 11.1.3. The exercise only claims c ≤ b, but the stronger claim c < b is true and useful.
Theorem 11.1.13 (Length is finitely additive).
@[implicit_reducible]
Definition 11.1.14 (Finer and coarser partitions)
Equations
- Chapter11.Partition.instLE I = { le := fun (P P' : Chapter11.Partition I) => ∀ J ∈ P'.intervals, ∃ K ∈ P, J ⊆ K }
@[implicit_reducible]
Equations
- Chapter11.Partition.instPreOrder I = { toLE := Chapter11.Partition.instLE I, lt := fun (a b : Chapter11.Partition I) => a ≤ b ∧ ¬b ≤ a, le_refl := ⋯, le_trans := ⋯, lt_iff_le_not_ge := ⋯ }
@[implicit_reducible]
Equations
- Chapter11.Partition.instOrderBot I = { toBot := Chapter11.Partition.instBot I, bot_le := ⋯ }
@[implicit_reducible]
Definition 11.1.16 (Common refinement)
Equations
- One or more equations did not get rendered due to their size.
Lemma 11.1.8 / Exercise 11.1.4
theorem
Chapter11.BoundedInterval.max_le_iff
(I : BoundedInterval)
{P P' P'' : Partition I}
{hP : P ≤ P''}
{hP' : P' ≤ P''}
:
Not from textbook: the reverse inclusion