Ticket #9193 (needs_work enhancement)

Opened 3 years ago

Last modified 21 months ago

Provable computation of L-functions (Dokchitser procedure)

Reported by: robertwb Owned by: was
Priority: major Milestone: sage-5.10
Component: number theory Keywords:
Cc: rishi, jen Work issues:
Report Upstream: N/A Reviewers:
Authors: Merged in:
Dependencies: Stopgaps:

Description (last modified by was) (diff)

This is related to #4475.

See also this psage ticket:  http://code.google.com/p/purplesage/issues/detail?id=14

Attachments

9193-part1-lfunc.patch Download (22.7 KB) - added by robertwb 3 years ago.
9193-part2-incomplete-gamma.patch Download (14.4 KB) - added by robertwb 3 years ago.
9193-part3-prec.patch Download (13.6 KB) - added by robertwb 3 years ago.
9193-part4-proveable.patch Download (43.4 KB) - added by was 21 months ago.
(I just rebased this with Robert for sage-4.7.2.alpha2.)
9193-part5-docstrings-and-prec-fix.patch Download (7.2 KB) - added by was 21 months ago.
(slightly updated)

Change History

Changed 3 years ago by robertwb

Changed 3 years ago by robertwb

Changed 3 years ago by robertwb

comment:1 Changed 3 years ago by robertwb

Depends on #9165, #9184, #9180.

comment:2 Changed 3 years ago by was

  • Summary changed from Proveable computation of L-functions to Proveable computation of L-functions (Dokchitser procedure)

comment:3 Changed 3 years ago by was

Why do you write above that this "Depends on #9165"? There is no code there, and that is related to the Cygwin port?

comment:4 Changed 3 years ago by robertwb

  • Status changed from new to needs_work

The dependency should have been #9156 (which is a tiny, now merged, ticket) rather than #9165.

This still needs work in two ways. Firstly, it needs more doctests/documentation (though most of the important/tricky functions are already done), and there is also a bug in computing the tail of the G-function summation that I'm still tracking down. I did some work towards this during Sage Days 22, and even thought about it a touch this week, but haven't quite gotten to the bottom of it.

$ sage -coverage sage/lfunctions/lfunction.py 
----------------------------------------------------------------------
sage/lfunctions/lfunction.py
ERROR: Please add a `TestSuite(s).run()` doctest.
SCORE sage/lfunctions/lfunction.py: 61% (19 of 31)

$ sage -coverage sage/lfunctions/G_function.py 
----------------------------------------------------------------------
sage/lfunctions/G_function.py
ERROR: Please add a `TestSuite(s).run()` doctest.
SCORE sage/lfunctions/G_function.py: 59% (13 of 22)

comment:5 Changed 3 years ago by rishi

  • Cc rishi added

comment:6 Changed 3 years ago by robertwb

  • Cc jen added

comment:7 Changed 2 years ago by was

  • Description modified (diff)

comment:8 Changed 2 years ago by robertwb

This is done except for doctests on some functions (though it could use some optimisations too).

comment:9 Changed 21 months ago by was

  • Summary changed from Proveable computation of L-functions (Dokchitser procedure) to Provable computation of L-functions (Dokchitser procedure)

Changed 21 months ago by was

(I just rebased this with Robert for sage-4.7.2.alpha2.)

comment:10 Changed 21 months ago by was

All patches apply (with a minor rebase) and mostly work. However, there is one bug.

Unfortunately, this is wrong, since the coefficients of 1 and T have
to be 0.0000?.  However, the output *is* correct to 10 bits of
precision, so the correct fix is just to truncate.::

    sage: L = LFunction(EllipticCurve('389a'))
    sage: L.taylor_series(RealField(10)(1), 3, proof=True)
    -0.00002125? + 0.00001204?*T + 0.75933?*T^2 - 0.43032?*T^3 + O(T^4)

Changed 21 months ago by was

(slightly updated)

Note: See TracTickets for help on using tickets.