An upper bound of 2^{O(n^2/log n)} on the number of Hadamard matrices

Let H(n) count labelled n × n real Hadamard matrices. We prove H(n) ≤ exp(O(n²/log n)) at every order, giving a bound of the form 2^{o(n²)} that Ferber, Jain and Zhao wrote would already be very interesting. The same bound holds for integer matrices with row Gram G (max_i G_{ii} ≤ K² n) and fixed-q Butson matrices. The proof tracks, across dyadic scales, a determinant potential on the integer lattice orthogonal to the recorded rows. Adapting the polynomial counting argument of Letwin, Reis and Rothvoss yields the binomial lattice-point bound used across scales; Regev and Stephens-Davidowitz's reverse Minkowski theorem alone gives O(n² log log n / log n). The rate n²/log n is attained by some singular low-rank square sign Grams and by orthogonal t × n sign arrays with 4 ∣ n and t = ⌊c n / ln n⌋ for small fixed c > 0. When max_i G_{ii} ≤ K² n, an exact algorithm lists every realization of G once in polynomial streaming space and the same exponential time up to a polynomial factor (in an explicit fixed-word model). Every numbered theorem, proposition, corollary, lemma and definition is formalized in Lean 4, together with the four applications in Section 2.3 (weighing matrices, conference matrices, symmetric designs and design incidence tables) and the existence direction of Theorem 1.1 of Letwin, Reis and Rothvoss. Each formal statement was compared with its printed form. The formalization builds on the Apache-2.0 Lean library annals_reverse_minkowski, compiles from the shipped source, replays in Lean's kernel checker and in the independent Nanoda checker, and depends only on Lean's three standard axioms (propext, Classical.choice and Quot.sound). This record contains the article and supplement.zip. The supplement holds the LaTeX source, the complete Lean 4.33.0 formalization with its vendored library, the statement table, replay scripts with pinned tool versions, the formal verification receipt, and three standard-library Python reference and regression programs with an offline checker (verification/verify_public.py) that validates the archive without Lean. The article, bibliography, documentation and original data are licensed under CC BY 4.0; the Python programs, first-party Lean sources and controls, and TeX support files under the MIT License; and the vendored annals_reverse_minkowski library under the Apache License 2.0. LICENSES.md gives the terms for each part. The fonts embedded in the PDF (Latin Modern and AMS fonts) keep their own licenses. Use of generative AI. Generative AI tools assisted with the mathematics, proofs, programs and text. The author is responsible for all content.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-29
DOI
https://doi.org/10.5281/zenodo.24643016
Primary Topic
Advanced Combinatorial Mathematics
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

An upper bound of 2^{O(n^2/log n)} on the number of Hadamard matrices

Benedek Blackthorn
1 links
Zenodo (CERN European Organization for Nuclear Research)
Advanced Combinatorial Mathematics
preprint

An upper bound of 2^{O(n^2/log n)} on the number of Hadamard matrices

Benedek Blackthorn
preprint en

Abstract

Let H(n) count labelled n × n real Hadamard matrices. We prove H(n) ≤ exp(O(n²/log n)) at every order, giving a bound of the form 2^{o(n²)} that Ferber, Jain and Zhao wrote would already be very interesting. The same bound holds for integer matrices with row Gram G (max_i G_{ii} ≤ K² n) and fixed-q Butson matrices. The proof tracks, across dyadic scales, a determinant potential on the integer lattice orthogonal to the recorded rows. Adapting the polynomial counting argument of Letwin, Reis and Rothvoss yields the binomial lattice-point bound used across scales; Regev and Stephens-Davidowitz's reverse Minkowski theorem alone gives O(n² log log n / log n). The rate n²/log n is attained by some singular low-rank square sign Grams and by orthogonal t × n sign arrays with 4 ∣ n and t = ⌊c n / ln n⌋ for small fixed c > 0. When max_i G_{ii} ≤ K² n, an exact algorithm lists every realization of G once in polynomial streaming space and the same exponential time up to a polynomial factor (in an explicit fixed-word model). Every numbered theorem, proposition, corollary, lemma and definition is formalized in Lean 4, together with the four applications in Section 2.3 (weighing matrices, conference matrices, symmetric designs and design incidence tables) and the existence direction of Theorem 1.1 of Letwin, Reis and Rothvoss. Each formal statement was compared with its printed form. The formalization builds on the Apache-2.0 Lean library annals_reverse_minkowski, compiles from the shipped source, replays in Lean's kernel checker and in the independent Nanoda checker, and depends only on Lean's three standard axioms (propext, Classical.choice and Quot.sound). This record contains the article and supplement.zip. The supplement holds the LaTeX source, the complete Lean 4.33.0 formalization with its vendored library, the statement table, replay scripts with pinned tool versions, the formal verification receipt, and three standard-library Python reference and regression programs with an offline checker (verification/verify_public.py) that validates the archive without Lean. The article, bibliography, documentation and original data are licensed under CC BY 4.0; the Python programs, first-party Lean sources and controls, and TeX support files under the MIT License; and the vendored annals_reverse_minkowski library under the Apache License 2.0. LICENSES.md gives the terms for each part. The fonts embedded in the PDF (Latin Modern and AMS fonts) keep their own licenses. Use of generative AI. Generative AI tools assisted with the mathematics, proofs, programs and text. The author is responsible for all content.

Zenodo (CERN European Organization for Nuclear Research)
Advanced Combinatorial Mathematics
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon