There is a general way to construct contravariant functors from $\sSet$ whenever we have some simplicial object. In our case we have the simplicial cdga $\Apl$ (which is nothing more than a functor $\opCat{\DELTA}\to\CDGA$) and we want to extend to a contravariant functor $\sSet\to\CDGA_\k$. This will be done via \Def{Kan extensions}.
A simplicial map $X \to Y$ induces a map of the diagrams of which we take colimits. Applying $F$ on these diagrams, make it clear that $F_!$ is functorial. Secondly we see readily that $F^\ast$ is functorial. By using the definition of colimit and the Yoneda lemma (Y) we can prove that $F_!$ is left adjoint to $F^\ast$:
In our case we take the opposite category, so the definition of $A$ is in terms of a limit instead of colimit. This allows us to give a nicer description:
where the addition, multiplication and differential are defined pointwise. Conclude that we have the following contravariant functors (which form an adjoint pair):
\begin{align*}
A(X) &= \Hom_\sSet(X, \Apl) & X \in\sSet\\
K(C)_n &= \Hom_{\CDGA_\k}(C, \Apl_n) & C \in\CDGA_\k.
Another way to model the $n$-simplex is by the singular cochain complex associated to the topological $n$-simplices. Define the following (non-commutative) dga's \todo{Choose: normalized or not?}:
The inclusion maps $d^i : \Delta^n \to\Delta^{n+1}$ and the maps $s^i: \Delta^n \to\Delta^{n-1}$ induce face and degeneracy maps on the dga's $C_n$, turning $C$ into a simplicial dga. Again we can extend this to functors by Kan extensions
where the left adjoint is precisely the functor $C^\ast$ as noted in \cite{felix}. We will relate $\Apl$ and $C$ in order to obtain a natural quasi isomorphism $A(X)\we C^\ast(X)$ for every $X \in\sSet$. Furthermore this map preserves multiplication on the homology algebras.
In this section we will prove that the singular cochain complex is quasi isomorphic to the cochain complex of polynomial forms. In order to do so we will define an integration map $\int_n : \Apl_n^n \to\k$, which will induce a map $\oint_n : \Apl_n \to C_n$. For the simplices $\Delta[n]$ we already showed the cohomology agrees by the acyclicity of $\Apl_n = A(\Delta[n])$ (\LemmaRef{apl-acyclic}).
For any $v \in\Apl_n^n$, we can write $v$ as $v = p(x_1, \dots, x_n)dx_1\dots dx_n$ where $p$ is a polynomial in $n$ variables. If $\Q\subset\k\subset\mathbb{C}$ we can integrate geometrically on the $n$-simplex:
which defines a well-defined linear map $\int_n : \Apl_n^n \to\k$. For general fields of characteristic zero we can define it formally on the generators of $\Apl_n^n$ (as vector space):
Let $x$ be a $k$-simplex of $\Delta[n]$, i.e. $x: \Delta[k]\to\Delta[n]$. Then $x$ induces a linear map $x^\ast: \Apl_n \to\Apl_k$. Let $v \in\Apl_n^k$, then $x^\ast(v)\in\Apl_k^k$, which we can integrate. Now define
Note that $\oint_n(v): \Delta[n]\to\k$ is just a map, we can extend this linearly to chains on $\Delta[n]$ to obtain $\oint_n(v): \Z\Delta[n]\to\k$, in other words $\oint_n(v)\in C_n$. By linearity of $\int_n$ and $x^\ast$, we have a linear map $\oint_n: \Apl_n \to C_n$.
Next we will show that $\oint=\{\oint_n\}_n$ is a simplicial map and that each $\oint_n$ is a chain map, in other words $\oint : \Apl\to C_n$ is a simplicial chain map (of complexes). Let $\sigma: \Delta[n]\to\Delta[k]$, and $\sigma^\ast: \Apl_k \to\Apl_n$ its induced map. We need to prove $\oint_n \circ\sigma^\ast=\sigma^\ast\circ\oint_k$. We show this as follows:
For it to be a chain map, we need to prove $d \circ\oint_n =\oint_n \circ d$. This is precisely the same calculation as \emph{Stokes' theorem}. \todo{prove this?}
We now proved that $\oint$ is indeed a simplicial chain map. Note that $\oint_n$ need not to preserve multiplication, so it fails to be a map of cochain algebras. However $\oint(1)=1$ and so the induced map on homology sends the class of $1$ in $H(\Apl_n)=\k\cdot[1]$ to the class of $1$ in $H(C_n)=\k\cdot[1]$. We have proven the following lemma.
The map $\oint_n: \Apl_n \to C_n$ is a quasi isomorphism for all $n$.
}
Recall that we can identify $\Apl_n$ with $A(\Delta[n])$ and similarly for the singular cochain complex.
\Corollary{apl-c-quasi-iso}{
The induced map $\oint: A(\Delta[n])\to C^\ast(\Delta[n])$ is a quasi isomorphism for all $n$.
}
We will now prove that the map $\oint: A(X)\to C^\ast(X)$ is a quasi isomorphism for any space $X$. We will do this in several steps, the base case of simplices is already proven. With induction we will prove it for spaces with finitely many simplices. At last we will use a limit argument for the general case.
\Theorem{apl-c-quasi-iso}{
The induced map $\oint: A(X)\to C^\ast(X)$ is a natural quasi isomorphism.
}
\Proof{
Assume we have a simplicial set $X$ such that $\oint: A(X)\to C^\ast(X)$ is a quasi isomorphism. We can add a simplex by considering pushouts of the following form:
Note that $A(\Delta[n])\we C^\ast(\Delta[n])$ by \CorollaryRef{apl-c-quasi-iso}, $A(X)\we C^\ast(X)$ by assumption and $A(\del\Delta[n])\we C^\ast(\del\Delta[n])$ by induction. Secondly note that both $A$ and $C^\ast$ send injective maps to surjective maps, so we get fibrations on the right side of the diagram. Finally note that the front square and back square are pullbacks, by adjointness of $A$ and $C^\ast$. Apply the cube lemma (\LemmaRef{cube-lemma}, \cite[Lemma 5.2.6]{hovey}) to conclude that also $A(X')\we C^\ast(X')$.
This proves $A(X)\we C^\ast(X)$ for any simplicial set with finitely many non-degenerate simplices. We can extend this to simplicial sets of finite dimension by attaching many simplices at once. For this observe that both $A$ and $C^\ast$ send coproducts to products and that cohomology commutes with products:
Finally we can write any simplicial set $X$ as a colimit of finite dimensional ones as:
$$ sk_0 X \cof sk_1 X \cof sk_2\cof\dots\colim sk_n X = X, $$
where $sk_i X$ has no non-degenerate simplices in dimensions $n > i$. By the above $\oint$ gives a quasi isomorphism on all the terms $sk_i X$. So we are in the following situation:
We will define long exact sequences for both sequences in the following way. As the following construction is quite general, consider arbitrary cochain algebras $B_i$ as follows:
Define a map $t: \prod_i B_i \to\prod_i B_i$ defined by $t(x_0, x_1, \dots)=(x_0+ b_0(x_1), x_1+ b_1(x_2), \dots)$. Note that $t$ is surjective and that $B \iso\ker(t)$. So we get the following natural short exact sequence and its associated natural long exact sequence in homology:
$$0\to B \tot{i}\prod_i B_i \tot{t}\prod_i B_i \to0, $$
In our case we get two such long exact sequences with $\oint$ connecting them. As cohomology commutes with products we get isomorphisms on the left and right in the following diagram.
So by the five lemma we can conclude that the middle morphism is an isomorphism as well, proving the isomorphism $H^n(A(X))\tot{\iso} H^n(C^\ast(X))$ for all $n$. This proves the statement for all $X$.