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.