Analysis I, Section 8.5: Ordered sets #
I have attempted to make the translation as faithful a paraphrasing as possible of the original text. When there is a choice between a more idiomatic Lean solution and a more faithful translation, I have generally chosen the latter. In particular, there will be places where the Lean code could be "golfed" to be more elegant and idiomatic, but I have consciously avoided doing so.
Main constructions and results of this section:
- Review of
PartialOrder,LinearOrder, andWellFoundedLT, with some API. - Strong induction.
- Zorn's lemma.
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
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