DeRhamComputation/as_covers/tests/group_action_matrices_test.sage

18 lines
366 B
Python
Raw Normal View History

2023-09-23 15:33:58 +02:00
p = 3
2022-11-18 15:00:34 +01:00
m = 2
F = GF(p)
Rx.<x> = PolynomialRing(F)
2023-09-23 15:33:58 +02:00
f = x^3 + x
2022-11-18 15:00:34 +01:00
C_super = superelliptic(f, m)
2023-09-23 15:33:58 +02:00
f1 = C_super.x^2*C_super.y
f2 = C_super.x^3
2022-11-18 15:00:34 +01:00
AS = as_cover(C_super, [f1, f2], prec=1000)
2024-02-08 20:25:10 +01:00
A, B = AS.group_action_matrices_holo()
2022-11-18 15:00:34 +01:00
n = A.dimensions()[0]
print(A*B == B*A)
print(A^p == identity_matrix(n))
2023-09-23 15:33:58 +02:00
print(B^p == identity_matrix(n))
print(magma_module_decomposition(A, B))