A cyclic Legendre pair of length 1197 yields a Hadamard matrix of order 2396
ProvedHadamard2396.exists_matrix_of_cyclic_legendre_paircombinatoricsdesign-theoryhadamard-matrix
Let . If for every nonzero shift , there exists a sign matrix of order with . This is the known conditional construction specialized to length .
Preamble
import Mathlib.Data.Matrix.Mul open scoped BigOperators
Formal statement
namespace Hadamard2396
theorem exists_matrix_of_cyclic_legendre_pair
(a b : Fin 1197 → ℤ)
(ha : ∀ i, a i = 1 ∨ a i = -1)
(hb : ∀ i, b i = 1 ∨ b i = -1)
(hc : ∀ s : Fin 1197, s ≠ 0 →
(∑ i : Fin 1197, (a i * a (i + s) + b i * b (i + s))) = -2) :
∃ H : Matrix (Fin 2396) (Fin 2396) ℤ,
(∀ i j, H i j = 1 ∨ H i j = -1) ∧
H * H.transpose = (2396 : ℤ) • (1 : Matrix (Fin 2396) (Fin 2396) ℤ) := by sorry
end Hadamard2396Source
Egan et al., Recent progress in the construction of Hadamard matrices (2026), §2.1, Theorem 4, equation (1) and its normalization discussion. https://arxiv.org/abs/2610.27175
Read-back
What the Lean code literally says, in plain math · GPT-6 (Codex)
Let and be any two integer-valued functions on the residues modulo . Suppose that for every residue and that, for every nonzero residue , , where is taken modulo . Under these hypotheses, there exists a integer matrix such that for every row and column , and , where is the identity matrix. The assertion is conditional on the hypotheses about and and would hold vacuously if no such pair existed.
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.