hyperell_regulator.geometric_torsion module¶
Complete genus 2 hyperelliptic torsion packets via Poonen’s algorithm.
We call Poonen’s PARI/GP implementation of Computing torsion points on
curves (2001, updated 2024), which proves completeness p-adically rather
than searching up to a bound. Install it with install_poonen_backend().
Only the packet containing the Weierstrass points is supported; any point of that packet may serve as base point.
- install_poonen_backend(path=None, *, source_path=None)[source]¶
Install the pinned upstream GP file in the local results cache.
With
source_path, copy a downloaded file instead of fetching it. The SHA256 is checked before writing.
- class GeometricTorsionPacket(C, data, *, basepoint=None, metadata=None)[source]¶
Bases:
objectAn exactly verified complete torsion packet, with QQbar coordinates.
points()returns coordinates on the originaly^2+h*y=fmodel;order(P)is the exact order ofP-basepoint, by Mumford arithmetic over a number field.
- geometric_torsion_packet(C, basepoint=None, *, backend=None, gp=None, timeout=300, cache=True, progress=None)[source]¶
The complete geometric torsion packet of the Weierstrass points.
backenddefaults toHYPERELL_POONEN_GPor the installed copy;gpselects a PARI/GP executable. Results are cached by curve and backend checksum. A timeout raisessubprocess.TimeoutExpired.