Theorem. Harmonic cochains realize the Betti numbers [fdip-0090]

Let the square torus, its coboundary \(d\), and its evaluation pairing be those of the Betti count. There is no cell below a vertex or above a face, so the coboundary of a face function is zero and there is no adjoint into a vertex from a lower cell. Write \(d^\dagger \) for the adjoint of each coboundary in the evaluation pairing: \(\langle d\gamma ,\beta \rangle =\langle \gamma ,d^\dagger \beta \rangle \). On edge fields this is the counting adjoint. The pairing is symmetric, so \(d\) and \(d^\dagger \) are adjoints of one another, and \(d+d^\dagger \) is self-adjoint. The adjoint of the zero map is zero, and the adjoint reverses composition, so \(d\circ d=0\) gives \(d^\dagger \circ d^\dagger =0\).

On a cochain \(\gamma \) of one degree, define \(\Delta \gamma =d(d^\dagger \gamma )+d^\dagger (d\gamma )\), with either summand omitted when its map has no cells to land on. Call \(\Delta \) the Hodge Laplacian, and call \(\gamma \) harmonic when \(\Delta \gamma =0\). Then \(\Delta =(d+d^\dagger )\circ (d+d^\dagger )\) on each degree. On vertex functions, and with every edge weight equal to \(1\), \(\Delta \) is the unit-weight case of the weighted graph Laplacian. The harmonic cochains in each degree realize the cohomology of that degree, so their dimensions are the Betti numbers \((1,2,1)\). The kernel of \(d+d^\dagger \) therefore has dimension \(4\). A vertex function is the adjoint of an edge field if and only if the sum of its values is zero.

The constant vertex functions are harmonic. The two winding edge fields of the Betti count are closed, and each vertex is the head of one edge and the source of one edge in the direction of the winding, with equal values, so the counting-adjoint formula gives zero. The sum of the face values of every coboundary is zero, so the constant face function is orthogonal to every coboundary and its adjoint vanishes. The 4 cochains lie in the three degrees, and the two edge fields are not scalar multiples of one another, so they are linearly independent. The kernel has dimension \(4\), and therefore they form a basis.