#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:                
-----------------------------+----------------------------------------------
Changes (by jdemeyer):

  * owner:  davidloeffler => jdemeyer


Comment:

 I have '''not''' been able to reproduce this error through the string
 interface:
 {{{
 sage: K.<a> = NumberField(x^2 - x - 1)
 sage: I = K.ideal(2 * a - 1)
 sage: pari("K=%s; idealhnf(K, idealfactor(K,
 %s)[1,1])"%(pari(K),pari(I))).debug()
 [&=0000000004998178] MAT(lg=3):2600000000000003 0000000004998160
 0000000004998130
   mat(1,1) = [&=0000000004998148] INT(lg=3):0200000000000003
 (+,lgefint=3):4000000000000003 0000000000000005
   mat(1,2) = [&=0000000004998118] INT(lg=3):0200000000000003
 (+,lgefint=3):4000000000000003 0000000000000002
   mat(2,1) = gen_0
   mat(2,2) = [&=0000000004998100] INT(lg=3):0200000000000003
 (+,lgefint=3):4000000000000003 0000000000000001
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11611#comment:2>
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.

Reply via email to