#11611: Equal ideals have different hashes
-----------------------------+----------------------------------------------
Reporter: jdemeyer | Owner: jdemeyer
Type: defect | Status: new
Priority: major | Milestone: sage-4.7.2
Component: number fields | Keywords: pari ideal hnf
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
-----------------------------+----------------------------------------------
Comment(by jdemeyer):
The problem lies with the conversion between PARI and Sage:
{{{
sage: K.<a> = NumberField(x^2 - x - 1)
sage: pari_ideal = pari("[5, [2, 1]~, 2, 1, [2, 1]~]")
sage: pari(K.ideal(pari_ideal)).debug()
[&=00000000049f97b8] MAT(lg=3):2600000000000003 00000000049f97a0
00000000049f9770
mat(1,1) = [&=00000000049f9788] INT(lg=3):0200000000000003
(+,lgefint=3):6600000000000003 0000000000000005
mat(1,2) = [&=00000000049f9758] INT(lg=3):0200000000000003
(+,lgefint=3):4000000000000003 0000000000000002
mat(2,1) = gen_0
mat(2,2) = [&=00000000049f9740] INT(lg=3):0200000000000003
(+,lgefint=3):4000000000000003 0000000000000001
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11611#comment:3>
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.