Cochain Calculus Survival Kit
The reference for the lattice toolkit introduced in Semester I Week 2 and used in every problem set thereafter. Kept operational: finite linear algebra on a lattice, no point-set topology. Every sign here is the one fixed in conventions (cells and ∂ in §1, δ, Δ and ⋆ in §2, the cup product in §8).
Read this once alongside Week 2, then keep it open as a lookup sheet.
1. Cells, chains, cochains
A hypercubic lattice is a cell complex: 0-cells (sites), 1-cells (links), 2-cells (plaquettes), …, -cells. Fix an orientation on every cell (links along ; a -cell oriented by the ordered tuple of its directions ).
- -chain : a formal -combination of oriented -cells. “Where an extended object lives.”
- -cochain : a -valued function on oriented -cells (). “A -form field.”
- Pairing for . This is ”.”
Fields live on cochains: a compact scalar is a 0-cochain, a gauge field a (or ) 1-cochain, a 2-form background a 2-cochain.
2. Boundary and coboundary
- Boundary : the oriented boundary of a cell, signs from orientation. .
- Coboundary defined by the discrete Stokes theorem, taken as a definition: Then follows from .
Concretely: on a -cell = signed sum of over its boundary -cells.
- 0-cochain (site field ): on link . (Lattice gradient.)
- 1-cochain (link field ): around plaquette . (Lattice curl / field strength.)
- 2-cochain: = signed sum over the faces of a cube. (Lattice "".)
Codifferential is the adjoint of under the inner product (not under the chain–cochain pairing of §1), with no further sign; on a 1-cochain , inflow minus outflow. With the Hodge map of §4 it reads . The lattice Laplacian is ; on 0-cochains , minus the second difference.
3. Homology and cohomology
- Closed / exact. is closed if ; exact if . Since , exact closed.
- Cohomology = closed mod exact. Measures “closed cochains that are not the coboundary of anything” = global (topological) field configurations.
- Homology = cycles mod boundaries.
On the -torus (the case the course needs):
| — | ||||
With : replace by everywhere. is the counting behind ground-state degeneracy (Sem II Wk 2).
Generators. is generated by the cochains “counting crossings of the -cycle”; by the non-contractible loops. The pairing is the evaluation (winding) pairing, ; linking is a different pairing, between cycles of complementary dimension, and appears in §4.
4. The dual lattice and Poincaré duality
The dual lattice places a site at the center of each -cell of , and in general: So sites ↔ -cells, links ↔ -cells, etc. The dual of the cell sits at and is spanned by the complementary directions ; the Hodge map transports values with the sign of the shuffle, , so that and hold exactly on the lattice (conventions §2).
Poincaré duality : a closed -cochain on is the same data as a -cycle on . This is why a monopole (, a 3-cochain in 4d) is a worldline (1-cycle) on the dual lattice, and a vortex in 2d is a point.
Intersection pairing. On , (or ) by counting intersections. On : , the two cycles intersect once — this single “1” is the in the clock–shift algebra.
5. Poisson resummation — the duality engine
Every duality in the course is this identity, applied to an integer cochain:
Periodic-Gaussian form (the one used constantly): Left: a periodic scalar with stiffness . Right: a sum over integer “momenta”/charges with dual stiffness . The coupling inverts, — the duality.
Recipe (works for XY Wk 3, compact QED Wks 9/11, modified Villain Wk 12):
- Write the theory in Villain form with an integer cochain .
- Poisson-resum dual integer cochain on .
- The original field now appears linearly; integrating it over one period (it is compact) imposes an integer constraint (, current conservation, with a Kronecker delta).
- Solve the constraint exactly: is the Hodge transport of of an integer dual field, plus winding sectors on the torus. No defects are visible yet, since has been summed away.
- Poisson-resum the integer dual field a second time: it becomes a real dual field plus a new integer cochain, and these integers are the defects (vortices, monopoles), coupled linearly to the dual field (Week 3 §4).
6. Cup product (needed Sem II Weeks 6–7)
The lattice analogue of the wedge product, (the cubical product of conventions §8; Chen–Tata order the two factors the other way): a sum over shuffles. For two 1-cochains on a plaquette it has two terms, ; with the first term alone Leibniz fails. Properties:
- Leibniz: .
- Graded commutativity up to exact terms, for cocycles: if , then is exact, with the higher cup product . For general cochains the formula acquires the extra terms and (Chen–Tata eq. (29)). The non-commutativity carries physics (the anomaly), and we keep track of it.
- Pontryagin square for : a refinement of , valued in ( even) / ( odd); it is the lattice object in the θ = π anomaly (Sem II Wk 6).
7. The Villain dictionary (quick lookup)
| Object | Cochain | Field strength / defect |
|---|---|---|
| Compact scalar | 0-cochain | vortex , a 2-cochain (points in 2d) |
| gauge field | 1-cochain + integer | monopole , a 3-cochain (points in 3d, loops in 4d) |
| -form gauge field | -cochain | flatness mod |
| background | -cochain | probes a -form symmetry |
- Villain scalar action: , .
- Villain gauge action: , .
- Modified Villain: promote to a dynamical gauge field and impose with a dual-lattice Lagrange multiplier — removes defects, makes symmetries and dualities exact (Sem II Wk 12).
8. Worked micro-examples (do these by hand once)
- from one cell each. Minimal complex: 1 site, 2 links (), 1 plaquette. (opposite edges cancel on the torus) ⇒ ; with no boundaries ⇒ . On cochains the same cancellation reads , so in every degree and , , . Betti . ✓
- Gradient is closed. ; check around any plaquette (telescoping sum). ✓
- Poisson the Gaussian. Verify by completing the square inside the integral. ✓
- Torus intersection = 1. The two 1-cycles of cross once; this is the seed of . ✓
9. Common pitfalls
- Orientation signs. Fix them once (per conventions) and never re-derive mid-calculation; most “duality is off by a sign” bugs are orientation bookkeeping.
- Direct vs dual placement. A field and its dual live on different lattices; a monopole is a dual-lattice object. Draw both lattices.
- Villain vs cosine. Villain is exact for duality; the cosine is not. Do not mix the two inside one derivation.
- Compact measures. Integrate a compact variable over one period. Integrating it over while also summing its integer branch label overcounts by the branch redundancy and gives a divergent measure.
- Cup non-commutativity. Do not “simplify” to — the difference is the anomaly.
This kit is the mathematical backbone of the course. Every problem set that says “dualize,” “count the ground states,” or “turn on a background” is an application of §§2–7. Corrected on 2026-09-27 (codifferential and Hodge-map signs, the duality recipe, the explicit cup product and its graded commutativity), after the review in reviews/2026-09-27-comprehensive-review.md.