Let \(\mathrm {d}^{\dagger }_{0}\) be the counting adjoint of Theorem [fdip-00OL],
and let \((W\alpha )(c)=w_c\alpha (c)\). Then
\(\mathrm {d}^{\dagger }=W^{-1}\mathrm {d}^{\dagger }_{0} W\): the weight of each cube is a
unit, and the counting identity gives
\[\langle \nabla \wedge \alpha ,\beta \rangle
=\langle \alpha ,W^{-1}\mathrm {d}^{\dagger }_{0} W\beta \rangle .\]
If a cochain is orthogonal to every cochain, its weighted square
vanishes. Each term \(w_c\alpha (c)^2\) is nonnegative in an
ordered field, so every coefficient vanishes and the adjoint is
unique.
Theorem [fdip-00OK] gives \(\nabla \wedge ^2=0\). Adjoints reverse composition, so
\((\mathrm {d}^{\dagger })^2=0\). The cross terms in \(\mathbf {D}^2\) are
\(\nabla \wedge \mathrm {d}^{\dagger }+\mathrm {d}^{\dagger } \nabla \wedge \). The same expansion gives
\[\langle -\nabla ^{2}\alpha ,\alpha \rangle
=\langle \nabla \wedge \alpha ,\nabla \wedge \alpha \rangle
+\langle \mathrm {d}^{\dagger }\alpha ,\mathrm {d}^{\dagger }\alpha \rangle .\]
In an ordered field the right-hand side vanishes only when both
cochains vanish, so \(\nabla ^{2}\alpha =0\) exactly when \(\nabla \wedge \alpha =0\)
and \(\mathrm {d}^{\dagger }\alpha =0\). If \(\mathrm {d}^{\dagger } \nabla \wedge \beta =0\), the same
identity gives \(\langle \nabla \wedge \beta ,\nabla \wedge \beta \rangle =0\), hence
\(\nabla \wedge \beta =0\). The image of \(\nabla \wedge \) therefore meets the kernel of
\(\mathrm {d}^{\dagger }\) only at zero.
In the cube basis the counting adjoint is the transpose, so
\(\mathrm {d}^{\dagger }_{0}\) has the same rank as \(\nabla \wedge \). Conjugation by the
invertible map \(W\) keeps that rank. In one degree, the kernel of
\(\mathrm {d}^{\dagger }\) then has
dimension equal to the dimension of the cochains minus the rank
of \(\nabla \wedge \). The image of \(\nabla \wedge \) and that kernel therefore span the
degree. A closed cochain splits as \(\nabla \wedge \beta +\rho \) with
\(\mathrm {d}^{\dagger }\rho =0\). Applying \(\nabla \wedge \) gives \(\nabla \wedge \rho =0\), so \(\rho \)
is harmonic. A harmonic coboundary vanishes, and the class map
is an isomorphism. Lemma [fdip-00OQ] gives both spaces the rank
\(2^n\).
For the counting weights \(w_c=1\), let \(\omega _I\) be the
cochain with value \(1\) on every cube of direction set \(I\) and
value \(0\) on every other cube. The two faces obtained by adding
one direction carry the same value, so the coboundary vanishes.
A cube of one lower degree meets two cubes of direction set
\(I\), and those two faces enter the boundary with opposite
signs, so the counting adjoint vanishes. Let \(Z_I\) be the chain
which sums every cube of direction set \(I\). The pairing of
\(\omega _I\) with \(Z_I\) equals \(N^n\), which is nonzero in an
ordered field, while a coboundary pairs to \(0\) with \(Z_I\).
The classes are linearly independent. There are \(2^n\) subsets,
so these harmonic cochains are a basis of the kernel.