Skip to content

Commit 25e2096

Browse files
2 parents 1fa3a15 + 6e90027 commit 25e2096

File tree

5 files changed

+28
-4
lines changed

5 files changed

+28
-4
lines changed

experiments/ZetaData.jl

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,19 @@ function data_fermat_curves()
1717
end
1818
end
1919
end
20+
21+
function data_fermat_deform_6()
22+
23+
#ps = [7,11,13,17,19,23,29,31,37,41]
24+
ps = [11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97]
25+
26+
d = 6
27+
for p in ps
28+
f = DeRham.fermat_hypersurface(3,6,p); f += prod((gens(parent(f)).^2))
29+
30+
z = DeRham.zeta_function(f,algorithm=:naive,fastevaluation=true)
31+
println("p: $p, d: $d, p mod d = $(p % d), p mod 12 = $(p % 12)")
32+
println(z)
33+
println()
34+
end
35+
end

src/ControlledReduction.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1177,7 +1177,7 @@ function computeRuvS(V,S,f,pseudoInverseMat,Ruvs,explookup,params)
11771177
if haskey(Ruvs, V)
11781178
return get(Ruvs, V, 0)
11791179
else
1180-
println("New key: $V")
1180+
(4 < params.verbose) && println("New key: $V")
11811181
end
11821182
ev1 = gen_exp_vec(n+1,n*d-n,termorder)
11831183
ev2 = gen_exp_vec(n+1,n*d-n+d-length(S),termorder)

src/SmoothNondegenerate.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ function find_Ssmooth_model(f, M, S_target, params)
1818
vars = gens(PR)
1919
l = d * n - n + d - length(S_target)
2020

21+
#TODO: fix the anti-pattern below and remove this band-aid
22+
if !check_smoothness(f)
23+
error("f is not smooth")
24+
end
25+
2126
bool = true
2227
f_transformed = f
2328
while bool

src/ZetaFunction.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,9 @@ function precision_information(f,basis,verbose=0)
176176
(0 < verbose) && println("Hodge numbers = $hodge_numbers")
177177

178178
# for K3 over F3 only
179-
if (n == 3) && (p == 3) && (d == 4)
180-
return (hodge_polygon, [1, 2, 2], [4, 4, 3], 6)
181-
end
179+
#if (n == 3) && (p == 3) && (d == 4)
180+
# return (hodge_polygon, [1, 2, 2], [4, 4, 3], 6)
181+
#end
182182

183183
k = sum(hodge_numbers) # dimension of H^n
184184
(0 < verbose) && println("There are $k basis elements in H^$n")

test/varieties/vanishing.csv

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
3;11;5*x1^6*x2 + 3*x1^6*x3 + 7*x1^5*x2^2 + 9*x1^5*x2*x3 + x1^5*x3^2 + 8*x1^4*x2^3 + x1^4*x2^2*x3 + 5*x1^4*x2*x3^2 + 6*x1^3*x2^4 + 6*x1^3*x2^3*x3 + 9*x1^3*x2^2*x3^2 + 8*x1^3*x2*x3^3 + 5*x1^3*x3^4 + 5*x1^2*x2^5 + 2*x1^2*x2^4*x3 + 7*x1^2*x2^3*x3^2 + 4*x1^2*x2*x3^4 + 10*x1^2*x3^5 + 7*x1*x2^6 + 3*x1*x2^5*x3 + 5*x1*x2^4*x3^2 + 8*x1*x2^3*x3^3 + 2*x1*x2^2*x3^4 + 3*x1*x2*x3^5 + 5*x1*x3^6 + 2*x2^7 + 4*x2^6*x3 + 2*x2^5*x3^2 + 2*x2^4*x3^3 + 9*x2^3*x3^4 + 7*x2^2*x3^5 + 4*x2*x3^6 + 2*x3^7;ZZRingElem[4177248169415651,-1518999334332964,655931530734689,-200859416110144,34237400473320,-8455600419926,858292959524,-267305524607,68887149485,-21921295814,5806049601,2472191414,-1995260839,889046048,-336993701,104438702,-30635791,7347488,-1499069,168854,36051,-12374,3535,-1247,364,-326,120,-64,19,-4,1]
2+
3;11;10*x1^5 + 6*x1^4*x2 + 9*x1^4*x3 + 6*x1^3*x2^2 + x1^3*x2*x3 + 3*x1^3*x3^2 + 8*x1^2*x2^3 + 10*x1^2*x2^2*x3 + x1^2*x2*x3^2 + 3*x1^2*x3^3 + x1*x2^4 + 5*x1*x2^3*x3 + x1*x2^2*x3^2 + 2*x1*x2*x3^3 + 6*x1*x3^4 + 6*x2^5 + 7*x2^4*x3 + 6*x2^3*x3^2 + 6*x2^2*x3^3 + 9*x2*x3^4 + 9*x3^5;ZZRingElem[1771561, 0, 0, 31944, 5445, -517, 642, -47, 45, 24, 0, 0, 1]
3+
3;11;4*x1^7 + 3*x1^6*x2 + 4*x1^6*x3 + 6*x1^5*x2^2 + 10*x1^5*x2*x3 + 9*x1^5*x3^2 + x1^4*x2^3 + 9*x1^4*x2^2*x3 + x1^4*x2*x3^2 + 5*x1^4*x3^3 + 4*x1^3*x2^4 + 4*x1^3*x2^3*x3 + 10*x1^3*x2^2*x3^2 + 6*x1^3*x2*x3^3 + 4*x1^3*x3^4 + 3*x1^2*x2^5 + 6*x1^2*x2^4*x3 + 5*x1^2*x2^3*x3^2 + 8*x1^2*x2^2*x3^3 + 5*x1^2*x2*x3^4 + 7*x1^2*x3^5 + 7*x1*x2^6 + 5*x1*x2^5*x3 + 5*x1*x2^4*x3^2 + 3*x1*x2^3*x3^3 + 4*x1*x2^2*x3^4 + 10*x1*x2*x3^5 + 9*x1*x3^6 + 2*x2^7 + 3*x2^6*x3 + 4*x2^5*x3^2 + 2*x2^4*x3^3 + 5*x2^3*x3^4 + 7*x2^2*x3^5 + 9*x2*x3^6 + 6*x3^7;ZZRingElem[4177248169415651, 759499667166482, 379749833583241, 0, 30528348755377, -6951229793068, 3560501013410, -405567002852, 410107513695, -89407140548, 30683114418, -8633709854, 3882243497, -724848806, 390799937, -51056182, 35527267, -5990486, 2916787, -589694, 190518, -50468, 21045, -1892, 1510, -268, 107, 0, 11, 2, 1]

0 commit comments

Comments
 (0)