Skip to content

Commit 2202d13

Browse files
committed
Adjoint: adjust two comments and fill in an underscore
1 parent 2ed11d7 commit 2202d13

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

theories/WildCat/Adjoint.v

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ Record Adjunction {C D : Type} (F : C -> D) (G : D -> C)
3232
`{Is1Cat C, Is1Cat D, !Is0Functor F, !Is0Functor G} :=
3333
{
3434
equiv_adjunction (x : C) (y : D) : (F x $-> y) <~> (x $-> G y) ;
35-
(** Naturality condition in both variable separately *)
35+
(** Naturality condition in both variables separately. *)
3636
(** The left variable is a bit trickier to state since we have opposite categories involved. *)
3737
is1natural_equiv_adjunction_l (y : D)
3838
:: Is1Natural (A := C^op) (yon y o F)
3939
(** We have to explicitly give a witness to the functoriality of [yon y o F]. *)
4040
(is0functor_F := is0functor_compose (A:=C^op) (B:=D^op) (C:=Type) _ _)
41-
(yon (G y)) (fun x => equiv_adjunction _ y) ;
41+
(yon (G y)) (fun x => equiv_adjunction x y) ;
4242
(** Naturality in the right variable *)
4343
is1natural_equiv_adjunction_r (x : C)
4444
:: Is1Natural (opyon (F x)) (opyon x o G) (equiv_adjunction x) ;
@@ -66,8 +66,8 @@ Lemma fun01_profunctor {A B C D : Type} (F : A -> B) (G : C -> D)
6666
: Fun01 (A^op * C) (B^op * D).
6767
Proof.
6868
snapply Build_Fun01.
69-
1: exact (functor_prod F G).
70-
rapply is0functor_prod_functor. (* Why not found by typeclass search? *)
69+
1: exact (functor_prod (F : A^op -> B^op) G).
70+
rapply is0functor_prod_functor. (* Typeclass search gets confused by the opposite categories. *)
7171
Defined.
7272

7373
(** ** Natural equivalences coming from adjunctions. *)

0 commit comments

Comments
 (0)