Units in ordered monoids #
Equations
- AddUnits.instPreorder = Preorder.lift AddUnits.val
Equations
- Units.instPreorder = Preorder.lift Units.val
instance
AddUnits.instPartialOrderAddUnits
{α : Type u_1}
[AddMonoid α]
[PartialOrder α]
:
PartialOrder (AddUnits α)
Equations
- AddUnits.instPartialOrderAddUnits = PartialOrder.lift AddUnits.val ⋯
Equations
- Units.instPartialOrderUnits = PartialOrder.lift Units.val ⋯
instance
AddUnits.instLinearOrder
{α : Type u_1}
[AddMonoid α]
[LinearOrder α]
:
LinearOrder (AddUnits α)
Equations
- AddUnits.instLinearOrder = LinearOrder.lift' AddUnits.val ⋯
Equations
- Units.instLinearOrder = LinearOrder.lift' Units.val ⋯
val : add_units α → α
as an order embedding.
Equations
- AddUnits.orderEmbeddingVal = { toFun := AddUnits.val, inj' := ⋯, map_rel_iff' := ⋯ }
Instances For
@[simp]
theorem
Units.orderEmbeddingVal_apply
{α : Type u_1}
[Monoid α]
[LinearOrder α]
:
⇑Units.orderEmbeddingVal = Units.val
@[simp]
theorem
AddUnits.orderEmbeddingVal_apply
{α : Type u_1}
[AddMonoid α]
[LinearOrder α]
:
⇑AddUnits.orderEmbeddingVal = AddUnits.val
val : αˣ → α
as an order embedding.
Equations
- Units.orderEmbeddingVal = { toFun := Units.val, inj' := ⋯, map_rel_iff' := ⋯ }
Instances For
@[simp]
theorem
AddUnits.max_val
{α : Type u_1}
[AddMonoid α]
[LinearOrder α]
{a : AddUnits α}
{b : AddUnits α}
:
@[simp]
@[simp]
theorem
AddUnits.min_val
{α : Type u_1}
[AddMonoid α]
[LinearOrder α]
{a : AddUnits α}
{b : AddUnits α}
:
@[simp]