If I have a power series ring and its residue field

R = PowerSeriesRing(GF(2),'t')
F = R.residue_field()

there is no natural coercion morphism:

R.hom(F)
TypeError: Natural coercion morphism from Power Series Ring in t over 
Finite Field of size 2 to Finite Field of size 2 not defined.

But maybe there should be?
One can work around this by specifying

R.hom([0], F)

But with it not being natural, how does one extend it to a polynomial ring?

PR = PolynomialRing(R,'x,y')
PF = PolynomialRing(F,'x,y')
PR.hom(PF)

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to