1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319
|
##############################################################################
##
#W nr.gd Near-ring Library J"urgen Ecker
##
#Y Copyright (C)
##
## $Log: nr.gd,v $
## Revision 1.4 2007-05-09 22:45:31 stein
## added functions IsNearRingUnit, NearRingUnits
##
## Revision 1.3 2002/01/17 18:25:52 juergen
## two versions of IsultiplicationRespectingHomomorphism - both with errors
## code cleaned
##
## Revision 1.2 2001/03/21 14:41:07 juergen
## erste korrekturen nach dem studium des tutorials
##
## Revision 1.1.1.1 2000/02/21 15:59:03 hetzi
## Sonata Project Start
##
## 13.01.00 PM: new attribute NRMultiplication
## new attribute NRRowEndos
#############################################################################
##
#I InfoNearRing
DeclareInfoClass( "InfoNearRing" );
#############################################################################
##
#O NearRingElementByGroupRep Element of the additive group -> nearring element
DeclareOperation( "NearRingElementByGroupRep", [IsObject,IsMultiplicativeElementWithInverse] );
#############################################################################
##
#O IntRepOfObj Nearring element -> element of the addtitive group
#
#DeclareOperation( "IntRepOfObj", [IsNearRingElement] );
#############################################################################
##
#O AsTransformationNearRing( < N > ) compute an isomorphic
## TfmNR
DeclareOperation( "AsTransformationNearRing", [IsNearRing] );
#############################################################################
##
#A NearRingUnits( <R> )
##
## `Units' returns the group of units of the near-ring <R>.
## This may either be returned as a list or as a group.
##
## An element $r$ is called a *unit* of a near-ring $R$, if $r$ has an
## inverse in $R$.
## It is easy to see that the set of units forms a multiplicative group.
##
##NECESSARY BECAUSE 'Units' IS DECLARED ONLY FOR RINGS IN THE GAP-FILE RING.GD
##SHOULD EVENTUALLY BE CHANGED TO NEARRINGS THERE
##
DeclareAttribute( "NearRingUnits", IsNearRing );
DeclareOperation( "IsNearRingUnit", [ IsNearRing, IsNearRingElement ] );
############################################################################
##
#P IsAbelianNearRing
DeclareProperty( "IsAbelianNearRing", IsNearRing );
############################################################################
##
#P IsAbstractAffineNearRing
DeclareProperty( "IsAbstractAffineNearRing", IsNearRing );
############################################################################
##
#P IsDistributiveNearRing
DeclareProperty( "IsDistributiveNearRing", IsNearRing );
############################################################################
##
#P IsBooleanNearRing
DeclareProperty( "IsBooleanNearRing", IsNearRing );
############################################################################
##
#P IsDgNearRing
DeclareProperty( "IsDgNearRing", IsNearRing );
############################################################################
##
#P IsIntegralNearRing
DeclareProperty( "IsIntegralNearRing", IsNearRing );
############################################################################
##
#P IsNilNearRing
DeclareProperty( "IsNilNearRing", IsNearRing );
############################################################################
##
#P IsNilpotentNearRing
DeclareProperty( "IsNilpotentNearRing", IsNearRing );
############################################################################
##
#P IsPrimeNearRing
DeclareProperty( "IsPrimeNearRing", IsNearRing );
############################################################################
##
#P IsPMNearRing
DeclareProperty( "IsPMNearRing", IsNearRing );
############################################################################
##
#P IsQuasiregularNearRing
DeclareProperty( "IsQuasiregularNearRing", IsNearRing );
############################################################################
##
#P IsRegularNearRing
DeclareProperty( "IsRegularNearRing", IsNearRing );
############################################################################
##
#P IsNilpotentFreeNearRing
DeclareProperty( "IsNilpotentFreeNearRing", IsNearRing );
############################################################################
##
#P IsPlanarNearRing
DeclareProperty( "IsPlanarNearRing", IsNearRing );
############################################################################
##
#P IsNearField
DeclareProperty( "IsNearField", IsNearRing );
############################################################################
##
#A Distributors
DeclareAttribute( "Distributors", IsNearRing );
############################################################################
##
#A DistributiveElements
DeclareAttribute( "DistributiveElements", IsNearRing );
############################################################################
##
#A ZeroSymmetricElements
DeclareAttribute( "ZeroSymmetricElements", IsNearRing );
############################################################################
##
#A IdempotentElements
DeclareAttribute( "IdempotentElements", IsNearRing );
############################################################################
##
#A NilpotentElements
DeclareAttribute( "NilpotentElements", IsNearRing );
############################################################################
##
#A QuasiregularElements
DeclareAttribute( "QuasiregularElements", IsNearRing );
############################################################################
##
#A RegularElements
DeclareAttribute( "RegularElements", IsNearRing );
############################################################################
##
#A GroupReduct
DeclareAttribute( "GroupReduct", IsCollection );
#####################################################################
##
#O IsMultiplicationRespectingHomomorphism ( <hom>, <nr>, <nr> )
##
## check whether a homomorphism between the group reducts
## respects the near ring multiplications also
DeclareOperation( "IsMultiplicationRespectingHomomorphism",
[IsGeneralMapping, IsNearRing, IsNearRing] );
#############################################################################
##
#P IsZeroSymmetricNearRing returns true if 0x=x0 for all x
##
DeclareProperty( "IsZeroSymmetricNearRing", IsNearRing );
#############################################################################
##
#O SubNearRingBySubgroupNC ( <nr>, <sg> ) .... the subnearring of <nr>
## determined by the subgroup
## <sg> of the additive group of <nr>.
## No Check!
DeclareOperation( "SubNearRingBySubgroupNC", [IsNearRing, IsGroup] );
#############################################################################
##
#A InvariantSubNearRings( <N> ). . . . . . . compute all inv subnr's of <N>.
##
DeclareAttribute( "InvariantSubNearRings", IsNearRing );
#############################################################################
##
#A SubNearRings( <N> ) . . . . . . . . . . . . . compute all subnr's of <N>.
##
DeclareAttribute( "SubNearRings", IsNearRing );
#############################################################################
##
#F NoetherianQuotient
##
DeclareGlobalFunction( "NoetherianQuotient" );
#############################################################################
##
#O AsGroupReductElement( <nrelm> )
##
DeclareOperation( "AsGroupReductElement", [IsNearRingElement] );
#############################################################################
##
#O AsNearRingElement( <nr>, <grpelm> )
##
DeclareOperation( "AsNearRingElement",
[IsNearRing, IsMultiplicativeElementWithInverse] );
#############################################################################
##
#A GeneratorsOfNearRing
##
DeclareAttribute( "GeneratorsOfNearRing", IsNearRing );
#############################################################################
##
#A AdditiveGenerators( <X> ) returns a set of additive generators of <X>
##
DeclareAttribute( "AdditiveGenerators", IsNearRingElementCollection );
#############################################################################
##
#F NRClosureOfSubgroup( <G>, <gens>, <fam> )
##
## <G>: the subgroup
## <gens>: a set of generators of the nearring
## <fam>: the family of the elements of the ExpMulNearRing
## the group the mappings act on for a TfmNR
DeclareGlobalFunction( "NRClosureOfSubgroup" );
#########################################################################
##
#O IsDistributiveNearRingElement( <nr>, <elm> )
##
## returns true if <elm> distributes over all elements of <nr>
##
DeclareOperation( "IsDistributiveNearRingElement",
[IsNearRing, IsNearRingElement] );
#############################################################################
##
#A NRMultiplication( <N> ) returns the multiplication function of <N>
##
DeclareAttribute( "NRMultiplication", IsNearRing );
#############################################################################
##
#A NRRowEndos( <N> ) returns the list of endomorphisms x -> n*x
## corresponding to the elements n of <N>
##
DeclareAttribute( "NRRowEndos", IsNearRing, "mutable" );
|