Units in ordered monoids #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
@[protected, instance]
Equations
@[protected, instance]
Equations
@[protected, instance]
@[protected, instance]
Equations
@[protected, instance]
Equations
@[protected, instance]
coe : αˣ → α
as an order embedding.
Equations
- units.order_embedding_coe = {to_embedding := {to_fun := coe coe_to_lift, inj' := _}, map_rel_iff' := _}
@[simp]
@[simp]
coe : add_units α → α
as an order embedding.
Equations
- add_units.order_embedding_coe = {to_embedding := {to_fun := coe coe_to_lift, inj' := _}, map_rel_iff' := _}
@[simp, norm_cast]
theorem
add_units.max_coe
{α : Type u_1}
[add_monoid α]
[linear_order α]
{a b : add_units α} :
↑(linear_order.max a b) = linear_order.max ↑a ↑b
@[simp, norm_cast]
theorem
units.max_coe
{α : Type u_1}
[monoid α]
[linear_order α]
{a b : αˣ} :
↑(linear_order.max a b) = linear_order.max ↑a ↑b
@[simp, norm_cast]
theorem
units.min_coe
{α : Type u_1}
[monoid α]
[linear_order α]
{a b : αˣ} :
↑(linear_order.min a b) = linear_order.min ↑a ↑b
@[simp, norm_cast]
theorem
add_units.min_coe
{α : Type u_1}
[add_monoid α]
[linear_order α]
{a b : add_units α} :
↑(linear_order.min a b) = linear_order.min ↑a ↑b