Documentation

Formalizations.LinearAlgebra.Matrix.BiquadraticOrthogonal

Orthogonal change of variables in the biquadratic form P_H #

For a square matrix H over a commutative ring, the biquadratic form P_H(x, y) = (x₀² + x₁²)(y·y) + 2x₀x₁(y·Hy) satisfies P_H(x, Dy) = P_{DᵀHD}(x, y) whenever DᵀD = 1. Hence any representation of P_H as a sum of squares of bilinear forms transports to P_{DᵀHD} with the same number of squares, which covers signed-graph switching D = diag(±1).

Main results #

References #

def BiquadraticSOS.P {R : Type u_1} {n : Type u_2} [CommRing R] [Fintype n] (H : Matrix n n R) (x : Fin 2 → R) (y : n → R) :
R

The biquadratic form P_H(x, y) = (x₀² + x₁²) (y ⬝ᵥ y) + 2 x₀ x₁ (y ⬝ᵥ H y).

Equations
Instances For
    theorem BiquadraticSOS.dotProduct_mulVec_congr {R : Type u_1} {n : Type u_2} [CommRing R] [Fintype n] (D M : Matrix n n R) (y : n → R) :
    D.mulVec y ⬝ᵥ M.mulVec (D.mulVec y) = y ⬝ᵥ (D.transpose * M * D).mulVec y

    Congruence of a quadratic form under the substitution y ↦ D y.

    theorem BiquadraticSOS.P_mulVec_orthogonal {R : Type u_1} {n : Type u_2} [CommRing R] [Fintype n] [DecidableEq n] {H D : Matrix n n R} (hD : D.transpose * D = 1) (x : Fin 2 → R) (y : n → R) :
    P H x (D.mulVec y) = P (D.transpose * H * D) x y

    Orthogonal substitution in P_H: if Dᵀ D = 1, then P_H(x, D y) = P_{Dᵀ H D}(x, y).

    theorem BiquadraticSOS.sos_transport {R : Type u_1} {n : Type u_2} [CommRing R] [Fintype n] [DecidableEq n] {ι : Type u_3} [Fintype ι] {H D : Matrix n n R} (hD : D.transpose * D = 1) (B : ι → Matrix (Fin 2) n R) (h : ∀ (x : Fin 2 → R) (y : n → R), P H x y = ∑ i : ι, (x ⬝ᵥ (B i).mulVec y) ^ 2) (x : Fin 2 → R) (y : n → R) :
    P (D.transpose * H * D) x y = ∑ i : ι, (x ⬝ᵥ (B i * D).mulVec y) ^ 2

    Transport of sums of squares of bilinear forms under orthogonal congruence H ↦ Dᵀ H D; the number of squares is unchanged.

    theorem BiquadraticSOS.P_switching {R : Type u_1} {n : Type u_2} [CommRing R] [Fintype n] [DecidableEq n] (H : Matrix n n R) {s : n → R} (hs : ∀ (i : n), s i * s i = 1) (x : Fin 2 → R) (y : n → R) :

    Signed-graph switching: D = diagonal s with s i * s i = 1 is orthogonal.