Equations
- Chapter8.PartialOrder.mk hrefl hantisymm htrans = { le := fun (x1 x2 : X) => x1 ≤ x2, le_refl := hrefl, le_trans := htrans, lt_iff_le_not_ge := ⋯, le_antisymm := hantisymm }
Instances For
Equations
- Chapter8.IsTotal X = ∀ (x y : X), x ≤ y ∨ y ≤ x
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Definition 8.5.8. We use [LinearOrder X] [WellFoundedLT X] to describe well-ordered sets.
Exercise 8.5.8
Exercise 8.5.8
Proposition 8.5.10 / Exercise 8.5.10
Definition 8.5.12 (Upper bounds and strict upper bounds)
Equations
- Chapter8.IsUpperBound A x = ∀ y ∈ A, y ≤ x
Instances For
Connection with Mathlib's upperBounds
Equations
- Chapter8.IsStrictUpperBound A x = (Chapter8.IsUpperBound A x ∧ x ∉ A)
Instances For
Lemma 8.5.14
Lemma 8.5.15 (Zorn's lemma) / Exercise 8.5.14
Equations
Instances For
Exercise 8.5.3: The divisibility ordering on PNat.
Equations
- Chapter8.PNat.divOrder = { le := fun (x y : ℕ+) => ∃ (n : ℕ+), y = n * x, le_refl := ⋯, le_trans := ⋯, lt_iff_le_not_ge := Chapter8.PNat.divOrder._proof_1, le_antisymm := ⋯ }
Instances For
Equations
- Chapter8.Ex_8_5_5_b = sorry
Instances For
Exercise 8.5.6
Equations
Instances For
Equations
Instances For
Exercise 8.5.12. Here we make a copy of Mathlib's Lex wrapper for lexicographical orderings. This wrapper is needed
because products X × Y of ordered sets are given the default instance of the product partial order instead of
the lexicographical one.
Equations
- Chapter8.Lex' α = α
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- Chapter8.Lex'.linearOrder = sorry
Exercise 8.5.15
Exercise 8.5.16: The set of partial orderings on X, ordered by "coarser than", is itself a partial order.
Equations
- Chapter8.PartialOrder.coarserOrder X = { le := fun (p1 p2 : PartialOrder X) => ∀ (x y : X), x ≤ y → x ≤ y, le_refl := ⋯, le_trans := ⋯, lt_iff_le_not_ge := ⋯, le_antisymm := ⋯ }
The discrete ordering (x ≤ y ↔ x = y) is the unique minimal element.
Equations
- Chapter8.PartialOrder.discrete X = { le := fun (x y : X) => x = y, le_refl := ⋯, le_trans := ⋯, lt_iff_le_not_ge := ⋯, le_antisymm := ⋯ }
Instances For
A partial ordering is maximal in the coarser order iff it is total.
Any partial ordering extends to a total ordering (by Zorn's lemma).
Exercise 8.5.18
Exercise 8.5.19: A well-ordered subset of X: a subset with a linear order and well-foundedness.
- carrier : Set X
- ord : LinearOrder ↑self.carrier
- wf : WellFoundedLT ↑self.carrier
Instances For
(W, ≤) is an initial segment of (W', ≤') if W ⊆ W', the orderings agree on W, and W = {y ∈ W' : y <' x} for some x ∈ W'.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The ordering on well-ordered subsets: equal or initial segment.
Equations
- One or more equations did not get rendered due to their size.
The empty well-ordered subset.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The maximal elements are precisely the well-orderings of all of X.
The well-ordering principle: every set has a well-ordering.
Well-ordering principle implies axiom of choice. Well-order the disjoint union
Σ i, X i, then pick the minimum of each fiber.
The maximal disjoint subcollection property implies Exercise 8.4.2, hence is equivalent to the axiom of choice.