Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Add Shioda computation for h neq 0. Doc builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
annasomoza committed Jul 31, 2017
1 parent d20d1a2 commit e9bf8ef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,11 @@ def shioda_invariants(self):
sage: C = HyperellipticCurve(x*(x^6 + 1))
sage: C.shioda_invariants()
[-1/4, 0, 1/1536, 0, 1/147456, 0, 1/4587520, 0, 1/440401920]
sage: C = HyperellipticCurve(x**8+4*x**4+5, x)
sage: C.shioda_invariants()
[358/35, 1901607/1097600, 1858655/115248, 5952869/1075648, -447875123/16941456,
-229108271171/25299240960, -289161500810731/12396628070400,
2763886995805/185949421056, 1393753442816093/36446086526976]
REFERENCES:
Expand All @@ -51,5 +56,7 @@ def shioda_invariants(self):
"""
f, h = self.hyperelliptic_polynomials()
assert h == 0, 'Argument must be a simplified model of genus 3.'
#assert h == 0, 'Argument must be a simplified model of genus 3.'
if h != 0:
f = f + h**2/4
return invariants.shioda_invariants(f)
3 changes: 0 additions & 3 deletions src/sage/schemes/hyperelliptic_curves/invariants.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
.. [I] Igusa, Jun-ichi. *Arithmetic variety of moduli for genus two*.
Ann. of Math. (2) 72 1960 612--649.
.. [Sh] Shioda, Tetsuji. *On the graded ring of invariants of binary octavics*.
American J. of Math., 89(4):1022-1046, 1967.
.. TODO::
Expand Down

0 comments on commit e9bf8ef

Please sign in to comment.