#10486: Conversion List -> PARI finite field extension element disregards
characteristic
--------------------------------+-------------------------------------------
Reporter: jdemeyer | Owner: AlexGhitza
Type: defect | Status: new
Priority: major | Milestone: sage-4.6.2
Component: basic arithmetic | Keywords: finite field pari
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
--------------------------------+-------------------------------------------
Reported by Yannick Neyt in personal communication:
{{{
sage: k.<a>=GF(3^11)
sage: x = k([1,0,1,1]); x
a^3 + a^2 + 1
sage: x+x+x
3*a^3 + 3*a^2
}}}
Clearly, we should get zero in the last line, since the characteristic is
3. The problem is visible in the PARI representation:
{{{
sage: pari(x)
Mod(a^3 + a^2 + Mod(1, 3), Mod(1, 3)*a^11 + Mod(2, 3)*a^2 + Mod(1, 3))
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10486>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.