-
-
Notifications
You must be signed in to change notification settings - Fork 528
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
elliptic curves -- heegner_index command gives nonsense when rank > 1 #4453
Comments
comment:4
Depends on #6616? |
Author: was |
Reviewer: cremona |
comment:5
Positive review: looks good (apart from a docstring typo "We higher rank examples") and applies fine to 4.3.1, tests pass and docs build & look good. I added a new patch which changes the above to "Some higher rank examples" with no further changes. |
comment:6
I get two hunk failures when applying trac_4453.2.patch on top of Sage 4.3.3.alpha0:
The attachment trac_4453.2.patch needs rebase against Sage 4.3.3.alpha0. |
Work Issues: rebase against Sage 4.3.3.alpha0 |
Attachment: trac_4453-rebased.patch.gz |
comment:7
Rebased, I also fixed a small error when check_rank=False. |
Changed reviewer from cremona to John Cremona |
Changed author from was to William Stein |
Changed work issues from rebase against Sage 4.3.3.alpha0 to none |
comment:8
With the forthcoming 4.5.2 (4.5.2.rc0 + #9226) and the rebased patch, I get a doctest failure: sage -t -long "devel/sage/sage/schemes/elliptic_curves/heegner.py"
**********************************************************************
File "/mnt/usb1/scratch/mpatel/apps/sage-4.5.2/devel/sage/sage/schemes/elliptic_curves/heegner.py", line 6465:
sage: E.heegner_index(-8, descent_second_limit=16)
Exception raised:
Traceback (most recent call last):
File "/mnt/usb1/scratch/mpatel/apps/sage-4.5.2/local/bin/ncadoctest.py", line 1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File "/mnt/usb1/scratch/mpatel/apps/sage-4.5.2/local/bin/sagedoctest.py", line 38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename, compileflags)
File "/mnt/usb1/scratch/mpatel/apps/sage-4.5.2/local/bin/ncadoctest.py", line 1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_229[14]>", line 1, in <module>
E.heegner_index(-Integer(8), descent_second_limit=Integer(16))###line 6465:
sage: E.heegner_index(-8, descent_second_limit=16)
File "/mnt/usb1/scratch/mpatel/apps/sage-4.5.2/local/lib/python/site-packages/sage/schemes/elliptic_curves/heegner.py", line 6485, in heegner_index
if check_rank and self.rank() >= 2:
File "/mnt/usb1/scratch/mpatel/apps/sage-4.5.2/local/lib/python/site-packages/sage/schemes/elliptic_curves/ell_rational_field.py", line 1741, in rank
raise RuntimeError, 'Rank not provably correct.'
RuntimeError: Rank not provably correct.
**********************************************************************
1 items had failures:
1 of 21 in __main__.example_229
***Test Failed*** 1 failures. |
comment:14
Attachment: 4453-doctest-fix.patch.gz Apply trac_4453-rebased.patch, 4453-doctest-fix.patch |
Changed reviewer from John Cremona to John Cremona, Robert Bradshaw |
Changed work issues from one doctest fails to none |
comment:16
Robert, I find it strange that you give a positive review to your own patch... Paul |
comment:17
I was giving a positive review to the original patch; I suppose someone should review my 1-line doctest fix as well. |
comment:19
I'll check Robert's one-liner but not this week. |
comment:20
Rob's patch looks fine to me, and patchbot's happy with it, so let's get this in. |
comment:22
Please specify which patch(es) to apply. |
This comment has been minimized.
This comment has been minimized.
Merged: sage-5.5.beta1 |
For any elliptic curve over QQ of rank >= 2 the heegner_index command must always give +Infinity as output. So the following 1 at the end is just wrong.
Apply trac_4453-rebased.patch and 4453-doctest-fix.patch
Component: elliptic curves
Author: William Stein
Reviewer: John Cremona, Robert Bradshaw
Merged: sage-5.5.beta1
Issue created by migration from https://trac.sagemath.org/ticket/4453
The text was updated successfully, but these errors were encountered: