Height of affine point (patch #14218)

11 views
Skip to first unread message

Soli Vishkautsan

unread,
Sep 2, 2013, 10:06:04 AM9/2/13
to sage-d...@googlegroups.com
What is the definition of logarithmic height of (0,...,0)?
Should it be -\infty?
In any case maybe we should add a check for the 0 point? 
Currently we get an error trying to log(0).

wishcow

unread,
Sep 2, 2013, 2:09:21 PM9/2/13
to sage-d...@googlegroups.com
In fact I think that h(0)=0, since H(0)=H(0/1)=max{0,1}=1.
By the same reasoning h(0,...,0) should be 0 as well.
Let me know if I am mistaken.


--
You received this message because you are subscribed to the Google Groups "sage-dynamics" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sage-dynamic...@googlegroups.com.
To post to this group, send email to sage-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sage-dynamics/09e02b65-343c-494d-be09-55ff1ba62c8e%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ben

unread,
Sep 2, 2013, 5:51:31 PM9/2/13
to sage-d...@googlegroups.com
Actually, I've been thinking about the height function. I recently
discovered the Sage function .global_height(), which works over number
fields. So I think the .height() for affine and projective points should
use that (hence I need to update 14218 for this). However, it only work
for fields, so I have to be careful how I use it.

The h(0,0) error you are seeing actually only occurs for ZZ. If the
function remains as it is, you are right, there should be a check there
for max (H,1) before the log is taken on line 1358 so that it will
return 0 (as it does for QQ)

btw, such comments on reviewing/correcting functionality are best added
to the trac ticket itself. You should register for a trac account, put
in these comments about the issue with the .height() function, and set
it to 'needs_work'. If you are unsure, you can always ask me directly
first. General questions about sage-dynamics can be sent to this list.

It would be of great help if you were to formally review even just parts
of the patch 14218 (as you seem to be starting). Reviews can be done in
parts and others can finish any functionally you are uncomfortable
reviewing officially.

Ben

On 9/2/2013 2:09 PM, wishcow wrote:
> In fact I think that h(0)=0, since H(0)=H(0/1)=max{0,1}=1.
> By the same reasoning h(0,...,0) should be 0 as well.
> Let me know if I am mistaken.
>
>
> On Mon, Sep 2, 2013 at 5:06 PM, Soli Vishkautsan <wis...@gmail.com
> <mailto:wis...@gmail.com>> wrote:
>
> What is the definition of logarithmic height of (0,...,0)?
> Should it be -\infty?
> In any case maybe we should add a check for the 0 point?
> Currently we get an error trying to log(0).
>
> --
> You received this message because you are subscribed to the Google
> Groups "sage-dynamics" group.
> To unsubscribe from this group and stop receiving emails from it,
> send an email to sage-dynamic...@googlegroups.com
> <mailto:sage-dynamics%2Bunsu...@googlegroups.com>.
> To post to this group, send email to sage-d...@googlegroups.com
> <mailto:sage-d...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-dynamics/09e02b65-343c-494d-be09-55ff1ba62c8e%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "sage-dynamics" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to sage-dynamic...@googlegroups.com.
> To post to this group, send email to sage-d...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-dynamics/CADpEFvHsHyM2m6%2BtTFG%2BGxncinDjPO%3D9D1AD2yNe7B-6%2Bte7yg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages