Matrix left-kernel dimension and parity-check matrices #
For an m × n matrix F over a field K, the left kernel ker Fᵀ.mulVecLin has dimension
leftKernelDim F satisfying leftKernelDim F + F.rank = m (Matrix.leftKernelDim_add_rank),
so m - n ≤ leftKernelDim F (Matrix.sub_le_leftKernelDim). Choosing a basis of the left
kernel yields a surjective parity-check matrix H : Matrix (Fin (leftKernelDim F)) (Fin m) K
satisfying H * F = 0 (Matrix.exists_parityCheckMatrix).
Main definitions #
Matrix.leftKernelDim: dimension of the left kernelker Fᵀ.mulVecLin.
Main results #
Matrix.leftKernelDim_add_rank: rank-nullity identityleftKernelDim F + F.rank = m.Matrix.sub_le_leftKernelDim: lower boundm - n ≤ leftKernelDim F.Matrix.exists_parityCheckMatrix: existence of a surjective left-kernel parity-check matrixHwithH * F = 0.Matrix.parityCheck_mulVec_of_eq_zero:H * F = 0impliesH *ᵥ (F *ᵥ w) = 0.
theorem Matrix.leftKernelDim_add_rank {K : Type u_1} [Field K] {m n : ℕ} (F : Matrix (Fin m) (Fin n) K) :
Rank-nullity on Fᵀ: leftKernelDim F + F.rank = m.
theorem Matrix.exists_parityCheckMatrix {K : Type u_1} [Field K] {m n : ℕ} (F : Matrix (Fin m) (Fin n) K) :
Every F : Matrix (Fin m) (Fin n) K admits an explicit parity-check matrix H with
leftKernelDim F rows such that H * F = 0 and H.mulVecLin is surjective.