2022-11-24 18:59:07 +01:00
|
|
|
p = 3
|
2023-02-13 13:05:48 +01:00
|
|
|
m = 2
|
|
|
|
F = GF(p)
|
2022-11-24 18:59:07 +01:00
|
|
|
Rx.<x> = PolynomialRing(F)
|
2023-02-13 13:05:48 +01:00
|
|
|
f = x^3 - x
|
|
|
|
C = superelliptic(f, m)
|
|
|
|
x = C.x
|
|
|
|
y = C.y
|
|
|
|
dx = C.dx
|
|
|
|
om1 = x^3*y*dx
|
|
|
|
u = (C.one)/x
|
|
|
|
v = y/x^2
|
|
|
|
print(om1 + u^3*v*u.diffn() - (y/x)^2*(y/x).diffn())
|