# SPDX-License-Identifier: GPL-2.0-or-later
# RingsForHomalg: Dictionaries of external rings
#
# Declarations
#
## Declaration stuff for the external computer algebra system Oscar.
#############################################################################
# forbidden expressions inside of Oscar
# dummy_variable to emulate Q by Q[dummy_variable]
#############################################################################
####################################
#
# global functions and operations:
#
####################################
DeclareGlobalFunction( "_Oscar_SetRing" );
DeclareGlobalFunction( "_Oscar_SetInvolution" );
DeclareGlobalFunction( "_Oscar_multiple_delete" );
DeclareGlobalFunction( "InitializeOscarMacros" );
# constructor methods:
DeclareGlobalFunction( "RingForHomalgInOscar" );
DeclareGlobalFunction( "HomalgFieldOfRationalsInOscar" );
DeclareGlobalFunction( "HomalgRingOfIntegersInOscar" );
DeclareGlobalFunction( "HomalgRingOfCyclotomicIntegersInOscar" );
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,
[ ] );
[ Dauer der Verarbeitung: 0.13 Sekunden
(vorverarbeitet)
]