#11758: Bug in global_height function
-----------------------------+----------------------------------------------
   Reporter:  dkrumm         |          Owner:  somebody     
       Type:  defect         |         Status:  new          
   Priority:  major          |      Milestone:  sage-4.7.2   
  Component:  number theory  |       Keywords:  global height
Work_issues:                 |       Upstream:  N/A          
   Reviewer:                 |         Author:               
     Merged:                 |   Dependencies:               
-----------------------------+----------------------------------------------
 The global_height function for elements of number fields gives incorrect
 results. Here is an example:

 {{{
 sage: K.<s> = QuadraticField(2)
 sage: s.global_height()
 0.346573590279973
 sage: (1/s).global_height()
 0.693147180559945
 }}}

 This is incorrect since s and 1/s should have the same height. I'm running
 Sage 4.7 on Mac OS X 10.6.8.

 I believe the reason for the error is explained in the author's comments
 in the code for this function:

 "The absolute logarithmic height of this number field element; that is,
 the sum of the local heights at all finite and infinite places, with the
 contributions from the infinite places scaled by the degree to make the
 result independent of the parent field."

 However, it is both the arch. and non-arch. contributions that need to be
 scaled by the degree.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11758>
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