Morphisms of binary relations

Content created by Egbert Rijke and Fredrik Bakke.

Created on 2023-09-26.
Last modified on 2023-09-26.

module foundation.morphisms-binary-relations where
Imports
open import foundation.binary-homotopies
open import foundation.binary-relations
open import foundation.universe-levels

open import foundation-core.equivalences
open import foundation-core.identity-types

Idea

A morphism of binary relations R and S on a type A is a family of maps R x y → S x y for every pair x y : A.

Definition

Morphisms of binary relations

module _
  {l1 l2 l3 : Level} {A : UU l1}
  where

  hom-Relation : Relation l2 A  Relation l3 A  UU (l1  l2  l3)
  hom-Relation R S = (x y : A)  R x y  S x y

Properties

Characterization of equality of morphisms of binary relations

module _
  {l1 l2 l3 : Level} {A : UU l1} {R : Relation l2 A} {S : Relation l3 A}
  where

  htpy-hom-Relation : (f g : hom-Relation R S)  UU (l1  l2  l3)
  htpy-hom-Relation = binary-htpy

  extensionality-hom-Relation :
    (f g : hom-Relation R S)  (f  g)  binary-htpy f g
  extensionality-hom-Relation = extensionality-binary-Π

  htpy-eq-hom-Relation :
    (f g : hom-Relation R S)  (f  g)  binary-htpy f g
  htpy-eq-hom-Relation = binary-htpy-eq

  eq-htpy-hom-Relation :
    (f g : hom-Relation R S)  binary-htpy f g  f  g
  eq-htpy-hom-Relation = eq-binary-htpy

See also

Recent changes