[guided]The whole argument that follows rests on a single algebraic identity: $I_\bullet$ is a chain map from the de Rham complex $(\Omega^\bullet(M), d)$ to the smooth singular cochain complex $(C^\bullet_{\mathrm{sm}}(M;\mathbb{R}), \delta)$. Once we have this, well-definedness on cohomology is purely formal — exact maps to exact, closed maps to closed. So we first prove the chain-map identity.
Let $\partial: C_{k+1}^{\mathrm{sm}}(M;\mathbb{R}) \to C_k^{\mathrm{sm}}(M;\mathbb{R})$ denote the singular boundary, defined on a smooth $(k+1)$-simplex $\sigma: \Delta^{k+1} \to M$ by $\partial \sigma = \sum_{i=0}^{k+1} (-1)^i \sigma \circ F_i$, where $F_i: \Delta^k \to \Delta^{k+1}$ is the $i$-th face inclusion (the affine map identifying $\Delta^k$ with the face opposite the $i$-th vertex of $\Delta^{k+1}$). Extend $\partial$ $\mathbb{R}$-linearly. The dual coboundary $\delta: C^k_{\mathrm{sm}} \to C^{k+1}_{\mathrm{sm}}$ is defined by $(\delta \varphi)(\tau) = \varphi(\partial \tau)$.
We want to show: for every $\omega \in \Omega^k(M)$ and every smooth $(k+1)$-simplex $\tau$,
\begin{align*}
(\delta\, I_k(\omega))(\tau) = I_{k+1}(d\omega)(\tau).
\end{align*}
Why is this true? It is exactly [Stokes' theorem](/theorems/1530) on the standard simplex $\Delta^{k+1}$, applied to the pulled-back form $\tau^*\omega$.
Fix a smooth simplex $\tau: \Delta^{k+1} \to M$. The form $\tau^*\omega$ is a smooth $k$-form on $\Delta^{k+1}$, and $\Delta^{k+1}$ is a smooth $(k+1)$-manifold with corners. [Stokes' Theorem](/theorems/1530) gives
\begin{align*}
\int_{\Delta^{k+1}} d(\tau^*\omega)\, d\mathcal{L}^{k+1} = \int_{\partial \Delta^{k+1}} \tau^*\omega \, d\mathcal{H}^k.
\end{align*}
Two facts simplify each side.
First, *naturality of the [exterior derivative](/theorems/1525)*: for any smooth map $\tau$ and any smooth form $\omega$, one has $d(\tau^*\omega) = \tau^*(d\omega)$ (this is a coordinate-free identity, verified locally from the chain rule). So the left-hand integrand is $\tau^*(d\omega)$, and the left-hand side becomes $\int_{\Delta^{k+1}} \tau^*(d\omega)\, d\mathcal{L}^{k+1} = I_{k+1}(d\omega)(\tau)$ by definition of $I_{k+1}$.
Second, the boundary $\partial \Delta^{k+1}$ decomposes as the union of its $(k+2)$ codimension-one faces $F_i(\Delta^k)$, $i = 0, \dots, k+1$. The induced boundary orientation on the $i$-th face differs from the standard orientation on $\Delta^k$ (transported via $F_i$) by the sign $(-1)^i$. Hence
\begin{align*}
\int_{\partial \Delta^{k+1}} \tau^*\omega \, d\mathcal{H}^k = \sum_{i=0}^{k+1} (-1)^i \int_{\Delta^k} F_i^*(\tau^*\omega)\, d\mathcal{L}^k = \sum_{i=0}^{k+1} (-1)^i \int_{\Delta^k} (\tau \circ F_i)^*\omega \, d\mathcal{L}^k,
\end{align*}
using $F_i^* \tau^* = (\tau \circ F_i)^*$ (contravariance of pullback). By definition of $I_k$ and $\partial\tau$, this last sum is
\begin{align*}
\sum_{i=0}^{k+1} (-1)^i I_k(\omega)(\tau \circ F_i) = I_k(\omega)(\partial \tau) = (\delta\, I_k(\omega))(\tau).
\end{align*}
Combining the two sides of Stokes gives $(\delta\, I_k(\omega))(\tau) = I_{k+1}(d\omega)(\tau)$. Since $\tau$ was arbitrary, $\delta \, I_k(\omega) = I_{k+1}(d\omega)$.
This is the *[cochain Stokes identity](/theorems/3594)*. The signs in the singular boundary $\partial$ were rigged precisely to make this hold — that is the conceptual content of the alternating-sum definition.[/guided]