Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/Cat/Instances/Product.lagda.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ _nt×_ α β .is-natural (c , d) (c' , d') (f , g) = Σ-pathp
```
-->


## Univalence

Isomorphisms in functor categories admit a short description, too: They
Expand Down
46 changes: 46 additions & 0 deletions src/Cat/Instances/Product/Opposite.lagda.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!--
```agda
open import Cat.Functor.Equivalence
open import Cat.Functor.Properties
open import Cat.Instances.Product
open import Cat.Functor.Base
open import Cat.Prelude

import Cat.Reasoning
```
-->

```agda
module Cat.Instances.Product.Opposite {o₁ h₁ o₂ h₂ : Level}
{C : Precategory o₁ h₁} {D : Precategory o₁ h₁}
where
```

<!--
```agda
open Precategory
open Functor
```
-->

# Opposite product category {defines="opposite-product-category"}

As one might expect, taking the [[opposite category]] of a [[product category]]
agrees with the product of opposite categories. Rather than showing
equality we construct an [[isomorphism of precategories]].

```agda
×^op : Functor ((C ×ᶜ D)^op) (C ^op ×ᶜ D ^op)
×^op .F₀ x = x
×^op .F₁ f = f
×^op .F-id = refl
×^op .F-∘ f g = refl

×^op-is-iso : is-precat-iso ×^op
×^op-is-iso = iso has-is-ff has-is-iso where
has-is-ff : Cat.Functor.Properties.is-fully-faithful ×^op
has-is-ff = id-equiv

has-is-iso : is-equiv (F₀ ×^op)
has-is-iso = id-equiv
```