11 lines
249 B
Python
11 lines
249 B
Python
p = 5
|
|
m = 2
|
|
F = GF(p)
|
|
Rx.<x> = PolynomialRing(F)
|
|
f = x^3 + x + 1
|
|
C = superelliptic(f, m)
|
|
g = f(x^p - x)
|
|
C1 = superelliptic(g, m)
|
|
ff = superelliptic_function(C, x)
|
|
AS = as_cover(C, [ff])
|
|
print(C1.cartier_matrix().rank() == AS.cartier_matrix().rank()) |