Hi David,
On 26 Nov., 14:46, David Roe <
r...@math.harvard.edu> wrote:
> > Or do you prefer that the summation is done in the image of the
> > embeddings, hence, in K?
>
> I'm strongly of the opinion that the summation should be done in K. I think
> we should avoid coercion maps going in both directions when possible.
Would there be any serious consequences of having coercion in both
directions? Of course, a+b and b+a might have different parents, since
IIRC the rule is that the left summand counts if there are coercions
in both directions. But the fact that there is a rule for that case
shows that it is not absolutely essential to have coercions in both
directions.
> > Hence, the result is a polynomial ring over the field into which both
> > K and L embed.
>
> I think this is okay, though I'm slightly worried about speed consequences
> if someone accidentally adds polynomials with incompatible base rings.
Would it be better to get an error (as would currently be the case)?
Thanks for the feed back
Simon