2012/5/24 David Eklund <
sven.dav...@gmail.com>:
> Hi,
>
> I guess Volker meant Riemann surface when saying smooth elliptic surface in
> P^2 (that is, an elliptic curve). But as Marco says, this is about
> hyperelliptic curves.
>
> Volkers comment that toric varieties in Sage are often assumed to be defined
> over a field is important and has implications for the issues regarding
> hyperelliptic curves discussed above. Developing toric varieties over
> general rings sounds like an intriguing (and elaborate) project. I think I
> will start small by adding explicit construction of weighted projective
> spaces to the toric variety library. We'll see what happens after that.
Yes, it would be good to have weighted projective spaces over general
rings. But don't worry too much about that for hyperelliptic curves.
First of all, as far as I know, hyperelliptic curves are currently not
really implemented over general rings, such rings are just not
rejected on input. Second, points on elliptic curves over general
rings work in Sage, even though they don't work in the ambient
projective space, so the ambient space apparently does not have to
support everything:
sage: E = EllipticCurve(QQ, [0,0,0,-1,0])
sage: E([1,0])
# point
sage: P = E.ambient_space()
sage: P([1,0])
# point
sage: E = EllipticCurve(Zmod(6), [0,0,0,-1,0])
sage: E([1,0])
# point
sage: P = E.ambient_space()
sage: P([1,0])
# error
sage: Q.<x> = QQ[]
sage: C = HyperellipticCurve(x^6-1)
sage: C([1,0])
# point
sage: Q.<x> = Zmod(6)[]
sage: C = HyperellipticCurve(x^6-1)
sage: C([1,0])
# error
> Marco's standard solution number 1) with two glued A^2 also sounds useful.
> Maybe this is similar to what we would actually be doing with the weighted
> projective plane P(1,g+1,1) where g is the genus of the curve.
The resulting smooth projective hyperelliptic curves are of course
isomorphic, but the two ambient spaces make a difference in
implementation, so there is indeed a choice to be made. I don't know
whether glueing is done anywhere in Sage so far, but neither are
weighted spaces, so I don't know how much work each option would be.
For more on the theory behind (1) and (2), see pages 86 and 87 of
Hindry-Silverman, Diophantine Geometry, An Introduction. Method (1) of
glueing smooth affine curves in two copies of A^2 is A.4.2(a) -- (c).
Method (2) of a higher-dimensional projective space is A.4.2(d), but
is probably not suitable for fast computations due to the high
dimension.
>> >
sage-devel+...@googlegroups.com
>
sage-devel+...@googlegroups.com