hyperell_regulator.regulator.torsion module¶
Exact orders of divisor classes by principality tests.
- torsion_order(F, P, Q, bound=24, *, multiple=None)[source]¶
The least \(N\le\)
boundwith \(N(P-Q)\) principal, orNone.With
multiple, find the exact order among its divisors, ignoringbound.("infinity", eta)selects \(\lim y/x^{g+1}=eta\); bare"infinity"returns the smallest order over rational infinite places.EXAMPLES:
sage: from hyperell_regulator.regulator import torsion_order sage: from hyperell_regulator.regulator.polynomials import ring sage: x = ring().gen() sage: torsion_order(x^5 + x^2 + 2*x + 1, (0, -1), "infinity") 5 sage: F = (1 + x + x^3)^2 + 4*(x + 2*x^2 - x^4) sage: torsion_order(F, (0, 1), ("infinity", -1), bound=1, multiple=21) 21