-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtime.m2
46 lines (36 loc) · 1.11 KB
/
time.m2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
restart
path=append(path,"~/Documents/Github/levels");
path=append(path,"~/Dropbox/BEJ/m2");
load "supportVarieties.m2"
needsPackage "ThickSubcategories"
needsPackage "Complexes"
R=QQ[x,y,z,w]/ideal(x^2,x*y,y*z,z*w,w^2)
time O1 = extKoszul(complex(R^1),complex(R^1))
time O2 = ExtE(R^1,R^1)
restart
path=append(path,"~/Documents/Github/levels");
path=append(path,"~/Dropbox/BEJ/m2");
load "supportVarieties.m2"
needsPackage "ThickSubcategories"
needsPackage "Complexes"
needsPackage "CompleteIntersectionResolutions"
R=QQ[x,y,z,w,t]/ideal(x^2,x*y,y*z,z*w,w*t,t^2)
time O1 = extKoszul(complex(R^1),complex(R^1))
time O2 = ExtE(R^1,R^1)
time restrict(complex(R^1))
time restrict(R^1)
f = gens ideal(R)
C = chainComplex resolution(restrict(R^1));
time makeHomotopies(f,C)
restart
path=append(path,"~/Documents/Github/levels");
path=append(path,"~/Dropbox/BEJ/m2");
load "supportVarieties.m2"
needsPackage "ThickSubcategories"
needsPackage "Complexes"
needsPackage "CompleteIntersectionResolutions"
R=QQ[x,y,z,w]/ideal(x^2,x*y,y*z,z*w,w^2)
C = koszul vars R
D = complex C
time nullhomotopy(x*id_C)
time nullHomotopy(x*id_D)