Skip to content

Commit 9e83090

Browse files
committed
fixed a couple of issues in SpectralSequences
1 parent c3d3b6f commit 9e83090

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

M2/Macaulay2/packages/SpectralSequences.m2

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export {
6868
"targetPruningMap",
6969
"Page",
7070
"PageMap",
71-
"page" ,
71+
"page",
7272
"pruningMaps",
7373
"edgeComplex",
7474
"filteredHomologyObject",
@@ -608,6 +608,7 @@ page SpectralSequencePage := Page => opts -> E -> (
608608
);
609609
);
610610
H)
611+
page Page := Page => opts -> identity
611612

612613
-- the following two methods are used to view the modules
613614
-- on the r th page in grid form.
@@ -745,9 +746,9 @@ connectingMorphism(ComplexMap, ZZ) := (a, n) -> (
745746
e := spectralSequence K;
746747
e^1 .dd_{1, n})
747748

748-
hilbertPolynomial SpectralSequencePage := Page => o -> E -> (
749+
hilbertPolynomial Page := Page => o -> E -> (
749750
P := new Page;
750-
apply(spots E .dd, i -> P#i = hilbertPolynomial(E_i));
751+
apply(spots page E, i -> P#i = hilbertPolynomial(E_i));
751752
P)
752753

753754
pruningMaps = method()
@@ -759,7 +760,7 @@ pruningMaps SpectralSequencePage := E -> (
759760
P)
760761

761762
basis(ZZ, SpectralSequencePage) :=
762-
basis(List, SpectralSequencePage) := opts -> (deg, E) -> (
763+
basis(List, SpectralSequencePage) := Page => opts -> (deg, E) -> (
763764
P := new Page;
764765
apply(spots E.dd, i -> P#i = basis(deg,E_i));
765766
P)

M2/Macaulay2/packages/SpectralSequences/docs.m2

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ undocumented {
1010
(net, PageMap),
1111
(net, SpectralSequence),
1212
(net, SpectralSequencePage),
13+
(page, Page),
1314
(page, SpectralSequencePage),
1415
(ring, Page),
1516
(spots, PageMap),
@@ -925,7 +926,7 @@ doc ///
925926
> "minimalPresentation(SpectralSequencePage)"
926927
> "pruningMaps(SpectralSequencePage)"
927928
> "basis(List,SpectralSequencePage)"
928-
> "hilbertPolynomial(SpectralSequencePage)"
929+
> "hilbertPolynomial(Page)"
929930
> "SpectralSequencePage ^ List"
930931
Caveat
931932
The isomorphisms $4$ and $4$' are not explicitly
@@ -1108,18 +1109,18 @@ doc ///
11081109

11091110
doc ///
11101111
Key
1111-
(hilbertPolynomial, SpectralSequencePage)
1112+
(hilbertPolynomial, Page)
11121113
Headline
1113-
the Hilbert polynomial of a spectral sequence page
1114+
the Hilbert polynomial of a page
11141115
Usage
11151116
H = hilbertPolynomial(E)
11161117
Inputs
1117-
E:SpectralSequencePage
1118+
E:Page
11181119
Outputs
11191120
H:Page
11201121
Description
11211122
Text
1122-
Returns the Hilbert polynomials of all modules of the spectral sequence page
1123+
Returns the Hilbert polynomials of all modules in a page.
11231124

11241125
As a specific example consider the filtered complex $K$ below, obtained by multiplying the minimal free resolution of
11251126
the rational quartic space curve by successive powers of the irrelevant ideal.

0 commit comments

Comments
 (0)