DeRhamComputation/as_covers/tests/group_action_matrices_test.sage
2023-09-23 13:33:58 +00:00

18 lines
365 B
Python

p = 3
m = 2
F = GF(p)
Rx.<x> = PolynomialRing(F)
f = x^3 + x
C_super = superelliptic(f, m)
f1 = C_super.x^2*C_super.y
f2 = C_super.x^3
AS = as_cover(C_super, [f1, f2], prec=1000)
A, B = group_action_matrices_holo(AS)
n = A.dimensions()[0]
print(A*B == B*A)
print(A^p == identity_matrix(n))
print(B^p == identity_matrix(n))
print(magma_module_decomposition(A, B))