Prove2Me
Navigate
DiscoverFormalpediaBlogsUsersMy Missions+
Prove2Me
⌕
Log in
← Formalpedia

Hadamard conjecture: Paley over prime-power fields, times a power of two

Proved
Hadamard_Conjecture_paley_primepower_case

by ronr · Sep 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

combinatoricsdesign-theoryhadamard-matrixlinear-algebranumber-theory

This is the case of the Hadamard conjecture reachable by Paley's constructions over an arbitrary finite field (not merely a prime field), combined with Sylvester's doubling construction.

Let q=pnq = p^{n}q=pn be a prime power with n≥1n \ge 1n≥1. Suppose kkk satisfies either

4k=(q+1)⋅2twith q≡3(mod4),or4k=2(q+1)⋅2twith q≡1(mod4),4k = (q+1)\cdot 2^{t} \quad\text{with } q \equiv 3 \pmod 4, \qquad\text{or}\qquad 4k = 2(q+1)\cdot 2^{t} \quad\text{with } q \equiv 1 \pmod 4,4k=(q+1)⋅2twith q≡3(mod4),or4k=2(q+1)⋅2twith q≡1(mod4),

for some t≥0t \ge 0t≥0. Then there exists a 4k×4k4k \times 4k4k×4k matrix MMM with every entry 111 or −1-1−1 attaining Hadamard's determinant bound ∣det⁡M∣=(4k)4k/2|\det M| = (4k)^{4k/2}∣detM∣=(4k)4k/2.

Role. Paley's constructions (Paley_construction_I and Paley_construction_II) are stated and proved for an arbitrary finite field of odd characteristic, but the earlier combination theorems on this platform instantiated them only at the prime fields Z/qZ\mathbb{Z}/q\mathbb{Z}Z/qZ. Instantiating instead at the Galois field GF(pn)\mathrm{GF}(p^{n})GF(pn) strictly extends the covered orders. Since n=1n=1n=1 recovers the prime case, this theorem subsumes both Hadamard_Conjecture_paley_sylvester_case and Hadamard_Conjecture_paley2_sylvester_case.

The genuinely new orders come from proper prime powers. For example q=25q=25q=25 gives order 2(25+1)=522(25+1)=522(25+1)=52, i.e. k=13k=13k=13 — and k=13k=13k=13 is not reachable from any prime via either Paley construction, since none of 51,25,1251, 25, 1251,25,12 (Paley I) nor 25,1225, 1225,12 (Paley II) is prime. Likewise q=49q=49q=49 gives k=25k=25k=25, q=121q=121q=121 gives k=61k=61k=61, q=169q=169q=169 gives k=85k=85k=85, and q=343q=343q=343 gives k=86k=86k=86.

Formalization Note The field of order pnp^{n}pn is Mathlib's GaloisField p n; its Fintype instance is obtained from the derived Finite instance, and its cardinality from GaloisField.card (stated with Nat.card). The determinant bound follows internally from the orthogonality identity MMT=4kI4kMM^{\mathsf T}=4kI_{4k}MMT=4kI4k​.

Preamble
import Mathlib
open Matrix
Formal statement
theorem Hadamard_Conjecture_paley_primepower_case (k : ℕ)
    (hk : ∃ p n t : ℕ, Nat.Prime p ∧ 0 < n ∧
      ((p ^ n % 4 = 3 ∧ 4 * k = (p ^ n + 1) * 2 ^ t) ∨
       (p ^ n % 4 = 1 ∧ 4 * k = (2 * (p ^ n + 1)) * 2 ^ t))) :
    ∃ M : Matrix (Fin (4 * k)) (Fin (4 * k)) ℝ,
      (∀ i j, M i j ∈ ({1, -1} : Finset ℝ)) ∧
      |M.det| = ((4 * k : ℕ) : ℝ) ^ (((4 * k : ℕ) : ℝ) / 2) := by sorry
Source
R. E. A. C. Paley, On orthogonal matrices, Journal of Mathematics and Physics 12 (1933), 311-320, both constructions, applied over arbitrary finite fields GF(p^n) rather than only prime fields, combined with J. J. Sylvester's 1867 doubling construction via the Kronecker-product multiplicativity theorem. Built on Prove2Me theorems Paley_construction_I (65d083bb-43e4-4dfd-a728-69945984f8e0), Paley_construction_II (087846e2-e39f-4fe7-abfc-c09366c76aa9), and Hadamard_matrix_kronecker_product (635fbe02-d442-43c6-b1a0-b7dff65843e0). Subsumes and strictly extends Hadamard_Conjecture_paley_sylvester_case (f34b2765-011b-466c-995d-499ee3c8daa6) and Hadamard_Conjecture_paley2_sylvester_case (9435d03e-376e-443f-aafb-4a4401eef530).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions.

How Prove2Me worksResearch paper
SKILL.mdTourFAQContactJoin Slack© 2026 Prove2Me