Skip to content

Commit

Permalink
catch up with master; add monoidal and closed to _CoqProject
Browse files Browse the repository at this point in the history
  • Loading branch information
t6s committed Jun 9, 2021
1 parent 3ff9195 commit db98f34
Show file tree
Hide file tree
Showing 3 changed files with 92 additions and 86 deletions.
2 changes: 2 additions & 0 deletions _CoqProject
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,7 @@ example_array.v
example_monty.v
smallstep.v
example_transformer.v
monoidal_category.v
closed_category.v

-R . monae
3 changes: 2 additions & 1 deletion closed_category.v
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Set Implicit Arguments.
Unset Strict Implicit.
Unset Printing Implicit Defensive.

Local Open Scope category_scope.

Module CatWithFinProd.
Section def.
Expand All @@ -35,7 +36,7 @@ Record mixin_of (C : category) : Type := Mixin {
snd : forall a b, {hom prod a b, b};
univ : forall c a b, {hom c,a} -> {hom c,b} -> {hom c, prod a b};
_ : forall c a b (f : {hom c,a}) (g : {hom c,b}),
f = [hom of (fst a b) \o (univ f g)];
f = [hom (fst a b) \o (univ f g)];
}.
Record class_of (T : Type) : Type := Class {
base : Category.mixin_of T;
Expand Down
Loading

0 comments on commit db98f34

Please sign in to comment.