First time here? Check out the FAQ!

Ask Your Question
0

TypeError for hom between multivariate Laurent polynomial rings?

asked 9 years ago

Greg Muller gravatar image

updated 9 years ago

FrédéricC gravatar image

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.

Preview: (hide)

Comments

I note that R.hom([b], check=False) works ok.

Francis Clarke gravatar imageFrancis Clarke ( 9 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 9 years ago

Francis Clarke gravatar image

It seems that the root of the problem is :

sage: R.<a> = LaurentPolynomialRing(ZZ)
sage: S.<b,c> = LaurentPolynomialRing(ZZ)
sage: a.is_unit()
True
sage: b.is_unit()
Traceback (most recent call last):
...
NotImplementedError:
Preview: (hide)
link

Comments

Dang! I noticed even with your check=False workaround, I got a NotImplementedError when I tried to evaluate a map. How do I go about implementing it myself?

Greg Muller gravatar imageGreg Muller ( 9 years ago )

I just made a ticket about that : http://trac.sagemath.org/ticket/18465

FrédéricC gravatar imageFrédéricC ( 9 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 9 years ago

Seen: 474 times

Last updated: May 16 '15