Skip to content

Commit

Permalink
derived ImageEmbedding as the colift along the coastriction to image
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamed-barakat committed Oct 26, 2023
1 parent 993058f commit 3c7d7be
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 1 deletion.
2 changes: 1 addition & 1 deletion CAP/PackageInfo.g
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SetPackageInfo( rec(

PackageName := "CAP",
Subtitle := "Categories, Algorithms, Programming",
Version := "2023.10-07",
Version := "2023.10-08",
Date := (function ( ) if IsBound( GAPInfo.SystemEnvironment.GAP_PKG_RELEASE_DATE ) then return GAPInfo.SystemEnvironment.GAP_PKG_RELEASE_DATE; else return Concatenation( ~.Version{[ 1 .. 4 ]}, "-", ~.Version{[ 6, 7 ]}, "-01" ); fi; end)( ),
License := "GPL-2.0-or-later",

Expand Down
28 changes: 28 additions & 0 deletions CAP/gap/DerivedMethods.autogen.gi
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,20 @@ end : CategoryFilter := IsCapCategory,
Weight := 1,
is_autogenerated_by_CompilerForCAP := true );

##
AddDerivationToCAP( CoimageProjection,
"dualizing the derivation of ImageEmbedding by ImageEmbedding as the colift along the coastriction to image",
[
[ AstrictionToCoimage, 1 ],
[ Lift, 1 ],
],

function ( cat_1, alpha_1 )
return Lift( cat_1, alpha_1, AstrictionToCoimage( cat_1, alpha_1 ) );

Check warning on line 147 in CAP/gap/DerivedMethods.autogen.gi

View check run for this annotation

Codecov / codecov/patch

CAP/gap/DerivedMethods.autogen.gi#L147

Added line #L147 was not covered by tests
end : CategoryFilter := IsCapCategory,
Weight := 1,
is_autogenerated_by_CompilerForCAP := true );

##
AddDerivationToCAP( CoimageProjection,
"dualizing the derivation of ImageEmbedding by ImageEmbedding as the kernel embedding of the cokernel projection",
Expand All @@ -151,6 +165,20 @@ end : CategoryFilter := IsAbelianCategory,
Weight := 1,
is_autogenerated_by_CompilerForCAP := true );

##
AddDerivationToCAP( CoimageProjectionWithGivenCoimageObject,
"dualizing the derivation of ImageEmbeddingWithGivenImageObject by ImageEmbeddingWithGivenImageObject as the colift along the coastriction to image",
[
[ AstrictionToCoimageWithGivenCoimageObject, 1 ],
[ Lift, 1 ],
],

function ( cat_1, alpha_1, C_1 )
return Lift( cat_1, alpha_1, AstrictionToCoimageWithGivenCoimageObject( cat_1, alpha_1, C_1 ) );

Check warning on line 177 in CAP/gap/DerivedMethods.autogen.gi

View check run for this annotation

Codecov / codecov/patch

CAP/gap/DerivedMethods.autogen.gi#L177

Added line #L177 was not covered by tests
end : CategoryFilter := IsCapCategory,
Weight := 1,
is_autogenerated_by_CompilerForCAP := true );

##
AddDerivationToCAP( CokernelColift,
"dualizing the derivation of KernelLift by KernelLift using LiftAlongMonomorphism and KernelEmbedding",
Expand Down
30 changes: 30 additions & 0 deletions CAP/gap/DerivedMethods.gi
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,36 @@ AddDerivationToCAP( UniversalMorphismIntoEqualizer,

end );

##
AddDerivationToCAP( ImageEmbedding,
"ImageEmbedding as the colift along the coastriction to image",
[ [ CoastrictionToImage, 1 ],
[ Colift, 1 ] ],

function( cat, mor )
local coastriction_to_image;

coastriction_to_image := CoastrictionToImage( cat, mor );

Check warning on line 447 in CAP/gap/DerivedMethods.gi

View check run for this annotation

Codecov / codecov/patch

CAP/gap/DerivedMethods.gi#L447

Added line #L447 was not covered by tests

return Colift( cat, coastriction_to_image, mor );

Check warning on line 449 in CAP/gap/DerivedMethods.gi

View check run for this annotation

Codecov / codecov/patch

CAP/gap/DerivedMethods.gi#L449

Added line #L449 was not covered by tests

end );

##
AddDerivationToCAP( ImageEmbeddingWithGivenImageObject,
"ImageEmbeddingWithGivenImageObject as the colift along the coastriction to image",
[ [ CoastrictionToImageWithGivenImageObject, 1 ],
[ Colift, 1 ] ],

function( cat, mor, image_object )
local coastriction_to_image;

coastriction_to_image := CoastrictionToImageWithGivenImageObject( cat, mor, image_object );

Check warning on line 462 in CAP/gap/DerivedMethods.gi

View check run for this annotation

Codecov / codecov/patch

CAP/gap/DerivedMethods.gi#L462

Added line #L462 was not covered by tests

return Colift( cat, coastriction_to_image, mor );

Check warning on line 464 in CAP/gap/DerivedMethods.gi

View check run for this annotation

Codecov / codecov/patch

CAP/gap/DerivedMethods.gi#L464

Added line #L464 was not covered by tests

end );

##
AddDerivationToCAP( ImageEmbedding,
"ImageEmbedding as the kernel embedding of the cokernel projection",
Expand Down

0 comments on commit 3c7d7be

Please sign in to comment.