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.Order.Hom.WithTopBot

96 declarations. Mathlib docs · Source

def WithTop.toDualBotEquiv E1 #

{α : Type u_1} → [inst : LE α] → WithTop αᵒᵈ ≃o (WithBot α)ᵒᵈ

Taking the dual then adding ⊤ is the same as adding ⊥ then taking the dual. This is the order iso form of WithTop.ofDual, as proven by coe_toDualBotEquiv.

def WithBot.toDualTopEquiv E1 #

{α : Type u_1} → [inst : LE α] → WithBot αᵒᵈ ≃o (WithTop α)ᵒᵈ

Taking the dual then adding ⊥ is the same as adding ⊤ then taking the dual. This is the order iso form of WithBot.ofDual, as proven by coe_toDualTopEquiv.

theorem WithTop.toDualBotEquiv_coe E0 #

∀ {α : Type u_1} [inst : LE α] (a : α), WithTop.toDualBotEquiv ↑(OrderDual.toDual a) = OrderDual.toDual ↑a

theorem WithBot.toDualTopEquiv_coe E0 #

∀ {α : Type u_1} [inst : LE α] (a : α), WithBot.toDualTopEquiv ↑(OrderDual.toDual a) = OrderDual.toDual ↑a

theorem WithBot.toDualTopEquiv_symm_coe E0 #

∀ {α : Type u_1} [inst : LE α] (a : α), WithBot.toDualTopEquiv.symm (OrderDual.toDual ↑a) = ↑(OrderDual.toDual a)

theorem WithTop.toDualBotEquiv_symm_coe E0 #

∀ {α : Type u_1} [inst : LE α] (a : α), WithTop.toDualBotEquiv.symm (OrderDual.toDual ↑a) = ↑(OrderDual.toDual a)

theorem WithBot.toDualTopEquiv_bot E0 #

∀ {α : Type u_1} [inst : LE α], WithBot.toDualTopEquiv ⊥ = ⊥

theorem WithTop.toDualBotEquiv_top E0 #

∀ {α : Type u_1} [inst : LE α], WithTop.toDualBotEquiv ⊤ = ⊤

theorem WithTop.toDualBotEquiv_symm_top E0 #

∀ {α : Type u_1} [inst : LE α], WithTop.toDualBotEquiv.symm ⊤ = ⊤

theorem WithBot.toDualTopEquiv_symm_bot E0 #

∀ {α : Type u_1} [inst : LE α], WithBot.toDualTopEquiv.symm ⊥ = ⊥

theorem WithBot.coe_toDualTopEquiv E0 #

∀ {α : Type u_1} [inst : LE α], ⇑WithBot.toDualTopEquiv = ⇑OrderDual.toDual ∘ ⇑WithBot.ofDual

theorem WithTop.coe_toDualBotEquiv E0 #

∀ {α : Type u_1} [inst : LE α], ⇑WithTop.toDualBotEquiv = ⇑OrderDual.toDual ∘ ⇑WithTop.ofDual

def Function.Embedding.coeWithTop E1 #

{α : Type u_1} → α ↪ WithTop α

Embedding into WithTop α.

theorem Function.Embedding.coeWithTop_apply E0 #

∀ {α : Type u_1} (a : α), Function.Embedding.coeWithTop a = ↑a

theorem Function.Embedding.coeWithBot_apply E0 #

∀ {α : Type u_1} (a : α), Function.Embedding.coeWithBot a = ↑a

def Function.Embedding.coeWithBot E1 #

{α : Type u_1} → α ↪ WithBot α

Embedding into WithBot α.

def WithTop.coeOrderHom E1 #

{α : Type u_4} → [inst : Preorder α] → α ↪o WithTop α

The coercion α → WithTop α bundled as monotone map.

def WithBot.coeOrderHom E1 #

{α : Type u_4} → [inst : Preorder α] → α ↪o WithBot α

The coercion α → WithBot α bundled as monotone map.

theorem WithTop.coeOrderHom_apply E0 #

∀ {α : Type u_4} [inst : Preorder α], ⇑WithTop.coeOrderHom = WithTop.some

theorem WithBot.coeOrderHom_apply E0 #

∀ {α : Type u_4} [inst : Preorder α], ⇑WithBot.coeOrderHom = WithBot.some

def WithTop.subtypeOrderIso E1 #

{α : Type u_1} →
  [inst : PartialOrder α] → [inst_1 : OrderTop α] → [DecidablePred fun x ↦ x = ⊤] → WithTop { a // a ≠ ⊤ } ≃o α

Any OrderTop is equivalent to WithTop of the subtype excluding ⊤.

See also Equiv.optionSubtypeNe.

def WithBot.subtypeOrderIso E1 #

{α : Type u_1} →
  [inst : PartialOrder α] → [inst_1 : OrderBot α] → [DecidablePred fun x ↦ x = ⊥] → WithBot { a // a ≠ ⊥ } ≃o α

Any OrderBot is equivalent to WithBot of the subtype excluding ⊥.

See also Equiv.optionSubtypeNe.

theorem WithBot.subtypeOrderIso_apply_coe E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderBot α] [inst_2 : DecidablePred fun x ↦ x = ⊥]
  (a : { a // a ≠ ⊥ }), WithBot.subtypeOrderIso ↑a = ↑a

theorem WithTop.subtypeOrderIso_apply_coe E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderTop α] [inst_2 : DecidablePred fun x ↦ x = ⊤]
  (a : { a // a ≠ ⊤ }), WithTop.subtypeOrderIso ↑a = ↑a

theorem WithBot.subtypeOrderIso_symm_apply E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderBot α] [inst_2 : DecidablePred fun x ↦ x = ⊥] {a : α}
  (h : a ≠ ⊥), WithBot.subtypeOrderIso.symm a = ↑⟨a, h⟩

theorem WithTop.subtypeOrderIso_symm_apply E0 #

∀ {α : Type u_1} [inst : PartialOrder α] [inst_1 : OrderTop α] [inst_2 : DecidablePred fun x ↦ x = ⊤] {a : α}
  (h : a ≠ ⊤), WithTop.subtypeOrderIso.symm a = ↑⟨a, h⟩

def OrderHom.withBotMap E1 #

{α : Type u_1} → {β : Type u_2} → [inst : Preorder α] → [inst_1 : Preorder β] → (α →o β) → WithBot α →o WithBot β

Lift an order homomorphism f : α →o β to an order homomorphism WithBot α →o WithBot β.

def OrderHom.withTopMap E1 #

{α : Type u_1} → {β : Type u_2} → [inst : Preorder α] → [inst_1 : Preorder β] → (α →o β) → WithTop α →o WithTop β

Lift an order homomorphism f : α →o β to an order homomorphism WithTop α →o WithTop β.

theorem OrderHom.withBotMap_coe E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] (f : α →o β), ⇑f.withBotMap = WithBot.map ⇑f

theorem OrderHom.withTopMap_coe E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Preorder α] [inst_1 : Preorder β] (f : α →o β), ⇑f.withTopMap = WithTop.map ⇑f

def OrderEmbedding.withBotMap E1 #

{α : Type u_1} → {β : Type u_2} → [inst : LE α] → [inst_1 : LE β] → α ↪o β → WithBot α ↪o WithBot β

A version of WithBot.map for order embeddings.

def OrderEmbedding.withTopMap E1 #

{α : Type u_1} → {β : Type u_2} → [inst : LE α] → [inst_1 : LE β] → α ↪o β → WithTop α ↪o WithTop β

A version of WithTop.map for order embeddings.

theorem OrderEmbedding.withTopMap_apply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : LE α] [inst_1 : LE β] (f : α ↪o β), ⇑f.withTopMap = WithTop.map ⇑f

theorem OrderEmbedding.withBotMap_apply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : LE α] [inst_1 : LE β] (f : α ↪o β), ⇑f.withBotMap = WithBot.map ⇑f

def OrderIso.withTopCongr E1 #

{α : Type u_1} → {β : Type u_2} → [inst : LE α] → [inst_1 : LE β] → α ≃o β → WithTop α ≃o WithTop β

A version of Equiv.optionCongr for WithTop.

def OrderIso.withBotCongr E1 #

{α : Type u_1} → {β : Type u_2} → [inst : LE α] → [inst_1 : LE β] → α ≃o β → WithBot α ≃o WithBot β

A version of Equiv.optionCongr for WithBot.

theorem OrderIso.withTopCongr_apply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : LE α] [inst_1 : LE β] (e : α ≃o β), ⇑e.withTopCongr = WithTop.map ⇑e

theorem OrderIso.withBotCongr_apply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : LE α] [inst_1 : LE β] (e : α ≃o β), ⇑e.withBotCongr = WithBot.map ⇑e

theorem OrderIso.withTopCongr_refl E0 #

∀ {α : Type u_1} [inst : LE α], (OrderIso.refl α).withTopCongr = OrderIso.refl (WithTop α)

theorem OrderIso.withTopCongr_symm E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : LE α] [inst_1 : LE β] (e : α ≃o β), e.symm.withTopCongr = e.withTopCongr.symm

theorem OrderIso.withTopCongr_trans E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : LE α] [inst_1 : LE β] [inst_2 : LE γ] (e₁ : α ≃o β)
  (e₂ : β ≃o γ), (e₁.trans e₂).withTopCongr = e₁.withTopCongr.trans e₂.withTopCongr

theorem OrderIso.withBotCongr_refl E0 #

∀ {α : Type u_1} [inst : LE α], (OrderIso.refl α).withBotCongr = OrderIso.refl (WithBot α)

theorem OrderIso.withBotCongr_symm E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : LE α] [inst_1 : LE β] (e : α ≃o β), e.symm.withBotCongr = e.withBotCongr.symm

theorem OrderIso.withBotCongr_trans E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : LE α] [inst_1 : LE β] [inst_2 : LE γ] (e₁ : α ≃o β)
  (e₂ : β ≃o γ), (e₁.trans e₂).withBotCongr = e₁.withBotCongr.trans e₂.withBotCongr

def SupHom.withTop E1 #

{α : Type u_1} →
  {β : Type u_2} → [inst : SemilatticeSup α] → [inst_1 : SemilatticeSup β] → SupHom α β → SupHom (WithTop α) (WithTop β)

Adjoins a ⊤ to the domain and codomain of a SupHom.

theorem InfHom.withBot_toFun E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : SemilatticeInf α] [inst_1 : SemilatticeInf β] (f : InfHom α β) (a : WithBot α),
  f.withBot a = WithBot.map (⇑f) a

theorem SupHom.withTop_toFun E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : SemilatticeSup α] [inst_1 : SemilatticeSup β] (f : SupHom α β) (a : WithTop α),
  f.withTop a = WithTop.map (⇑f) a

def InfHom.withBot E1 #

{α : Type u_1} →
  {β : Type u_2} → [inst : SemilatticeInf α] → [inst_1 : SemilatticeInf β] → InfHom α β → InfHom (WithBot α) (WithBot β)

Adjoins a ⊥ to the domain and codomain of an InfHom.

theorem SupHom.withTop_id E0 #

∀ {α : Type u_1} [inst : SemilatticeSup α], (SupHom.id α).withTop = SupHom.id (WithTop α)

theorem InfHom.withBot_id E0 #

∀ {α : Type u_1} [inst : SemilatticeInf α], (InfHom.id α).withBot = InfHom.id (WithBot α)

theorem InfHom.withBot_comp E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : SemilatticeInf α] [inst_1 : SemilatticeInf β]
  [inst_2 : SemilatticeInf γ] (f : InfHom β γ) (g : InfHom α β), (f.comp g).withBot = f.withBot.comp g.withBot

theorem SupHom.withTop_comp E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : SemilatticeSup α] [inst_1 : SemilatticeSup β]
  [inst_2 : SemilatticeSup γ] (f : SupHom β γ) (g : SupHom α β), (f.comp g).withTop = f.withTop.comp g.withTop

def SupHom.withBot E1 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : SemilatticeSup α] → [inst_1 : SemilatticeSup β] → SupHom α β → SupBotHom (WithBot α) (WithBot β)

Adjoins a ⊥ to the domain and codomain of a SupHom.

def InfHom.withTop E1 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : SemilatticeInf α] → [inst_1 : SemilatticeInf β] → InfHom α β → InfTopHom (WithTop α) (WithTop β)

Adjoins a ⊤ to the domain and codomain of an InfHom.

theorem InfHom.withTop_toFun E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : SemilatticeInf α] [inst_1 : SemilatticeInf β] (f : InfHom α β) (a : WithTop α),
  f.withTop a = WithTop.map (⇑f) a

theorem SupHom.withBot_toFun E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : SemilatticeSup α] [inst_1 : SemilatticeSup β] (f : SupHom α β) (a : WithBot α),
  f.withBot a = WithBot.map (⇑f) a

theorem SupHom.withBot_id E0 #

∀ {α : Type u_1} [inst : SemilatticeSup α], (SupHom.id α).withBot = SupBotHom.id (WithBot α)

theorem InfHom.withTop_id E0 #

∀ {α : Type u_1} [inst : SemilatticeInf α], (InfHom.id α).withTop = InfTopHom.id (WithTop α)

theorem SupHom.withBot_comp E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : SemilatticeSup α] [inst_1 : SemilatticeSup β]
  [inst_2 : SemilatticeSup γ] (f : SupHom β γ) (g : SupHom α β), (f.comp g).withBot = f.withBot.comp g.withBot

theorem InfHom.withTop_comp E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : SemilatticeInf α] [inst_1 : SemilatticeInf β]
  [inst_2 : SemilatticeInf γ] (f : InfHom β γ) (g : InfHom α β), (f.comp g).withTop = f.withTop.comp g.withTop

def SupHom.withTop' E1 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : SemilatticeSup α] → [inst_1 : SemilatticeSup β] → [OrderTop β] → SupHom α β → SupHom (WithTop α) β

Adjoins a ⊤ to the domain of a SupHom.

def InfHom.withBot' E1 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : SemilatticeInf α] → [inst_1 : SemilatticeInf β] → [OrderBot β] → InfHom α β → InfHom (WithBot α) β

Adjoins a ⊥ to the domain of an InfHom.

theorem SupHom.withTop'_toFun E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : SemilatticeSup α] [inst_1 : SemilatticeSup β] [inst_2 : OrderTop β]
  (f : SupHom α β) (a : WithTop α), f.withTop' a = Option.elim a ⊤ ⇑f

theorem InfHom.withBot'_toFun E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : SemilatticeInf α] [inst_1 : SemilatticeInf β] [inst_2 : OrderBot β]
  (f : InfHom α β) (a : WithBot α), f.withBot' a = Option.elim a ⊥ ⇑f

def SupHom.withBot' E1 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : SemilatticeSup α] →
      [inst_1 : SemilatticeSup β] → [inst_2 : OrderBot β] → SupHom α β → SupBotHom (WithBot α) β

Adjoins a ⊥ to the domain of a SupHom.

def InfHom.withTop' E1 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : SemilatticeInf α] →
      [inst_1 : SemilatticeInf β] → [inst_2 : OrderTop β] → InfHom α β → InfTopHom (WithTop α) β

Adjoins a ⊤ to the domain of an InfHom.

theorem InfHom.withTop'_toFun E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : SemilatticeInf α] [inst_1 : SemilatticeInf β] [inst_2 : OrderTop β]
  (f : InfHom α β) (a : WithTop α), f.withTop' a = Option.elim a ⊤ ⇑f

theorem SupHom.withBot'_toFun E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : SemilatticeSup α] [inst_1 : SemilatticeSup β] [inst_2 : OrderBot β]
  (f : SupHom α β) (a : WithBot α), f.withBot' a = Option.elim a ⊥ ⇑f

def LatticeHom.withTop E1 #

{α : Type u_1} →
  {β : Type u_2} → [inst : Lattice α] → [inst_1 : Lattice β] → LatticeHom α β → LatticeHom (WithTop α) (WithTop β)

Adjoins a ⊤ to the domain and codomain of a LatticeHom.

def LatticeHom.withBot E1 #

{α : Type u_1} →
  {β : Type u_2} → [inst : Lattice α] → [inst_1 : Lattice β] → LatticeHom α β → LatticeHom (WithBot α) (WithBot β)

Adjoins a ⊥ to the domain and codomain of a LatticeHom.

theorem LatticeHom.coe_withTop E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Lattice α] [inst_1 : Lattice β] (f : LatticeHom α β),
  ⇑f.withTop = WithTop.map ⇑f

theorem LatticeHom.coe_withBot E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Lattice α] [inst_1 : Lattice β] (f : LatticeHom α β),
  ⇑f.withBot = WithBot.map ⇑f

theorem LatticeHom.withTop_apply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Lattice α] [inst_1 : Lattice β] (f : LatticeHom α β) (a : WithTop α),
  f.withTop a = WithTop.map (⇑f) a

theorem LatticeHom.withBot_apply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Lattice α] [inst_1 : Lattice β] (f : LatticeHom α β) (a : WithBot α),
  f.withBot a = WithBot.map (⇑f) a

theorem LatticeHom.withBot_id E0 #

∀ {α : Type u_1} [inst : Lattice α], (LatticeHom.id α).withBot = LatticeHom.id (WithBot α)

theorem LatticeHom.withTop_id E0 #

∀ {α : Type u_1} [inst : Lattice α], (LatticeHom.id α).withTop = LatticeHom.id (WithTop α)

theorem LatticeHom.withBot_comp E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] [inst_2 : Lattice γ]
  (f : LatticeHom β γ) (g : LatticeHom α β), (f.comp g).withBot = f.withBot.comp g.withBot

theorem LatticeHom.withTop_comp E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] [inst_2 : Lattice γ]
  (f : LatticeHom β γ) (g : LatticeHom α β), (f.comp g).withTop = f.withTop.comp g.withTop

def LatticeHom.withTopWithBot E1 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : Lattice α] →
      [inst_1 : Lattice β] → LatticeHom α β → BoundedLatticeHom (WithTop (WithBot α)) (WithTop (WithBot β))

Adjoins a ⊤ and ⊥ to the domain and codomain of a LatticeHom.

def LatticeHom.withBotWithTop E1 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : Lattice α] →
      [inst_1 : Lattice β] → LatticeHom α β → BoundedLatticeHom (WithBot (WithTop α)) (WithBot (WithTop β))

Adjoins a ⊥ and ⊤ to the domain and codomain of a LatticeHom.

theorem LatticeHom.coe_withBotWithTop E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Lattice α] [inst_1 : Lattice β] (f : LatticeHom α β),
  ⇑f.withBotWithTop = WithBot.map (WithTop.map ⇑f)

theorem LatticeHom.coe_withTopWithBot E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Lattice α] [inst_1 : Lattice β] (f : LatticeHom α β),
  ⇑f.withTopWithBot = WithTop.map (WithBot.map ⇑f)

theorem LatticeHom.withTopWithBot_apply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Lattice α] [inst_1 : Lattice β] (f : LatticeHom α β) (a : WithTop (WithBot α)),
  f.withTopWithBot a = WithTop.map (WithBot.map ⇑f) a

theorem LatticeHom.withBotWithTop_apply E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Lattice α] [inst_1 : Lattice β] (f : LatticeHom α β) (a : WithBot (WithTop α)),
  f.withBotWithTop a = WithBot.map (WithTop.map ⇑f) a

theorem LatticeHom.withTopWithBot_id E0 #

∀ {α : Type u_1} [inst : Lattice α], (LatticeHom.id α).withTopWithBot = BoundedLatticeHom.id (WithTop (WithBot α))

theorem LatticeHom.withBotWithTop_id E0 #

∀ {α : Type u_1} [inst : Lattice α], (LatticeHom.id α).withBotWithTop = BoundedLatticeHom.id (WithBot (WithTop α))

theorem LatticeHom.withTopWithBot_comp E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] [inst_2 : Lattice γ]
  (f : LatticeHom β γ) (g : LatticeHom α β), (f.comp g).withTopWithBot = f.withTopWithBot.comp g.withTopWithBot

theorem LatticeHom.withBotWithTop_comp E0 #

∀ {α : Type u_1} {β : Type u_2} {γ : Type u_3} [inst : Lattice α] [inst_1 : Lattice β] [inst_2 : Lattice γ]
  (f : LatticeHom β γ) (g : LatticeHom α β), (f.comp g).withBotWithTop = f.withBotWithTop.comp g.withBotWithTop

def LatticeHom.withTop' E1 #

{α : Type u_1} →
  {β : Type u_2} → [inst : Lattice α] → [inst_1 : Lattice β] → [OrderTop β] → LatticeHom α β → LatticeHom (WithTop α) β

Adjoins a ⊤ to the domain of a LatticeHom.

def LatticeHom.withBot' E1 #

{α : Type u_1} →
  {β : Type u_2} → [inst : Lattice α] → [inst_1 : Lattice β] → [OrderBot β] → LatticeHom α β → LatticeHom (WithBot α) β

Adjoins a ⊥ to the domain of a LatticeHom.

theorem LatticeHom.withTop'_toFun E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Lattice α] [inst_1 : Lattice β] [inst_2 : OrderTop β] (f : LatticeHom α β)
  (a : WithTop α), f.withTop' a = Option.elim a ⊤ ⇑f

theorem LatticeHom.withBot'_toFun E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Lattice α] [inst_1 : Lattice β] [inst_2 : OrderBot β] (f : LatticeHom α β)
  (a : WithBot α), f.withBot' a = Option.elim a ⊥ ⇑f

def LatticeHom.withTopWithBot' E1 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : Lattice α] →
      [inst_1 : Lattice β] → [inst_2 : BoundedOrder β] → LatticeHom α β → BoundedLatticeHom (WithTop (WithBot α)) β

Adjoins a ⊤ and ⊥ to the domain of a LatticeHom.

theorem LatticeHom.withTopWithBot'_toFun E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Lattice α] [inst_1 : Lattice β] [inst_2 : BoundedOrder β] (f : LatticeHom α β)
  (a : WithTop (WithBot α)), f.withTopWithBot' a = Option.elim a ⊤ ⇑f.withBot'

theorem LatticeHom.withBotWithTop'_toFun E0 #

∀ {α : Type u_1} {β : Type u_2} [inst : Lattice α] [inst_1 : Lattice β] [inst_2 : BoundedOrder β] (f : LatticeHom α β)
  (a : WithBot (WithTop α)), f.withBotWithTop' a = Option.elim a ⊥ ⇑f.withTop'

def LatticeHom.withBotWithTop' E1 #

{α : Type u_1} →
  {β : Type u_2} →
    [inst : Lattice α] →
      [inst_1 : Lattice β] → [inst_2 : BoundedOrder β] → LatticeHom α β → BoundedLatticeHom (WithBot (WithTop α)) β

Adjoins a ⊥ and ⊤ to the domain of a LatticeHom.