All homology and cohomology in this solution use coefficients, so no orientation hypothesis is necessary. The Poincare-Lefschetz duality degrees are complementary:
The starred notation in the question must be understood with this degree reversal.
Turn the handle decomposition upside down. An absolute -handle becomes a relative -handle based on . The absolute cellular boundary coefficient counts intersections of an attaching sphere with a belt sphere. In the reversed handle decomposition, the same intersections are counted in the opposite order. Over the two incidence matrices are transposes, with no sign ambiguity. Thus the absolute chain complex is the complementary-degree dual of the relative chain complex. Taking homology and using the universal coefficient theorem for cohomology over a field proves the displayed isomorphism. This is mod-two handle duality.
To obtain a perfect pairing from the assumed closed case, form the double of a manifold from two copies of . The fold map is a retraction, so the inclusion of either copy induces an injection on homology. If in , its image in is nonzero. Closed-manifold mod-two Poincare duality supplies a class with intersection against that image. Cut a representative of along the boundary and retain its part in the first copy; it defines . Equivalently, apply the quotient map and excision. Intersections with a representative of in the interior are unchanged, so . This proves nondegeneracy in the first variable. Mod-two handle duality gives equal finite dimensions for the two spaces, hence nondegeneracy in the second variable as well.
For the three-dimensional conclusion, set
The long exact sequence in relative homology says , where . The closed-surface intersection pairing on is nondegenerate. A collar calculation gives the adjoint identity
Indeed, push slightly into the collar: intersections with the relative surface representing correspond to its boundary intersections with . By the absolute-relative perfect pairing already proved, is orthogonal to every precisely when . Therefore .
For any finite-dimensional space with a perfect pairing, . Hence the half-lives-half-dies theorem gives
But has dimension one. It cannot be the entire boundary of a compact three-manifold, because the displayed dimension would be . This excludes nonorientable three-manifolds as well as orientable ones.
First check the signs directly. For , applying the proposed differential twice gives
because is a chain map. Thus is a chain complex.
Let be the shifted chain complex with and differential ; here there is no minus sign in that differential. Inclusion in the second summand and projection onto the first give a short exact sequence of chain complexes
To compute the connecting map in its long exact sequence in homology, lift a cycle to . Its boundary is . Hence the connecting map is , and the relevant exact portion is
If every is an isomorphism, exactness makes . Conversely, if every is zero, the adjacent exact portions make every both injective and surjective. Therefore
This is the acyclicity criterion for a mapping cone, with the degree-dependent signs adjusted to the given convention.
For the assertion about spaces, use the cellular approximation theorem to replace by a cellular map, and take the induced map of the finite free cellular chain complexes. Tensoring these complexes and their cone with gives the corresponding mod- complexes and cone. The same exact-sequence argument works over , so the assumed homology isomorphisms imply
The universal coefficient theorem for homology gives
In particular for every prime. Each is a finitely generated abelian group. A nonzero free summand would survive tensoring with every , while a nonzero finite cyclic summand would survive for a prime dividing its order. Thus in every degree, by detection of integral acyclicity modulo primes. Applying the cone criterion once more proves the integral homology map is an isomorphism in every degree. Finite generation is what makes detection by all prime fields sufficient.
Let be a commutative ring and . The Koszul complex packages these elements and their relations in a finite chain complex of free modules. With and basis , set for , and define
Deleting two distinct basis elements in the two possible orders gives opposite signs and the same coefficient, so . Equivalently is the tensor product of chain complexes of two-term complexes in degrees one and zero. The tensor differential is . This fixes the sign convention. On the exterior algebra, the differential is a graded derivation determined by .
For an -module , define the Koszul complex with module coefficients by . Its degree-zero Koszul homology is
Its higher Koszul homology measures the failure of these equations to form a regular sequence on a module. Each annihilates every homology group. Indeed the Koszul homotopy for multiplication by a generator is , and the graded product rule gives
For coefficients in the same identity holds after tensoring. Thus multiplication by is zero on homology, and the homology groups are naturally modules over . If , choose ; then is a contracting homotopy, so the entire complex is contractible. These identities are also useful after localization of a ring: wherever one generator is a unit, the complex has zero homology.
The construction is functorial under a ring homomorphism, and base change gives , since its terms are free with the displayed basis and differential. An invertible change of generators gives a chain isomorphism by sending to and extending to exterior powers. In particular, permuting the generators changes only the exterior signs, not the isomorphism class of the complex.
The essential exactness theorem is that a regular sequence on a module gives zero positive Koszul homology. Recall that must act injectively on , with final quotient nonzero. Put . Adding the final two-term complex identifies with the mapping cone of multiplication by on , with the chosen tensor signs. The long exact sequence in homology consequently has segments
For , positive homology is exactly . By induction the preceding homology vanishes above zero. The final injectivity assumption kills , while the exact sequence kills every for . Therefore
for a regular sequence on a module. In particular is a finite free resolution of when is a regular sequence, with ranks and length .
There is a precise converse under local finiteness assumptions. Suppose is a Noetherian local ring, is finitely generated, and all . If positive Koszul homology vanishes, the same exact sequence makes multiplication by surjective on every for . These modules are finitely generated because the ring is Noetherian and the terms of the complex are finite modules. The Nakayama lemma gives . Induction makes regular on , and the degree-one part of the exact sequence makes injective on . The final quotient is nonzero, again by the Nakayama lemma. This proves the Koszul acyclicity criterion in a Noetherian local ring:
The hypotheses matter: a unit ideal makes the complex contractible but cannot be a proper regular sequence.
Examples make both sides visible. For and , the Koszul resolution is
The signs agree with . For and , the degree-one cycles are and the boundaries are ; hence , while . The repeated element has exposed a relation that the first element already kills.
The Koszul complex also computes derived functors. If is a regular sequence on , its free resolution gives
Here no regularity of on is assumed. For , tensor the Koszul resolution on the variables with . Every differential becomes zero, so
The top group is nonzero, showing that a free resolution of cannot be shorter than .
Finally, wedging complementary exterior degrees gives a perfect pairing . It identifies the dual cochain complex with the degree-reversed Koszul complex, after the appropriate signs. This self-duality of the Koszul complex shows, for a regular sequence, that
Thus the same explicit complex simultaneously records quotient equations, regularity, relations, Tor functor computations and Ext functor computations. Its finiteness and exterior structure are what make it especially effective in commutative algebra.
The tensor differential. Use homological grading, so each differential lowers degree by one. The tensor product of chain complexes has
for . This Koszul sign rule gives
Thus the graded tensor product is a chain complex.
The Hom differential. Write . For a degree- element of this graded Hom complex of chain complexes, use the prescribed differential
The next application uses degree , so
In degree zero, , so its kernel consists exactly of chain maps. A degree-one element has , which is exactly the change between two chain maps related by a chain homotopy. Consequently
This is natural: precomposition and postcomposition by chain maps preserve both degree-zero cycles and degree-zero boundaries.
The dual complex and the sign adjustment. Define the reversed dual chain complex
Here is a functional on , so it belongs to , and . The absence of an additional sign in is intentional.
Interpret finite generation of the free chain complexes as finiteness of their total graded free modules. Then only finitely many degrees occur, and the finite-free evaluation isomorphisms assemble into a graded isomorphism
where , , and this component is zero outside . The dual module construction and evaluation make natural. Finite rank is needed for evaluation to be an isomorphism; finite total support also makes the sums on the tensor side agree with the products on the Hom functor side.
Under , the Hom functor differential has the form
The usual tensor product of chain complexes instead has second coefficient . Set
This is integer-valued for every , including negative , and satisfies . Conjugating the usual tensor differential by leaves the first term unchanged and changes its second coefficient to . Hence , giving the sign conjugation for the tensor-Hom identification
This is an isomorphism of chain complexes, not merely of their homology. If one instead assumes only degreewise finite rank with unbounded grading, the ordinary tensor need not identify with the product defining ; the finite-total convention is essential to this last conclusion.
For central , define the Koszul complex on central ring elements using formal exterior symbols:
with zero terms outside and differential
The terms are free bimodules with the formal symbols commuting with coefficients. Centrality makes a bimodule map, and the terms in cancel in pairs because the commute. This defines the Koszul complex over a possibly noncommutative ring without using an undefined exterior algebra of arbitrary one-sided modules. In particular is a well-defined chain complex of left modules.
A regular sequence on a module means that multiplication by is injective on for each , usually with the additional convention that the final quotient is nonzero. The homology vanishing below uses only the injectivity conditions. For one element, the chain complex is , with zero first homology and zeroth homology .
For the induction let . Adjoining the last generator identifies the new Koszul complex with the mapping cone of multiplication by on . In the convention its differential is ; the identification is . The long exact sequence in homology of this mapping cone gives
The induction hypothesis is for and . Regularity makes injective. Hence the new positive homology is zero and its zeroth homology is . The augmentation to this quotient induces these homology isomorphisms, giving the quasi-isomorphism
where the right side is placed in degree zero. The results used are the long exact sequence in homology of a degreewise short exact sequence of complexes and its mapping cone form, together with the stated induction; no unmentioned acyclicity criterion is needed.
For , is a regular sequence: is a non-zero-divisor in , and multiplication by is injective in , even when is composite. The Koszul resolution of is
With and acting as zero, applying the Hom functor gives the cochain complex
Thus, more generally, the Ext groups between polynomial-ring residue modules are
and vanish in all degrees above two. For the equal-modulus case,
These are -modules through and reduction modulo . If the multiplicative self-Ext functor is desired, the Koszul self-Ext algebra is the exterior algebra on two degree-one generators over . The two contractions on the Koszul resolution lift these classes, square to zero and anticommute, so this description also holds for composite and characteristic two. For coprime , multiplication by is invertible on , so both its kernel and cokernel vanish:
For a finitely generated module over the graded ring , with each of degree one, its Poincare series of a graded module is
This is also its Hilbert series. One usually takes ; allowing an integer grading also permits finitely many negative degrees. Homogeneous generators of degrees give a surjection , where the graded shift is defined by . Consequently every is a finite-dimensional vector space and for all sufficiently negative .
The Hilbert-Serre theorem in the standard grading says
For a nonnegatively graded , the numerator is in . Equivalently, the only possible pole of this rational expression is at , with order at most .
We prove the Hilbert-Serre theorem by induction on the number of variables. For , and is a finite-dimensional graded module; thus is a Laurent polynomial. Suppose and put
The Hilbert basis theorem makes a Noetherian ring, so is a finitely generated module, as is . Both are graded modules killed by , hence finitely generated over .
The graded exact sequence
identifies the kernel and cokernel of multiplication by . Taking the alternating sum of the finite-dimensional degree components yields
so
By induction the right side has denominator , which proves the required denominator . Since has no negative powers when is nonnegatively graded, its Laurent polynomial numerator is an ordinary polynomial in that case.
For , this also implies the usual Hilbert polynomial consequence. Writing and using
gives, for all sufficiently large ,
a polynomial in of degree at most . For , the graded pieces are eventually zero.
For the final request, a free resolution of is an exact sequence
with each a free module. In the graded setting we take finite direct sums of shifts and maps preserving degree. The resolution has length at most if for every . The syzygy modules are the successive kernels which record the relations among generators, then relations among those relations, and so on.
Put , the homogeneous maximal ideal with . Choose a homogeneous -basis of and lift it to . These lifts generate by the graded Nakayama lemma: a bounded-below graded module satisfying must be zero, since a nonzero homogeneous element of least degree could not be a sum of variables times elements of lower degrees. Apply this to the quotient by the submodule generated by the chosen lifts. This gives a surjection inducing an isomorphism modulo .
Its kernel is finitely generated because is a Noetherian ring. Repeat the construction for that kernel, then for each subsequent kernel. We obtain a minimal graded free resolution, meaning
Indeed, at each stage the free cover induces an isomorphism modulo , so its kernel lies in times its source. The sequence is exact by construction, though it may at first appear infinite.
The Koszul complex on is
with basis vectors given degree one, and differential
The hat means omission of that factor. Every pair of terms in cancels with opposite signs, so this is a chain complex. The sequence is a regular sequence: after quotienting by the first variables, the next variable is a non-zero-divisor in the remaining polynomial ring.
The Koszul complex is consequently exact in positive degrees and has , so it is a Koszul resolution of of length . For completeness, one proves this by induction: for one variable it is . Appending constructs the mapping cone of multiplication by on the previous chain complex. Its homology is zero in positive degrees because acts injectively on ; its degree-zero homology is the further quotient. Here a mapping cone combines a chain complex with a shifted copy and adds the given multiplication map to the differential, thereby measuring its kernel and cokernel on homology.
The Tor functor is defined as the degree- homology of for a free resolution of . It can equally be computed as the homology of , using the Koszul resolution of . To see the equality, form the double complex . Taking homology first along leaves , since each is a free module; taking homology first along leaves , since each is free. The finite sums along each total degree identify both with the homology of the total complex. This also explains the symmetry used in computing the Tor functor.
Since for , we have for . On the other hand, all differentials of the minimal graded free resolution become zero after tensoring with , so
Thus for , and the graded Nakayama lemma implies for those . We have proved the required Hilbert syzygy theorem:
where some initial may be zero. The argument supplies finitely generated graded free modules, which is stronger than merely giving an ungraded free resolution.
For the sphere homology calculation use singular homology, homotopy invariance of homology, and the reduced Mayer–Vietoris sequence, not cellular homology. For a point, its chain group for singular homology is in every nonnegative degree, and its boundary operator is multiplication by , hence alternately zero and one in positive degrees. Its homology is therefore in degree zero and zero above. Singular chains of a disjoint union split into the summand chain complexes. Start with , the disjoint union of two points: , all positive groups vanish, and . For , remove the north and south poles to obtain an open cover of . Each member is contractible, while has a deformation retraction to , including the disconnected intersection when . The reduced exact sequence therefore supplies
Also is connected, so its reduced degree-zero group vanishes. Induction gives
The separate calculation avoids conflating its two degree-zero generators.
Choose an orientation of , with , and let be its fundamental class. The mapping degree is the integer determined by . To define the local degree at , set and require to be isolated in . Choose an open neighborhood containing no other point of that fiber. Then defines a map of pairs
The degree- relative homology groups on both sides are , by a manifold chart and excision. The local orientation of a manifold chooses their generators. The induced map multiplies these generators by an integer, denoted . Excision and naturality show independence of the choice of . Differentiability is unnecessary; if is smooth and is invertible, the inverse function theorem gives relative to the orientations. Without isolation in the fiber this pointwise definition need not apply.
For the degree as a sum of local degrees, assume has finite fiber . Disjoint coordinate neighborhoods and excision identify
The absolute fundamental class maps to the tuple of local orientation generators. Under the relative map induced by , the th generator goes to times the generator at , and the resulting map from the direct sum adds these contributions. On the other hand, naturality says that first applying the absolute map and then passing to the local group at gives times that generator. Thus
If the fiber is empty the sum is zero: the map factors through the contractible punctured sphere and has degree zero. If every point of a fiber is isolated, compactness makes that closed fiber finite, so the theorem applies. In particular, a regular value of a smooth map gives the signed count of its inverse images. For , define a mapping degree on the reduced generator : the identity has mapping degree one, the swap of the two points minus one, and either constant map zero. With local orientation signs positive at and negative at , the same sum formula holds. The connected-sphere convention above is the standard positive-dimensional one.
Suppose and that the interiors of and cover . The Mayer–Vietoris theorem gives the long exact sequence in homology
where all four displayed maps except the connecting homomorphism are induced by the relevant inclusion maps.
To prove it, let be the chain complex generated by those singular simplices whose images lie wholly in or wholly in . The sequence
is a short exact sequence of chain complexes. Repeated barycentric subdivision makes every singular simplex small enough to lie in or , and the subdivision operator is chain homotopic to the identity. The inclusion therefore induces an isomorphism on every homology group. The long exact homology sequence of a short exact sequence of chain complexes now gives the displayed sequence. Explicitly, if an -cycle with and , then lies in and represents the connecting class .
Let be a chain map, so
If is a cycle, then , so is a cycle. If is a boundary, then
is a boundary. Hence
is a well-defined induced map on homology.
The maps and are chain homotopic if there are homomorphisms
such that
For a cycle , this gives
which is a boundary. Thus and on homology.
Now consider the proposed mapping cone . Applying its differential twice gives
The diagonal entries vanish because and are chain complexes, and the lower-left entry is
by the chain-map identity. Therefore and is a chain complex.
There is a short exact sequence of chain complexes
where
Its long exact sequence in homology is
To identify the connecting map, represent a class in by a cycle and lift it to . Then
so
At the preceding occurrence the degree is , giving . Hence the sequence is exactly
Finally suppose . Define
A direct calculation gives
These are equal precisely because . Thus is a chain map. Replacing the plus sign in its definition by a minus sign gives its inverse, so and are isomorphic as chain complexes.
The Dold–Kan correspondence says that
is an equivalence from simplicial abelian groups to nonnegatively graded chain complexes of abelian groups. The restriction of the right adjoint to is a quasi-inverse: both the unit and counit are natural isomorphisms.