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.Heyting.Hom

120 declarations. Mathlib docs · Source

Heyting algebra morphisms

A Heyting homomorphism between two Heyting algebras is a bounded lattice homomorphism that preserves Heyting implication.

We use the DFunLike design, so each type of morphisms has a companion typeclass which is meant to be satisfied by itself and all stricter types.

Types of morphisms

  • HeytingHom: Heyting homomorphisms.
  • CoheytingHom: Co-Heyting homomorphisms.
  • BiheytingHom: Bi-Heyting homomorphisms.

Typeclasses

  • HeytingHomClass
  • CoheytingHomClass
  • BiheytingHomClass

This section passes in some instances implicitly. See note [implicit instance arguments]

theorem CoheytingHom.mk.injEq E0 #

∀ {α : Type u_6} {β : Type u_7} [inst : CoheytingAlgebra α] [inst_1 : CoheytingAlgebra β]
  (toLatticeHom : LatticeHom α β) (map_top' : toLatticeHom.toFun ⊤ = ⊤)
  (map_sdiff' : ∀ (a b : α), toLatticeHom.toFun (a \ b) = toLatticeHom.toFun a \ toLatticeHom.toFun b)
  (toLatticeHom_1 : LatticeHom α β) (map_top'_1 : toLatticeHom_1.toFun ⊤ = ⊤)
  (map_sdiff'_1 : ∀ (a b : α), toLatticeHom_1.toFun (a \ b) = toLatticeHom_1.toFun a \ toLatticeHom_1.toFun b),
  ({ toLatticeHom := toLatticeHom, map_top' := map_top', map_sdiff' := map_sdiff' } =
      { toLatticeHom := toLatticeHom_1, map_top' := map_top'_1, map_sdiff' := map_sdiff'_1 }) =
    (toLatticeHom = toLatticeHom_1)

def CoheytingHom.ctorIdx E1 #

{α : Type u_6} → {β : Type u_7} → {inst : CoheytingAlgebra α} → {inst_1 : CoheytingAlgebra β} → CoheytingHom α β → ℕ

def HeytingHom.ctorIdx E1 #

{α : Type u_6} → {β : Type u_7} → {inst : HeytingAlgebra α} → {inst_1 : HeytingAlgebra β} → HeytingHom α β → ℕ

theorem BiheytingHom.mk.inj E1 #

∀ {α : Type u_6} {β : Type u_7} {inst : BiheytingAlgebra α} {inst_1 : BiheytingAlgebra β}
  {toLatticeHom : LatticeHom α β}
  {map_himp' : ∀ (a b : α), toLatticeHom.toFun (a ⇨ b) = toLatticeHom.toFun a ⇨ toLatticeHom.toFun b}
  {map_sdiff' : ∀ (a b : α), toLatticeHom.toFun (a \ b) = toLatticeHom.toFun a \ toLatticeHom.toFun b}
  {toLatticeHom_1 : LatticeHom α β}
  {map_himp'_1 : ∀ (a b : α), toLatticeHom_1.toFun (a ⇨ b) = toLatticeHom_1.toFun a ⇨ toLatticeHom_1.toFun b}
  {map_sdiff'_1 : ∀ (a b : α), toLatticeHom_1.toFun (a \ b) = toLatticeHom_1.toFun a \ toLatticeHom_1.toFun b},
  { toLatticeHom := toLatticeHom, map_himp' := map_himp', map_sdiff' := map_sdiff' } =
      { toLatticeHom := toLatticeHom_1, map_himp' := map_himp'_1, map_sdiff' := map_sdiff'_1 } →
    toLatticeHom = toLatticeHom_1

theorem CoheytingHom.mk.inj E1 #

∀ {α : Type u_6} {β : Type u_7} {inst : CoheytingAlgebra α} {inst_1 : CoheytingAlgebra β}
  {toLatticeHom : LatticeHom α β} {map_top' : toLatticeHom.toFun ⊤ = ⊤}
  {map_sdiff' : ∀ (a b : α), toLatticeHom.toFun (a \ b) = toLatticeHom.toFun a \ toLatticeHom.toFun b}
  {toLatticeHom_1 : LatticeHom α β} {map_top'_1 : toLatticeHom_1.toFun ⊤ = ⊤}
  {map_sdiff'_1 : ∀ (a b : α), toLatticeHom_1.toFun (a \ b) = toLatticeHom_1.toFun a \ toLatticeHom_1.toFun b},
  { toLatticeHom := toLatticeHom, map_top' := map_top', map_sdiff' := map_sdiff' } =
      { toLatticeHom := toLatticeHom_1, map_top' := map_top'_1, map_sdiff' := map_sdiff'_1 } →
    toLatticeHom = toLatticeHom_1

def BiheytingHom.ctorIdx E1 #

{α : Type u_6} → {β : Type u_7} → {inst : BiheytingAlgebra α} → {inst_1 : BiheytingAlgebra β} → BiheytingHom α β → ℕ

theorem HeytingHom.mk.injEq E0 #

∀ {α : Type u_6} {β : Type u_7} [inst : HeytingAlgebra α] [inst_1 : HeytingAlgebra β] (toLatticeHom : LatticeHom α β)
  (map_bot' : toLatticeHom.toFun ⊥ = ⊥)
  (map_himp' : ∀ (a b : α), toLatticeHom.toFun (a ⇨ b) = toLatticeHom.toFun a ⇨ toLatticeHom.toFun b)
  (toLatticeHom_1 : LatticeHom α β) (map_bot'_1 : toLatticeHom_1.toFun ⊥ = ⊥)
  (map_himp'_1 : ∀ (a b : α), toLatticeHom_1.toFun (a ⇨ b) = toLatticeHom_1.toFun a ⇨ toLatticeHom_1.toFun b),
  ({ toLatticeHom := toLatticeHom, map_bot' := map_bot', map_himp' := map_himp' } =
      { toLatticeHom := toLatticeHom_1, map_bot' := map_bot'_1, map_himp' := map_himp'_1 }) =
    (toLatticeHom = toLatticeHom_1)

theorem BiheytingHom.mk.injEq E0 #

∀ {α : Type u_6} {β : Type u_7} [inst : BiheytingAlgebra α] [inst_1 : BiheytingAlgebra β]
  (toLatticeHom : LatticeHom α β)
  (map_himp' : ∀ (a b : α), toLatticeHom.toFun (a ⇨ b) = toLatticeHom.toFun a ⇨ toLatticeHom.toFun b)
  (map_sdiff' : ∀ (a b : α), toLatticeHom.toFun (a \ b) = toLatticeHom.toFun a \ toLatticeHom.toFun b)
  (toLatticeHom_1 : LatticeHom α β)
  (map_himp'_1 : ∀ (a b : α), toLatticeHom_1.toFun (a ⇨ b) = toLatticeHom_1.toFun a ⇨ toLatticeHom_1.toFun b)
  (map_sdiff'_1 : ∀ (a b : α), toLatticeHom_1.toFun (a \ b) = toLatticeHom_1.toFun a \ toLatticeHom_1.toFun b),
  ({ toLatticeHom := toLatticeHom, map_himp' := map_himp', map_sdiff' := map_sdiff' } =
      { toLatticeHom := toLatticeHom_1, map_himp' := map_himp'_1, map_sdiff' := map_sdiff'_1 }) =
    (toLatticeHom = toLatticeHom_1)

theorem HeytingHom.mk.inj E1 #

∀ {α : Type u_6} {β : Type u_7} {inst : HeytingAlgebra α} {inst_1 : HeytingAlgebra β} {toLatticeHom : LatticeHom α β}
  {map_bot' : toLatticeHom.toFun ⊥ = ⊥}
  {map_himp' : ∀ (a b : α), toLatticeHom.toFun (a ⇨ b) = toLatticeHom.toFun a ⇨ toLatticeHom.toFun b}
  {toLatticeHom_1 : LatticeHom α β} {map_bot'_1 : toLatticeHom_1.toFun ⊥ = ⊥}
  {map_himp'_1 : ∀ (a b : α), toLatticeHom_1.toFun (a ⇨ b) = toLatticeHom_1.toFun a ⇨ toLatticeHom_1.toFun b},
  { toLatticeHom := toLatticeHom, map_bot' := map_bot', map_himp' := map_himp' } =
      { toLatticeHom := toLatticeHom_1, map_bot' := map_bot'_1, map_himp' := map_himp'_1 } →
    toLatticeHom = toLatticeHom_1

structure HeytingHom E1 #

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

The type of Heyting homomorphisms from α to β. Bounded lattice homomorphisms that preserve Heyting implication.

ctor HeytingHom.mk E0 #

{α : Type u_6} →
  {β : Type u_7} →
    [inst : HeytingAlgebra α] →
      [inst_1 : HeytingAlgebra β] →
        (toLatticeHom : LatticeHom α β) →
          toLatticeHom.toFun ⊥ = ⊥ →
            (∀ (a b : α), toLatticeHom.toFun (a ⇨ b) = toLatticeHom.toFun a ⇨ toLatticeHom.toFun b) → HeytingHom α β

abbrev HeytingHom.toLatticeHom E1 #

{α : Type u_6} →
  {β : Type u_7} → [inst : HeytingAlgebra α] → [inst_1 : HeytingAlgebra β] → HeytingHom α β → LatticeHom α β

theorem HeytingHom.map_bot' E0 #

∀ {α : Type u_6} {β : Type u_7} [inst : HeytingAlgebra α] [inst_1 : HeytingAlgebra β] (self : HeytingHom α β),
  self.toFun ⊥ = ⊥

The proposition that a Heyting homomorphism preserves the bottom element.

theorem HeytingHom.map_himp' E0 #

∀ {α : Type u_6} {β : Type u_7} [inst : HeytingAlgebra α] [inst_1 : HeytingAlgebra β] (self : HeytingHom α β) (a b : α),
  self.toFun (a ⇨ b) = self.toFun a ⇨ self.toFun b

The proposition that a Heyting homomorphism preserves the Heyting implication.

structure CoheytingHom E1 #

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

The type of co-Heyting homomorphisms from α to β. Bounded lattice homomorphisms that preserve difference.

abbrev CoheytingHom.toLatticeHom E1 #

{α : Type u_6} →
  {β : Type u_7} → [inst : CoheytingAlgebra α] → [inst_1 : CoheytingAlgebra β] → CoheytingHom α β → LatticeHom α β

ctor CoheytingHom.mk E0 #

{α : Type u_6} →
  {β : Type u_7} →
    [inst : CoheytingAlgebra α] →
      [inst_1 : CoheytingAlgebra β] →
        (toLatticeHom : LatticeHom α β) →
          toLatticeHom.toFun ⊤ = ⊤ →
            (∀ (a b : α), toLatticeHom.toFun (a \ b) = toLatticeHom.toFun a \ toLatticeHom.toFun b) → CoheytingHom α β

theorem CoheytingHom.map_top' E0 #

∀ {α : Type u_6} {β : Type u_7} [inst : CoheytingAlgebra α] [inst_1 : CoheytingAlgebra β] (self : CoheytingHom α β),
  self.toFun ⊤ = ⊤

The proposition that a co-Heyting homomorphism preserves the top element.

theorem CoheytingHom.map_sdiff' E0 #

∀ {α : Type u_6} {β : Type u_7} [inst : CoheytingAlgebra α] [inst_1 : CoheytingAlgebra β] (self : CoheytingHom α β)
  (a b : α), self.toFun (a \ b) = self.toFun a \ self.toFun b

The proposition that a co-Heyting homomorphism preserves the difference operation.

structure BiheytingHom E1 #

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

The type of bi-Heyting homomorphisms from α to β. Bounded lattice homomorphisms that preserve Heyting implication and difference.

abbrev BiheytingHom.toLatticeHom E1 #

{α : Type u_6} →
  {β : Type u_7} → [inst : BiheytingAlgebra α] → [inst_1 : BiheytingAlgebra β] → BiheytingHom α β → LatticeHom α β

ctor BiheytingHom.mk E0 #

{α : Type u_6} →
  {β : Type u_7} →
    [inst : BiheytingAlgebra α] →
      [inst_1 : BiheytingAlgebra β] →
        (toLatticeHom : LatticeHom α β) →
          (∀ (a b : α), toLatticeHom.toFun (a ⇨ b) = toLatticeHom.toFun a ⇨ toLatticeHom.toFun b) →
            (∀ (a b : α), toLatticeHom.toFun (a \ b) = toLatticeHom.toFun a \ toLatticeHom.toFun b) → BiheytingHom α β

theorem BiheytingHom.map_himp' E0 #

∀ {α : Type u_6} {β : Type u_7} [inst : BiheytingAlgebra α] [inst_1 : BiheytingAlgebra β] (self : BiheytingHom α β)
  (a b : α), self.toFun (a ⇨ b) = self.toFun a ⇨ self.toFun b

The proposition that a bi-Heyting homomorphism preserves the Heyting implication.

theorem BiheytingHom.map_sdiff' E0 #

∀ {α : Type u_6} {β : Type u_7} [inst : BiheytingAlgebra α] [inst_1 : BiheytingAlgebra β] (self : BiheytingHom α β)
  (a b : α), self.toFun (a \ b) = self.toFun a \ self.toFun b

The proposition that a bi-Heyting homomorphism preserves the difference operation.

class HeytingHomClass E1 #

(F : Type u_6) → (α : Type u_7) → (β : Type u_8) → [HeytingAlgebra α] → [HeytingAlgebra β] → [FunLike F α β] → Prop

HeytingHomClass F α β states that F is a type of Heyting homomorphisms.

You should extend this class when you extend HeytingHom.

instance HeytingHomClass.toLatticeHomClass E0 #

∀ {F : Type u_6} {α : Type u_7} {β : Type u_8} {inst : HeytingAlgebra α} {inst_1 : HeytingAlgebra β}
  {inst_2 : FunLike F α β} [self : HeytingHomClass F α β], LatticeHomClass F α β

ctor HeytingHomClass.mk E0 #

∀ {F : Type u_6} {α : Type u_7} {β : Type u_8} [inst : HeytingAlgebra α] [inst_1 : HeytingAlgebra β]
  [inst_2 : FunLike F α β] [toLatticeHomClass : LatticeHomClass F α β],
  (∀ (f : F), f ⊥ = ⊥) → (∀ (f : F) (a b : α), f (a ⇨ b) = f a ⇨ f b) → HeytingHomClass F α β

theorem HeytingHomClass.map_bot E0 #

∀ {F : Type u_6} {α : Type u_7} {β : Type u_8} {inst : HeytingAlgebra α} {inst_1 : HeytingAlgebra β}
  {inst_2 : FunLike F α β} [self : HeytingHomClass F α β] (f : F), f ⊥ = ⊥

The proposition that a Heyting homomorphism preserves the bottom element.

theorem HeytingHomClass.map_himp E0 #

∀ {F : Type u_6} {α : Type u_7} {β : Type u_8} {inst : HeytingAlgebra α} {inst_1 : HeytingAlgebra β}
  {inst_2 : FunLike F α β} [self : HeytingHomClass F α β] (f : F) (a b : α), f (a ⇨ b) = f a ⇨ f b

The proposition that a Heyting homomorphism preserves the Heyting implication.

class CoheytingHomClass E1 #

(F : Type u_6) → (α : Type u_7) → (β : Type u_8) → [CoheytingAlgebra α] → [CoheytingAlgebra β] → [FunLike F α β] → Prop

CoheytingHomClass F α β states that F is a type of co-Heyting homomorphisms.

You should extend this class when you extend CoheytingHom.

instance CoheytingHomClass.toLatticeHomClass E0 #

∀ {F : Type u_6} {α : Type u_7} {β : Type u_8} {inst : CoheytingAlgebra α} {inst_1 : CoheytingAlgebra β}
  {inst_2 : FunLike F α β} [self : CoheytingHomClass F α β], LatticeHomClass F α β

ctor CoheytingHomClass.mk E0 #

∀ {F : Type u_6} {α : Type u_7} {β : Type u_8} [inst : CoheytingAlgebra α] [inst_1 : CoheytingAlgebra β]
  [inst_2 : FunLike F α β] [toLatticeHomClass : LatticeHomClass F α β],
  (∀ (f : F), f ⊤ = ⊤) → (∀ (f : F) (a b : α), f (a \ b) = f a \ f b) → CoheytingHomClass F α β

theorem CoheytingHomClass.map_top E0 #

∀ {F : Type u_6} {α : Type u_7} {β : Type u_8} {inst : CoheytingAlgebra α} {inst_1 : CoheytingAlgebra β}
  {inst_2 : FunLike F α β} [self : CoheytingHomClass F α β] (f : F), f ⊤ = ⊤

The proposition that a co-Heyting homomorphism preserves the top element.

theorem CoheytingHomClass.map_sdiff E0 #

∀ {F : Type u_6} {α : Type u_7} {β : Type u_8} {inst : CoheytingAlgebra α} {inst_1 : CoheytingAlgebra β}
  {inst_2 : FunLike F α β} [self : CoheytingHomClass F α β] (f : F) (a b : α), f (a \ b) = f a \ f b

The proposition that a co-Heyting homomorphism preserves the difference operation.

class BiheytingHomClass E1 #

(F : Type u_6) → (α : Type u_7) → (β : Type u_8) → [BiheytingAlgebra α] → [BiheytingAlgebra β] → [FunLike F α β] → Prop

BiheytingHomClass F α β states that F is a type of bi-Heyting homomorphisms.

You should extend this class when you extend BiheytingHom.

ctor BiheytingHomClass.mk E0 #

∀ {F : Type u_6} {α : Type u_7} {β : Type u_8} [inst : BiheytingAlgebra α] [inst_1 : BiheytingAlgebra β]
  [inst_2 : FunLike F α β] [toLatticeHomClass : LatticeHomClass F α β],
  (∀ (f : F) (a b : α), f (a ⇨ b) = f a ⇨ f b) → (∀ (f : F) (a b : α), f (a \ b) = f a \ f b) → BiheytingHomClass F α β

instance BiheytingHomClass.toLatticeHomClass E0 #

∀ {F : Type u_6} {α : Type u_7} {β : Type u_8} {inst : BiheytingAlgebra α} {inst_1 : BiheytingAlgebra β}
  {inst_2 : FunLike F α β} [self : BiheytingHomClass F α β], LatticeHomClass F α β

theorem BiheytingHomClass.map_himp E0 #

∀ {F : Type u_6} {α : Type u_7} {β : Type u_8} {inst : BiheytingAlgebra α} {inst_1 : BiheytingAlgebra β}
  {inst_2 : FunLike F α β} [self : BiheytingHomClass F α β] (f : F) (a b : α), f (a ⇨ b) = f a ⇨ f b

The proposition that a bi-Heyting homomorphism preserves the Heyting implication.

theorem BiheytingHomClass.map_sdiff E0 #

∀ {F : Type u_6} {α : Type u_7} {β : Type u_8} {inst : BiheytingAlgebra α} {inst_1 : BiheytingAlgebra β}
  {inst_2 : FunLike F α β} [self : BiheytingHomClass F α β] (f : F) (a b : α), f (a \ b) = f a \ f b

The proposition that a bi-Heyting homomorphism preserves the difference operation.

instance HeytingHomClass.toBoundedLatticeHomClass E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : HeytingAlgebra α] {x : HeytingAlgebra β}
  [HeytingHomClass F α β], BoundedLatticeHomClass F α β

instance CoheytingHomClass.toBoundedLatticeHomClass E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : CoheytingAlgebra α]
  {x : CoheytingAlgebra β} [CoheytingHomClass F α β], BoundedLatticeHomClass F α β

instance BiheytingHomClass.toHeytingHomClass E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : BiheytingAlgebra α]
  {x : BiheytingAlgebra β} [BiheytingHomClass F α β], HeytingHomClass F α β

instance BiheytingHomClass.toCoheytingHomClass E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : BiheytingAlgebra α]
  {x : BiheytingAlgebra β} [BiheytingHomClass F α β], CoheytingHomClass F α β

instance OrderIsoClass.toHeytingHomClass E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : EquivLike F α β] [inst_1 : HeytingAlgebra α]
  {x : HeytingAlgebra β} [OrderIsoClass F α β], HeytingHomClass F α β

instance OrderIsoClass.toCoheytingHomClass E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : EquivLike F α β] [inst_1 : CoheytingAlgebra α]
  {x : CoheytingAlgebra β} [OrderIsoClass F α β], CoheytingHomClass F α β

instance OrderIsoClass.toBiheytingHomClass E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : EquivLike F α β] [inst_1 : BiheytingAlgebra α]
  {x : BiheytingAlgebra β} [OrderIsoClass F α β], BiheytingHomClass F α β

instance BoundedLatticeHomClass.toBiheytingHomClass E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : BooleanAlgebra α]
  [inst_2 : BooleanAlgebra β] [BoundedLatticeHomClass F α β], BiheytingHomClass F α β

theorem map_compl E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : HeytingAlgebra α]
  [inst_2 : HeytingAlgebra β] [HeytingHomClass F α β] (f : F) (a : α), f aᶜ = (f a)ᶜ

theorem map_bihimp E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : HeytingAlgebra α]
  [inst_2 : HeytingAlgebra β] [HeytingHomClass F α β] (f : F) (a b : α), f (bihimp a b) = bihimp (f a) (f b)

theorem map_hnot E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : CoheytingAlgebra α]
  [inst_2 : CoheytingAlgebra β] [CoheytingHomClass F α β] (f : F) (a : α), f (¬a) = ¬f a

theorem map_symmDiff E0 #

∀ {F : Type u_1} {α : Type u_2} {β : Type u_3} [inst : FunLike F α β] [inst_1 : CoheytingAlgebra α]
  [inst_2 : CoheytingAlgebra β] [CoheytingHomClass F α β] (f : F) (a b : α), f (symmDiff a b) = symmDiff (f a) (f b)

instance instCoeTCHeytingHomOfHeytingHomClass E0 #

{F : Type u_1} →
  {α : Type u_2} →
    {β : Type u_3} →
      [inst : FunLike F α β] →
        [inst_1 : HeytingAlgebra α] → [inst_2 : HeytingAlgebra β] → [HeytingHomClass F α β] → CoeTC F (HeytingHom α β)

instance instCoeTCCoheytingHomOfCoheytingHomClass E0 #

{F : Type u_1} →
  {α : Type u_2} →
    {β : Type u_3} →
      [inst : FunLike F α β] →
        [inst_1 : CoheytingAlgebra α] →
          [inst_2 : CoheytingAlgebra β] → [CoheytingHomClass F α β] → CoeTC F (CoheytingHom α β)

instance instCoeTCBiheytingHomOfBiheytingHomClass E0 #

{F : Type u_1} →
  {α : Type u_2} →
    {β : Type u_3} →
      [inst : FunLike F α β] →
        [inst_1 : BiheytingAlgebra α] →
          [inst_2 : BiheytingAlgebra β] → [BiheytingHomClass F α β] → CoeTC F (BiheytingHom α β)

instance HeytingHom.instFunLike E0 #

{α : Type u_2} → {β : Type u_3} → [inst : HeytingAlgebra α] → [inst_1 : HeytingAlgebra β] → FunLike (HeytingHom α β) α β

instance HeytingHom.instHeytingHomClass E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : HeytingAlgebra α] [inst_1 : HeytingAlgebra β],
  HeytingHomClass (HeytingHom α β) α β

theorem HeytingHom.toFun_eq_coe E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : HeytingAlgebra α] [inst_1 : HeytingAlgebra β] {f : HeytingHom α β}, f.toFun = ⇑f

theorem HeytingHom.toFun_eq_coe_aux E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : HeytingAlgebra α] [inst_1 : HeytingAlgebra β] {f : HeytingHom α β},
  ⇑f.toLatticeHom = ⇑f

theorem HeytingHom.ext E1 #

∀ {α : Type u_2} {β : Type u_3} [inst : HeytingAlgebra α] [inst_1 : HeytingAlgebra β] {f g : HeytingHom α β},
  (∀ (a : α), f a = g a) → f = g

theorem HeytingHom.ext_iff E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : HeytingAlgebra α] [inst_1 : HeytingAlgebra β] {f g : HeytingHom α β},
  f = g ↔ ∀ (a : α), f a = g a

def HeytingHom.copy E1 #

{α : Type u_2} →
  {β : Type u_3} →
    [inst : HeytingAlgebra α] →
      [inst_1 : HeytingAlgebra β] → (f : HeytingHom α β) → (f' : α → β) → f' = ⇑f → HeytingHom α β

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

theorem HeytingHom.coe_copy E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : HeytingAlgebra α] [inst_1 : HeytingAlgebra β] (f : HeytingHom α β) (f' : α → β)
  (h : f' = ⇑f), ⇑(f.copy f' h) = f'

theorem HeytingHom.copy_eq E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : HeytingAlgebra α] [inst_1 : HeytingAlgebra β] (f : HeytingHom α β) (f' : α → β)
  (h : f' = ⇑f), f.copy f' h = f

def HeytingHom.id E1 #

(α : Type u_2) → [inst : HeytingAlgebra α] → HeytingHom α α

id as a HeytingHom.

theorem HeytingHom.coe_id E0 #

∀ (α : Type u_2) [inst : HeytingAlgebra α], ⇑(HeytingHom.id α) = id

theorem HeytingHom.id_apply E0 #

∀ {α : Type u_2} [inst : HeytingAlgebra α] (a : α), (HeytingHom.id α) a = a

instance HeytingHom.instInhabited E0 #

{α : Type u_2} → [inst : HeytingAlgebra α] → Inhabited (HeytingHom α α)

instance HeytingHom.instPartialOrder E0 #

{α : Type u_2} →
  {β : Type u_3} → [inst : HeytingAlgebra α] → [inst_1 : HeytingAlgebra β] → PartialOrder (HeytingHom α β)

def HeytingHom.comp E1 #

{α : Type u_2} →
  {β : Type u_3} →
    {γ : Type u_4} →
      [inst : HeytingAlgebra α] →
        [inst_1 : HeytingAlgebra β] → [inst_2 : HeytingAlgebra γ] → HeytingHom β γ → HeytingHom α β → HeytingHom α γ

Composition of HeytingHoms as a HeytingHom.

theorem HeytingHom.coe_comp E0 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : HeytingAlgebra α] [inst_1 : HeytingAlgebra β]
  [inst_2 : HeytingAlgebra γ] (f : HeytingHom β γ) (g : HeytingHom α β), ⇑(f.comp g) = ⇑f ∘ ⇑g

theorem HeytingHom.comp_apply E0 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : HeytingAlgebra α] [inst_1 : HeytingAlgebra β]
  [inst_2 : HeytingAlgebra γ] (f : HeytingHom β γ) (g : HeytingHom α β) (a : α), (f.comp g) a = f (g a)

theorem HeytingHom.comp_assoc E0 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} {δ : Type u_5} [inst : HeytingAlgebra α] [inst_1 : HeytingAlgebra β]
  [inst_2 : HeytingAlgebra γ] [inst_3 : HeytingAlgebra δ] (f : HeytingHom γ δ) (g : HeytingHom β γ)
  (h : HeytingHom α β), (f.comp g).comp h = f.comp (g.comp h)

theorem HeytingHom.comp_id E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : HeytingAlgebra α] [inst_1 : HeytingAlgebra β] (f : HeytingHom α β),
  f.comp (HeytingHom.id α) = f

theorem HeytingHom.id_comp E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : HeytingAlgebra α] [inst_1 : HeytingAlgebra β] (f : HeytingHom α β),
  (HeytingHom.id β).comp f = f

theorem HeytingHom.cancel_right E0 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : HeytingAlgebra α] [inst_1 : HeytingAlgebra β]
  [inst_2 : HeytingAlgebra γ] {f : HeytingHom α β} {g₁ g₂ : HeytingHom β γ},
  Function.Surjective ⇑f → (g₁.comp f = g₂.comp f ↔ g₁ = g₂)

theorem HeytingHom.cancel_left E0 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : HeytingAlgebra α] [inst_1 : HeytingAlgebra β]
  [inst_2 : HeytingAlgebra γ] {f₁ f₂ : HeytingHom α β} {g : HeytingHom β γ},
  Function.Injective ⇑g → (g.comp f₁ = g.comp f₂ ↔ f₁ = f₂)

instance CoheytingHom.instFunLike E0 #

{α : Type u_2} →
  {β : Type u_3} → [inst : CoheytingAlgebra α] → [inst_1 : CoheytingAlgebra β] → FunLike (CoheytingHom α β) α β

instance CoheytingHom.instCoheytingHomClass E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : CoheytingAlgebra α] [inst_1 : CoheytingAlgebra β],
  CoheytingHomClass (CoheytingHom α β) α β

theorem CoheytingHom.toFun_eq_coe E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : CoheytingAlgebra α] [inst_1 : CoheytingAlgebra β] {f : CoheytingHom α β},
  f.toFun = ⇑f

theorem CoheytingHom.toFun_eq_coe_aux E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : CoheytingAlgebra α] [inst_1 : CoheytingAlgebra β] {f : CoheytingHom α β},
  ⇑f.toLatticeHom = ⇑f

theorem CoheytingHom.ext E1 #

∀ {α : Type u_2} {β : Type u_3} [inst : CoheytingAlgebra α] [inst_1 : CoheytingAlgebra β] {f g : CoheytingHom α β},
  (∀ (a : α), f a = g a) → f = g

theorem CoheytingHom.ext_iff E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : CoheytingAlgebra α] [inst_1 : CoheytingAlgebra β] {f g : CoheytingHom α β},
  f = g ↔ ∀ (a : α), f a = g a

def CoheytingHom.copy E1 #

{α : Type u_2} →
  {β : Type u_3} →
    [inst : CoheytingAlgebra α] →
      [inst_1 : CoheytingAlgebra β] → (f : CoheytingHom α β) → (f' : α → β) → f' = ⇑f → CoheytingHom α β

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

theorem CoheytingHom.coe_copy E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : CoheytingAlgebra α] [inst_1 : CoheytingAlgebra β] (f : CoheytingHom α β)
  (f' : α → β) (h : f' = ⇑f), ⇑(f.copy f' h) = f'

theorem CoheytingHom.copy_eq E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : CoheytingAlgebra α] [inst_1 : CoheytingAlgebra β] (f : CoheytingHom α β)
  (f' : α → β) (h : f' = ⇑f), f.copy f' h = f

def CoheytingHom.id E1 #

(α : Type u_2) → [inst : CoheytingAlgebra α] → CoheytingHom α α

id as a CoheytingHom.

theorem CoheytingHom.coe_id E0 #

∀ (α : Type u_2) [inst : CoheytingAlgebra α], ⇑(CoheytingHom.id α) = id

theorem CoheytingHom.id_apply E0 #

∀ {α : Type u_2} [inst : CoheytingAlgebra α] (a : α), (CoheytingHom.id α) a = a

instance CoheytingHom.instInhabited E0 #

{α : Type u_2} → [inst : CoheytingAlgebra α] → Inhabited (CoheytingHom α α)

instance CoheytingHom.instPartialOrder E0 #

{α : Type u_2} →
  {β : Type u_3} → [inst : CoheytingAlgebra α] → [inst_1 : CoheytingAlgebra β] → PartialOrder (CoheytingHom α β)

def CoheytingHom.comp E1 #

{α : Type u_2} →
  {β : Type u_3} →
    {γ : Type u_4} →
      [inst : CoheytingAlgebra α] →
        [inst_1 : CoheytingAlgebra β] →
          [inst_2 : CoheytingAlgebra γ] → CoheytingHom β γ → CoheytingHom α β → CoheytingHom α γ

Composition of CoheytingHoms as a CoheytingHom.

theorem CoheytingHom.coe_comp E0 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : CoheytingAlgebra α] [inst_1 : CoheytingAlgebra β]
  [inst_2 : CoheytingAlgebra γ] (f : CoheytingHom β γ) (g : CoheytingHom α β), ⇑(f.comp g) = ⇑f ∘ ⇑g

theorem CoheytingHom.comp_apply E0 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : CoheytingAlgebra α] [inst_1 : CoheytingAlgebra β]
  [inst_2 : CoheytingAlgebra γ] (f : CoheytingHom β γ) (g : CoheytingHom α β) (a : α), (f.comp g) a = f (g a)

theorem CoheytingHom.comp_assoc E0 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} {δ : Type u_5} [inst : CoheytingAlgebra α] [inst_1 : CoheytingAlgebra β]
  [inst_2 : CoheytingAlgebra γ] [inst_3 : CoheytingAlgebra δ] (f : CoheytingHom γ δ) (g : CoheytingHom β γ)
  (h : CoheytingHom α β), (f.comp g).comp h = f.comp (g.comp h)

theorem CoheytingHom.comp_id E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : CoheytingAlgebra α] [inst_1 : CoheytingAlgebra β] (f : CoheytingHom α β),
  f.comp (CoheytingHom.id α) = f

theorem CoheytingHom.id_comp E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : CoheytingAlgebra α] [inst_1 : CoheytingAlgebra β] (f : CoheytingHom α β),
  (CoheytingHom.id β).comp f = f

theorem CoheytingHom.cancel_right E0 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : CoheytingAlgebra α] [inst_1 : CoheytingAlgebra β]
  [inst_2 : CoheytingAlgebra γ] {f : CoheytingHom α β} {g₁ g₂ : CoheytingHom β γ},
  Function.Surjective ⇑f → (g₁.comp f = g₂.comp f ↔ g₁ = g₂)

theorem CoheytingHom.cancel_left E0 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : CoheytingAlgebra α] [inst_1 : CoheytingAlgebra β]
  [inst_2 : CoheytingAlgebra γ] {f₁ f₂ : CoheytingHom α β} {g : CoheytingHom β γ},
  Function.Injective ⇑g → (g.comp f₁ = g.comp f₂ ↔ f₁ = f₂)

instance BiheytingHom.instFunLike E0 #

{α : Type u_2} →
  {β : Type u_3} → [inst : BiheytingAlgebra α] → [inst_1 : BiheytingAlgebra β] → FunLike (BiheytingHom α β) α β

instance BiheytingHom.instBiheytingHomClass E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : BiheytingAlgebra α] [inst_1 : BiheytingAlgebra β],
  BiheytingHomClass (BiheytingHom α β) α β

theorem BiheytingHom.toFun_eq_coe E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : BiheytingAlgebra α] [inst_1 : BiheytingAlgebra β] {f : BiheytingHom α β},
  f.toFun = ⇑f

theorem BiheytingHom.toFun_eq_coe_aux E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : BiheytingAlgebra α] [inst_1 : BiheytingAlgebra β] {f : BiheytingHom α β},
  ⇑f.toLatticeHom = ⇑f

theorem BiheytingHom.ext E1 #

∀ {α : Type u_2} {β : Type u_3} [inst : BiheytingAlgebra α] [inst_1 : BiheytingAlgebra β] {f g : BiheytingHom α β},
  (∀ (a : α), f a = g a) → f = g

theorem BiheytingHom.ext_iff E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : BiheytingAlgebra α] [inst_1 : BiheytingAlgebra β] {f g : BiheytingHom α β},
  f = g ↔ ∀ (a : α), f a = g a

def BiheytingHom.copy E1 #

{α : Type u_2} →
  {β : Type u_3} →
    [inst : BiheytingAlgebra α] →
      [inst_1 : BiheytingAlgebra β] → (f : BiheytingHom α β) → (f' : α → β) → f' = ⇑f → BiheytingHom α β

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

theorem BiheytingHom.coe_copy E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : BiheytingAlgebra α] [inst_1 : BiheytingAlgebra β] (f : BiheytingHom α β)
  (f' : α → β) (h : f' = ⇑f), ⇑(f.copy f' h) = f'

theorem BiheytingHom.copy_eq E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : BiheytingAlgebra α] [inst_1 : BiheytingAlgebra β] (f : BiheytingHom α β)
  (f' : α → β) (h : f' = ⇑f), f.copy f' h = f

def BiheytingHom.id E1 #

(α : Type u_2) → [inst : BiheytingAlgebra α] → BiheytingHom α α

id as a BiheytingHom.

theorem BiheytingHom.coe_id E0 #

∀ (α : Type u_2) [inst : BiheytingAlgebra α], ⇑(BiheytingHom.id α) = id

theorem BiheytingHom.id_apply E0 #

∀ {α : Type u_2} [inst : BiheytingAlgebra α] (a : α), (BiheytingHom.id α) a = a

instance BiheytingHom.instInhabited E0 #

{α : Type u_2} → [inst : BiheytingAlgebra α] → Inhabited (BiheytingHom α α)

instance BiheytingHom.instPartialOrder E0 #

{α : Type u_2} →
  {β : Type u_3} → [inst : BiheytingAlgebra α] → [inst_1 : BiheytingAlgebra β] → PartialOrder (BiheytingHom α β)

def BiheytingHom.comp E1 #

{α : Type u_2} →
  {β : Type u_3} →
    {γ : Type u_4} →
      [inst : BiheytingAlgebra α] →
        [inst_1 : BiheytingAlgebra β] →
          [inst_2 : BiheytingAlgebra γ] → BiheytingHom β γ → BiheytingHom α β → BiheytingHom α γ

Composition of BiheytingHoms as a BiheytingHom.

theorem BiheytingHom.coe_comp E0 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : BiheytingAlgebra α] [inst_1 : BiheytingAlgebra β]
  [inst_2 : BiheytingAlgebra γ] (f : BiheytingHom β γ) (g : BiheytingHom α β), ⇑(f.comp g) = ⇑f ∘ ⇑g

theorem BiheytingHom.comp_apply E0 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : BiheytingAlgebra α] [inst_1 : BiheytingAlgebra β]
  [inst_2 : BiheytingAlgebra γ] (f : BiheytingHom β γ) (g : BiheytingHom α β) (a : α), (f.comp g) a = f (g a)

theorem BiheytingHom.comp_assoc E0 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} {δ : Type u_5} [inst : BiheytingAlgebra α] [inst_1 : BiheytingAlgebra β]
  [inst_2 : BiheytingAlgebra γ] [inst_3 : BiheytingAlgebra δ] (f : BiheytingHom γ δ) (g : BiheytingHom β γ)
  (h : BiheytingHom α β), (f.comp g).comp h = f.comp (g.comp h)

theorem BiheytingHom.comp_id E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : BiheytingAlgebra α] [inst_1 : BiheytingAlgebra β] (f : BiheytingHom α β),
  f.comp (BiheytingHom.id α) = f

theorem BiheytingHom.id_comp E0 #

∀ {α : Type u_2} {β : Type u_3} [inst : BiheytingAlgebra α] [inst_1 : BiheytingAlgebra β] (f : BiheytingHom α β),
  (BiheytingHom.id β).comp f = f

theorem BiheytingHom.cancel_right E0 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : BiheytingAlgebra α] [inst_1 : BiheytingAlgebra β]
  [inst_2 : BiheytingAlgebra γ] {f : BiheytingHom α β} {g₁ g₂ : BiheytingHom β γ},
  Function.Surjective ⇑f → (g₁.comp f = g₂.comp f ↔ g₁ = g₂)

theorem BiheytingHom.cancel_left E0 #

∀ {α : Type u_2} {β : Type u_3} {γ : Type u_4} [inst : BiheytingAlgebra α] [inst_1 : BiheytingAlgebra β]
  [inst_2 : BiheytingAlgebra γ] {f₁ f₂ : BiheytingHom α β} {g : BiheytingHom β γ},
  Function.Injective ⇑g → (g.comp f₁ = g.comp f₂ ↔ f₁ = f₂)