π± The paper in five short screens, for a phone or a first look: the result, what it says in words, how it is proved, what has been checked, and where to try it. Nothing here loads Python.
π― The result 1 / 5
For every \(A\subseteq {\mathbb {Z}_{12}}\), with \(k=|A|\) and \(C_k=\{ 0,\ldots ,k-1\} \),
The same inequality and equality condition hold for Fourier magnitudes.
π¬ In plain words 2 / 5
Put the twelve pitch classes on a clock and give each note of $A$ a unit arrow pointing at its hour; $\widehat A(1)$ is the sum of the arrows and $S_1(A)$ its squared length. Arrows pointing in nearly the same direction add up best, so among all sets with $k$ notes the longest sum comes from $k$ consecutive hours, a βhuddledβ arc, and only from the twelve rotations of that arc (one set when $k=0$ or $12$). This is the twelve-tone instance of the roots-of-unity lemma recorded by Amiot; the paper does not claim it as new. What it adds is a proof without rounded cosines: it writes $2S_1(A)=P(A)+Q(A)\sqrt3$ with integers $P,Q$ counted from the intervals of $A$, so every comparison is exact in $\mathbb{Z}[\sqrt3]$, and it checks all $2^{12}=4096$ sets.
next βπ οΈ How it is proved 3 / 5
- A connected Lean 4 formalization, with complete twelve-tone equality conditions, of why the seven white keys solve two optimization problems: they maximize $|\widehat A(5)|$ and minimize every strictly admissible convex pair energy (Theorem 3).
- The route: Huddling in $\mathbb{Z}_{12}$ (Theorem 1), transported to frequency five by $M_5$; double Abel summation for the energy (Theorem 2); complementation carries both to the pentatonic sets (Theorem 4).
- Exact arithmetic throughout: comparisons in $\mathbb{Z}[\sqrt3]$, no rounded trigonometric values. Two finite censuses use \texttt{native\_decide} (trusted compiled evaluation), stated in the axiom audit.
- The mathematics is classical; the paper claims the connected formalization, not a new characterization.
It rests on:
- Discrete Fourier analysis β the Huddling lemma for sums of distinct roots of unity (Amiot), the index permutation Mβ , exact comparison in β€[β3]
- Summation by parts β double Abel summation of the interval counts against a discretely convex potential
- Formal verification β Lean 4 + Mathlib: two finite censuses (native_decide) and symbolic transport and complement bridges
π‘οΈ What is checked 4 / 5
π’ 3 formal Β· π‘ 1 formal in part.
Proof: in this note Β· Formalized: Lean 4, by the author (public formalizations repository) Β· Covers: the whole statement Β· Cite: Theorem 1, p. 2, doi:10.5281/zenodo.23123219
next βπ§ͺ Try it 5 / 5
Labs in your browser (they load Python the first time):
- Figure 1 with your own set, unit and shift (Theorem 1)
- Figure 2: every set, in Fourier and in energy, for your own potential (Theorem 3)
π The paper (PDF)π The full blueprint
π Cite: doi:10.5281/zenodo.23123219