############################################################################ ## #W mwohom.gd GAP4 package `groupoids' Chris Wensley #W & Emma Moore ## ## Declaration file for mappings of magmas with objects.
############################################################################## ## #C IsGeneralMappingWithObjects( <map> ) #C IsNonSPGeneralMappingWithObjects( <map> ) #C IsSPGeneralMappingWithObjects( <map> ) ## #? do we need the SP and nonSP division ? ## Category and groupoid mapping declarations
DeclareCategory( "IsGeneralMappingWithObjects", IsGeneralMapping );
DeclareCategory( "IsSPGeneralMappingWithObjects",
IsSPGeneralMapping and IsGeneralMappingWithObjects );
DeclareCategory( "IsNonSPGeneralMappingWithObjects",
IsNonSPGeneralMapping and IsGeneralMappingWithObjects );
############################################################################# ## #C IsGeneralMappingWithObjectsCollection . . category of colls of mwo maps #C IsGeneralMappingWithObjectsCollColl . . . category of colls of colls #C IsGeneralMappingWithObjectsCollCollColl . calegory of colls, colls, colls ##
DeclareCategoryCollections( "IsGeneralMappingWithObjects" );
DeclareCategoryCollections( "IsGeneralMappingWithObjectsCollection" );
DeclareCategoryCollections( "IsGeneralMappingWithObjectsCollColl" );
############################################################################# ## #V GeneralMappingWithObjectsFamily .. family for homs of magmas with objects ##
BindGlobal( "GeneralMappingWithObjectsFamily",
NewFamily( "GeneralMappingWithObjectsFamily",
IsGeneralMappingWithObjects,
CanEasilySortElements, CanEasilySortElements ) );
#? modify these next three to SynonymAttr's ??
DeclareProperty( "IsSemigroupWithObjectsHomomorphism",
IsMagmaWithObjectsHomomorphism );
DeclareProperty( "IsMonoidWithObjectsHomomorphism",
IsMagmaWithObjectsHomomorphism );
DeclareProperty( "IsGroupWithObjectsHomomorphism",
IsMagmaWithObjectsHomomorphism );
############################################################################# ## #C IsGroupoidHomomorphismCollection . . . . category of colls of gpd homs #C IsGroupoidHomomorphismCollColl . . . . . category of colls of colls #C IsGroupoidHomomorphismCollCollColl . . . category of colls, colls, colls ##
DeclareCategoryCollections( "IsGroupoidHomomorphism" );
DeclareCategoryCollections( "IsGroupoidHomomorphismCollection" );
DeclareCategoryCollections( "IsGroupoidHomomorphismCollColl" );
############################################################################## ## #R IsMappingToSinglePieceRep( <map> ) #R IsMappingWithPiecesRep( <map> ) #T IsMWOMappingToSinglePieceType( <map> ) #T IsGroupoidMappingToSinglePieceType( <map> ) #T IsMWOMappingWithPiecesType( <map> ) #T IsGrouppooidMappingWithPiecesType( <map> ) ## ## A mapping to a single piece magma with objects is determined by: ## - mappings from each magma in the source to the range magma, ## - images for the objects. ## A mapping whose range has more than one constituent ## requires a different representation. ##
DeclareRepresentation( "IsMappingToSinglePieceRep",
IsMagmaWithObjectsHomomorphism and IsAttributeStoringRep
and IsComponentObjectRep and IsGeneralMapping,
[ "Source", "Range", "MappingToSinglePieceData" ] );
DeclareRepresentation( "IsMappingWithPiecesRep",
IsMagmaWithObjectsHomomorphism and IsAttributeStoringRep
and IsComponentObjectRep and IsGeneralMapping,
[ "Source", "Range", "PiecesOfMapping" ] );
BindGlobal( "IsMWOMappingToSinglePieceType",
NewType( GeneralMappingWithObjectsFamily,
IsMappingToSinglePieceRep and IsMagmaWithObjectsHomomorphism ) );
BindGlobal( "IsGroupoidMappingToSinglePieceType",
NewType( GeneralMappingWithObjectsFamily,
IsMappingToSinglePieceRep and IsGroupoidHomomorphism ) );
BindGlobal( "IsMWOMappingWithPiecesType",
NewType( GeneralMappingWithObjectsFamily,
IsMappingWithPiecesRep and IsMagmaWithObjectsHomomorphism ) );
BindGlobal( "IsGroupoidMappingWithPiecesType",
NewType( GeneralMappingWithObjectsFamily,
IsMappingWithPiecesRep and IsGroupoidHomomorphism ) );
############################################################################## ## #P IsConstantOnObjects( <map> ) #P IsGeneralMappingToSinglePiece( <map> ) #P IsGeneralMappingFromSinglePiece( <map> ) #P IsHomomorphismToSinglePiece( <map> ) #P IsHomomorphismFromSinglePiece( <map> ) ## ## A mapping to a connected magma is: ## - a list of mappings from the pieces of the source, ## - a list of lists of images of objects ##
DeclareProperty("IsConstantOnObjects", IsGeneralMappingWithObjects);
DeclareProperty("IsGeneralMappingToSinglePiece", IsGeneralMappingWithObjects);
DeclareProperty("IsGeneralMappingFromSinglePiece", IsGeneralMappingWithObjects);
DeclareProperty("IsMappingWithObjectsByFunction", IsGeneralMappingWithObjects);
DeclareSynonymAttr( "IsHomomorphismToSinglePiece",
IsGeneralMappingToSinglePiece and IsMagmaWithObjectsHomomorphism );
DeclareSynonymAttr( "IsHomomorphismFromSinglePiece",
IsGeneralMappingFromSinglePiece and IsMagmaWithObjectsHomomorphism );
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.