Skip to content

Commit

Permalink
WithGiven* for MorphismFromInternalHomToTensorProductWithGivenObjects
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Kuhmichel committed Oct 17, 2023
1 parent 578e66f commit 25bd48e
Showing 1 changed file with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -416,18 +416,18 @@ AddDerivationToCAP( MorphismFromInternalHomToTensorProductWithGivenObjects,

unit := TensorUnit( cat );

return PostComposeList( cat, [
TensorProductOnMorphisms( cat,
IsomorphismFromInternalHomIntoTensorUnitToDualObject( cat, a ),
IsomorphismFromInternalHomToObject( cat, b ) ),

TensorProductInternalHomCompatibilityMorphismInverse( cat,
[ a, unit, unit, b ] ),

InternalHomOnMorphisms( cat,
RightUnitor( cat, a ),
LeftUnitorInverse( cat, b ) ),
] );
return PostComposeList( cat,

Check warning on line 419 in MonoidalCategories/gap/RigidSymmetricClosedMonoidalCategoriesDerivedMethods.gi

View check run for this annotation

Codecov / codecov/patch

MonoidalCategories/gap/RigidSymmetricClosedMonoidalCategoriesDerivedMethods.gi#L419

Added line #L419 was not covered by tests
internal_hom,
[ TensorProductOnMorphisms( cat,
IsomorphismFromInternalHomIntoTensorUnitToDualObject( cat, a ),
IsomorphismFromInternalHomToObject( cat, b ) ),

Check warning on line 423 in MonoidalCategories/gap/RigidSymmetricClosedMonoidalCategoriesDerivedMethods.gi

View check run for this annotation

Codecov / codecov/patch

MonoidalCategories/gap/RigidSymmetricClosedMonoidalCategoriesDerivedMethods.gi#L421-L423

Added lines #L421 - L423 were not covered by tests
TensorProductInternalHomCompatibilityMorphismInverse( cat, [ a, unit, unit, b ] ),

Check warning on line 425 in MonoidalCategories/gap/RigidSymmetricClosedMonoidalCategoriesDerivedMethods.gi

View check run for this annotation

Codecov / codecov/patch

MonoidalCategories/gap/RigidSymmetricClosedMonoidalCategoriesDerivedMethods.gi#L425

Added line #L425 was not covered by tests
InternalHomOnMorphisms( cat,
RightUnitor( cat, a ),
LeftUnitorInverse( cat, b ) ) ],
tensor_object );

Check warning on line 430 in MonoidalCategories/gap/RigidSymmetricClosedMonoidalCategoriesDerivedMethods.gi

View check run for this annotation

Codecov / codecov/patch

MonoidalCategories/gap/RigidSymmetricClosedMonoidalCategoriesDerivedMethods.gi#L427-L430

Added lines #L427 - L430 were not covered by tests

end : CategoryFilter := IsRigidSymmetricClosedMonoidalCategory );

Expand Down

0 comments on commit 25bd48e

Please sign in to comment.