QuantumInfo.ForMathlib.HermitianMat.Order
55 declarations
Loewner partial order on Hermitian matrices
#instPartialOrderFor a finite-dimensional Hilbert space (or more generally, a matrix space over a field with an involution), the type `HermitianMat n 𝕜` of Hermitian matrices (self-adjoint matrices) is equipped with a partial order . This order is the Loewner order, where for two Hermitian matrices and , we define if and only if the difference is a positive semidefinite matrix.
The set of Hermitian matrices is an ordered additive monoid.
#instIsOrderedAddMonoidThe set of Hermitian matrices of size over a field satisfies the axioms of an ordered additive monoid. Specifically, for any such Hermitian matrices , and , if , then , where the partial order is defined such that if and only if the difference is a positive semidefinite matrix.
is positive semidefinite
#le_iffLet be a natural number and be a field. For any two Hermitian matrices , the relation holds if and only if the matrix difference is positive semidefinite. Here, denotes the partial order on Hermitian matrices, and denotes the property of a matrix being positive semidefinite.
is positive semidefinite
#zero_le_iffLet be a Hermitian matrix of size over a field . Then with respect to the Loewner partial order if and only if the underlying matrix is positive semidefinite.
Let and be Hermitian matrices of size over a field . Then with respect to the Loewner partial order if and only if for every vector , the quadratic form inequality holds, where (denoted by `star x`) is the conjugate transpose of .
for Hermitian matrices
#instZeroLEOneClassIn the space of Hermitian matrices of size over a field , the zero matrix is less than or equal to the identity matrix () with respect to the Loewner partial order.
is positive semidefinite and
#lt_iff_posdefFor any two Hermitian matrices and , the relation holds if and only if the matrix difference is positive semidefinite and is not equal to .
is a strictly ordered -module
#instIsStrictOrderedModuleRealThe space of Hermitian matrices over a field (where is typically or ) forms a strictly ordered module over the real numbers . This means that for any Hermitian matrices and any real scalar , if in the sense of the Loewner order (i.e., is positive definite), then .
for Hermitian matrices
#posSemidef_iff_spectrum_IciLet be a Hermitian matrix in . is positive semidefinite ( in the Loewner order) if and only if the spectrum of its underlying matrix, denoted , is a subset of the interval .
Let be a Hermitian matrix in . is positive semidefinite () if and only if every element in the spectrum of its underlying matrix is non-negative ().
If , then for Hermitian matrices
#trace_nonnegLet be a Hermitian matrix in . If is positive semidefinite (denoted as ), then its trace is a non-negative real number, i.e., .
for a Hermitian matrix
#trace_posLet be an -clike field (such as or ) and be a finite type. Let be a Hermitian matrix of size over . If is strictly greater than zero in the partial order of Hermitian matrices (meaning is positive semidefinite and ), then its trace is strictly positive, i.e., .
Positivity extension for of a Hermitian matrix
#evalHermitianMatTraceThe definition provides a tactic extension for the `positivity` tactic to handle the trace of a Hermitian matrix. Specifically, for a Hermitian matrix , it identifies the positivity property of based on the property of : - If is positive definite (), it concludes that using the lemma `trace_pos`. - If is positive semi-definite (), it concludes that using the lemma `trace_nonneg`.
Positivity of scalar multiplication preserves the partial order of Hermitian matrices over
#instPosSMulMonoRealThe space of Hermitian matrices constitutes a positively monotone scalar multiplication module over the real numbers . Specifically, for any positive real number and any two Hermitian matrices , if with respect to the Löwner partial order, then .
Scalar Multiplication by Non-negative Hermitian Matrices is Monotonic in
#instSMulPosMonoRealThe space of Hermitian matrices satisfies the property that scalar multiplication by a positive Hermitian matrix is monotonic with respect to real numbers. Specifically, for any real numbers and any Hermitian matrix such that , if , then .
for Positive Real and Hermitian Matrices
#instPosSMulReflectLERealThe space of Hermitian matrices satisfies the property of reflecting scalar multiplication by positive real numbers with respect to the partial order (the Loewner order). Specifically, for any such that and any Hermitian matrices , if , then .
for Hermitian matrices
#le_trace_smul_oneLet be a Hermitian matrix of size over an -clike field (such as or ). If is positive semidefinite (), then , where is the trace of , is the identity matrix, and denotes the Loewner partial order.
The Kronecker product of non-negative Hermitian matrices is non-negative ()
#kronecker_nonnegLet and be Hermitian matrices of dimensions and respectively over a field . If and are non-negative ( and ), then their Kronecker product is also non-negative (). In the context of Hermitian matrices, the relation is equivalent to being a positive semidefinite matrix.
and for Hermitian matrices
#kronecker_posLet and be Hermitian matrices of dimensions and respectively over an -clike field . If and are strictly positive in the Loewner partial order (meaning they are positive semidefinite and non-zero, denoted and ), then their Kronecker product is also strictly positive ().
A Positive Semidefinite Matrix is Non-Negative ()
#posSemidef_to_nonnegLet be a square matrix of size over a field . If is positive semidefinite (denoted as ), then is non-negative when viewed as a Hermitian matrix (denoted as ).
Let be a square matrix of size over a field . If is non-empty and is positive definite ( in the sense of `Matrix.PosDef`), then is strictly positive () when viewed as an element of the space of Hermitian matrices.
Positivity extension for positive semidefinite and positive definite matrices
#evalMatrixPSDThe definition `HermitianMat.evalMatrixPSD` provides a computational procedure (a `Positivity` tactic extension) that searches the local hypothesis context for proofs of positive semidefiniteness () or positive definiteness () for a square matrix . If a proof of `A.PosDef` is found, the tactic concludes in the relevant sense. If a proof of `A.PosSemidef` is found, it concludes .
Let be a Hermitian matrix. If the underlying matrix of (denoted by ) is positive semidefinite, then is non-negative with respect to the partial order on Hermitian matrices ().
for Hermitian matrices
#mat_posDef_to_posLet be a non-empty finite set and be a Hermitian matrix of size over a field . If the underlying matrix of is positive definite (), then is strictly greater than zero () with respect to the partial order on Hermitian matrices.
Positivity extension for positive semidefinite/definite Hermitian matrices
#evalHermitianMatPSDThe `evalHermitianMatPSD` tactic extension for the `positivity` tactic facilitates proofs of the positivity or non-negativity of a Hermitian matrix . It searches the local context for hypotheses identifying the underlying matrix as either positive definite () or positive semidefinite (). If a positive definite hypothesis is found, it proves . If only a positive semidefinite hypothesis is found, it proves .
Positivity extension for of Hermitian matrices
#evalHermitianMatKroneckerThis is a computational tactic extension for the `positivity` framework. It provides a procedure to automatically prove that the Kronecker product of two Hermitian matrices is positive semidefinite () or positive definite (). Specifically: - If both and are strictly positive definite ( and ), the tactic proves that is strictly positive definite. - If both and are positive semidefinite ( and ), the tactic proves that is positive semidefinite. The extension functions by inspecting the expression for `HermitianMat.kronecker`, recursively determining the positivity of the factors and , and then applying the corresponding lemma (`HermitianMat.kronecker_pos` or `HermitianMat.kronecker_nonneg`).
Let be a Hermitian matrix of size over a field , and let be an matrix. If is positive semidefinite (), then its conjugation by , defined as , is also positive semidefinite ().
Let be a Hermitian matrix over a field , and let be an matrix. If is positive definite () and the kernel of the linear map defined by is contained within the kernel of (), then the conjugation of by , defined as , is also positive definite ().
Positivity extension for
#evalHermitianMatConjThis definition provides an extension for the `positivity` tactic to automatically prove that the conjugation of a Hermitian matrix by a matrix , denoted as , is positive semidefinite (). Specifically, if the tactic can verify that the input Hermitian matrix satisfies , it constructs a proof that using the theorem `HermitianMat.conj_nonneg`.
Non-negative Linear Combinations of Positive Semidefinite Hermitian Matrices are Positive Semidefinite
#convex_coneLet and be Hermitian matrices such that and . For any non-negative real scalars and , the linear combination is also non-negative, i.e., . Here, the inequality refers to the partial order on Hermitian matrices, where if and only if is positive semidefinite.
for Hermitian matrices
#sq_nonnegFor any Hermitian matrix over a field with indices in a finite type (where equality is decidable), the square of the matrix is positive semidefinite, i.e., .
Let and be Hermitian matrices. If is positive semidefinite (i.e., ), then implies that the kernel of is a subspace of the kernel of (i.e., ). Here, the inequalities refer to the Löwner partial order on Hermitian matrices.
Congruence Transformation is Monotone for Hermitian Matrices
#conj_monoLet and be Hermitian matrices of the same dimensions such that with respect to the Löwner partial order (meaning is positive semidefinite). For any matrix , let denote the congruence transformation . Then, the inequality holds.
Congruence by an invertible matrix preserves positive definiteness of Hermitian matrices
#conj_posDefLet be a Hermitian matrix and be an invertible matrix. If is positive definite (denoted ), then the congruence transformation of by , defined as (denoted ), is also positive definite.
Let be a Hermitian matrix and be an invertible matrix. Then the inverse of the congruence (denoted as ) is equal to the congruence of the inverse of by the adjoint of the inverse of . That is, , or in terms of the `conj` notation: .
for Hermitian Matrices
#le_iff_mulVec_le_mulVecLet and be Hermitian matrices of size over a field . Then if and only if for every vector , the quadratic form inequality holds, where denotes the conjugate transpose (star) of and is the inner product of with .
implies
#inner_mulVec_nonnegLet be a Hermitian matrix in . If is positive semi-definite (denoted ), then for any vector , the quadratic form is non-negative, specifically , where denotes the conjugate transpose of and is the underlying matrix of the Hermitian operator.
for positive semidefinite Hermitian matrices
#mem_ker_of_inner_mulVec_zeroLet be a positive semidefinite Hermitian matrix () of size over a field , and let be a vector in the Euclidean space . If the quadratic form associated with and is zero, i.e., (where denotes the conjugate transpose), then lies in the kernel of .
HermitianMat.ker_add
#ker_add[DecidableEq n] (hA : 0 ≤ A) (hB : 0 ≤ B) : (A + B).ker = A.ker ⊓ B.ker
The kernel of a sum of positive semidefinite Hermitian matrices equals the intersection of their kernels
#ker_sumLet be a finite family of Hermitian matrices such that each is positive semidefinite (). Then the kernel of the sum of these matrices is equal to the intersection of the kernels of the individual matrices: where the intersection is taken in the lattice of submodules.
Kernel of equals the preimage of under for
#ker_conjLet be a positive semidefinite Hermitian matrix () and be a square matrix. The kernel of the congruence transformation is given by the preimage of the kernel of under the linear map defined by the conjugate transpose . That is, , where is viewed as a linear map on Euclidean space.
implies for positive semidefinite Hermitian matrices
#ker_le_of_le_smulLet be a finite type with decidable equality and be a field. Let and be Hermitian matrices of size over . For any non-zero real number , if is positive semidefinite () and is bounded above by a scalar multiple of in the Loewner order (), then the kernel of is a submodule of the kernel of ().
Eigenvalues of a PSD Hermitian Matrix are Non-negative
#eigenvalues_nonnegLet be a Hermitian matrix in . If is positive semi-definite (denoted by ), then all its eigenvalues (for ) are non-negative, i.e., .
Let be a Hermitian matrix. If is positive semi-definite (i.e., in the Loewner order), then its underlying matrix representation is also non-negative ().
Let be a Hermitian matrix. If is strictly positive () according to the partial order on Hermitian matrices, then its underlying matrix is also strictly positive () in the Loewner order.
is positive semidefinite for any matrix
#nonneg_conjTranspose_mul_selfLet be an matrix over a field , where is a finite type. Then the product of its conjugate transpose and itself, , is positive semidefinite (nonnegative in the Loewner order), denoted as .
is non-negative in the Loewner order
#nonneg_self_mul_conjTransposeFor any matrix with entries in whose row index set is finite, the product of and its conjugate transpose is positive semidefinite, denoted as , in the Loewner order.
implies for Hermitian matrices
#subtype_mk_nonnegLet be an matrix over a field . If is positive semidefinite (denoted ), then the corresponding element in the subtype of Hermitian matrices , formed by and the proof that it is Hermitian, is also non-negative (positive semidefinite) within that subtype.
Let be a square matrix over the field . If is positive definite (denoted ), then the corresponding element in the type of Hermitian matrices (constructed from and the proof that its positive semidefiniteness implies it is Hermitian) is also strictly positive (denoted ).
Positivity extension for when or
#evalHermitianMatMatThis is a computational extension for the `positivity` tactic. Given a Hermitian matrix (of type `HermitianMat`), if the tactic can prove is positive definite (), it concludes that its underlying matrix representation is also positive definite. If the tactic can only prove is positive semi-definite (), it concludes that is positive semi-definite.
Positivity extension for the value of a Hermitian matrix
#evalHermitianMatValThe `positivity` extension for the underlying matrix of a Hermitian matrix . If is proved to be positive (), the extension proves that its matrix representation is positive. If is proved to be non-negative (), the extension proves that is non-negative.
is non-negative matrix product.
#evalMatrixSelfMulConjTransposeFor any matrix , the product of the matrix and its conjugate transpose, , is a positive semi-definite (non-negative) matrix. This statement provides a tactic extension for the `positivity` tool to automatically prove that .
Positivity extension for
#evalMatrixConjTransposeMulSelfThis is a tactic extension for the `positivity` framework that proves the product of a conjugate transpose of a matrix and the matrix itself, (or ), is always a positive semidefinite matrix. Specifically, for any matrix , it identifies the pattern and applies the theorem that such a product is non-negative ().
Positivity extension for Hermitian matrices based on
#evalHermitianMatMkThis is a `positivity` extension for the constructor of a Hermitian matrix , where is a matrix and is a proof that is Hermitian (). It allows the `positivity` tactic to conclude that a Hermitian matrix is positive () or non-negative () in the partial order of Hermitian matrices if the underlying matrix satisfies the corresponding property in the matrix order ( or ).
Positivity extension for eigenvalues of a positive semidefinite matrix
#evalMatrixEigenvaluesGiven a square matrix and an index , if is a Hermitian matrix () and is positive semidefinite (), then the -th eigenvalue of , denoted as , is non-negative, i.e., . This definition serves as a tactic extension for the `positivity` solver, allowing it to automatically infer the non-negativity of eigenvalues by verifying the positive semidefiniteness of the underlying Hermitian matrix.
