module Cat.Duality {o ℓ} {C : Precategory o ℓ} where

Duality🔗

Here we explore some features of duality in category theory, which is intimately related to the opposite category. An important aspect of this is the involutary nature of _^op, which we show here as an isomorphism of precategories

^op^op→ : Functor (C ^op ^op) C
^op^op→ .F₀ x = x
^op^op→ .F₁ f = f
^op^op→ .F-id = refl
^op^op→ .F-∘ f g = refl

^op^op-is-iso : is-precat-iso ^op^op→
^op^op-is-iso = iso id-equiv id-equiv

This induces a path between precategories

C^op^op≡C : C ^op ^op ≡ C
C^op^op≡C = Precategory-path ^op^op→ ^op^op-is-iso

and an adjoint equivalence

^op^op-is-equiv : is-equivalence ^op^op→
^op^op-is-equiv = is-precat-iso→is-equivalence ^op^op-is-iso

^op^op← : Functor C (C ^op ^op)
^op^op← = is-equivalence.F⁻¹ ^op^op-is-equiv

Discussion of particular aspects of duality in category theory can be found at: