{-# OPTIONS --without-K --safe #-}
open import Categories.Category.Core
module Categories.Diagram.ReflexivePair {o ℓ e} (𝒞 : Category o ℓ e) where
open import Level
open import Categories.Diagram.Coequalizer 𝒞
open Category 𝒞
open HomReasoning
open Equiv
private
variable
A B R : Obj
record IsReflexivePair (f g : R ⇒ A) (s : A ⇒ R) : Set e where
field
sectionₗ : f ∘ s ≈ id
sectionᵣ : g ∘ s ≈ id
section : f ∘ s ≈ g ∘ s
section = sectionₗ ○ ⟺ sectionᵣ
record ReflexivePair (f g : R ⇒ A) : Set (ℓ ⊔ e) where
field
s : A ⇒ R
isReflexivePair : IsReflexivePair f g s
open IsReflexivePair isReflexivePair public