Skip to content
DAH

The Hadamard conjecture: a Hadamard matrix of every order divisible by 4

OpenTo verify: Lean proofPosed by Jacques Hadamard, 1893
AI-reviewed
On this page19 sections
Difficulty
70.5/100Major open
How far from a resolution. P vs NP = 100
Application value
14/100Theoretical
Realistic practical impact if resolved. P vs NP = 100
Leverage
28/100Local
How much other knowledge hinges on it. P vs NP = 100

Difficulty 70.5: 130 years old with no general construction; each open order has needed its own method, and the reported August 2026 matrices (orders up to 2000, unpublished) would fill finitely many gaps without touching the general case. It sits just below sunflowers (71) and Lehmer (72), above the finite R(5,5) question (67). Application value 14: Hadamard matrices are used in codes, designs and signal processing, but the orders used in practice are already known, so a full proof changes little; above the other combinatorics problems (3–12.5) and below RH (30). Leverage 28: equivalent to existence statements for Hadamard designs and related codes.

The problem

Is there a square grid of +1 and −1 with perfectly 'orthogonal' rows for every size divisible by 4?

  1. 1Grid of +1 and −1
  2. 2Rows must be perfectly balanced pairs
  3. 3Recipes cover most sizes
  4. 4Size 668 reported found in 2026

Definition. A Hadamard matrix of order nn is an n×nn\times n matrix HH with entries ±1\pm1 and HHT=nIHH^{\mathsf T}=nI. Equivalently ∣det⁡H∣=nn/2|\det H|=n^{n/2} (Hadamard's inequality is attained). For n>2n>2, 4∣n4\mid n.

Constructions. Sylvester: H2n=(HHH−H)H_{2n}=\begin{pmatrix}H&H\\H&-H\end{pmatrix} gives orders 2k2^k. Paley: orders q+1q+1 for prime powers q≡3(mod4)q\equiv3\pmod4, and 2(q+1)2(q+1) for q≡1(mod4)q\equiv1\pmod 4. Williamson and others give more orders. Order 428428 was resolved in 2004 (Kharaghani and Tayfeh-Rezaie), leaving 668668 as the smallest open order.

Near-misses. Eliahou (2025) built a ±1\pm1 matrix HH of order 668 with HHT≡668I(mod64)HH^{\mathsf T}\equiv668I \pmod{64}, raising the record modulus from 32.

A 2026 report under review. On 12 August 2026 Levent Alpöge of Anthropic posted on X, crediting two collaborators and Claude, data encoding Hadamard matrices of order 668 and of every other order below 2000 for which none was known. There is no paper yet. Because a matrix is its own certificate, checking one is easy, and one mathematician reported checking the order-668 matrix with a short script; but no published, reproducible check was found, and the Formal Conjectures corpus still lists order 668 as open. See the claims file.

Check. An explicit matrix of order nn is a certificate: verify HHT=nIHH^{\mathsf T}=nI, about n3n^3 integer operations (≈3×108\approx3\times10^8 for n=668n=668); in Lean this needs a certified computation. The all-orders conjecture is the Lean statement HadamardConjecture, still open.

Why hard. No general construction exists; each gap needs ad hoc search in structured families.

Smallest cases. Order 1: the matrix (1)(1). Order 2: (111−1)\begin{pmatrix}1&1\\1&-1\end{pmatrix}. Order 4: rows (1,1,1,1)(1,1,1,1), (1,−1,1,−1)(1,-1,1,-1), (1,1,−1,−1)(1,1,-1,-1), (1,−1,−1,1)(1,-1,-1,1). Each row has dot product 0 with every other row. The next orders are 8, 12, 16, 20 and so on; some orders such as 92 required more elaborate methods than doubling or Paley's recipes.

Why order 668 mattered. Its size is 668=4⋅167668=4\cdot167, and it does not fit the standard doubling and Paley recipes, so a matrix there needs a different structure or a search. The record modulus result of 2025 shows how close structured searches can get without achieving exact orthogonality.

Go deeper

The full technical text.

A Hadamard matrix of order nn is an n×nn\times n matrix with entries ±1\pm 1 whose rows are pairwise orthogonal, equivalently HHT=nIHH^{\mathsf T}=nI. Its order is 11, 22 or a multiple of 44. The conjecture: a Hadamard matrix exists for every order 4k4k.

Lean 4 statement in the Formal Conjectures corpus:

def IsHadamard {n : ℕ} (M : Matrix (Fin n) (Fin n) ℝ) : Prop :=
    (∀ (i j : Fin n), M i j ∈ ({1, -1} : Finset ℝ)) ∧
    |M.det| = n ^ ((n : ℝ) / 2)

theorem HadamardConjecture (k : ℕ) : ∃ M, IsHadamard (n := 4 * k) M
Words on this page (6)
Words on this page
Hadamard matrix
A square grid of +1 and −1 whose rows are pairwise orthogonal.
orthogonal
Two rows are orthogonal if multiplying matching entries and adding gives zero.
Paley construction
A recipe that builds Hadamard matrices from finite fields.
determinant
A number computed from a square grid that measures how it scales volumes.
error-correcting code
A way of adding structure to messages so errors can be detected and fixed.
Epoch AI open problems
A benchmark of unsolved research problems for AI.
New to this? Read first (4)
New to this? Read first

Path to understanding

foundations → problem

The research entries this problem rests on, in the order to read them. Each links to its explainer.

  1. Start with
  2. Step 2
  3. Step 3
  4. Step 4
  5. Then
    • The Hadamard conjecture: a Hadamard matrix of every order divisible by 4The problem

State of the art

Constructions cover most orders: Sylvester's doubling gives all powers of 2, and Paley's constructions give orders q+1q+1 and 2(q+1)2(q+1) for prime powers qq in the right residue classes; Williamson-type and other constructions fill many more. The previous smallest open order, 428, was settled in 2004 by Kharaghani and Tayfeh-Rezaie, leaving 668 as the smallest order with no known Hadamard matrix. A 2025 paper by Eliahou (Australas. J. Combin. 93) built a matrix of order 668 satisfying HHT≡668 I(mod64)HH^{\mathsf T}\equiv 668\,I \pmod{64}, raising the record modulus from 32 but not reaching a true Hadamard matrix. Reported in August 2026, not yet published: on 12 August 2026 Levent Alpöge (Anthropic) posted on X (post) data, in the form of a puzzle with a decoder, encoding Hadamard matrices of order 668 and of every other order up to 2000 for which none was known, crediting two collaborators and Claude. There is no paper or data file. The mathematician Ion Nechita reported checking the order-668 matrix (±1\pm1 entries and HHT=668IHH^{\mathsf T}=668I) with a short script but did not publish the check (blog, 13 August 2026); Epoch AI lists the order as solved, provisionally crediting AI (Epoch AI); and the Formal Conjectures corpus still labels the order-668 statement open (commit e754a78, 17 October 2026). This entry records the report as a claim under review (see the claims file). Even if confirmed, the conjecture for all orders remains open.

Realistic applications

Hadamard matrices underlie error-correcting codes (Reed–Muller and Hadamard codes), spread-spectrum and CDMA sequences, optimal experimental designs, and Hadamard transforms in signal processing and quantum information. Having a matrix at every order would let designers choose sizes freely, but existing constructions already cover the sizes used in practice.

What counts as solved

A Lean proof of HadamardConjecture for all kk; the realistic partial milestones are Lean-checked Hadamard matrices at specific open orders (a matrix is its own certificate).

How it gets verified

To verify: Lean proof

A formal proof checked by Lean 4 / Mathlib.

Statement: Hadamard.HadamardConjecture in formal-conjectures (quoted above). The same file states the first open order as its own open declaration, HadamardConjecture.variants.«167» : ∃ M, IsHadamard (n := 4 * 167) M, and the solved range HadamardConjecture.variants.first_cases for k≤166k \le 166. It also defines the equivalent IsHadamard' via MTM=nIM^{\mathsf T}M=nI; the equivalence isHadamard_equiv_isHadamard' is proved in one direction only (the other is sorry), so check which form a proof uses. Mathlib supplies Matrix, Matrix.det and real powers, so no new definitions are needed. Verifying a specific order is a finite computation: for an explicit ±1\pm1 matrix of order 668, check MMT=668IMM^{\mathsf T}=668I, about 6683≈3×108668^3 \approx 3\times 10^8 integer operations, heavy for plain decide but feasible with certified computation in Lean; the corpus's own isHadamard_H12 shows the pattern at order 12. A full proof must cover every kk. Judge with Comparator; for specific orders also publish the matrix so others can re-check it independently.

Claims

Where the work is

Theory
55%
New mathematical or conceptual ideas
Engineering
10%
Building instruments, chips, systems, software, formal proofs
Compute
35%
Raw computation, search, simulation
Empirical
0%
Observation, experiment, data collection

Existence at each remaining order is settled by clever constructions plus search; a general proof for every multiple of 4 needs a new idea.

Connected problems

Progress

  1. Aug 12, 2026
    Matrices of order 668 and other open orders below 2000 reported

    Levent Alpöge posts data encoding the matrices on X, crediting two collaborators and Claude; no paper or data file yet, and no published independent check.

    source
  2. Sep 24, 2025
    64-modular matrix of order 668

    Eliahou's paper (received 24 September 2025) raises the modulus record to 64 without producing a true Hadamard matrix.

    source
  3. Jan 1, 2004
    Order 428 settled

    Kharaghani and Tayfeh-Rezaie construct a Hadamard matrix of order 428, per Epoch AI (year only known).

    source