Let \(y=x+2\varepsilon _i\). Then \(N\ge 3\) forces \(y\neq x\) and
forces \(x\to y\) to be a non-edge, so \(\delta _x\,\nabla \wedge \delta _y=0\).
Differentiating gives \(\nabla \wedge \delta _x\,\nabla \wedge \delta _y=0\). Expanding the two
differentials and keeping only composable pairs leaves the single
word \(e_i(x)\,e_i(x+\varepsilon _i)\), with coefficient \(-1\). That
word is zero. For \(i\neq j\) the same argument with
\(y=x+\varepsilon _i+\varepsilon _j\) leaves the two words
\(e_i(x)\,e_j(x+\varepsilon _i)\) and
\(e_j(x)\,e_i(x+\varepsilon _j)\), and no others. Their sum is zero.
An adjacent transposition is one of those relations, and a
repeated consecutive direction is zero. Bubble sort therefore
reduces every word to a signed sorted word or to zero. The cubical
cochains, with the exterior product of cells, extend the same
first-order calculus: the degree-\(1\) cochains are the edge
coefficients, the coboundary of a function is the forward
difference, and the coboundary is the transpose of the cellular
boundary
\[\partial \sigma _{ij}(x)
=e_i(x)+e_j(x+\varepsilon _i)
-e_i(x+\varepsilon _j)-e_j(x).\]
That boundary squares to zero by cancellation of
codimension-\(2\) faces, a finite count with coefficients in
\(\mathbb Z\). The maximal prolongation therefore maps to this
extension. The map is the identity on functions and on edges, so a
sorted word is sent to the exterior product of those edges, the dual
of one cube. Distinct cubes are independent, so the sorted words
are independent.
The edge generator is
\(e_i(x)=\delta _x\,\nabla \wedge \delta _{x+\varepsilon _i}\), so
\[\nabla \wedge (e_i(x))
=\sum _p e_p(x-\varepsilon _p)\,e_i(x)
+\sum _q e_i(x)\,e_q(x+\varepsilon _i).\]
Reduce by the quadratic relations and evaluate on the square
\(\sigma _{ab}(z)\) with \(a<b\). The coefficient is \(+1\) when the
edge is the face \(e_a(z)\) or the face \(e_b(z+\varepsilon _a)\), and
it is \(-1\) when the edge is \(e_a(z+\varepsilon _b)\) or \(e_b(z)\).
That is \(\langle e_i(x),\partial \sigma _{ab}(z)\rangle \).
Write \(e^i=\sum _x e_i(x)\). Summing the formula for
\(\nabla \wedge (e_i(x))\) and using the anticommutator gives \(\nabla \wedge (e^i)=0\).
Both the prolongation differential and the cubical coboundary are
graded derivations, they agree on functions, and both kill every
\(e^i\). A general form is a sum of terms
\(f\,e^{i_1}\cdots e^{i_r}\) with \(i_1<\cdots <i_r\), so the two
differentials agree in every degree. For \(n=2\) the square formula
is the coordinate formula of Theorem [fdip-008Z]. The cancellation that
proves \(\nabla \wedge ^2=0\) there uses only addition in \(k\).