-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
The following code computes the irreducible components of the semistable model of a curve C. The first irreducible component has an equation u1^2 = sextic, but sage returns 0 for its genus. The equation returned for the second irreducible component has three variables in it: u1, u2, x; and sage returns -1 for its genus.
sage: from mclf import *
sage: R.<x> = QQ[]
sage: C = SuperellipticCurve(x^6 + 8*x^5 - 8*x^4 + 22*x^3 - 8*x^2 + 8*x + 1,2)
sage: vp = QQ.valuation(101)
sage: Cp = SemistableModel(C,vp)
sage: Cp.components()
[the smooth projective curve with Function field in u1 defined by u1^2 + 100*x^6 + 93*x^5 + 8*x^4 + 79*x^3 + 8*x^2 + 93*x + 100,
the smooth projective curve with Function field in u2 defined by u2^2 + 20*u1*x^2 + 92*u1 + 78]
sage: [x.genus() for x in Cp.components()]
[0, -1]
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels