The Balanced Parseval Bound and Zero-Free Walsh Spectra in Odd Dimensions
The result
For odd n = 2m + 1, let q(m) = ⌊2m−2√2⌋. Parseval's identity gives every balanced function on n variables the ceiling
Theorem 1. For infinitely many odd n = 2m + 1, no balanced Boolean function on n variables reaches this ceiling, so nlbal(n) ≤ parsevalBalNL(m) − 2.
Theorem 2. For infinitely many odd n = 2m + 1, every Boolean function on n variables (balanced or not) with nonlinearity at least parsevalBalNL(m) has WF(a) ≡ 4 (mod 8) for every a, so its Walsh spectrum has no zeros.
The proof uses Reed–Muller minimum weight to bound the sum of Walsh squares. The full-spectrum test applies to peaks with 2-adic valuation at least two. The hyperplane test uses extra divisibility when the peak is congruent to four modulo eight. The two tests give eleven explicit cases.
| n | Excluded ceiling | Proved nlbal(n) ≤ | Method | Status |
|---|---|---|---|---|
| 7 | 58 | 56 | Tier A (k=2) | Already known: nl ≤ 56 for every 7-variable function (Mykkeltveit, 1980). Reproved here. |
| 9 | 244 | 242 | Tier A (k=3) | Already known from the covering radius of RM(1,9) (arXiv:2610.17871); superseded by nlbal(9) = 240 (Shittu). |
| 13 | 4,050 | 4,048 | Tier A (k=2) | New |
| 17 | 65,354 | 65,352 | Tier A (k=2) | New |
| 27 | 67,103,070 | 67,103,068 | Tier B (r=6) | New |
| 29 | 268,423,870 | 268,423,868 | Tier A (k=2) | New |
| 33 | 4,294,920,954 | 4,294,920,952 | Tier B (r=3) | New |
| 35 | 17,179,776,502 | 17,179,776,500 | Tier A (k=2) | New |
| 37 | 68,719,291,372 | 68,719,291,370 | Tier A (k=3) | New |
| 39 | 274,877,536,216 | 274,877,536,214 | Tier A (k=4) | New |
| 41 | 1,099,510,886,320 | 1,099,510,886,318 | Tier A (k=5) | New |
The binary digits of √2 determine the reach of the two tests. With bj for the last bit of ⌊2j−2√2⌋, dimension n = 2m + 1 is covered if and only if bm+1 = 1 or (bm, bm+1, bm+2) = (0, 0, 1), and no dimension gains more than 2. In every covered dimension, functions reaching the ceiling have zero-free Walsh spectra. These results are checked in Lean. Exact arithmetic gives 6,249 covered dimensions among the 9,998 odd dimensions from 7 to 20,001. If the relevant binary blocks of √2 have their expected frequencies, the limiting fraction is 5/8. See Sections 6 and 7 of the paper.
In plain words
A Boolean function takes a string of n bits and returns one bit. Ciphers are built from such functions, and a cipher is easier to break when they behave almost like simple linear rules (XORs of input bits). Nonlinearity measures how far a function is from every such rule; higher is better. A function is balanced if it outputs 0 and 1 equally often.
When n is odd, a simple counting argument (Parseval) caps the nonlinearity of a balanced function. We show that this cap cannot be reached in infinitely many odd dimensions, using only the binary digits of √2 and divisibility of the Walsh transform by powers of 2. No computer search is involved.
How it is checked
The Lean 4 companion verifies the spectral exclusions and digit criteria. Appendix A maps the results to the Lean declarations and identifies the counting argument and exact computations in the paper. The comparator checks 24 proof statements and their axioms.
theorem infinitely_many_odd_beat_balanced_parseval (M : Nat) :
∃ m : Nat, M ≤ 2 * m + 1 ∧ 3 ≤ m ∧
¬ ∃ F : Vec (2 * m + 1) → Bool,
isBalanced (2 * m + 1) F ∧ hasNonlinearityAtLeast (2 * m + 1) F (parsevalBalNL m)
To check it yourself, install Lean 4.15.0, clone the repository and run
./verify.sh (under a minute on a laptop). GitHub Actions runs the same check on
every push.
Cite
@misc{shittu2026oddparseval,
author = {Shittu, Daniel Ayomide},
title = {The Balanced {P}arseval Bound and Zero-Free {W}alsh Spectra in Odd Dimensions},
year = {2026},
doi = {10.5281/zenodo.24772680},
note = {Preprint, version 3.1.0. Paper and Lean 4 proof}
}
For n = 7 please also cite Mykkeltveit (1980); for n = 9, the RM(1,9) covering radius papers and the exact value nlbal(9) = 240.