In this section $\k$ will be any commutative ring. We will recap some of the basic definitions of commutative algebra in a graded setting. By \emph{linear}, \emph{module}, \emph{tensor product}, etc\dots we always mean $\k$-linear, $\k$-module, tensor product over $\k$, etc\dots.
If $M$ is just any module, it always has the trivial grading given by $M_0= M$ and $M_i =0$ for $i \neq0$, i.e. $M$ is \Def{concentrated in degree 0}. In particular $\k$ itself is a graded module concentrated in degree $0$.
Note that not all linear maps can be decomposed into a sum of graded maps, so that $\Hom_{gr}(M, N)\subset\Hom(M, N)$ may be proper for some $M$ and $N$.
The tensor product extends to graded maps. Let $f: A \to B$ and $g:X \to Y$ be two graded maps, then their tensor product $f \tensor g: A \tensor B \to X \tensor Y$ is defined as:
The sign is due to \emph{Koszul's sign convention}: whenever two elements next to each other are swapped (in this case $g$ and $a$) a minus sign appears if both elements are of odd degree. More formally we can define a swap map
$$\tau : A \tensor B \to B \tensor A : a \tensor b \mapsto(-1)^{\deg{a}\deg{b}} b \tensor a. $$
The graded modules together with graded maps of degree $0$ form the category $\grMod{\k}$ of graded modules. From now on we will simply refer to maps instead of graded maps. Together with the tensor product and the ground ring, $(\grMod{\k}, \tensor, \k)$ is a symmetric monoidal category (with the symmetry given by $\tau$). This now dictates the definition of a graded algebra.
A map between two graded algebra will be called a \emph{graded algebra map} if the map is compatible with the multiplication and unit. Such a map is necessarily of degree $0$.
Again these objects and maps form a category, denoted as $\grAlg{\k}$. We will denote multiplication by a dot or juxtaposition, instead of explicitly mentioning $\mu$.
A \emph{differential graded module}$(M, d)$ is a graded module $M$ together with a map $d: M \to M$ of degree $-1$, called a \emph{differential}, such that $dd =0$. A map $f: M \to N$ is a \emph{chain map} if it is compatible with the differential, i.e. $d_N f = f d_M$.
A differential graded module $(M, d)$ with $M_i =0$ for all $i < 0$ is a \emph{chain complex}. A differential graded module $(M, d)$ with $M_i =0$ for all $i > 0$ is a \emph{cochain complex}. It will be convenient to define $M^i = M_{-i}$ in the latter case, so that $M =\bigoplus_{n \in\N} M^i$ and $d$ is a map of \emph{upper degree}$+1$.
Let $(M, d_M)$ and $(N, d_N)$ be two differential graded modules, their tensor product $M \tensor N$ is a differential graded module with the differential given by:
Finally we come to the definition of a differential graded algebra. This will be a graded algebra with a differential. Of course we want this to be compatible with the algebra structure, or stated differently: we want $\mu$ and $\eta$ to be chain maps.
A \emph{differential graded algebra (dga)} is a graded algebra $A$ together with an differential $d$ such that in addition the \emph{Leibniz rule} holds:
$$ d(x y)= d(x) y +(-1)^{\deg{x}} x d(y)\quad\text{ for all } x, y \in A. $$
It is not hard to see that the definition of a dga precisely defines the monoidal objects in the category of differential graded modules. The category of dga's will be denoted by $\DGA_\k$, the category of commutative dga's (cdga's) will be denoted by $\CDGA_\k$. If no confusion can arise, the ground ring $\k$ will be suppressed in this notation.
Let $M$ be a DGA, just as before $M$ is called a \emph{chain algebras} if $M_i =0$ for $i < 0$. Similarly if $M^i =0$ for all $i < 0$, then $M$ is a \emph{cochain algebra}.
Note that all the above definitions (i.e. the definitions of graded objects, algebras, differentials) are orthogonal, meaning that any combination makes sense. However, keep in mind that we require the structures to be compatible. For example, an algebra with differential should satisfy the Leibniz rule (i.e. the differential should be a map of algebras).
Whenever we have a differential module we have $d \circ d =0$, or put in other words: the image of $d$ is a submodule of the kernel of $d$. The quotient of the two graded modules will be of interest. Note that the following definition depends on the differential $d$, however it is often left out from the notation.
\Definition{homology}{
Given a differential module $(M, d)$ we define the \Def{homology} of $M$ as:
$$ H(M)=\ker(d)/\im(d). $$
}
If the module has more structure as discussed above, homology will preserve this.
\Remark{homology-preserves-structure}{
Let $M$ be a differential module. Then homology preserves the following.
\begin{itemize}
\item If $M$ is graded, so is $H(M)$, where the grading is given by
Of course the converses need not be true. For example the singular cochain complex associated to a space is a graded differential algebra which is \emph{not} commutative. However, by taking homology one gets a commutative algebra.
Note that taking homology of a differential graded module (or algebra) is functorial. Whenever a map $f: M \to N$ of differential graded modules (or algebras) induces an isomorphism on homology, we say that $f$ is a \emph{quasi isomorphism}.
Let $M$ be a graded module. We say that $M$ is $n$-reduced if $M_i =0$ for all $i \leq n$. Similarly we say that a graded \todo{augmented} algebra $A$ is $n$-reduced if $A_i =0$ for all $1\leq i \leq n$ and $\eta: \k\tot{\iso} A_0$.
Let $(M, d)$ be a chain complex (or algebra). We say that $M$ is $n$-connected if $H(M)$ is $n$-reduced as graded module (resp. \todo{augmented} algebra). Similarly for cochain complexes.
We will give some classical known results of algebraic topology or homological algebra. Proofs of these theorems can be found in many places such as \cite{rotman, weibel}.
The first statement generalizes to a theorem where $A$ is a chain complex itself. When choosing to work over a field the torsion will vanish and the exactness will induce an isomorphism. This is (one formulation of) the Künneth theorem.
\begin{theorem}
(Künneth) Assume that $\k$ is a field and let $C$ and $D$ be (co)chain complexes, then there is a natural isomorphism (a linear graded map of degree $0$):