f(x,y) = y^2 - (x-6)(x-5)(x+11) = y^2 - x^3 + 91x - 330.
I'd like to consider this curve over Q_17, the field of 17-adic numbers, and draw the corresponding tropical curve and the dual subdivision. Here is my code (after homogenizing the curve and computing 17-adic valuation of the coefficients):
Code: Select all
$H = new Hypersurface<Min>(MONOMIALS=>[[0,2,1],[3,0,0],[1,0,2],[0,0,3]], COEFFICIENTS=>[0,0,0,0]);
$ds = $H -> dual_subdivision();
$H -> VISUAL;
$ds -> VISUAL;In another direction, when I run the code
Code: Select all
print $H->GENUS;I apologize in advance if these are silly questions. Polymake is highly new to me
Remark: An elliptic curve is a smooth, projective, algebraic curve of genus one, with a distinguished point.

