The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V04. Order and lattices

Mathlib.Algebra.Order.Hom.MonoidWithZero

61 declarations and 8 deprecated aliases. Mathlib docs · Source

Ordered monoid and group homomorphisms

This file defines morphisms between (additive) ordered monoids with zero.

Types of morphisms

  • OrderMonoidWithZeroHom: Ordered monoid with zero homomorphisms.

Notation

  • →*₀o: Bundled ordered monoid with zero homs. Also use for group with zero homs.

TODO

  • ≃*₀o: Bundled ordered monoid with zero isos. Also use for group with zero isos.

Tags

monoid with zero

theorem OrderMonoidWithZeroHom.mk.inj E1 #

∀ {α : Type u_6} {β : Type u_7} {inst : Preorder α} {inst_1 : Preorder β} {inst_2 : MulZeroOneClass α}
  {inst_3 : MulZeroOneClass β} {toMonoidWithZeroHom : α →*₀ β} {monotone' : Monotone (↑toMonoidWithZeroHom).toFun}
  {toMonoidWithZeroHom_1 : α →*₀ β} {monotone'_1 : Monotone (↑toMonoidWithZeroHom_1).toFun},
  { toMonoidWithZeroHom := toMonoidWithZeroHom, monotone' := monotone' } =
      { toMonoidWithZeroHom := toMonoidWithZeroHom_1, monotone' := monotone'_1 } →
    toMonoidWithZeroHom = toMonoidWithZeroHom_1

theorem OrderMonoidIso.mk.congr_simp E1 #

∀ {α : Type u_6} {β : Type u_7} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Mul α] [inst_3 : Mul β]
  (toMulEquiv toMulEquiv_1 : α ≃* β) (e_toMulEquiv : toMulEquiv = toMulEquiv_1)
  (map_le_map_iff' : ∀ {a b : α}, toMulEquiv.toFun a ≤ toMulEquiv.toFun b ↔ a ≤ b),
  { toMulEquiv := toMulEquiv, map_le_map_iff' := map_le_map_iff' } =
    { toMulEquiv := toMulEquiv_1, map_le_map_iff' := ⋯ }

theorem OrderMonoidWithZeroHom.mk.injEq E0 #

∀ {α : Type u_6} {β : Type u_7} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : MulZeroOneClass α]
  [inst_3 : MulZeroOneClass β] (toMonoidWithZeroHom : α →*₀ β) (monotone' : Monotone (↑toMonoidWithZeroHom).toFun)
  (toMonoidWithZeroHom_1 : α →*₀ β) (monotone'_1 : Monotone (↑toMonoidWithZeroHom_1).toFun),
  ({ toMonoidWithZeroHom := toMonoidWithZeroHom, monotone' := monotone' } =
      { toMonoidWithZeroHom := toMonoidWithZeroHom_1, monotone' := monotone'_1 }) =
    (toMonoidWithZeroHom = toMonoidWithZeroHom_1)

def OrderMonoidWithZeroHom.ctorIdx E1 #

{α : Type u_6} →
  {β : Type u_7} →
    {inst : Preorder α} →
      {inst_1 : Preorder β} → {inst_2 : MulZeroOneClass α} → {inst_3 : MulZeroOneClass β} → (α →*₀o β) → ℕ

structure OrderMonoidWithZeroHom E1 #

(α : Type u_6) →
  (β : Type u_7) → [Preorder α] → [Preorder β] → [MulZeroOneClass α] → [MulZeroOneClass β] → Type (max u_6 u_7)

OrderMonoidWithZeroHom α β is the type of functions α → β that preserve the MonoidWithZero structure.

OrderMonoidWithZeroHom is also used for group homomorphisms.

When possible, instead of parametrizing results over (f : α →+ β), you should parameterize over (F : Type*) [FunLike F M N] [MonoidWithZeroHomClass F M N] [OrderHomClass F M N] (f : F).

ctor OrderMonoidWithZeroHom.mk E0 #

{α : Type u_6} →
  {β : Type u_7} →
    [inst : Preorder α] →
      [inst_1 : Preorder β] →
        [inst_2 : MulZeroOneClass α] →
          [inst_3 : MulZeroOneClass β] →
            (toMonoidWithZeroHom : α →*₀ β) → Monotone (↑toMonoidWithZeroHom).toFun → α →*₀o β

abbrev OrderMonoidWithZeroHom.toMonoidWithZeroHom E1 #

{α : Type u_6} →
  {β : Type u_7} →
    [inst : Preorder α] →
      [inst_1 : Preorder β] → [inst_2 : MulZeroOneClass α] → [inst_3 : MulZeroOneClass β] → (α →*₀o β) → α →*₀ β

theorem OrderMonoidWithZeroHom.monotone' E1 #

∀ {α : Type u_6} {β : Type u_7} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : MulZeroOneClass α]
  [inst_3 : MulZeroOneClass β] (self : α →*₀o β), Monotone (↑↑self).toFun

An OrderMonoidWithZeroHom is a monotone function.

def «term_→*₀o_» E1 #

Lean.TrailingParserDescr

Infix notation for OrderMonoidWithZeroHom.

def OrderMonoidWithZeroHomClass.toOrderMonoidWithZeroHom E1 #

{F : Type u_1} →
  {α : Type u_2} →
    {β : Type u_3} →
      [inst : Preorder α] →
        [inst_1 : Preorder β] →
          [inst_2 : MulZeroOneClass α] →
            [inst_3 : MulZeroOneClass β] →
              [inst_4 : FunLike F α β] → [OrderHomClass F α β] → [MonoidWithZeroHomClass F α β] → F → α →*₀o β

Turn an element of a type F satisfying OrderHomClass F α β and MonoidWithZeroHomClass F α β into an actual OrderMonoidWithZeroHom. This is declared as the default coercion from F to α →+*₀o β. TODO: Following [#mathlib4 > Mathlib's morphism hierarchy] (https://leanprover.zulipchat.com/#narrow/channel/287929- mathlib4/topic/Mathlib.27s.20morphism.20hierarchy/with/554383157), rename this to OrderMonoidWithZeroHom.ofClass and remove @[coe] tag.

instance instCoeTCOrderMonoidWithZeroHomOfOrderHomClassOfMonoidWithZeroHomClass E0 #

{F : Type u_1} →
  {α : Type u_2} →
    {β : Type u_3} →
      [inst : Preorder α] →
        [inst_1 : Preorder β] →
          [inst_2 : MulZeroOneClass α] →
            [inst_3 : MulZeroOneClass β] →
              [inst_4 : FunLike F α β] → [OrderHomClass F α β] → [MonoidWithZeroHomClass F α β] → CoeTC F (α →*₀o β)

instance OrderMonoidWithZeroHom.instFunLike E0 #

{α : Type u_2} →
  {β : Type u_3} →
    [inst : Preorder α] →
      [inst_1 : Preorder β] → [inst_2 : MulZeroOneClass α] → [inst_3 : MulZeroOneClass β] → FunLike (α →*₀o β) α β

theorem OrderMonoidWithZeroHom.coe_toOrderMonoidWithZeroHom E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : MulZeroOneClass α]
  [inst_3 : MulZeroOneClass β] [inst_4 : FunLike F α β] [inst_5 : OrderHomClass F α β]
  [inst_6 : MonoidWithZeroHomClass F α β] (f : F), ⇑↑f = ⇑f

instance OrderMonoidWithZeroHom.instCoeMonoidWithZeroHom E0 #

{α : Type u_2} →
  {β : Type u_3} →
    [inst : Preorder α] →
      [inst_1 : Preorder β] → [inst_2 : MulZeroOneClass α] → [inst_3 : MulZeroOneClass β] → Coe (α →*₀o β) (α →*₀ β)

instance OrderMonoidWithZeroHom.instMonoidWithZeroHomClass E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : MulZeroOneClass α]
  [inst_3 : MulZeroOneClass β], MonoidWithZeroHomClass (α →*₀o β) α β

instance OrderMonoidWithZeroHom.instOrderHomClass E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : MulZeroOneClass α]
  [inst_3 : MulZeroOneClass β], OrderHomClass (α →*₀o β) α β

theorem OrderMonoidWithZeroHom.ext E1 #

∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : MulZeroOneClass α]
  [inst_3 : MulZeroOneClass β] {f g : α →*₀o β}, (∀ (a : α), f a = g a) → f = g

theorem OrderMonoidWithZeroHom.ext_iff E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : MulZeroOneClass α]
  [inst_3 : MulZeroOneClass β] {f g : α →*₀o β}, f = g ↔ ∀ (a : α), f a = g a

theorem OrderMonoidWithZeroHom.toFun_eq_coe E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : MulZeroOneClass α]
  [inst_3 : MulZeroOneClass β] (f : α →*₀o β), (↑↑f).toFun = ⇑f

theorem OrderMonoidWithZeroHom.coe_mk E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : MulZeroOneClass α]
  [inst_3 : MulZeroOneClass β] (f : α →*₀ β) (h : Monotone (↑f).toFun),
  ⇑{ toMonoidWithZeroHom := f, monotone' := h } = ⇑f

theorem OrderMonoidWithZeroHom.mk_toMonoidWithZeroHom E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : MulZeroOneClass α]
  [inst_3 : MulZeroOneClass β] (f : α →*₀o β) (h : Monotone (↑↑f).toFun),
  { toMonoidWithZeroHom := ↑f, monotone' := h } = f

def OrderMonoidWithZeroHom.toOrderMonoidHom E1 #

{α : Type u_2} →
  {β : Type u_3} →
    [inst : Preorder α] →
      [inst_1 : Preorder β] → [inst_2 : MulZeroOneClass α] → [inst_3 : MulZeroOneClass β] → (α →*₀o β) → α →*o β

Reinterpret an ordered monoid with zero homomorphism as an order monoid homomorphism.

theorem OrderMonoidWithZeroHom.coe_toMonoidWithZeroHom E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : MulZeroOneClass α]
  [inst_3 : MulZeroOneClass β] (f : α →*₀o β), ⇑↑f = ⇑f

theorem OrderMonoidWithZeroHom.coe_toOrderMonoidHom E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : MulZeroOneClass α]
  [inst_3 : MulZeroOneClass β] (f : α →*₀o β), ⇑↑f = ⇑f

theorem OrderMonoidWithZeroHom.toOrderMonoidHom_injective E1 #

∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : MulZeroOneClass α]
  [inst_3 : MulZeroOneClass β], Function.Injective OrderMonoidWithZeroHom.toOrderMonoidHom

theorem OrderMonoidWithZeroHom.toMonoidWithZeroHom_injective E1 #

∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : MulZeroOneClass α]
  [inst_3 : MulZeroOneClass β], Function.Injective OrderMonoidWithZeroHom.toMonoidWithZeroHom

def OrderMonoidWithZeroHom.copy E1 #

{α : Type u_2} →
  {β : Type u_3} →
    [inst : Preorder α] →
      [inst_1 : Preorder β] →
        [inst_2 : MulZeroOneClass α] → [inst_3 : MulZeroOneClass β] → (f : α →*₀o β) → (f' : α → β) → f' = ⇑f → α →*o β

Copy of an OrderMonoidWithZeroHom with a new toFun equal to the old one. Useful to fix definitional equalities.

theorem OrderMonoidWithZeroHom.coe_copy E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : MulZeroOneClass α]
  [inst_3 : MulZeroOneClass β] (f : α →*₀o β) (f' : α → β) (h : f' = ⇑f), ⇑(f.copy f' h) = f'

theorem OrderMonoidWithZeroHom.copy_eq E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : MulZeroOneClass α]
  [inst_3 : MulZeroOneClass β] (f : α →*₀o β) (f' : α → β) (h : f' = ⇑f), f.copy f' h = ↑f

def OrderMonoidWithZeroHom.id E1 #

(α : Type u_2) → [inst : Preorder α] → [inst_1 : MulZeroOneClass α] → α →*₀o α

The identity map as an ordered monoid with zero homomorphism.

theorem OrderMonoidWithZeroHom.coe_id E0 #

∀ (α : Type u_2) [inst : Preorder α] [inst_1 : MulZeroOneClass α], ⇑(OrderMonoidWithZeroHom.id α) = id

instance OrderMonoidWithZeroHom.instInhabited E0 #

(α : Type u_2) → [inst : Preorder α] → [inst_1 : MulZeroOneClass α] → Inhabited (α →*₀o α)

def OrderMonoidWithZeroHom.comp E1 #

{α : Type u_2} →
  {β : Type u_3} →
    {γ : Type u_4} →
      [inst : Preorder α] →
        [inst_1 : Preorder β] →
          [inst_2 : Preorder γ] →
            [inst_3 : MulZeroOneClass α] →
              [inst_4 : MulZeroOneClass β] → [inst_5 : MulZeroOneClass γ] → (β →*₀o γ) → (α →*₀o β) → α →*₀o γ

Composition of OrderMonoidWithZeroHoms as an OrderMonoidWithZeroHom.

theorem OrderMonoidWithZeroHom.coe_comp E0 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ]
  [inst_3 : MulZeroOneClass α] [inst_4 : MulZeroOneClass β] [inst_5 : MulZeroOneClass γ] (f : β →*₀o γ) (g : α →*₀o β),
  ⇑(f.comp g) = ⇑f ∘ ⇑g

theorem OrderMonoidWithZeroHom.comp_apply E0 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ]
  [inst_3 : MulZeroOneClass α] [inst_4 : MulZeroOneClass β] [inst_5 : MulZeroOneClass γ] (f : β →*₀o γ) (g : α →*₀o β)
  (a : α), (f.comp g) a = f (g a)

theorem OrderMonoidWithZeroHom.toMonoidWithZeroHom_comp E0 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ]
  [inst_3 : MulZeroOneClass α] [inst_4 : MulZeroOneClass β] [inst_5 : MulZeroOneClass γ] (f : β →*₀o γ) (g : α →*₀o β),
  ↑(f.comp g) = (↑f).comp ↑g

theorem OrderMonoidWithZeroHom.toOrderMonoidHom_comp E0 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ]
  [inst_3 : MulZeroOneClass α] [inst_4 : MulZeroOneClass β] [inst_5 : MulZeroOneClass γ] (f : β →*₀o γ) (g : α →*₀o β),
  ↑(f.comp g) = (↑f).comp ↑g

theorem OrderMonoidWithZeroHom.comp_assoc E0 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} {δ : Type u_5} [inst : Preorder α] [inst_1 : Preorder β]
  [inst_2 : Preorder γ] [inst_3 : Preorder δ] [inst_4 : MulZeroOneClass α] [inst_5 : MulZeroOneClass β]
  [inst_6 : MulZeroOneClass γ] [inst_7 : MulZeroOneClass δ] (f : γ →*₀o δ) (g : β →*₀o γ) (h : α →*₀o β),
  (f.comp g).comp h = f.comp (g.comp h)

theorem OrderMonoidWithZeroHom.comp_id E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : MulZeroOneClass α]
  [inst_3 : MulZeroOneClass β] (f : α →*₀o β), f.comp (OrderMonoidWithZeroHom.id α) = f

theorem OrderMonoidWithZeroHom.id_comp E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : MulZeroOneClass α]
  [inst_3 : MulZeroOneClass β] (f : α →*₀o β), (OrderMonoidWithZeroHom.id β).comp f = f

theorem OrderMonoidWithZeroHom.cancel_right E0 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ]
  [inst_3 : MulZeroOneClass α] [inst_4 : MulZeroOneClass β] [inst_5 : MulZeroOneClass γ] {g₁ g₂ : β →*₀o γ}
  {f : α →*₀o β}, Function.Surjective ⇑f → (g₁.comp f = g₂.comp f ↔ g₁ = g₂)

theorem OrderMonoidWithZeroHom.cancel_left E0 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : Preorder α] [inst_1 : Preorder β] [inst_2 : Preorder γ]
  [inst_3 : MulZeroOneClass α] [inst_4 : MulZeroOneClass β] [inst_5 : MulZeroOneClass γ] {g : β →*₀o γ}
  {f₁ f₂ : α →*₀o β}, Function.Injective ⇑g → (g.comp f₁ = g.comp f₂ ↔ f₁ = f₂)

instance OrderMonoidWithZeroHom.instMul E0 #

{α : Type u_2} →
  {β : Type u_3} →
    [inst : LinearOrderedCommMonoidWithZero α] → [inst_1 : LinearOrderedCommMonoidWithZero β] → Mul (α →*₀o β)

For two ordered monoid morphisms f and g, their product is the ordered monoid morphism sending a to f a * g a.

theorem OrderMonoidWithZeroHom.coe_mul E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : LinearOrderedCommMonoidWithZero α] [inst_1 : LinearOrderedCommMonoidWithZero β]
  (f g : α →*₀o β), ⇑(f * g) = ⇑f * ⇑g

theorem OrderMonoidWithZeroHom.mul_apply E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : LinearOrderedCommMonoidWithZero α] [inst_1 : LinearOrderedCommMonoidWithZero β]
  (f g : α →*₀o β) (a : α), (f * g) a = f a * g a

theorem OrderMonoidWithZeroHom.mul_comp E1 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : LinearOrderedCommMonoidWithZero α]
  [inst_1 : LinearOrderedCommMonoidWithZero β] [inst_2 : LinearOrderedCommMonoidWithZero γ] (g₁ g₂ : β →*₀o γ)
  (f : α →*₀o β), (g₁ * g₂).comp f = g₁.comp f * g₂.comp f

theorem OrderMonoidWithZeroHom.comp_mul E1 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : LinearOrderedCommMonoidWithZero α]
  [inst_1 : LinearOrderedCommMonoidWithZero β] [inst_2 : LinearOrderedCommMonoidWithZero γ] (g : β →*₀o γ)
  (f₁ f₂ : α →*₀o β), g.comp (f₁ * f₂) = g.comp f₁ * g.comp f₂

theorem OrderMonoidWithZeroHom.ofClass_eq_toMonoidWithZeroHom E0 #

∀ {α : Type u_2} {β : Type u_3} {hα : Preorder α} {hα' : MulZeroOneClass α} {hβ : Preorder β} {hβ' : MulZeroOneClass β}
  (f : α →*₀o β), MonoidWithZeroHom.ofClass f = ↑f

theorem OrderMonoidWithZeroHom.toOrderMonoidHom_eq_coe E0 #

∀ {α : Type u_2} {β : Type u_3} {hα : Preorder α} {hα' : MulZeroOneClass α} {hβ : Preorder β} {hβ' : MulZeroOneClass β}
  (f : α →*₀o β), f.toOrderMonoidHom = ↑f

def OrderMonoidIso.unitsWithZero E1 #

{α : Type u_6} → [inst : Group α] → [inst_1 : Preorder α] → (WithZero α)ˣ ≃*o α

Any ordered group is isomorphic to the units of itself adjoined with 0.

theorem OrderMonoidIso.val_inv_unitsWithZero_symm_apply E0 #

∀ {α : Type u_6} [inst : Group α] [inst_1 : Preorder α] (a : α), ↑(OrderMonoidIso.unitsWithZero.symm a)⁻¹ = (↑a)⁻¹

theorem OrderMonoidIso.val_unitsWithZero_symm_apply E0 #

∀ {α : Type u_6} [inst : Group α] [inst_1 : Preorder α] (a : α), ↑(OrderMonoidIso.unitsWithZero.symm a) = ↑a

theorem OrderMonoidIso.unitsWithZero_apply E0 #

∀ {α : Type u_6} [inst : Group α] [inst_1 : Preorder α] (a : (WithZero α)ˣ),
  OrderMonoidIso.unitsWithZero a = WithZero.unzero ⋯

def OrderMonoidIso.withZero E1 #

{G : Type u_6} →
  {H : Type u_7} →
    [inst : Group G] →
      [inst_1 : PartialOrder G] →
        [inst_2 : Group H] → [inst_3 : PartialOrder H] → (G ≃*o H) ≃ (WithZero G ≃*o WithZero H)

A version of Equiv.optionCongr for WithZero on OrderMonoidIso.

theorem OrderMonoidIso.withZero_symm_apply_symm_apply E0 #

∀ {G : Type u_6} {H : Type u_7} [inst : Group G] [inst_1 : PartialOrder G] [inst_2 : Group H] [inst_3 : PartialOrder H]
  (e : WithZero G ≃*o WithZero H) (x : H), (OrderMonoidIso.withZero.symm e).symm x = WithZero.unzero ⋯

theorem OrderMonoidIso.withZero_symm_apply_apply E0 #

∀ {G : Type u_6} {H : Type u_7} [inst : Group G] [inst_1 : PartialOrder G] [inst_2 : Group H] [inst_3 : PartialOrder H]
  (e : WithZero G ≃*o WithZero H) (x : G), (OrderMonoidIso.withZero.symm e) x = WithZero.unzero ⋯

theorem OrderMonoidIso.withZero_apply_symm_apply E0 #

∀ {G : Type u_6} {H : Type u_7} [inst : Group G] [inst_1 : PartialOrder G] [inst_2 : Group H] [inst_3 : PartialOrder H]
  (e : G ≃*o H) (a : WithZero H), (OrderMonoidIso.withZero e).symm a = (WithZero.map' ↑(↑e).symm) a

theorem OrderMonoidIso.withZero_apply_apply E0 #

∀ {G : Type u_6} {H : Type u_7} [inst : Group G] [inst_1 : PartialOrder G] [inst_2 : Group H] [inst_3 : PartialOrder H]
  (e : G ≃*o H) (a : WithZero G), (OrderMonoidIso.withZero e) a = (WithZero.map' ↑↑e) a

def OrderMonoidIso.withZeroUnits E1 #

{α : Type u_6} → [inst : LinearOrderedCommGroupWithZero α] → [DecidablePred fun a ↦ a = 0] → WithZero αˣ ≃*o α

Any linearly ordered group with zero is isomorphic to adjoining 0 to the units of itself.

theorem OrderMonoidIso.withZeroUnits_symm_apply E0 #

∀ {α : Type u_6} [inst : LinearOrderedCommGroupWithZero α] [inst_1 : DecidablePred fun a ↦ a = 0] (a : α),
  OrderMonoidIso.withZeroUnits.symm a = if h : a = 0 then 0 else ↑(Units.mk0 a h)

theorem OrderMonoidIso.withZeroUnits_apply E0 #

∀ {α : Type u_6} [inst : LinearOrderedCommGroupWithZero α] [inst_1 : DecidablePred fun a ↦ a = 0] (n : WithZero αˣ),
  OrderMonoidIso.withZeroUnits n = WithZero.recZeroCoe 0 Units.val n

Deprecated aliases

NameNew nameSince
OrderMonoidWithZeroHom.coe_comp_orderMonoidHomOrderMonoidWithZeroHom.toOrderMonoidHom_comp2026-09-15
OrderMonoidWithZeroHom.coe_monoidWithZeroHomOrderMonoidWithZeroHom.coe_toMonoidWithZeroHom2026-09-15
OrderMonoidWithZeroHom.coe_orderMonoidHomOrderMonoidWithZeroHom.coe_toOrderMonoidHom2026-09-15
OrderMonoidWithZeroHom.mk_coeOrderMonoidWithZeroHom.mk_toMonoidWithZeroHom2026-09-15
OrderMonoidWithZeroHom.ofClass_compOrderMonoidWithZeroHom.toMonoidWithZeroHom_comp2026-09-15
OrderMonoidWithZeroHom.ofClass_comp_monoidWithZeroHomOrderMonoidWithZeroHom.toMonoidWithZeroHom_comp2026-09-15
OrderMonoidWithZeroHom.ofClass_mkOrderMonoidWithZeroHom.mk_toMonoidWithZeroHom2026-09-15
OrderMonoidWithZeroHom.toMonoidWithZeroHom_eq_ofClassOrderMonoidWithZeroHom.ofClass_eq_toMonoidWithZeroHom2026-09-15