Documentation

Formalizations.MusicTheory.ExtremalityConnections

Homometry, complementation and the pentatonic extremality #

Homometric sets have the same interval vector, hence the same all-pairs energy for every potential; homometry is preserved by complementation; the diatonic has no homometric partner outside its orbit. Complementation changes the energy by a constant depending only on the size, which transfers the diatonic results to the pentatonic.

Main results #

References #

Bridge the unordered energy convention to the earlier ordered Fourier convention. At distance zero this is merely an identity between the definitions; energies use 1..6.

Homometry fixes every unordered interval-vector entry.

Every all-pairs distance potential is blind to homometric differences. No convexity needed.

Extremal spectral rigidity: the diatonic has no nontrivial homometric partner.

M5 preserves the full sixth coefficient, hence the parity observable a₆.

The coordinate change commutes with the tritone transposition T₆.

Complementing a set preserves every nonzero-frequency magnitude.

Complement interval identity in autocorrelation form, including the zero difference.

Homometry survives complementation: the zero autocorrelation fixes cardinality, and every other autocorrelation receives the same complement correction.

The homometry/complement square commutes for every all-pairs potential.

The complement theorem in unordered-pair convention, away from the tritone.

At the tritone the complement correction is half as large.

theorem MusicTheory.ExtremalityConnections.energy_compl (V : ℕ → ℝ) (A : Finset (ZMod 12)) :
AllPairsEvenness.E V Aᶜ - AllPairsEvenness.E V A = (6 - ↑A.card) * (2 * (V 1 + V 2 + V 3 + V 4 + V 5) + V 6)

Complementation changes energy by a cardinality-dependent constant. This is the C12 instance of Bushaw--Cody--Leffler, Theorem 3.5 (2025 version).

The five-note spectral bound follows from the seven-note one without another census.

The five/seven-note energy gaps coincide, for every real potential.