#19573: Natural coercion from Integers(p*l) to GF(p) for prime p
-----------------------------+-----------------------------------
Reporter: switzel | Owner:
Type: PLEASE CHANGE | Status: new
Priority: major | Milestone: sage-6.10
Component: algebra | Keywords: coercion, rings
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
-----------------------------+-----------------------------------
If `p` is a prime divisor of `m` there is currently no natural coercion
morphism from `Integers(m)` to `GF(p)` when `p` is a prime that divides
`m`:
{{{
sage: Integers(9).hom(GF(3))
---------------------------------------------------------------------------
TypeError [...]
}}}
I don't see why there shouldn't be: there is a natural coercion morphism
from `Integers(p)` to `GF(p)` and there is one from `Integers(m)` to
`Integers(p)`.
Also it seems like to change it would just involve changing one line of
code.
--
Ticket URL: <http://trac.sagemath.org/ticket/19573>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.