We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent deac631 commit 4d18146Copy full SHA for 4d18146
theories/WildCat/TwoOneCat.v
@@ -37,6 +37,18 @@ Proof.
37
- exact (@bicat_idr _ _ _ _ _).
38
Defined.
39
40
+Definition is1bicat_is1cat (A : Type) `{Is1Cat A}
41
+ : Is1Bicat A.
42
+Proof.
43
+ rapply Build_Is1Bicat.
44
+ - exact (@cat_assoc _ _ _ _ _).
45
+ - exact (@cat_assoc_opp _ _ _ _ _).
46
+ - exact (@cat_idl _ _ _ _ _).
47
+ - intros a b f. symmetry. apply cat_idl.
48
+ - exact (@cat_idr _ _ _ _ _).
49
+ - intros a b f. symmetry. apply cat_idr.
50
+Defined.
51
+
52
Notation "p $@R h" := (fmap (cat_precomp _ h) p) : twocat.
53
Notation "h $@L p" := (fmap (cat_postcomp _ h) p) : twocat.
54
Notation "a $| b" := (cat_comp (A:=Hom _ _) b a) : twocat.
0 commit comments