Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in height difference bound #32687

Closed
bhutz opened this issue Oct 13, 2021 · 9 comments
Closed

error in height difference bound #32687

bhutz opened this issue Oct 13, 2021 · 9 comments

Comments

@bhutz
Copy link
Contributor

bhutz commented Oct 13, 2021

For a morphism of projective space there is an explicitly computable constant that bounds the difference between the height and canonical height (f.height_difference_bound()). This function is returning incorrect values. It looks like the code is trying to take into account scaling through by the resultant and ending up with an incorrect lower bound.

P.<x,y>=ProjectiveSpace(QQ,1)
f=DynamicalSystem([5*x^2 + 3*x*y , y^2 + 3*x^2])
C=f.height_difference_bound()
for Q in P.points_of_bounded_height(bound=5):
    if (f(Q).global_height() - 2*Q.global_height()).abs() > C:
        print("bad:",Q)

CC: @pfili @EnderWannabe

Component: dynamics

Author: Ben Hutz

Branch/Commit: 9778fff

Reviewer: Frédéric Chapoton

Issue created by migration from https://trac.sagemath.org/ticket/32687

@bhutz bhutz added this to the sage-9.5 milestone Oct 13, 2021
@bhutz
Copy link
Contributor Author

bhutz commented Oct 13, 2021

comment:1

I'm happy to fix this as soon as I get a chance to spend a little time on it (hopefully in the next week or two).

@bhutz bhutz self-assigned this Oct 13, 2021
@bhutz
Copy link
Contributor Author

bhutz commented Nov 5, 2021

Branch: u/bhutz/32687

@bhutz
Copy link
Contributor Author

bhutz commented Nov 5, 2021

Commit: 9778fff

@bhutz
Copy link
Contributor Author

bhutz commented Nov 5, 2021

Author: Ben Hutz

@bhutz
Copy link
Contributor Author

bhutz commented Nov 5, 2021

comment:3

I don't really see why this was trying to clear the denominators before computing the heights of the coefficients polys. I removed all that and am now getting the expected values.

I also noticed prec was missing on the heights of the coefficients, so I added that and used it in the new example to.

Lastly, I had a sorting issue in an unrelated doctest that I fixed.


New commits:

9778fff32687: fix lower bound in height difference in projective_ds

@mkoeppe
Copy link
Contributor

mkoeppe commented Dec 18, 2021

comment:4

Stalled in needs_review or needs_info; likely won't make it into Sage 9.5.

@mkoeppe mkoeppe modified the milestones: sage-9.5, sage-9.6 Dec 18, 2021
@fchapoton
Copy link
Contributor

Reviewer: Frédéric Chapoton

@fchapoton
Copy link
Contributor

comment:5

ok, setting to positive (not a mathematical review, though)

@vbraun
Copy link
Member

vbraun commented Apr 2, 2022

Changed branch from u/bhutz/32687 to 9778fff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants