Blueprint
Huddling, diatonic and pentatonic scales in Z12: Fourier maxima and convex-energy minima formalized in Lean 4πŸ“± 5 short screens

πŸ“± 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

Theorem 1.

For every \(A\subseteq {\mathbb {Z}_{12}}\), with \(k=|A|\) and \(C_k=\{ 0,\ldots ,k-1\} \),

\[ S_1(A)\le S_1(C_k),\qquad S_1(A)=S_1(C_k)\ \Longleftrightarrow \ A=T_sC_k\text{ for some }s\in {\mathbb {Z}_{12}}. \]

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.

πŸ› οΈ How it is proved 3 / 5

It rests on:

πŸ›‘οΈ 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

πŸ”Ž What a referee has to check by hand β†’

πŸ§ͺ Try it 5 / 5

Labs in your browser (they load Python the first time):

πŸ“• The paper (PDF)πŸ“˜ The full blueprint

πŸ“Ž Cite: doi:10.5281/zenodo.23123219