DeRhamComputation/sage/drafty/draft.sage

14 lines
319 B
Python
Raw Normal View History

2023-02-24 13:51:49 +01:00
p = 3
m = 2
2022-11-18 15:00:34 +01:00
F = GF(p)
Rx.<x> = PolynomialRing(F)
2023-02-27 12:51:16 +01:00
f = x^3 - x + 1
2023-02-23 12:26:25 +01:00
C = superelliptic(f, m)
2023-02-27 12:51:16 +01:00
C1 = patch(C)
#print(C1.crystalline_cohomology_basis())
g1 = C1.polynomial
g_AS = g1(x^p - x)
C2 = superelliptic(g_AS, 2)
print(convert_super_into_AS(C2))
converted = (C2.x)^4 - (C2.x)^2
print(convert_super_fct_into_AS(converted))