DeRhamComputation/as_covers/tests/cartier_test.sage

11 lines
249 B
Python
Raw Normal View History

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())