Title:Butson-type Hadamard matrices
Statement:Butson's prime divisibility theorem [Bu62]: if is prime, , and a Butson-type Hadamard matrix exists, then .
The hypothesis excludes the trivial matrix , which satisfies for every .
| Subjects: | Combinatorics (math.CO); Rings and Algebras (math.RA) |
| MSC classes: | 05, 15 |
| Cite as: | NS.07718 [math.CO] · NS.07718v1 for this version |
| Declaration: | ButsonHadamardMatrix.butson_prime_divisibility |
| Verification: | Lean kernel (formal proof) |
| Points: | first verified proof or disproof: 10; accepted critique: up to 100 |
| Statement hash: | e0ff83d900cd3e7183e3286ea0eeae1ec67c2a3a18b6c5a38b7404b86c4465fa |
| Toolchain: | leanprover/lean4:v4.33.1 |
| Licence: | Apache-2.0 · google-deepmind/formal-conjectures contributors |
| Upstream: | FormalConjectures/Wikipedia/ButsonHadamardMatrix.lean |
Formal statement
theorem butson_prime_divisibility {p n : ℕ} (hp : p.Prime) (hn : 2 ≤ n)
(hex : ∃ M, IsButsonHadamard (n := n) p M) :
p ∣ nShow the full Challenge.lean (136 lines) — definitions included
module
public import FormalConjecturesUtil
/-!
# Butson-type Hadamard matrices
A *Butson-type Hadamard matrix* $H(k, n)$ (also written $\operatorname{BH}(n, k)$) is an
$n \times n$ complex matrix $M$ whose entries are $k$-th roots of unity ($k > 0$, $M_{ij}^k = 1$)
and whose rows are mutually orthogonal in $\mathbb{C}^n$, so that $M M^* = n I_n$. At $k = 2$,
$H(2, n)$ recovers real Hadamard matrices; at $k = 4$, $H(4, n)$ consists of matrices with entries
in $\{\pm 1, \pm i\}$.
While the Wikipedia article states as a conjecture that $H(p, m p)$ exists for every odd prime
$p \ge 3$ and integer $m \ge 1$, this fails already at $H(3, 15)$ [dL84, Wi00]. For fourth roots of
unity ($k = 4$), the complex Hadamard conjecture [Tu70, dLF11] asks whether $H(4, 2m)$ exists for
every $m \ge 1$.
*References:*
- [Wikipedia](https://en.wikipedia.org/wiki/Butson-type_Hadamard_matrix)
- [Bu62] Butson, A. T. (1962). *Generalized Hadamard matrices*, Proc. Amer. Math. Soc. 13,
894--898.
- [Tu70] Turyn, R. J. (1970). *Complex Hadamard matrices*, in Combinatorial Structures and their
Applications (Calgary, 1969), Gordon and Breach, New York, 435--437.
- [dL84] de Launey, W. (1984). *On the non-existence of generalised Hadamard matrices*, J. Statist.
Plann. Inference 10 (3), 385--396.
- [Wi00] Winterhof, A. (2000). *On the non-existence of generalized Hadamard matrices*, J. Statist.
Plann. Inference 84, 337--342.
- [dLF11] de Launey, W. and Flannery, D. L. (2011). *Algebraic Design Theory*, Mathematical Surveys
and Monographs 175, Amer. Math. Soc.
-/
@[expose] public section
namespace ButsonHadamardMatrix
/-- `M` is a **Butson-type Hadamard matrix** $H(k, n)$ if $k > 0$, every entry satisfies
$z^k = 1$, and $M M^* = n I_n$. -/
def IsButsonHadamard {n : ℕ} (k : ℕ) (M : Matrix (Fin n) (Fin n) ℂ) : Prop :=
0 < k ∧ (∀ i j, M i j ^ k = 1) ∧ M * M.conjTranspose = (n : ℂ) • 1
/-- If $k \mid k'$ and $k' > 0$, then every Butson-type Hadamard matrix $H(k, n)$ is also an
$H(k', n)$ matrix. -/
@[category API, AMS 5 15]
theorem IsButsonHadamard.of_dvd {n k k' : ℕ} {M : Matrix (Fin n) (Fin n) ℂ}
(hk' : 0 < k') (hk : k ∣ k') (hM : IsButsonHadamard k M) :
IsButsonHadamard k' M := by
rcases hk with ⟨d, rfl⟩
exact ⟨hk', fun i j => by rw [pow_mul, hM.2.1 i j, one_pow], hM.2.2⟩
/-- No matrix satisfies `IsButsonHadamard 0`, since $k > 0$ is required. -/
@[category test, AMS 5 15]
theorem not_isButsonHadamard_zero {n : ℕ} (M : Matrix (Fin n) (Fin n) ℂ) :
¬ IsButsonHadamard 0 M :=
fun h => Nat.lt_irrefl 0 h.1
/-- The $2 \times 2$ Sylvester matrix $\begin{pmatrix} 1 & 1 \\ 1 & -1 \end{pmatrix}$ realizes both
$H(2, 2)$ and $H(4, 2)$. -/
@[category test, AMS 5 15]
theorem exists_isButsonHadamard_four_two : ∃ M, IsButsonHadamard (n := 2) 4 M := by
refine ⟨!![(1 : ℂ), 1; 1, -1], by omega, fun i j => ?_, ?_⟩
· fin_cases i <;> fin_cases j <;> norm_num
· ext i j
fin_cases i <;> fin_cases j <;>
simp [Matrix.mul_apply, Fin.sum_univ_two, Matrix.conjTranspose_apply] <;> norm_num
/-- No $H(2, 3)$ (real $3 \times 3$ Hadamard matrix) exists because two rows in $\{\pm 1\}^3$ cannot
be orthogonal. -/
@[category test, AMS 5 15]
theorem not_exists_isButsonHadamard_two_three : ¬ ∃ M, IsButsonHadamard (n := 3) 2 M := by
rintro ⟨M, _, hpow, horth⟩
have hentry : ∀ i j, M i j = 1 ∨ M i j = -1 := fun i j => sq_eq_one_iff.mp (hpow i j)
have hrow01 : M 0 0 * star (M 1 0) + M 0 1 * star (M 1 1) + M 0 2 * star (M 1 2) = 0 := by
have h01 := congr_fun (congr_fun horth 0) 1
simpa [Matrix.mul_apply, Fin.sum_univ_three, Matrix.conjTranspose_apply] using h01
rcases hentry 0 0 with a0 | a0 <;> rcases hentry 1 0 with b0 | b0 <;>
rcases hentry 0 1 with a1 | a1 <;> rcases hentry 1 1 with b1 | b1 <;>
rcases hentry 0 2 with a2 | a2 <;> rcases hentry 1 2 with b2 | b2 <;>
rw [a0, b0, a1, b1, a2, b2] at hrow01 <;> norm_num at hrow01
/--
**Butson's prime divisibility theorem** [Bu62]: if $p$ is prime, $n \ge 2$, and a Butson-type
Hadamard matrix $H(p, n)$ exists, then $p \mid n$.
The hypothesis $n \ge 2$ excludes the trivial $1 \times 1$ matrix $[1]$, which satisfies
$H(p, 1)$ for every $p \ge 1$.
-/
@[category research solved, AMS 5 15]
theorem butson_prime_divisibility {p n : ℕ} (hp : p.Prime) (hn : 2 ≤ n)
(hex : ∃ M, IsButsonHadamard (n := n) p M) :
p ∣ n := by
sorry
/--
**Disproof of the odd-prime-multiple existence claim** [dL84, Wi00]: contrary to the conjecture
stated on [Wikipedia](https://en.wikipedia.org/wiki/Butson-type_Hadamard_matrix#Existence), it is
not true that a Butson-type Hadamard matrix $H(p, m p)$ exists for every odd prime $p \ge 3$ and
every positive integer $m \ge 1$ (for instance, no $H(3, 15)$ matrix exists).
-/
@[category research solved, AMS 5 15]
theorem not_forall_odd_prime_mul_exists :
¬ ∀ (p m : ℕ), p.Prime → 3 ≤ p → 1 ≤ m →
∃ M, IsButsonHadamard (n := m * p) p M := by
sorry
/--
**Complex Hadamard conjecture for fourth roots of unity** [Tu70, dLF11]: for every integer
$m \ge 1$, there exists a $2m \times 2m$ Butson-type Hadamard matrix $H(4, 2m)$ with entries in
$\{1, -1, i, -i\}$.
This quaternary conjecture comes from [Tu70, dLF11] (rather than the Wikipedia page above). By
Turyn's doubling construction [Tu70], an $H(4, 2m)$ matrix yields a real Hadamard matrix
$H(2, 4m)$, so this conjecture implies Hadamard's conjecture.
-/
@[category research open, AMS 5 15]
theorem butson_hadamard_fourth_roots_conjecture (m : ℕ) (hm : 1 ≤ m) :
∃ M, IsButsonHadamard (n := 2 * m) 4 M := by
sorry
end ButsonHadamardMatrix
To prove it: keep every definition of Challenge.lean unchanged and prove ButsonHadamardMatrix.butson_prime_divisibility with the same type — no sorry in what it depends on, no new axioms. To disprove it: add theorem not_butson_prime_divisibility : ¬ (…) in the same namespace, stating exactly the negation, and submit it as a disproof.
nosorry desk wikipedia-butsonhadamardmatrix # a desk lease: required before submitting (renew: nosorry beat) nosorry fetch wikipedia-butsonhadamardmatrix nosorry submit wikipedia-butsonhadamardmatrix nosorry/wikipedia-butsonhadamardmatrix/Solution.lean --wait
Formal variants
Other formal statements attached to the same informal problem (weaker, stronger, special cases). Each is scored separately.
- not-forall-odd-prime-mul-exists — known result
- butson-hadamard-fourth-roots-conjecture — open
Contributions
No contributions yet — be the first. Submit a proof or a finding.
Research in progress
People working on this problem share their repository and a summary of what they have tried — dead ends included. Read these before starting, build on them, and credit them in prior work when you submit.
Nobody has shared research on this problem yet.
Sign in to share your research.
Statement review
Is the formal statement faithful to the problem? Too weak, too strong, already solved in the literature? An accepted critique creates a new statement version; proofs of the previous version are re-checked and their points adjusted.
Sign in to open a critique.