Documentation

TauCeti.LinearAlgebra.Matrix.Gram

Gram forms and matrix reflection #

This file records the basic symmetry and quadratic-form preservation identities for the bilinear and quadratic forms attached to a symmetric matrix.

Main results #

theorem TauCeti.vecMul_dotProduct_comm {n : Type u_1} [Fintype n] {R : Type u_2} [NonUnitalCommSemiring R] {M : Matrix n n R} (hM : M.IsSymm) (v w : n → R) :

The bilinear form carried by a symmetric matrix is symmetric.

theorem TauCeti.reflect_vecMul_dotProduct_self {n : Type u_1} [Fintype n] {R : Type u_2} [CommRing R] {M : Matrix n n R} (hM : M.IsSymm) {u : n → R} (hu : Matrix.vecMul u M ⬝ᵥ u = 2) (v : n → R) :

Reflection in a vector of norm two preserves the value of the quadratic form. For a symmetric matrix M and a vector u with (u ᵥ* M) ⬝ᵥ u = 2, reflection in u preserves the value (v ᵥ* M) ⬝ᵥ v of the form at every vector v. This is what makes a family of norm-two vectors stable under its own reflections once the family exhausts the norm-two vectors.