Week 2 — The Lattice as a Cell Complex: Chains, Cochains, and Duality
This is the week the course stands on. Every duality we perform, every ground-state degeneracy we count, every anomaly we match, is an application of the finite linear algebra set up here. There is no point-set topology in it — only oriented cells, two matrices and obeying , and the bookkeeping that relates a lattice to its dual. We will compute the homology of a torus by hand, matrices displayed; prove the Hodge decomposition in eight lines; and meet the single intersection number whose operator avatar, in Semester II, is the ground-state degeneracy of topological matter. Learn it now; spend it all semester.
How to use this chapter
- In class: in the first lecture, orient the plaquette of Figure 1, prove and (§§2–3.2), derive and by one summation by parts (§3.3), and compute of the torus from the displayed matrices and their Smith normal forms, then on the minimal complex (§§4.2–4.3). In the second, draw both lattices (Figure 2), verify on the four links of one site (§5.2), state Poincaré duality with the defect table (§5.3), prove the Hodge decomposition with the harmonic 1-cochains of (§6), and end with Poisson resummation and the four-move recipe (§7). Problems 1–3 are the classroom core.
- For self-study: the intersection pairing and the clock–shift representation (§8), the cup product (§9) and the fine print (§10). The one calculation to do alone is the eight-term Leibniz check of §9 with the two-term rule, followed by its version one degree up in Problem 5⋆(a).
- Instructor checkpoint: two places. First, is the adjoint of with no extra sign, so is inflow minus outflow and ; a student who takes to be the physical divergence gets in and carries the wrong sign into every duality. Second, the cup product of two 1-cochains has two terms, ; with the first term alone, Leibniz fails by on every plaquette and comes out instead of .
0. Reading
Primary: these notes are self-contained. Second pass: the survival kit appendix, a lookup sheet distilled from this week.
Secondary:
- Nakahara, Geometry, Topology and Physics, 2nd ed., §§3.1–3.4, 6.1 — the continuum (manifold) story behind the lattice one, for students who want it.
- Gorantla, Lam, Seiberg, Shao, arXiv:2103.01257, appendices — the modern physics conventions for lattice cochains; every sign used in this course is fixed in conventions, which takes GLSS as its default reference.
Optional research reading: Chen & Tata, arXiv:2106.05274 — higher cup products on hypercubic lattices (used in Semester II Weeks 6–7).
Proof-status labels as in Week 1.
1. Why we need this
Week 1 left two debts. We said a vortex “lives on a plaquette” and its charge is “the curl of θ,” and we said Poisson resummation trades a field for a “dual-lattice” object. Both statements need a language in which field, curl, plaquette, and dual lattice are precise finite objects that a computation can grab. That language — the cell complex and its cochains — costs one lecture to build and pays interest every week for two semesters:
- Week 3: the vorticity is , an integer 2-cochain; the duality is Poisson resummation of a 1-cochain.
- Weeks 8–11: the monopole is , an integer 3-cochain; its dual-lattice geometry (point vs worldline) decides the phase diagram.
- Semester II: ground-state degeneracies are ; anomalies are cup products; higher gauging is a sum over cocycles on a submanifold.
The pattern to hold on to: a -form field is a function on -cells; the exterior derivative is a signed sum over a boundary; topology is the failure of “closed ⟹ exact”; duality is the dictionary between a lattice and its dual. All four are matrices and index bookkeeping. None requires a limit.
2. Cells, chains, and the boundary operator
2.1 The cell complex and orientations
A hypercubic lattice is a cell complex: it consists of
- 0-cells (sites), 1-cells (links), 2-cells (plaquettes), … , -cells (elementary -cubes).
Every cell carries a fixed orientation, chosen once and used forever: links point along ; the -cell spanned by directions is oriented by that ordered tuple (for a plaquette in the 12-plane: counterclockwise when points right and up). On the torus we identify , making the complex finite.
Figure 1. The oriented plaquette and its boundary. Signs record whether a boundary link’s own orientation agrees (+) or disagrees (−) with the counterclockwise traversal.
2.2 Chains and
A -chain is a formal integer combination of oriented -cells, ; they form the free abelian group . The boundary operator assigns to each cell its oriented boundary:
(Figure 1), and in general with signs dictated by the ordered-tuple orientation.
The one identity everything rests on: . Check it on Figure 1, symbol by symbol [Proved for the plaquette; the general case is the same cancellation]:
Each corner appears exactly twice, once with each sign. “The boundary of a boundary is empty.”
3. Cochains and the coboundary operator
3.1 Cochains are fields
A -cochain with coefficients in an abelian group is a -valued function on oriented -cells: , with under orientation reversal. This is exactly what a physicist means by a -form field on the lattice:
| cochain degree | field | examples in this course |
|---|---|---|
| 0 (sites) | scalar | (XY), heights , dual photon |
| 1 (links) | gauge field | , the Villain integer (Week 3) |
| 2 (plaquettes) | field strength / 2-form | , vorticity, backgrounds |
| 3 (cubes) | 3-form | monopole density in gauge theory |
Coefficients used: , , , . The pairing of a cochain with a chain,
is the lattice version of .
3.2 The coboundary : Stokes as a definition
Define by declaring the discrete Stokes theorem to hold identically:
Unpacked: on a -cell is the signed sum of over that cell’s boundary. Concretely,
and on 2-cochains, the signed sum over a cube’s six faces (divergence of a 2-form). Because ,
“Curl of a gradient vanishes”; “divergence of a curl vanishes”; the Bianchi identity — all of them are this one line, and on the lattice they are exact algebra, not smooth-function theorems.
Physical picture. The field strength of any lattice gauge field is automatically closed, — Bianchi with no equations of motion invoked. So where do magnetic monopoles come from? From compactness: when the gauge field is an angle, the honest field strength is with an integer 2-cochain recording branch choices, and need not vanish. The monopole density is literally -of-a-multivalued-object — zero for a globally defined field, quantized and localized when the field is a chart. Weeks 8–11 are this sentence, unpacked with couplings attached.
3.3 The inner product and the codifferential
Give the inner product . The codifferential is the adjoint of :
Note that is the adjoint of with no further sign (conventions §2), so its form on a 1-cochain follows from one summation by parts. Writing for the value of on the link from to , and shifting in the first term (the torus has no boundary), we obtain
so that
the inflow minus the outflow at . The physical divergence is therefore . follows by adjointness. The lattice Laplacian is
where positivity follows from . On 0-cochains (there are no -cells), and the formula for applied to the 1-cochain gives
the negative of the lattice second difference (the 5-point stencil in and the 7-point one in , with the sign that makes it non-negative), as in conventions §2. Its kernel, the harmonic cochains, will turn out to be exactly the topology (§6).
4. Homology and cohomology, computed by hand
4.1 Definitions
- is closed if ; exact if . Exact ⟹ closed (since ).
- Cohomology: — closed modulo exact.
- Homology: — cycles modulo boundaries.
measures global field configurations: closed fields that are not the coboundary of anything — invisible to all local data, detectable only by integrating around non-contractible cycles.
Physical picture. In gauge-theory words: exact = pure gauge (), closed = flat (), and = flat-but-not-pure-gauge = the physically distinct Wilson-line holonomies around non-contractible loops. On a torus these are the moduli that label degenerate ground states of a topological phase (Semester II Week 2). Cohomology is not an abstraction bolted onto the physics; it is the count of vacua, and this week’s central skill is computing it.
4.2 The 2×2 torus, matrices displayed [Computed.]
We compute on the smallest nontrivial lattice: the periodic square lattice. Cells: 4 sites , 8 links (4 -links , 4 -links ), 4 plaquettes , indices mod 2.
The matrix (8 columns = links, 4 rows = sites ), from , :
Each column sums to zero (every link has one head, one tail), so ; and the three columns are visibly independent, so
— one connected component, as it must be. ( = all site chains with total coefficient zero.)
The matrix (4 columns = plaquettes, 8 rows = links), from :
Kernel of : a combination has zero boundary iff (row ) , (row ) , (row ) , (row ) — i.e. all equal. So
The generator of is the whole surface — the “volume cycle” of the torus.
, the interesting one:
Explicit generators of the kernel: the two winding loops
plus three plaquette boundaries . Modding out the boundaries leaves exactly and :
Torsion, systematically. The complete algorithm is the Smith normal form: any integer matrix can be brought to with (the invariant factors) by invertible integer row/column operations, and
with the number of -cells and .
The reduction, performed. Run it on above; integer row/column operations only. Use column and its in row as the first pivot: clear that row’s other entry by the column operation , then clear column ‘s remaining entries by row operations (, , ). The first row and column are now . Repeat with the of the reduced column (row ), then with the reduced column (its surviving , e.g. in the modified row). After three pivots — each with pivot entry , so each invariant factor is 1 — the fourth column has been emptied by the relation :
Feed the formula: , confirming the constructive computation. The algorithm is fully mechanical — this is the sense in which “computing the topology” is something one can hand to a computer algebra system, and the invariant factors are where any torsion would have announced itself.
Physical picture. What did the matrices just compute? is the space of conserved currents on this lattice; is the subspace realizable as local eddies (plaquette circulations). The quotient — two surviving generators — says: on a torus there are exactly two ways for current to flow that no arrangement of local eddies can produce, the two global circulations. A superconducting loop’s persistent current modes, the winding sectors of Week 3, the flux sectors of a gauge theory on : all are this quotient, computed once here with integer row reduction. When a topological-order paper says “the ground-state degeneracy is ,” this small linear algebra is the entire geometric content.
For our matrices all invariant factors equal 1, so no torsion appears — as befits the torus. A space where torsion does appear is the Klein bottle, : Problem 4 has you produce the invariant factor 2 by the same algorithm. Torsion is not exotica: gauge theories live on exactly this kind of arithmetic.
4.3 The general torus, the fast way [Computed.]
For at any size, use the minimal cell structure: one -cube with opposite faces identified. It has exactly -cells (one per choice of directions), and every boundary map vanishes, because under the identification each face of a cell occurs twice in its boundary, once from each side of the cube, with opposite signs. For the torus this is visible at once: each link has its head and its tail at the single site, , and the bottom and top edges of the plaquette are the same link, as are its left and right edges, so . With and , homology equals the chains and cohomology equals the cochains:
| 1 | 2 | 1 | — | — | |
| 1 | 3 | 3 | 1 | — | |
| 1 | 4 | 6 | 4 | 1 |
With : , the counting that becomes for gauge theory on a genus- surface (Semester II Week 2), and , the space of ‘t Hooft-flux backgrounds in Semester II Week 6.
Why the fine answer and the minimal answer agree [Sketched.]: homology is a homotopy invariant — refining a cell decomposition does not change it. The mechanism, without the machinery: subdividing a cell adds equal numbers of new generators and new relations (each new face is killed by a new boundary), so kernels-mod-images are unchanged; the formal proof organizes this bookkeeping into chain homotopies, which we state and do not need [named gap; Nakahara §3.3]. Operationally: compute on the coarsest complex available; put fields on the finest.
5. The dual lattice
5.1 Construction and the degree flip
The dual lattice places a site at the center of each -cell of ; in general,
Figure 2 draws the two lattices in .
Figure 2. Direct and dual lattices in . Every object of degree has a shadow of degree .
In : sites↔cubes, links↔plaquettes, plaquettes↔links, cubes↔sites. In : plaquettes↔plaquettes — degree 2 is self-dual, the structural reason electric–magnetic duality is special to four dimensions (Week 8).
5.2 on 1-cochains, verified in [Computed.]
The Hodge map transports the value of a cochain on a -cell to the dual -cell, with the sign of a shuffle. Write a -cell as , with its base site and its directions, for the complementary directions and . Following conventions §2, the dual of is the -cell of based at and spanned by in increasing order, and
where is the sign of the permutation that sorts the sequence ; the same rule maps back to . With this sign, exactly as for differential forms in the continuum,
identities that conventions §2 records after checking them cell by cell on the lattice for every in . In on 1-cochains the sign is , so , and we now verify this case by hand.
In the rule rotates a link by . The dual of , with , is the dual link from to carrying ; the dual of , with , is the dual link from to carrying , which is the same as the link from to carrying . The dual of the site (, ) is the dual plaquette based at , oriented counter-clockwise, and its four edges are the duals of the four links at . Reading off the positions, the right and top edges of are the duals of the outgoing links and , and the left and bottom edges are the duals of the incoming links and . With the boundary signs of Figure 1,
where the last step is the in-minus-out form of derived in §3.3. That is, the rotation sends the dual links of the two outgoing links along the counter-clockwise boundary of and those of the two incoming links against it, so that . Mapping back with , where , gives , the case , of the general formula. One picture is worth the index chase: rotating a vector field by 90° turns its divergence into a curl, and the lattice version of that freshman fact is the entire content of here.
5.3 Poincaré duality
A closed -cochain on is a -cycle on (transport by ; closedness becomes cycle-ness by §5.2). Check against §4: ✓. The physical payoff is the defect-geometry flip: a defect defined by a -cochain equation lives on a -cycle of the dual lattice:
| object | cochain eq. | |||
|---|---|---|---|---|
| vortex of a compact scalar | point | line | sheet | |
| monopole of a compact gauge field | — | point (instanton) | worldline |
The boxed row of Block C: the same equation , read in vs , gives Polyakov’s instanton plasma vs the dual superconductor’s loop condensate. Geometry, not dynamics, makes them different problems.
6. Hodge theory: harmonic = topological [Proved.]
Theorem (discrete Hodge decomposition). On a finite complex, with the inner product of §3.3,
orthogonal direct sum, and ; in particular .
Proof. (i) Orthogonality: by and adjointness. (ii) Harmonic ⟺ closed and co-closed: , so iff both vanish. (iii) The complement: ; likewise . So , giving the decomposition (finite dimensions: orthogonal complement always splits). (iv) Harmonics compute cohomology: let be closed and decompose . Then , so and the coexact piece vanishes: every closed is (exact) + (harmonic), and the harmonic part is unique in its class ( with both harmonic ⟹ ). Thus .
Worked: the harmonic 1-cochains of [Computed.] Take = value 1 on every -link, 0 on every -link. Then on every plaquette (Figure 1’s signs), and at every site (one incoming, one outgoing -link). Harmonic. Likewise . These two span : ✓ — the two “constant winds” around the torus, the zero modes of the Laplacian, the flat connections. Topology as the kernel of a matrix you can diagonalize.
Physical picture. Hodge is the statement that every field configuration splits into gauge junk + local physics + topology: (pure gauge / gradient part) (the part sourced by local currents) (the finitely many global modes no local operation reaches). In Week 3 exactly this split separates spin waves (-type fluctuations) from winding sectors () and lets the vortices be counted cleanly; the zero mode that enforces charge neutrality in the Coulomb gas is the harmonic constant on the dual lattice. When a numerical collaborator says “we fix the zero modes,” this decomposition is what they are fixing.
7. Poisson resummation on cochains: the duality engine
7.1 The identity, proved [Model proof.]
Claim: for Schwartz (rapid decay suffices),
Proof. The Dirac comb is periodic with period 1, so it has a Fourier series with
(exactly one delta, at , sits in the fundamental domain). Thus as tempered distributions, and integrating against both sides gives the claim; Schwartz decay justifies the interchanges [named gap: distributional convergence, standard].
The Gaussian case was derived independently in Week 1 §6 by the method of images — same identity, mechanism attached.
7.2 The recipe (memorize)
Every abelian duality in this course is the following four moves, applied to an integer cochain (the engine fires in Week 3, Week 8, and — made exact — in Semester II Week 12):
- Villain form: write the compact theory with an explicit integer -cochain .
- Poisson-resum (one comb per cell): a dual integer variable appears, one per dual -cell.
- Integrate the original field: it now appears linearly; integrating it out imposes a constraint (current conservation, ) on the dual variable.
- Solve the constraint exactly, with the toolkit of this week: transported by (§5.2), the co-closed integer variable becomes a closed integer cochain on , and on the torus every closed integer cochain is the coboundary of an integer dual potential plus an integer combination of fixed unit-winding representatives, one for each generator of the cohomology. The constraint has no exceptions, so no defect survives this step: in Week 3 the conserved current becomes integer heights plus two winding sectors. The defects of the original theory reappear only at a second Poisson resummation, when the integer dual potential is traded for a real field and the new integers conjugate to it turn out to be the defect charges (the heights of Week 3 §3, resummed in Week 3 §4, give the vortices).
Steps 3–4 are where §§5–6 earn their keep: “solve ” means “transport by , split the closed result into an exact and a topological part as in §6, and keep track of the winding sectors”, with integer unit-winding representatives in place of the real harmonic ones (Week 3 §3).
8. The intersection pairing: one integer, seed of a Hilbert space
On , the two homology generators (the -winding loop) and (the -winding loop) intersect once:
Figure 3. The intersection form of the torus. This single “+1” is the origin of the clock–shift algebra.
Signed intersection counting extends to a bilinear pairing (or ) on any ; it is the homological face of the linking of operators in spacetime. Preview of its operator life [Heuristic here; derived in Semester II Week 2]: in gauge theory, let = the operator measuring the holonomy along , and = the operator that shifts that holonomy (equivalently, measures/creates flux along ). Because must cross exactly once to close, reordering the two operations differs by one unit of phase:
Since the holonomy is an element of , the operator obeys , and shifting the holonomy times returns it, . With and unitary and , this clock–shift algebra has a unique irreducible representation, of dimension [Proved.]. Because , is diagonalizable with eigenvalues among the -th roots of unity; let be a unit eigenvector, . The relation gives , so are unit vectors ( is unitary) and eigenvectors of with the distinct eigenvalues , and therefore orthonormal. Their span is invariant under , because each of them is an eigenvector, and under , because ; this cyclic subspace is where enters. Irreducibility forces to be the whole space, which is therefore -dimensional. Its -eigenvalues are all roots of unity, so we may choose with , and then in the basis
the clock and shift matrices; any two irreducible representations are thus unitarily equivalent, by . (Without we would only know, by Schur’s lemma, that with , since commutes with and with , and each value of gives an inequivalent representation.) Any theory realizing the algebra on its ground states therefore has -fold degeneracy per conjugate cycle pair.
On a genus- surface the intersection form has a symplectic normal form: cycle generators with and all other intersections zero. Now count operators in a gauge theory, which carries two species of loop operator — electric (Wilson) and magnetic (dual/‘t Hooft) lines, both wrappable on any cycle. The pairs (electric on , magnetic on ) and (electric on , magnetic on ) each realize one clock–shift algebra, they mutually commute (their cycles either coincide in species or intersect evenly), and no other independent pair exists: two algebras per handle, and therefore ground-state dimension per handle,
Two assumptions entered that count, and both are theory-dependent: that the ground-state algebra is generated by the two loop species, and that no relation collapses it — both established for gauge theory in its deconfined phase in Semester II Week 2, where the operators are constructed. The homological input — the symplectic basis and one “+1” per handle — is complete here. That is topological order’s ground-state count, and its entire kinematic origin is Figure 3.
9. Cup product: a first meeting [Computed in low degree.]
Semester II needs one more operation, the cup product , which is the lattice version of the wedge product. We use the cubical product fixed in conventions §8: for , and a -cell , in the notation of §5.2,
where the sum runs over the ways of splitting the directions of the cell into a set for and its complement for , and is the sign of the shuffle that sorts , the same sign as in the Hodge map. Thus is evaluated on the face spanned by at the base corner , and on the complementary face at the corner that we reach by walking along . (Chen–Tata, arXiv:2106.05274, §V, construct the same product with the two factors written in the opposite order, , and with it the higher cup products that Semester II uses.)
In low degree the formula gives the rules we compute with. For a 0-cochain the only split gives all the directions of the cell to the other factor, so for a 1-cochain on a link and a 2-cochain on a plaquette
(“front value” against “back value”). For two 1-cochains on a plaquette there are two splits, with and with , and the rule has two terms,
where as in §3.3. On the plaquette of Figure 1 this reads : each of the two lattice paths from to contributes on its first leg times on its second leg, the lower path with a plus sign and the upper path with a minus sign. Both terms are needed, as the next computation shows.
Leibniz [Computed.]. We check on the plaquette of Figure 1, the case of
The left side is the signed boundary sum of , and the tails of are , , , , so
On the right side the two-term rule gives , with and , and the rule gives . The eight terms are
where the two terms in and the two in cancel, and the four survivors are, term by term, the left side. Leibniz holds exactly. Note that the second term of the rule is indispensable: without it the right side would lack , and the two sides would differ by on the top link of every plaquette. In general degree the rule is proved by Chen–Tata (Prop. 3) for their ordering, and ours inherits it, since the opposite product of a product that obeys Leibniz obeys the same rule [Stated — refs: Chen–Tata]; conventions §8 also records a cell-by-cell check on random integer cochains for every degree pair up to . Problem 5⋆(a) repeats the audit for two 1-cochains on a cube, where the sign first bites.
The continuum limit [Computed.]. For constant 1-cochains, and , the two-term rule gives
exactly, so the cup product itself reproduces the wedge, and for constant fields holds on the nose. For varying fields we regroup the four terms of the symmetric combination, which graded commutativity would set to zero, as
where is the forward difference. Every term contains a lattice difference of a field, so the non-commutativity enters only through the variation of the fields from site to site, and for fields that vary slowly on the lattice scale it is suppressed by one power of relative to .
Graded commutativity. On the lattice in general, and the failure is physical. In the lowest degree the two rules for a 0-cochain and a 1-cochain give, on any link,
a product of two 1-cochains on the same link. On a link the higher cup product of two 1-cochains is exactly such a product of values, and vanishes when either factor is a 0-cochain, so this is the degree- instance of the term of the general statement, whose sign is fixed together with . For cocycles the difference is a coboundary,
while for general cochains the right side acquires the extra terms and ; the signs are those of Chen–Tata eq. (29), adopted when is first used in Semester II Weeks 6–7 (conventions §8) [Stated — refs: Chen–Tata]. Two consequences matter already.
First, on cohomology classes the product is graded-commutative, since the defect is a coboundary; in particular its sum over a closed surface vanishes. We check this on the torus with the harmonic 1-cochains of §6 [Computed.]. Because vanishes on -links and on -links, only one of the two terms survives on each plaquette,
and summing over the plaquettes,
On the winding loops and of §4.2 (on the torus, a row of -links and a column of -links) the classes have windings , so the normalized classes and are dual to and , and their cup-product pairing is the antisymmetric matrix . This is the matrix of the intersection form of §8 in the basis , with because intersections of 1-cycles on a surface are antisymmetric. With the first term of the rule alone, the second sum would come out and the intersection form would be lost.
Second, at the cochain level the correction carries physics. The controlled non-commutativity carries the ‘t Hooft anomalies of Semester II Week 6, where the Pontryagin square is built exactly from and . For this reason we never simplify cup products by pretending that they commute.
10. Subtleties and fine print
F1 — Orientations are chosen once, then never renegotiated. Every sign in , , , , and descends from the single global orientation convention of §2.1. Mid-calculation re-derivations of signs are the leading cause of “duality off by a sign” errors; the professional habit is to fix conventions (ours: conventions §§1–2 for , , and , §8 for ) and transport signs, never re-decide them.
F2 — Coarse for topology, fine for fields. Homology is homotopy-invariant (§4.3), so compute it on the minimal complex; but fields (cochains with actions) live on the fine lattice, where entropy and local dynamics reside. The two-lattice discipline — count global sectors coarsely, integrate fluctuations finely — is exactly how Week 3 separates winding sectors from spin waves.
F3 — Torsion exists, and physics feels it. On all homology is free, but on non-orientable or twisted spaces invariant factors appear (, Problem 4). Then coefficients matter: is not just ” copies of ” — torsion contributes extra pieces (universal-coefficient bookkeeping [Stated — refs: Nakahara §3.4]). gauge theories on such spaces have ground-state counts sensitive to this arithmetic; on tori we are safe, and we will say so whenever we use it.
F4 — The dual lattice is a different complex, not a shifted copy. Objects do not “also live” on ; they live on or on , and is a map, with orientation content (§5.2’s sign), between the two. Monopoles are dual-lattice objects, full stop; drawing both lattices (Figure 2) before any duality computation prevents the most common category error in this subject.
F5 — Boundary conditions are part of the complex. Everything above assumed the torus. Open boundaries change (relative homology enters), and physical statements like “neutrality is enforced by the zero mode” depend on it. The course works on by default precisely to keep the harmonic bookkeeping clean; when a result depends on that choice we flag it.
F6 — Cohomology with compact coefficients has its own integers. A -valued cochain is not an -valued one: closedness mod , not closedness, is the gauge-invariant statement, and the integer “branch sheets” ( in the Villain form) are exactly the difference. The clean formalization — cochains ↔ pairs — is the Villain substitution of Week 3.
11. Common misconceptions
- ” is a finite-difference approximation to the continuum derivative.” No: on the lattice, , , Stokes, and Bianchi are exact. The continuum is the limit of the lattice here, not the other way around; nothing this week has discretization error.
- “Homology depends on which lattice/triangulation you chose.” It does not (§4.3) — that invariance is precisely why it deserves the name topology and why the computation of §4.2 already gives the answer for every size.
- “The dual lattice is just the original shifted by half a lattice spacing.” Its sites are; the structure is not — degrees flip (), orientations transform, and divergences become curls (§5.2). Treating as a shifted collapses the distinction that makes electric–magnetic duality nontrivial.
12. What to take away
- Fields are cochains; is Stokes-by-definition; is Bianchi. Gradient, curl, and divergence are one operator in three degrees, exactly, with no continuum limit taken.
- Topology is finite linear algebra. computed from two displayed integer matrices; from the minimal complex; Smith normal form as the general algorithm, torsion included.
- Hodge splits every field into gauge + local + global [Proved], and the global (harmonic) part has dimension — topology as the kernel of a Laplacian. This split is the anatomy of every duality ahead.
- The dual lattice flips degree, turning defect equations into points, lines, or sheets depending on — the single fact that organizes Block C.
- One intersection number () seeds the clock–shift algebra and therefore the ground-state degeneracy of topological order; the cup product’s controlled non-commutativity will carry the anomalies. The kinematics of Semester II is already on this page.
13. Looking ahead: Week 3
The engine is assembled: Villain form (integer cochains), Poisson resummation (proved), Hodge (proved), dual lattice (built). Week 3 fires it at the 2d XY model and carries the José–Kadanoff–Kirkpatrick–Nelson duality through with every constant on the page: the exact rewriting into a height model, the second resummation producing spin waves and vortex charges, the zero mode enforcing neutrality, the lattice Green function constant of Week 1 becoming the vortex fugacity — ending at the Coulomb gas whose unbinding, in Week 4, is BKT.
14. Problem set
Problems 1–3 are the classroom core and use only §§3–6; Problems 4⋆, 5⋆, 6⋆ and 8⋆ are self-study consolidation, solvable from the note, each with a hint or an indicated method; Problem 7⋆⋆ is a research extension and states what is known, what is explored and what counts as completion.
Core problems (everyone).
1. Boundary matrices on , size . Repeat §4.2 on the torus far enough to confirm , , and again. (Set up the matrices; compute ranks by exhibiting pivots, not by brute force.) Where in your computation is homotopy invariance visible?
2. Cohomology of . (a) On the minimal complex of , list the cells, confirm all boundary maps vanish, and read off . (b) On a fine lattice, exhibit explicit generators: the three winding 1-cochains and the three “sheet” 2-cochains, and verify closedness and non-exactness of each. (c) Verify Poincaré duality by matching your generators across the dual lattice.
3. Laplacian zero modes. (a) Write on 0-cochains of the torus as an explicit matrix and confirm its kernel is the constants (). (b) Verify that of §6 are annihilated by the 1-cochain Laplacian (compute both terms separately).
Starred problems (self-study consolidation).
4⋆. Torsion: the Klein bottle. Build the minimal cell complex of the Klein bottle: one site, two links , one 2-cell glued along the edge word (the orientation-reversing identification). Show directly from the edge word, write as a integer matrix, compute its Smith normal form, extract the invariant factor 2, and conclude . Then compute and note it has more elements than the free part alone would give — the universal-coefficient phenomenon of F3. (Hint: over the coboundary is the transpose of reduced mod 2, and .)
5⋆. Cup products by hand. (a) Using the shuffle formula of §9 (conventions §8), write out and for a 1-cochain and a 2-cochain on the cube in (three terms each; for instance and ), and verify Leibniz for two 1-cochains on : the eight-term audit of §9, one degree up, where the sign first bites. (b) Show that for closed 1-cochains , on the torus , and that the sum depends only on the cohomology classes of and , although need not vanish plaquette by plaquette. Then exhibit two 1-cochains, not both closed, with , and say which step of your argument fails for them. (c) Show from the shuffle formula that the cup product is associative at the cochain level, , by comparing the two products of shuffle signs, and compute on the torus for the three harmonic 1-cochains (value 1 on every link of one direction) and every ordering of . (Hint: in (a), organize the twelve terms of the left side by the face on which is evaluated; of the twenty-four terms on the right side, twelve cancel in pairs. In (b), write and with , harmonic (§6), and use Leibniz to show that and are coboundaries, which sum to zero over the torus; the computation of §9 does the rest.)
6⋆. Self-dual degree in . (a) In the continuum the Hodge star acts on the constant forms of by , with the shuffle sign of §5.2, and obeys . Show that on 2-forms in , so that the six-dimensional space of 2-forms splits into three-dimensional self-dual and anti-self-dual eigenspaces, and write a basis of each. Show that in Euclidean and the middle-degree squares to , so that no real split exists there. (A Lorentzian metric contributes one more minus sign to , which is why chiral bosons in and self-dual 3-form field strengths in are Lorentzian objects.) (b) On the lattice maps to (fine print F4), so an equation "" compares cochains on two different complexes. Compose with the half-diagonal shift , , which carries dual cells onto direct cells, and show that acts on as
and that is the translation by one full diagonal step, . Conclude that a real 2-cochain with must be invariant under that translation, and that on a plane wave of momentum the eigenvalues of are , real only when , in particular at . (c) Find what survives exactly. Show that on the six harmonic 2-cochains of the torus (value 1 on every plaquette spanned by ) acts as the continuum star, , so that splits into self-dual and anti-self-dual halves of dimension 3; and, with the shuffle formula of §9, that , so that the cup-product pairing on is positive on one half and negative on the other. Explain in one paragraph why this makes the natural home of electric–magnetic duality and of θ-angles (Week 8, Week 12). (Hint: in (b), follow the base point of §5.2 through and use ; in (c), only the split contributes to .)
8⋆. Poisson in higher degree. Consider compact lattice gauge theory on the torus with the Villain weight of conventions §4,
the compact-gauge-field version of the Poisson step of §7 and the preparation for Week 8. (a) Poisson-resum the integer 2-cochain , plaquette by plaquette, and integrate the gauge field to show that
where is the number of plaquettes. Identify the dual integer variable (the electric flux through each plaquette) and its constraint (flux conservation at every link, the lattice Gauss law without charges), and check that the gauge redundancy has left no trace. (b) Transport the constraint by and solve it on as in step 4 of §7.2: show that is a closed integer -cochain on ; in it is the coboundary of integer heights on dual sites plus three winding sectors, and in the coboundary of an integer 1-cochain on , a gauge field with its own redundancy, plus six flux sectors. (c) Explain why no monopole variable appears at this stage, and at which resummation it will appear. (Hint: the moves are those of Week 3 §2 with : the periodic-Gaussian identity of conventions §3 on each plaquette with , the summation by parts of §3.3, and on each link. In (b) the sign in of §5.2 is irrelevant for a constraint.)
⋆⋆ problems (research extension).
7⋆⋆ (optional). Hodge with a metric. Redo the Hodge proof of §6 with a nontrivial diagonal metric (weights per cell in the inner product) and show the decomposition survives with replaced by its weighted adjoint. Anisotropic couplings () in Week 3’s model are exactly such weights — this problem is why the duality machinery survives anisotropy. What is known: the weighted decomposition is finite-dimensional linear algebra; with the diagonal matrix of weights on -cells, the weighted adjoint is , the proof of §6 goes through line by line, and for every choice of weights. What is explored: how the harmonic representative of a fixed class, and with it the Gaussian-level weight of a winding sector (Week 3 §3), depends on weights that vary in space. Completion: the weighted proof; on , for -link weights that vary along the links and for -link weights that vary across them, the weighted harmonic representative of unit -winding and its squared weighted norm, shown to be the harmonic mean of in the first case and the arithmetic mean in the second (the series and parallel laws of a resistor network), whatever the -link weights; and, for arbitrary positive weights, the upper bound of that squared norm by the arithmetic mean of the -link weights, which follows because the harmonic representative minimizes within its class. Sources: the note alone, with Week 3 §3 for the winding sectors.
Self-study answer checkpoints
These checkpoints cover the core problems; starred and ⋆⋆ problems remain source-led.
- The decisive step is to exhibit pivots instead of computing determinants. The 8 links of a spanning tree of the 9 sites (for instance the six -links , with , and the two -links , ) give 8 independent columns of , peeled off one leaf at a time, while every column sums to zero, so . The rows of equate the coefficients of any two plaquettes that share a link, so and . Then and , with (eight ones), so there is no torsion. Homotopy invariance is visible in the count: on the torus , so for every , and the Euler characteristic does not depend on . A common failure is to drop the wrap-around links and together with the plaquettes that contain them, which computes the open grid (12 links, 4 plaquettes, ).
- (a) The minimal complex of has one site, three links, three plaquettes and one cube, and every boundary vanishes because each face of a cell is identified with the opposite face, which enters with the opposite sign; so and . (b) On the torus the winding 1-cochains (1 on every -link) and the sheet 2-cochains (1 on every -plaquette) are constant, so they are closed exactly as is in §6. Non-exactness is Stokes: on every cycle , while on the loop winding in direction and on the closed layer of -plaquettes at fixed third coordinate. (c) The unit-winding cochain equal to 1 on the -links that cross one plane is carried by onto a single closed dual 2-torus spanned by the two other directions (with sign , so for ), and it evaluates to 1 on , the intersection number of that dual torus with ; this matches the three generators of with the three generators of . A common failure is to pair the -winding cochain with a sheet that contains the direction : the dual of a -link is spanned by the complementary directions (§5.2), so pairs with the 23-sheet.
- (a) With the ordering , from the displayed , that is with eigenvalues (the values of at ) and kernel spanned by , so . The decisive point is that on the neighbours and coincide, so the off-diagonal entries are ; writing there, the usual failure, gives row sums 2, eigenvalues and no zero mode at all. (b) on every plaquette and at every site (§6), so and vanish separately, and likewise for . In matrices has every diagonal entry equal to and eigenvalues , so . A common failure is to drop : the operator alone annihilates every closed 1-cochain, exact ones included, and its kernel has dimension .
Notes prepared for the generalized-symmetries course, Semester I Block A. Rewritten to the note-quality-template standard on 2026-07-10 (first draft 2026-07-01). Last revised 2026-10-04.