IsHadamardMatrix
def
A square integer matrix H indexed by a finite type of size n is a Hadamard matrix when every entry is 1 or -1 and H Hᵀ = n I.
Statement
def IsHadamardMatrix {n : Type*} [Fintype n] [DecidableEq n] (H : Matrix n n ℤ) : Prop
- Defined in
- arXiv:2610.27175 (Recent progress in the construction of Hadamard matrices), Section 1 (definition of a Hadamard matrix)
- Verified
- 22 Oct 2026
- Axioms
- none listed
- Used by 3
- not_is_hadamard_matrix_all_ones_twoThe 2 × 2 all-ones matrix is not a Hadamard matrix.
- is_hadamard_matrix_order_twoThe matrix [[1, 1], [1, -1]] is a Hadamard matrix of order 2.
- bordered_goethals_seidel_is_hadamardLet m be even and let A, B, C, D be circulant {±1}-matrices of order m (first columns a, b, c, d) with AAᵀ + BBᵀ + CCᵀ + DDᵀ = (4m+4)I -…
Lean source view module on GitHub
/-- A square integer matrix H indexed by a finite type of size n is a Hadamard matrix when every entry is 1 or -1 and H Hᵀ = n I. -/ def IsHadamardMatrix {n : Type*} [Fintype n] [DecidableEq n] (H : Matrix n n ℤ) : Prop := (∀ i j, H i j = 1 ∨ H i j = -1) ∧ H * H.transpose = (Fintype.card n : ℤ) • (1 : Matrix n n ℤ)