-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #113 from patrick-nicodemus/Quiver
Quiver
- Loading branch information
Showing
8 changed files
with
899 additions
and
21 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
Require Import Category.Lib. | ||
Require Import Category.Theory.Category. | ||
Require Import Category.Theory.Isomorphism. | ||
Require Import Category.Theory.Functor. | ||
|
||
Generalizable All Variables. | ||
|
||
(* StrictCat is the category of categories, with setoid structure given by | ||
objectwise equality. | ||
objects Categories | ||
arrows Functors | ||
arrow equivalence Pointwise equality of objects | ||
identity Identity Functor | ||
composition Horizontal composition of Functors | ||
*) | ||
|
||
#[export] | ||
Instance StrictCat : Category := { | ||
obj := Category; | ||
hom := @Functor; | ||
homset := @Functor_StrictEq_Setoid; | ||
id := @Id; | ||
compose := @Compose; | ||
|
||
compose_respects := @Compose_respects_stricteq; | ||
id_left := @fun_strict_equiv_id_left; | ||
id_right := @fun_strict_equiv_id_right; | ||
comp_assoc := @fun_strict_equiv_comp_assoc; | ||
comp_assoc_sym := fun a b c d f g h => | ||
symmetry (@fun_strict_equiv_comp_assoc a b c d f g h) | ||
}. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.