Documentation

Formalizations.LinearAlgebra.Matrix.IntOrthonormal

Integer vectors of norm one and integer orthonormal columns #

An integer vector v with v·v = 1 is ±e_i for some i. Consequently the columns of an integer m × n matrix A with AᵀA = I are signed standard basis vectors with their nonzero entries in distinct rows. This is the first step of Theorem 8.1 (integer lengths) of the paper on rational sums-of-squares lengths of biquadratic forms, and of the sign-independence of integer lengths of signed graphs.

Main results #

References #

theorem IntOrthonormal.eq_single_of_dotProduct_self_eq_one {m : Type u_1} [Fintype m] [DecidableEq m] {v : m → ℤ} (hv : v ⬝ᵥ v = 1) :
∃ (i : m), v = Pi.single i 1 ∨ v = Pi.single i (-1)
theorem IntOrthonormal.columns_of_transpose_mul_self {m : Type u_1} {n : Type u_2} [Fintype m] [DecidableEq m] [Fintype n] [DecidableEq n] {A : Matrix m n ℤ} (hA : A.transpose * A = 1) :
∃ (f : n → m), Function.Injective f ∧ ∀ (j : n), (fun (i : m) => A i j) = Pi.single (f j) 1 ∨ (fun (i : m) => A i j) = Pi.single (f j) (-1)