2.2 Results from de Launey–Levin
For every \(\gamma \in [-\pi ,\pi ]^d\) and every \(k\in \{ 1,\dots ,n\} \), \(|\psi (\gamma )|^2\le \frac12+\frac12\prod _{i\ne k}\cos (2\gamma _{\{ i,k\} })\).
The formalization proves the following (as private lemmas in HadamardCn3TorusCount.lean):
Multiplicativity: \(\psi (\lambda +\gamma )=\psi (\lambda )\psi (\gamma )\) for \(\lambda \in \Lambda \), \(\gamma \in \mathcal{B}_{\pi /4}\) (psi_translate_lambdaReal).
Disjoint boxes: the translates \(\mathcal{B}_\delta (\lambda )\), \(\lambda \in \Lambda \), are pairwise disjoint for \(\delta {\lt}\pi /4\) (translated_edgeBoxes_disjoint).
Cardinality: \(|\Lambda |=2^{2d-n+1}\) and \(\psi (\lambda )^{4t}=1\) for \(\lambda \in \Lambda \) (card_lambdaShifts_eq_pow_of_two_le, exp_phase_lambdaReal_false_pow_four_mul).
Even-degree characterization: \(\lambda \in \Lambda \) iff every vertex of \(G_{\lambda ^{(2)}}\) has even degree (parityEvenBool_iff_incidence_zero).
These are private because they are only used internally by the torus counting machinery.
For every \(t\ge 1\) and every \(0{\lt}\delta {\lt}\pi /4\),
For \(0{\lt}\delta {\lt}\pi /4\),
and the sets in the union are disjoint.
The translates \(\mathcal{B}_{\pi /4}(\lambda )\), \(\lambda \in \Lambda _0\), tile \(\mathbb {T}^d\). Even cells centered at \(\lambda \in \Lambda \) contribute to \(R_\delta ^{\mathrm{even}}\); odd cells centered at \(\lambda \in \Lambda _0\setminus \Lambda \) contribute to \(R_\delta ^{\mathrm{odd}}\).
If \(\gamma \in R_\delta ^{\mathrm{odd}}\), then \(|\psi (\gamma )|^2\le \tfrac 12\).
Since \(\gamma \) lies in a quarter-box centered at \(\lambda \in \Lambda _0\setminus \Lambda \), some vertex \(k\) has odd degree in \(G_{\lambda ^{(2)}}\), so \(\prod _{i\ne k}\cos (2\gamma _{\{ i,k\} })\le 0\), and the cosine-product bound (Lemma 1) gives \(|\psi (\gamma )|^2\le 1/2\).
If \(s(\lambda )\le 1/2\), then \(\operatorname {Re}\psi (\lambda )\in [3/4,1]\).
\(\operatorname {Re}\psi (\lambda )=\mathbb {E}[\cos X_\lambda ]\ge 1-\frac12 s(\lambda )\ge 3/4\).