Extend a partial order to a linear order #
This file constructs a linear order which is an extension of the given partial order, using Zorn's lemma.
theorem extend_partialOrder {α : Type u} (r : α → α → Prop) [IsPartialOrder α r] :
∃ (s : α → α → Prop), IsLinearOrder α s ∧ r ≤ s
Szpilrajn extension theorem: any partial order can be extended to a linear order.
A type alias for α, intended to extend a partial order on α to a linear order.
Equations
- LinearExtension α = α
Instances For
@[instance_reducible]
Equations
- One or more equations did not get rendered due to their size.
The embedding of α into LinearExtension α as an order homomorphism.
Equations
- toLinearExtension = { toFun := fun (x : α) => x, monotone' := ⋯ }
Instances For
@[instance_reducible]
Equations
- instInhabitedLinearExtension = { default := default }