Skip to content

Commit

Permalink
Declare representations in the .gd files
Browse files Browse the repository at this point in the history
  • Loading branch information
fingolfin committed Aug 1, 2022
1 parent f10c753 commit 385d88a
Show file tree
Hide file tree
Showing 14 changed files with 138 additions and 138 deletions.
16 changes: 16 additions & 0 deletions RingsForHomalg/gap/GAPHomalg.gd
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,19 @@ DeclareGlobalFunction( "HomalgFieldOfRationalsInExternalGAP" );

# basic operations:


####################################
#
# representations:
#
####################################

# a new subrepresentation of the representation IshomalgExternalRingObjectRep:
DeclareRepresentation( "IsHomalgExternalRingObjectInGAPRep",
IshomalgExternalRingObjectRep,
[ ] );

# a new subrepresentation of the representation IsHomalgExternalRingRep:
DeclareRepresentation( "IsHomalgExternalRingInGAPRep",
IsHomalgExternalRingRep,
[ ] );
16 changes: 0 additions & 16 deletions RingsForHomalg/gap/GAPHomalg.gi
Original file line number Diff line number Diff line change
Expand Up @@ -42,22 +42,6 @@ InstallValue( HOMALG_IO_GAP,

HOMALG_IO_GAP.READY_LENGTH := Length( HOMALG_IO_GAP.READY );

####################################
#
# representations:
#
####################################

# a new subrepresentation of the representation IshomalgExternalRingObjectRep:
DeclareRepresentation( "IsHomalgExternalRingObjectInGAPRep",
IshomalgExternalRingObjectRep,
[ ] );

# a new subrepresentation of the representation IsHomalgExternalRingRep:
DeclareRepresentation( "IsHomalgExternalRingInGAPRep",
IsHomalgExternalRingRep,
[ ] );

####################################
#
# families and types:
Expand Down
16 changes: 16 additions & 0 deletions RingsForHomalg/gap/MAGMA.gd
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,19 @@ DeclareGlobalFunction( "HomalgCyclotomicFieldInMAGMA" );

# basic operations:


####################################
#
# representations:
#
####################################

# a new subrepresentation of the representation IshomalgExternalRingObjectRep:
DeclareRepresentation( "IsHomalgExternalRingObjectInMAGMARep",
IshomalgExternalRingObjectRep,
[ ] );

# a new subrepresentation of the representation IsHomalgExternalRingRep:
DeclareRepresentation( "IsHomalgExternalRingInMAGMARep",
IsHomalgExternalRingRep,
[ ] );
16 changes: 0 additions & 16 deletions RingsForHomalg/gap/MAGMA.gi
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,6 @@ InstallValue( HOMALG_IO_MAGMA,

HOMALG_IO_MAGMA.READY_LENGTH := Length( HOMALG_IO_MAGMA.READY );

####################################
#
# representations:
#
####################################

# a new subrepresentation of the representation IshomalgExternalRingObjectRep:
DeclareRepresentation( "IsHomalgExternalRingObjectInMAGMARep",
IshomalgExternalRingObjectRep,
[ ] );

# a new subrepresentation of the representation IsHomalgExternalRingRep:
DeclareRepresentation( "IsHomalgExternalRingInMAGMARep",
IsHomalgExternalRingRep,
[ ] );

####################################
#
# families and types:
Expand Down
16 changes: 16 additions & 0 deletions RingsForHomalg/gap/Macaulay2.gd
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,19 @@ DeclareGlobalFunction( "HomalgFieldOfRationalsInMacaulay2" );

# basic operations:


####################################
#
# representations:
#
####################################

# a new subrepresentation of the representation IshomalgExternalRingObjectRep:
DeclareRepresentation( "IsHomalgExternalRingObjectInMacaulay2Rep",
IshomalgExternalRingObjectRep,
[ ] );

# a new subrepresentation of the representation IsHomalgExternalRingRep:
DeclareRepresentation( "IsHomalgExternalRingInMacaulay2Rep",
IsHomalgExternalRingRep,
[ ] );
16 changes: 0 additions & 16 deletions RingsForHomalg/gap/Macaulay2.gi
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,6 @@ InstallValue( HOMALG_IO_Macaulay2,

HOMALG_IO_Macaulay2.READY_LENGTH := Length( HOMALG_IO_Macaulay2.READY );

####################################
#
# representations:
#
####################################

# a new subrepresentation of the representation IshomalgExternalRingObjectRep:
DeclareRepresentation( "IsHomalgExternalRingObjectInMacaulay2Rep",
IshomalgExternalRingObjectRep,
[ ] );

# a new subrepresentation of the representation IsHomalgExternalRingRep:
DeclareRepresentation( "IsHomalgExternalRingInMacaulay2Rep",
IsHomalgExternalRingRep,
[ ] );

####################################
#
# families and types:
Expand Down
37 changes: 37 additions & 0 deletions RingsForHomalg/gap/MapleHomalg.gd
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,40 @@ DeclareGlobalFunction( "MapleHomalgOptions" );

# basic operations:


####################################
#
# representations:
#
####################################

# a new subrepresentation of the representation IshomalgExternalRingObjectRep:
DeclareRepresentation( "IsHomalgExternalRingObjectInMapleRep",
IshomalgExternalRingObjectRep,
[ ] );

# five new subrepresentations of the representation IsHomalgExternalRingObjectInMapleRep:
DeclareRepresentation( "IsHomalgExternalRingObjectInMapleUsingPIRRep",
IsHomalgExternalRingObjectInMapleRep,
[ ] );

DeclareRepresentation( "IsHomalgExternalRingObjectInMapleUsingInvolutiveRep",
IsHomalgExternalRingObjectInMapleRep,
[ ] );

DeclareRepresentation( "IsHomalgExternalRingObjectInMapleUsingJanetRep",
IsHomalgExternalRingObjectInMapleRep,
[ ] );

DeclareRepresentation( "IsHomalgExternalRingObjectInMapleUsingJanetOreRep",
IsHomalgExternalRingObjectInMapleRep,
[ ] );

DeclareRepresentation( "IsHomalgExternalRingObjectInMapleUsingOreModulesRep",
IsHomalgExternalRingObjectInMapleRep,
[ ] );

# a new subrepresentation of the representation IsHomalgExternalRingRep:
DeclareRepresentation( "IsHomalgExternalRingInMapleRep",
IsHomalgExternalRingRep,
[ ] );
37 changes: 0 additions & 37 deletions RingsForHomalg/gap/MapleHomalg.gi
Original file line number Diff line number Diff line change
Expand Up @@ -53,43 +53,6 @@ InstallValue( HOMALG_IO_Maple,

HOMALG_IO_Maple.READY_LENGTH := Length( HOMALG_IO_Maple.READY );

####################################
#
# representations:
#
####################################

# a new subrepresentation of the representation IshomalgExternalRingObjectRep:
DeclareRepresentation( "IsHomalgExternalRingObjectInMapleRep",
IshomalgExternalRingObjectRep,
[ ] );

# five new subrepresentations of the representation IsHomalgExternalRingObjectInMapleRep:
DeclareRepresentation( "IsHomalgExternalRingObjectInMapleUsingPIRRep",
IsHomalgExternalRingObjectInMapleRep,
[ ] );

DeclareRepresentation( "IsHomalgExternalRingObjectInMapleUsingInvolutiveRep",
IsHomalgExternalRingObjectInMapleRep,
[ ] );

DeclareRepresentation( "IsHomalgExternalRingObjectInMapleUsingJanetRep",
IsHomalgExternalRingObjectInMapleRep,
[ ] );

DeclareRepresentation( "IsHomalgExternalRingObjectInMapleUsingJanetOreRep",
IsHomalgExternalRingObjectInMapleRep,
[ ] );

DeclareRepresentation( "IsHomalgExternalRingObjectInMapleUsingOreModulesRep",
IsHomalgExternalRingObjectInMapleRep,
[ ] );

# a new subrepresentation of the representation IsHomalgExternalRingRep:
DeclareRepresentation( "IsHomalgExternalRingInMapleRep",
IsHomalgExternalRingRep,
[ ] );

####################################
#
# families and types:
Expand Down
17 changes: 17 additions & 0 deletions RingsForHomalg/gap/Oscar.gd
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,20 @@ DeclareGlobalFunction( "HomalgRingOfGoldenRatioIntegersInOscar" );
DeclareOperation( "HomalgQRingInOscar", [ IsFreePolynomialRing, IsHomalgRingRelations ] );
DeclareOperation( "HomalgQRingInOscar", [ IsFreePolynomialRing, IsRingElement ] ); # also includes IsHomalgMatrix
DeclareOperation( "HomalgQRingInOscar", [ IsFreePolynomialRing, IsList ] ); # also includes IsString


####################################
#
# representations:
#
####################################

# a new subrepresentation of the representation IshomalgExternalRingObjectRep:
DeclareRepresentation( "IsHomalgExternalRingObjectInOscarRep",
IshomalgExternalRingObjectRep,
[ ] );

# a new subrepresentation of the representation IsHomalgExternalRingRep:
DeclareRepresentation( "IsHomalgExternalRingInOscarRep",
IsHomalgExternalRingRep,
[ ] );
16 changes: 0 additions & 16 deletions RingsForHomalg/gap/Oscar.gi
Original file line number Diff line number Diff line change
Expand Up @@ -58,22 +58,6 @@ InstallValue( HOMALG_IO_Oscar,

HOMALG_IO_Oscar.READY_LENGTH := Length( HOMALG_IO_Oscar.READY_printed );

####################################
#
# representations:
#
####################################

# a new subrepresentation of the representation IshomalgExternalRingObjectRep:
DeclareRepresentation( "IsHomalgExternalRingObjectInOscarRep",
IshomalgExternalRingObjectRep,
[ ] );

# a new subrepresentation of the representation IsHomalgExternalRingRep:
DeclareRepresentation( "IsHomalgExternalRingInOscarRep",
IsHomalgExternalRingRep,
[ ] );

####################################
#
# families and types:
Expand Down
14 changes: 14 additions & 0 deletions RingsForHomalg/gap/Sage.gd
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,18 @@ DeclareGlobalFunction( "HomalgFieldOfRationalsInSage" );
# basic operations:


####################################
#
# representations:
#
####################################

# a new subrepresentation of the representation IshomalgExternalRingObjectRep:
DeclareRepresentation( "IsHomalgExternalRingObjectInSageRep",
IshomalgExternalRingObjectRep,
[ ] );

# a new subrepresentation of the representation IsHomalgExternalRingRep:
DeclareRepresentation( "IsHomalgExternalRingInSageRep",
IsHomalgExternalRingRep,
[ ] );
16 changes: 0 additions & 16 deletions RingsForHomalg/gap/Sage.gi
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,6 @@ InstallValue( HOMALG_IO_Sage,

HOMALG_IO_Sage.READY_LENGTH := Length( HOMALG_IO_Sage.READY );

####################################
#
# representations:
#
####################################

# a new subrepresentation of the representation IshomalgExternalRingObjectRep:
DeclareRepresentation( "IsHomalgExternalRingObjectInSageRep",
IshomalgExternalRingObjectRep,
[ ] );

# a new subrepresentation of the representation IsHomalgExternalRingRep:
DeclareRepresentation( "IsHomalgExternalRingInSageRep",
IsHomalgExternalRingRep,
[ ] );

####################################
#
# families and types:
Expand Down
22 changes: 22 additions & 0 deletions RingsForHomalg/gap/Singular.gd
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,25 @@ DeclareGlobalFunction( "HomalgRingOfIntegersInSingular" );
DeclareOperation( "HomalgQRingInSingular", [ IsFreePolynomialRing, IsHomalgRingRelations ] );
DeclareOperation( "HomalgQRingInSingular", [ IsFreePolynomialRing, IsRingElement ] ); # also includes IsHomalgMatrix
DeclareOperation( "HomalgQRingInSingular", [ IsFreePolynomialRing, IsList ] ); # also includes IsString


####################################
#
# representations:
#
####################################

# a new subrepresentation of the representation IshomalgExternalRingObjectRep:
DeclareRepresentation( "IsHomalgExternalRingObjectInSingularRep",
IshomalgExternalRingObjectRep,
[ ] );

# a new subrepresentation of the representation IsHomalgExternalRingRep:
DeclareRepresentation( "IsHomalgExternalRingInSingularRep",
IsHomalgExternalRingRep,
[ ] );

# a new subrepresentation of the representation IsHomalgExternalRingRep:
DeclareRepresentation( "IsHomalgExternalQRingInSingularRep",
IsHomalgExternalRingInSingularRep,
[ ] );
21 changes: 0 additions & 21 deletions RingsForHomalg/gap/Singular.gi
Original file line number Diff line number Diff line change
Expand Up @@ -56,27 +56,6 @@ InstallValue( HOMALG_IO_Singular,

HOMALG_IO_Singular.READY_LENGTH := Length( HOMALG_IO_Singular.READY );

####################################
#
# representations:
#
####################################

# a new subrepresentation of the representation IshomalgExternalRingObjectRep:
DeclareRepresentation( "IsHomalgExternalRingObjectInSingularRep",
IshomalgExternalRingObjectRep,
[ ] );

# a new subrepresentation of the representation IsHomalgExternalRingRep:
DeclareRepresentation( "IsHomalgExternalRingInSingularRep",
IsHomalgExternalRingRep,
[ ] );

# a new subrepresentation of the representation IsHomalgExternalRingRep:
DeclareRepresentation( "IsHomalgExternalQRingInSingularRep",
IsHomalgExternalRingInSingularRep,
[ ] );

####################################
#
# families and types:
Expand Down

0 comments on commit 385d88a

Please sign in to comment.