Order dual #
This file defines OrderDual α, a type synonym reversing the meaning of all inequalities,
with notation αᵒᵈ.
Notation #
αᵒᵈ is notation for OrderDual α.
Implementation notes #
One should not abuse definitional equality between α and αᵒᵈ. Instead, explicit
coercions should be inserted:
OrderDual.toDual : α → αᵒᵈandOrderDual.ofDual : αᵒᵈ → α
Type synonym to equip a type with the dual order: ≤ means ≥ and < means >. αᵒᵈ is
notation for OrderDual α.
Instances For
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
instance
OrderDual.instTrichotomousLt
{α : Type u_1}
[LT α]
[T : Std.Trichotomous LT.lt]
:
Std.Trichotomous LT.lt
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
The opposite linear order to a given linear order
Instances For
@[implicit_reducible]
theorem
OrderDual.instPartialOrder.dual_dual
(α : Type u_2)
[H : PartialOrder α]
:
instPartialOrder αᵒᵈ = H
theorem
OrderDual.instLinearOrder.dual_dual
(α : Type u_2)
[H : LinearOrder α]
:
instLinearOrder αᵒᵈ = H
@[implicit_reducible]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
Alias of the reverse direction of OrderDual.toDual_le_toDual.
Alias of the reverse direction of OrderDual.toDual_lt_toDual.
theorem
LE.le.ofDual
{α : Type u_1}
[LE α]
{a b : αᵒᵈ}
:
b ≤ a → OrderDual.ofDual a ≤ OrderDual.ofDual b
Alias of the reverse direction of OrderDual.ofDual_le_ofDual.
theorem
LT.lt.ofDual
{α : Type u_1}
[LT α]
{a b : αᵒᵈ}
:
b < a → OrderDual.ofDual a < OrderDual.ofDual b
Alias of the reverse direction of OrderDual.ofDual_lt_ofDual.
DenselyOrdered for OrderDual #
@[simp]