EP14: Tonnetz Hodge Duality
前置知识
Overview
The Tonnetz — Euler’s 1739 interval lattice, rediscovered by neo-Riemannian theorists — is not merely a picture of chord relationships. It is a simplicial complex triangulating a torus, and every chord progression on it is a cochain that decomposes, uniquely and orthogonally, into three mathematically distinct components.
This episode applies discrete Hodge theory (Eckmann 1944; Lim 2020) to the Tonnetz. The central result:
Any 1-cochain on the Tonnetz torus decomposes as:
where the three summands are pairwise orthogonal and uniquely determined.
The three components correspond — as testable hypotheses — to functional cadences, chromatic PLR cycles, and remote modulations along the torus topology.
Prerequisites
- Chord Space as Torus (EP01) — Tonnetz and PLR transformations
- Wave equation and Fourier series (EP02) — analogy with heat diffusion on manifolds
- All-Interval Rows and ℤ₁₂ (EP04) — cyclic group structure underlying pitch classes
Preamble: What Is a “Hole”? Building Homology from Scratch
Who this is for: You have watched the video and understand the setup (boundary matrices, chain groups, Betti numbers), but the definition feels like a formula dropped from the sky. This preamble builds it from a single question: what actually is a hole?
P.1 — The Naive Question
A doughnut has one hole. A pretzel has two. A solid ball has none.
First attempt: “a hole is a region with nothing in it." That doesn’t work — the inside of a sphere is also “nothing,” but a sphere doesn’t have the same kind of hole as a torus.
Second attempt: “a hole is something you can stick a finger through." That’s dimension-specific and requires 3D embedding.
The algebraic topology approach sidesteps all of this. Instead of defining what a hole is, we define what a hole does: it obstructs you from filling in a closed curve.
P.2 — The Loop Test
Draw a closed loop on a surface. Try to “fill it in” — can you find a 2-dimensional patch whose boundary is exactly that loop?
On the sphere: every closed loop bounds a disk — no obstruction.
On the torus: the loop going through the hole cannot bound any patch. The hole is that obstruction.
The algebraic challenge: detect this without geometry or deformation. The answer is the boundary operator .


P.3 — Chains: The Algebraic Skeleton
Replace the geometric surface with an oriented combinatorial skeleton. Work with formal linear combinations over :
- A 0-chain: — weighted vertices.
- A 1-chain: — weighted oriented edges.
- A 2-chain: — weighted oriented triangles.
Orientation: . These form real vector spaces
P.4 — The Boundary Operator
takes a -chain and returns its -dimensional boundary:
Sign rule: delete each vertex in turn, alternating signs — the result is the counterclockwise perimeter.

P.5 — : The Fundamental Identity
Compute :
In general, applying to and collecting terms by pairs with shows every pair cancels with opposite sign.
Geometric meaning: The boundary of a solid region is a closed surface — which has no boundary itself. Algebraic signs enforce this cancellation. This one identity is what makes all of homology work.

P.6 — Cycles, Boundaries, and the Definition of a Hole
A -cycle is a -chain with zero boundary: .
A -boundary is a -chain in .
Since : every boundary is automatically a cycle:
| Chain | Cycle? | Boundary? |
|---|---|---|
| Open path | No | — |
| Triangle perimeter | Yes | Yes |
| Loop through torus hole | Yes | No |

A -dimensional hole is a -cycle that is NOT the boundary of any -chain.

Two cycles are homologous if they differ by a boundary: .
">
The -th Betti number counts independent -dimensional holes.
P.7 — Connecting to the Tonnetz Numbers
The video computes and . Therefore:
Of 25 closed loops, 23 can be filled by triangles (fake holes). The remaining 2 equivalence classes are genuine: one along the circle of fifths, one along the major third cycle. These two holes are why the harmonic component of the Hodge decomposition is non-trivial.
Water-flow analogy: Boundaries are currents driven by a potential — remove the pump and they stop. Non-boundary cycles are currents with no source, no sink, no pump — they persist because the topology allows it. is the space of “eternal currents.”
, homologous cycles identified">

The Tonnetz as a Simplicial Complex
The Tonnetz is a simplicial complex triangulating the torus :
| Dimension | Cells | Count | Musical meaning |
|---|---|---|---|
| 0 (vertices) | Pitch classes | 12 | Individual notes |
| 1 (edges) | Minor 3rd + Major 3rd + Perfect 5th | 36 | Consonant intervals |
| 2 (faces) | Major triads + Minor triads | 24 | Triads |
Euler characteristic: . Since for orientable closed surfaces, — confirming the torus.
中文: “Tonnetz 的顶点是十二个音高类,边是音程,三角形是三和弦。整个结构是一个三角剖分的环面。”
The 36 edges are exactly the consonant intervals of Western voice leading: perfect fifths (3:2), major thirds (5:4), minor thirds (6:5). Going up 12 perfect fifths returns to the starting pitch class mod 12; going up 4 major thirds does the same ( semitones). Both directions “close up,” forcing the torus topology.
Betti numbers (from , ):
| Value | Meaning | |
|---|---|---|
| 1 | Connected: all pitch classes in one piece | |
| 2 | Two non-contractible loops: circle of fifths + major third cycle | |
| 1 | One enclosed cavity (the torus encloses a void) |
中文: “Betti 数 1, 2, 1 是环面 的拓扑签名。”

The dual complex (chicken-wire torus): Reversing the roles of vertices and faces — each triangle of becomes a vertex, each shared edge becomes an edge, each vertex becomes a hexagonal face — gives the Poincaré dual :
| In | In |
|---|---|
| 12 vertices (pitch classes) | 12 hexagonal faces |
| 36 edges (intervals) | 36 edges (PLR voice leadings) |
| 24 triangular faces (triads) | 24 vertices (triads) |
— still a torus. This is the chicken-wire torus of Douthett & Steinbach (1998), where P, L, R transformations correspond to edges of .
A -cochain is a real-valued function on oriented -simplices, satisfying .
- 0-cochain : a “tonal weight” on pitch classes. Example: , , …
- 1-cochain : a signed flow on directed intervals. Example: (up a fifth), .
- 2-cochain : a signed weight on oriented triads.
The coboundary satisfies — the cochain analogue of .

Section 1: The Hodge Star Operator ★
中文: “离散 Hodge 星算子,记作 ★,是连接原始复形 和对偶复形 的代数算子。”
Let triangulate an orientable closed -manifold with dual . The discrete Hodge star is the linear map
sending each basis -cochain (dual to ) to the basis -cochain (dual to ).For the Tonnetz torus ():
| Map | Dimensions | Musical translation |
|---|---|---|
| Pitch-class weights → hexagonal face weights | ||
| Interval flows ↔ PLR voice-leading flows | ||
| Triad weights → dual vertex weights |
中文: “★ 把 1-上链映射到 1-上链。边上的流映射到对偶边上的流。36 对 36,一维在二维流形上是自对偶的。”
Worked examples:
- : with , all others $0$ → assigns $1$ to the hexagonal face of surrounding , bounded by the six triads containing . Translates “note C” into “hexagonal region of triadic space centered on C.”
- (self-dual): Flow on edge (major third) → the dual edge connects the two triads sharing and : C major and A minor. Translates “interval flow” into “PLR voice-leading motion between the two triads sharing that interval.”
中文: “Poincaré 对偶保证原始 -胞腔数等于对偶 胞腔数,所以 ★ 总是方阵。”
Self-duality at the middle dimension: When , maps a space to itself. For the Tonnetz torus (, ): 1-cochains are self-dual. Same phenomenon: the electromagnetic field tensor is a 2-form on Minkowski spacetime (, ), and Maxwell’s equations are , .
中文: “其实 Maxwell 方程组可以写成两行:,。整个电磁学就是外微分 和 Hodge 星的组合。”
Section 2: Inner Product and Adjoint Operators
Equip with the inner product declaring all basis -simplices orthonormal:
中文: “我们给链空间 装一个标准内积,声明基底正交归一。”
The inner product identifies chains with cochains canonically, and gives us the adjoint of — the key ingredient for the Hodge Laplacian.
The coboundary is the transpose of the boundary operator. It runs in the opposite direction:
The adjoint property: .中文: “伴随算子的方向和 相反。 从高维到低维,它的转置从低维到高维。”
Worked example ( — discrete gradient): Let have , elsewhere. Then and . So assigns to every edge leaving and to every edge arriving at — a discrete gradient converging toward the high-potential note.
Section 3: The Hodge Laplacian
中文: “ 的两个矩阵项分别检测两类’非调和’分量。 检测非零梯度, 检测非零旋度。”
The -th Hodge Laplacian is the self-adjoint operator :
- (down-up): penalizes non-zero divergence (sources/sinks at vertices).
- (up-down): penalizes non-zero curl (circulation around faces).
means the 1-cochain has neither sources/sinks nor local whirlpools.
Heat diffusion analogy: Imagine edge flows as temperatures on a donut-shaped pipe network. measures how far is from thermal equilibrium. The equilibrium states — where no gradient wants to push heat downhill and no eddy stirs heat in circles — are the harmonic forms.
For any finite simplicial complex with the standard inner product:
Elements of are called **harmonic forms** (调和形式).Since is PSD:
So — the set of -cycles that are orthogonal to all boundaries.
Since (orthogonal decomposition), we have . Therefore .
中文: “Hodge 定理说, 的 kernel 同构于第 个上同调群。kernel 里的元素叫调和形式。”
Concrete numbers for the Tonnetz:
| Laplacian | Size | dimension | Musical interpretation |
|---|---|---|---|
| One constant harmonic function (connected) | |||
| Two independent harmonic interval flows | |||
| One harmonic 2-cochain (volume form) |
The two harmonic 1-cochains in correspond to:
- The circle of fifths direction: C→G→D→A→E→B→F♯→C♯→A♭→E♭→B♭→F→C
- The major third direction: C→E→G♯→C
These are the only non-zero flows on the torus that are simultaneously divergence-free and curl-free. A sphere () would have no such flows; a double torus () would have four.
中文: “对 Tonnetz 上的 1-上链来说,调和空间的维度等于 ,对应五度圈方向和大三度方向的两个独立全局循环。”
Section 4: The Hodge Decomposition Theorem
中文: “任意 维上链都可以唯一正交分解为三个分量。”
For any finite simplicial complex with standard inner product, the cochain space admits an orthogonal direct sum decomposition:
Every has a unique decomposition:
Moreover: (Pythagorean theorem for orthogonal components).
Step 1: Pairwise orthogonality.
(a) : For and :
(b) : For and (which gives ):
(c) : For and (which gives ):
Step 2: The three subspaces span .
We show .
Since , the cross-term in vanishes when acts on : for , . One verifies acts injectively (and thus surjectively) on each of and separately. Therefore , and by rank-nullity:
中文: “这不是近似,是精确的数学定理。”
Dimension count for on the Tonnetz:
| Component | Subspace | Dimension |
|---|---|---|
| Exact | ||
| Coexact | ||
| Harmonic | ||
| Total | 36 ✓ |
Meaning of each component:
| Component | Formula | Vector calculus analogy | Characterization |
|---|---|---|---|
| Exact | Gradient | Acyclic; flow on is | |
| Coexact | Curl | Circulates locally around triangular faces | |
| Harmonic | Harmonic function | Divergence-free AND curl-free simultaneously |
中文: “Exact 分量——梯度。Coexact 分量——旋度。Harmonic 分量——沿着环面的拓扑洞做全局循环。”
Water-on-a-donut analogy:
| Type | Water analogy | Musical analogy |
|---|---|---|
| Exact | Flows downhill from peak to valley | V→I cadence; directed tension-resolution |
| Coexact | Whirlpools spinning in tight circles | PLR cycles, chromatic voice leading |
| Harmonic | A river circling the donut — no hill drives it, no eddy spins it | Tonal center migrating along circle of fifths |
The decomposition is orthogonal — the three types never interfere.
Computing the decomposition (for implementation): The orthogonal projections use Moore–Penrose pseudoinverses:
Section 5: Three Musical Hypotheses
中文: “Hodge 分解是定理。接下来我们提出三个可检验的音乐假设。”
Encoding a chord progression: Assign weights to Tonnetz edges traversed (e.g., proportional to interval activation duration). Apply the decomposition. The energy ratios , , give the harmonic profile.
A passage with high tends to exhibit strong cadences and functional harmony.
Reasoning: means flow on edge equals : the progression flows from high-potential to low-potential pitch classes. Dominant (high potential) → tonic (low potential) is exactly this gradient structure. The exact component is automatically acyclic — consistent with goal-directed harmonic motion.
Example: Final bars of Bach chorale BWV 269. The cadence ii⁶–V–V⁷–I is almost pure gradient flow: , monotonically descending to the tonic.
Falsification: Find high with no cadential structure.
A passage with high tends to exhibit PLR-type short cycles and chromatic voice leading.
Reasoning: is a sum of triangle boundaries — local circulation around triads. Neo-Riemannian P, L, R transformations create short cycles wrapping around adjacent triangles (each step moves one voice by a semitone or whole tone).
Example: Opening of Brahms Intermezzo Op. 119 No. 1 — chains of third-related triads (B min → D maj → F♯ min → A maj → …), each a P or R step, locally circular with no global modulation. The hexatonic cycle (C maj → C min → A♭ maj → A♭ min → E maj → E min → C maj) lies entirely in .
Falsification: Find high with no chromatic activity.
A passage with high corresponds to modulation along the torus topology — the tonal center migrates globally.
Reasoning: means simultaneously divergence-free () and curl-free (). The only non-zero flows on a torus satisfying both are those along the two non-contractible loops: circle of fifths or major third axis. The tonal center itself migrates — no local potential drop or eddy explains it; the flow is topological.
Examples:
- Development of Schubert’s String Quintet D. 956, mvt. 2: E maj → F min → chain of major-third related keys — traverses the major-third non-contractible loop.
- Development of Beethoven’s “Waldstein” Sonata Op. 53: C → E → A♭ → C, a complete circle of major thirds — one generator of .
Falsification: Find high with only nearby key relations.
Caveats:
中文: “三个分量是结构性分解,不是价值判断。Exact 不等于’好',harmonic 不等于’高级'。”
- No value judgment: “Exact” does not mean better; “harmonic” does not mean more sophisticated.
- Model sensitivity: Results depend on which Tonnetz variant is used, how durations are weighted, and how musical passages are segmented.
- Validation required: Statistical testing on corpora (Bach chorales, common-practice sonatas, jazz standards) against baseline tonal-distance features is needed before these hypotheses can be accepted.
中文: “验证需要在真实音乐语料库上做统计检验。”
Section 6: Langlands Duality and the Tonnetz
中文: “数学中的 Langlands 对偶,交换根与余根,恰好对应音乐中的大小调对偶。这是一个严格的结构性对应,不是松散类比。”
The standard Tonnetz triangulates the torus , where is the root lattice — the lattice generated by the simple roots of the Lie algebra .
For a semisimple Lie algebra with root system , the coroot of is . The Langlands dual is obtained by .
For the root system (which is simply laced — all roots have the same length), roots and coroots differ only by uniform scaling, so is self-dual.
Euler 1739 → Rietsch 2024: A 285-year arc
中文: “Euler 在 1739 年画了一张音程网格。285 年后,我们才认出它里面藏着的代数拓扑结构。”
Euler drew his interval lattice as a tuning tool with no concept of simplicial homology, differential forms, or root systems. Yet the structure he wrote down is recognizable, 285 years later, as:
- A simplicial triangulation of a torus with Betti numbers
- A space where the Hodge decomposition gives a tripartite analysis of harmony: gradients (cadences) + curls (PLR cycles) + topological flows (modulations)
- A quotient of the root lattice — making its major/minor duality an instance of Langlands duality
The Hodge decomposition yields testable predictions: Bach chorales should have high (strong cadences); Brahms intermezzos high (chromatic PLR); late Schubert high (third-relation modulations). Whether these energy ratios outperform simpler tonal-distance metrics is an open empirical question — but the mathematical structure is exact.
Additional results (Rietsch 2024): A Tonnetz on a sphere encoding all major ninth chords; the transformation group of the seventh-chord Tonnetz is .
Scope note: The “Langlands duality” here operates at the level of root systems of — a very special case. It does not claim connections to the full Langlands program in number theory. The correspondence is precise but limited: a structural coincidence at the lattice level that turns out to have musical meaning.
Historical Timeline
| Year | Development | Key figure(s) |
|---|---|---|
| 1739 | Euler’s interval lattice (Tentamen novae theoriae musicae) | Leonhard Euler |
| 1941 | Hodge theory on Riemannian manifolds | W.V.D. Hodge |
| 1944 | Discrete Hodge theory on simplicial complexes | Beno Eckmann |
| 1998 | Chicken-wire torus from parsimonious voice leading | Douthett & Steinbach |
| 2011 | HodgeRank: Hodge decomposition for statistical ranking | Jiang, Lim, Yao & Ye |
| 2013 | Tonnetz as simplicial complex; computational homology | Bigo & Andreatta |
| 2020 | Hodge Laplacians on Graphs (key reference, free PDF) | Lek-Heng Lim |
| 2020 | Generalized Tonnetze topology and homology | Jason Yust |
| 2024 | Langlands duality = major/minor duality on Tonnetz | Konstanze Rietsch |
Academic References
- Euler, L. (1739). Tentamen novae theoriae musicae. St. Petersburg.
- Hodge, W.V.D. (1941). The Theory and Applications of Harmonic Integrals. Cambridge University Press.
- Eckmann, B. (1944). “Harmonische Funktionen und Randwertaufgaben in einem Komplex.” Commentarii Mathematici Helvetici 17, 240–255.
- Douthett, J. & Steinbach, P. (1998). “Parsimonious Graphs: A Study in Parsimony, Contextual Transformations, and Modes of Limited Transposition.” Journal of Music Theory 42(2), 241–263.
- Friedman, J. (1998). “Computing Betti Numbers via Combinatorial Laplacians.” Algorithmica 21(4), 331–346.
- Hatcher, A. (2002). Algebraic Topology. Cambridge University Press. Free PDF: https://pi.math.cornell.edu/~hatcher/AT/ATpage.html
- Edelsbrunner, H. & Harer, J. (2010). Computational Topology: An Introduction. AMS.
- Jiang, X., Lim, L.-H., Yao, Y. & Ye, Y. (2011). “Statistical Ranking and Combinatorial Hodge Theory.” Mathematical Programming 127, 203–244.
- Bigo, L. & Andreatta, M. (2013). “Computation and Visualization of Musical Structures in Chord-Based Simplicial Complexes.” MCM 2013.
- Frankel, T. (2012). The Geometry of Physics, 3rd ed. Cambridge University Press. Ch. 14.
- Cannas, S. & Andreatta, M. (2018). “A Generalized Dual of the Tonnetz for Seventh Chords.” Bridges 2018, 301–308.
- Lim, L.-H. (2020). “Hodge Laplacians on Graphs.” SIAM Review 62(3), 685–715. DOI: 10.1137/18M1223101. Free PDF: https://www.stat.uchicago.edu/~lekheng/work/hodge-graph.pdf — Primary reference for all discrete Hodge theory in EP14.
- Yust, J. (2020). “Generalized Tonnetze and Zeitnetze, and the Topology of Music Concepts.” Journal of Mathematics and Music 14(2), 170–203.
- Humphreys, J. (1972). Introduction to Lie Algebras and Representation Theory. Springer GTM 9.
- Rietsch, K. (2024). “Generalisations of Euler’s Tonnetz on Triangulated Surfaces.” Journal of Mathematics and Music. DOI: 10.1080/17459737.2024.2362132