Open fingolfin opened 1 year ago
There is already a special treatment of mappings from polynomial rings where images of the indeterminates are prescribed; the filter IsPolynomialRingDefaultGeneratorMapping
is set by AlgebraGeneralMappingByImages
.
This approach could be generalized to free magma rings.
(Note that this happens in the context of algebra homomorphisms not of ring homomorphisms.)
Consider this:
So far, so good. Unfortunately, computing images does not work:
OK, so let's help it and inform it that our map really is a mapping:
I don't know what
StandardGeneratorsImagesSubringSCRing
andSCRHNFExtend
are about.But in this case, the domain is a free magma, and the generators are its "default" generators, so in this case:
I realize that supporting arbitrary rings is difficult (or rather, impossible), but this seems like a pretty natural case to support. Maybe we can with a few tweaks?