CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

| Download

GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it

Views: 418346
##############################################################################
##
#W  gpd2obj.gd                 GAP4 package `XMod'               Chris Wensley
##
#Y  Copyright (C) 2001-2017, Chris Wensley et al,  
#Y  School of Computer Science, Bangor University, U.K. 

#############################################################################
## 
#C  Is2DimensionalDomainWithObjects( <obj> )
##  
DeclareCategory( "Is2DimensionalDomainWithObjects", 
    Is2DimensionalDomain and IsDomainWithObjects ); 

############################################################################## 
## 
#C  Is2DimensionalMagmaWithObjects( <m2d> ) category of 2d magmas with objects
#C  Is2DimensionalMagmaWithObjectsAndOnes( <m2d> ) . . . . . . . and with ones
#C  Is2DimensionalMagmaWithObjectsAndInverses( <m2d> ) . . . and some inverses
#C  Is2DimensionalGroupWithObjects( <m2d> )  . . . . . . . .  and all inverses
##
DeclareCategory( "Is2DimensionalMagmaWithObjects", 
    Is2DimensionalDomainWithObjects and IsMagmaWithObjects ); 
DeclareCategoryCollections( "Is2DimensionalMagmaWithObjects" ); 
DeclareCategory( "Is2DimensionalMagmaWithObjectsAndOne", 
    Is2DimensionalMagmaWithObjects 
    and CategoryCollections( IsMultiplicativeElementWithObjectsAndOnes ) ); 
DeclareCategory( "Is2DimensionalMagmaWithObjectsAndInverses", 
    Is2DimensionalMagmaWithObjectsAndOne 
    and CategoryCollections( IsMultiplicativeElementWithObjectsAndInverses ) ); 
DeclareCategory( "Is2DimensionalGroupWithObjects", 
    Is2DimensionalMagmaWithObjectsAndInverses 
    and CategoryCollections( IsAssociativeElement ) ); 

############################################################################# 
##  
#V  Family2DimensionalGroupWithObjects  . . family for 2d-groups with objects
##  
BindGlobal( "Family2DimensionalGroupWithObjects", 
    NewFamily( "Family2DimensionalGroupWithObjects", 
               Is2DimensionalGroupWithObjects, 
               CanEasilySortElements, CanEasilySortElements ) ); 

#############################################################################
##
#P  IsPreXModWithObjects( <PM> ) . . . . . . . . for a 2d-domain with objects 
#P  IsXModWithObjects( <PM> )
##
DeclareProperty( "IsPreXModWithObjects", 
    IsPreXMod and Is2DimensionalDomainWithObjects );
DeclareProperty( "IsXModWithObjects", IsPreXModWithObjects ); 

#############################################################################
##
#R  IsPreXModWithObjectsObj( <obj> ) . . . . for objects, boundary and action 
##  
##  A pre-crossed module of groupoids is a morphism preserving an action
##
DeclareRepresentation( "IsPreXModWithObjectsObj", 
    Is2DimensionalDomainWithObjects and IsAttributeStoringRep, 
    [ "objects", "boundary", "action" ] );

#############################################################################
##
#T  PreXModWithObjectsType . . . . . . . . . . type for prexmods with objects
#T  PreXModWithPiecesType  . . . . . type for unions of prexmods with objects
##
BindGlobal( "PreXModWithObjectsType", 
            NewType( Family2DimensionalGroupWithObjects, 
                     IsPreXModWithObjectsObj ) ); 
BindGlobal( "PreXModWithPiecesType", 
            NewType( Family2DimensionalGroupWithObjects, 
                     IsPreXModWithObjectsObj and IsPiecesRep ) ); 

############################################################################# 
## 
#A  Root2dGroup( <dwo> ) 
## 
DeclareAttribute( "Root2dGroup", Is2DimensionalDomainWithObjects ); 

############################################################################# 
## 
#F  PreXModWithObjects( <args> )              
## 
DeclareGlobalFunction( "PreXModWithObjects" );

#############################################################################
##
#O  SinglePiecePreXModWithObjects( <xmod>, <obs>, <isdiscrete> )
#O  SinglePiecePreXModWithObjectsNC( <xmod>, <obs>, <isdiscrete>  
##  . . for precrossed modules, a set of objects, discrete or connected source
##  
DeclareOperation( "SinglePiecePreXModWithObjects", 
    [ IsPreXMod, IsList, IsBool ] );
DeclareOperation( "SinglePiecePreXModWithObjectsNC", 
    [ IsPreXMod, IsList, IsBool ] );

#############################################################################
##
#P  IsPermPreXModWithObjects 
#P  IsPcPreXModWithObjects 
#P  IsFpPreXModWithObjects 
## 
DeclareProperty( "IsPermPreXModWithObjects", Is2DimensionalDomainWithObjects ); 
DeclareProperty( "IsPcPreXModWithObjects", Is2DimensionalDomainWithObjects ); 
DeclareProperty( "IsFpPreXModWithObjects", Is2DimensionalDomainWithObjects ); 

############################################################################## 
## 
#E  gpd2obj.gd . . . . . . . . . . . . . . . . . . . . . . . . . . . ends here 
##