#16043: Hilbert Symbol introduces bugs from Pari
-------------------------------------------------+-------------------------
       Reporter:  annahaensch                    |        Owner:
           Type:  defect                         |       Status:
       Priority:  major                          |  needs_work
      Component:  number fields                  |    Milestone:  sage-6.2
       Keywords:                                 |   Resolution:
        Authors:  Anna Haensch                   |    Merged in:
Report Upstream:  Reported upstream. No          |    Reviewers:  Peter
  feedback yet.                                  |  Bruin
         Branch:                                 |  Work issues:  add
   Dependencies:  #15767                         |  doctest
                                                 |       Commit:
                                                 |     Stopgaps:
-------------------------------------------------+-------------------------
Changes (by jdemeyer):

 * upstream:  Fixed upstream, but not in a stable release. => Reported
     upstream. No feedback yet.


Old description:

> For a field F and for a prime p, ( , )_p denotes the Hilbert Symbol over
> F localized at p.  It is well known that (a,b)_p*(a,c)_p=(a,bc)_p for any
> a, b in F (cf O'meara 63:12).  But I'm getting:
>
> {{{
> sage: K.<a>=NumberField(x^2+5)
> sage: p=K.primes_above(2)[0];p
> Fractional ideal (2, a + 1)
> sage: K.hilbert_symbol(2*a,-1,p)
> 1
> sage: K.hilbert_symbol(2*a,2,p)
> 1
> sage: K.hilbert_symbol(2*a,-2,p)
> -1
> }}}
>
> This is an upstream problem: [http://pari.math.u-bordeaux.fr/cgi-
> bin/bugreport.cgi?bug=1561]

New description:

 For a field F and for a prime p, ( , )_p denotes the Hilbert Symbol over F
 localized at p.  It is well known that (a,b)_p*(a,c)_p=(a,bc)_p for any a,
 b in F (cf O'meara 63:12).  But I'm getting:

 {{{
 sage: K.<a>=NumberField(x^2+5)
 sage: p=K.primes_above(2)[0];p
 Fractional ideal (2, a + 1)
 sage: K.hilbert_symbol(2*a,-1,p)
 1
 sage: K.hilbert_symbol(2*a,2,p)
 1
 sage: K.hilbert_symbol(2*a,-2,p)
 -1
 }}}

 This is an upstream problem: [http://pari.math.u-bordeaux.fr/cgi-
 bin/bugreport.cgi?bug=1561] and the follow-up
 [http://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=1569]

--

Comment:

 Follow-up upstream bug: [http://pari.math.u-bordeaux.fr/cgi-
 bin/bugreport.cgi?bug=1569]

--
Ticket URL: <http://trac.sagemath.org/ticket/16043#comment:10>
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 sage-trac+unsubscr...@googlegroups.com.
To post to this group, send email to sage-trac@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to