Theorem (IsGSVD.ker_inf_ker_eq_span).The common-kernel block of a GSVD. For normalized generalized singular coordinates of \mathbf{A},\mathbf{B}, their common kernel is precisely the span of the columns of \mathbf{X} with c_i^2+s_i^2=0. This includes an empty common-kernel block and the case where every coordinate is inactive. [PaigeSaunders1981, pp. 398โ405]; the block is stated as an indexed span, without permuting the inactive coordinates to the end.
Headline (provisional)
Lean statement and details
NLAlib.IsGSVD.ker_inf_ker_eq_span.{u_1, u_2, u_3, u_4} {๐ : Type u_1} [RCLike ๐] {m : Type u_2}
{n : Type u_3} {p : Type u_4} [Fintype m] [Fintype n] [Fintype p] [DecidableEq n]
{A : Matrix m n ๐} {B : Matrix p n ๐} {X : Matrix n n ๐} {c s : n โ โ} (h : IsGSVD A B X c s) :
A.mulVecLin.ker โ B.mulVecLin.ker = Submodule.span ๐ (X.col '' {i | c i ^ 2 + s i ^ 2 = 0})
Theorem (IsGSVD.rank_fromRows).The active-coordinate count in a GSVD. For normalized generalized singular coordinates of \mathbf{A},\mathbf{B}, the rank of the stacked matrix \begin{\mathbf{b}matri\mathbf{x}}\mathbf{A}\\\mathbf{B}\end{\mathbf{b}matri\mathbf{x}} is the number of coordinates with c_i^2+s_i^2=1. Zero matrices and empty dimensions are included. [PaigeSaunders1981, pp. 398โ405]; the rank statement is expressed through the normalized Gram coordinates without choosing an ordering.
General form: sizes are index types
Lean statement and details
NLAlib.IsGSVD.rank_fromRows.{u_1, u_2, u_3, u_4} {๐ : Type u_1} [RCLike ๐] {m : Type u_2}
{n : Type u_3} {p : Type u_4} [Fintype m] [Fintype n] [Fintype p] [DecidableEq n]
{A : Matrix m n ๐} {B : Matrix p n ๐} {X : Matrix n n ๐} {c s : n โ โ} (h : IsGSVD A B X c s) :
(A.fromRows B).rank = Fintype.card { i // c i ^ 2 + s i ^ 2 = 1 }
Theorem (exists_isGSVD).Normalized GSVD of a rectangular pair. Every pair \mathbf{A},\mathbf{B} of real or complex rectangular matrices with a common column type admits invertible right coordinates \mathbf{X} with \mathbf{X}^{\mathsf{H}}\mathbf{A}^{\mathsf{H}}\mathbf{A}\mathbf{X} =\operatorname{diag}(c_i^2),\qquad \mathbf{X}^{\mathsf{H}}\mathbf{B}^{\mathsf{H}}\mathbf{B}\mathbf{X} =\operatorname{diag}(s_i^2), where c_i,s_i\ge0 and c_i^2+s_i^2\in\{0,1\}. Empty dimensions and arbitrary common kernels are included. [PaigeSaunders1981, pp. 398โ405]; stated here in normalized Gram form over any RCLike field and arbitrary finite index types.
Lean statement and details
NLAlib.exists_isGSVD.{u_1, u_2, u_3, u_4} {๐ : Type u_1} [RCLike ๐] {m : Type u_2} {n : Type u_3}
{p : Type u_4} [Fintype m] [Fintype n] [Fintype p] [DecidableEq n] (A : Matrix m n ๐)
(B : Matrix p n ๐) : โ X c s, IsGSVD A B X c s
General form: sizes are index types. A size is carried by a finite index type: |k| is the number of elements of the index type k, and "k nonempty" means k โฅ 1.