roseking's picture
Add lean source and binary files (part 84)
cdec422 verified
Raw History Blame Contribute Delete
606 Bytes
9
def IsSign {R : Type u} [One R] [Neg R] (x : R) : Prop :=
body · 1 line
  x = 1 ∨ x = -1
12
abbrev RealMatrix (n : ℕ) := Matrix (Fin n) (Fin n) ℝ
14
def IsCirculant {n : ℕ} (H : RealMatrix n) : Prop :=
body · 1 line
  ∃ h : Fin n → ℝ, ∀ i j, H i j = h (j - i)
17
def IsSignHadamard {n : ℕ} (H : RealMatrix n) : Prop :=
body · 2 lines
  (∀ i j, IsSign (H i j)) ∧
    H * H.transpose = (n : ℝ) • (1 : RealMatrix n)
21
def ExistsRealCirculantHadamard (n : ℕ) : Prop :=
body · 1 line
  ∃ H : RealMatrix n, IsCirculant H ∧ IsSignHadamard H