ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 12 May 2015 11:47:39 -0500TypeError for hom between multivariate Laurent polynomial rings?http://ask.sagemath.org/question/26813/typeerror-for-hom-between-multivariate-laurent-polynomial-rings/I am having an error whenever I attempt to construct a homomorphism
- from a Laurent polynomial ring
- to a Laurent polynomial ring in more than one variable.
Ex (SageMath Cloud, 5/12/15):
> R.<a>=LaurentPolynomialRing(ZZ)
>
> S.<b,c>=LaurentPolynomialRing(ZZ)
>
> phi=Hom(R,S)([b])
>
>>TypeError: images do not define a valid homomorphism
Additional data:
- An identical error occurs with the variant syntax R.hom([b]).
- An identical error occurs when trying to construct the identity homomorphism on LaurentPolynomialRing(ZZ,'x,y').
- There is no error if the domain is replaced by PolynomialRing(ZZ,'a').
- There is no error if the image of 'a' is 1.
- There is no error if the codomain is replaced by its own fraction field.
It appears that Sage is incorrectly determining that the reciprocal of the image of the generator(s) is not in the codomain.Greg MullerTue, 12 May 2015 11:47:39 -0500http://ask.sagemath.org/question/26813/