PhyslibSearch

QuantumInfo.ForMathlib.HermitianMat.Order

55 declarations

instance

Loewner partial order on Hermitian matrices

#instPartialOrder

For a finite-dimensional Hilbert space (or more generally, a matrix space over a field k\mathbf{k} with an involution), the type `HermitianMat n 𝕜` of Hermitian matrices (self-adjoint matrices) is equipped with a partial order \le. This order is the Loewner order, where for two Hermitian matrices AA and BB, we define ABA \le B if and only if the difference BAB - A is a positive semidefinite matrix.

instance

The set of Hermitian matrices is an ordered additive monoid.

#instIsOrderedAddMonoid

The set of Hermitian matrices HermitianMatn(k)\text{HermitianMat}_n(\mathbb{k}) of size nn over a field k\mathbb{k} satisfies the axioms of an ordered additive monoid. Specifically, for any such Hermitian matrices A,BA, B, and CC, if ABA \le B, then C+AC+BC + A \le C + B, where the partial order \le is defined such that ABA \le B if and only if the difference BAB - A is a positive semidefinite matrix.

theorem

AB    BAA \le B \iff B - A is positive semidefinite

#le_iff

Let nn be a natural number and k\mathbb{k} be a field. For any two Hermitian matrices A,BHermitianMat(n,k)A, B \in \text{HermitianMat}(n, \mathbb{k}), the relation ABA \le B holds if and only if the matrix difference BAB - A is positive semidefinite. Here, \le denotes the partial order on Hermitian matrices, and PosSemidef\text{PosSemidef} denotes the property of a matrix being positive semidefinite.

theorem

0A    A0 \le A \iff A is positive semidefinite

#zero_le_iff

Let AHermitianMat(n,k)A \in \text{HermitianMat}(n, \mathbb{k}) be a Hermitian matrix of size nn over a field k\mathbb{k}. Then 0A0 \le A with respect to the Loewner partial order if and only if the underlying matrix AA is positive semidefinite.

theorem

AB    x,xAxxBxA \le B \iff \forall x, x^* A x \le x^* B x

#le_iff_mulVec_le

Let AA and BB be Hermitian matrices of size nn over a field k\mathbf{k}. Then ABA \le B with respect to the Loewner partial order if and only if for every vector xx, the quadratic form inequality xAxxBxx^* A x \le x^* B x holds, where xx^* (denoted by `star x`) is the conjugate transpose of xx.

instance

0I0 \le I for Hermitian matrices

#instZeroLEOneClass

In the space of Hermitian matrices of size nn over a field k\mathbf{k}, the zero matrix 00 is less than or equal to the identity matrix II (0I0 \le I) with respect to the Loewner partial order.

theorem

A<B    (BA)A < B \iff (B - A) is positive semidefinite and ABA \neq B

#lt_iff_posdef

For any two Hermitian matrices AA and BB, the relation A<BA < B holds if and only if the matrix difference BAB - A is positive semidefinite and AA is not equal to BB.

instance

HermitianMat(n,k)\text{HermitianMat}(n, \mathbb{k}) is a strictly ordered R\mathbb{R}-module

#instIsStrictOrderedModuleReal

The space of Hermitian matrices HermitianMat(n,k)\text{HermitianMat}(n, \mathbb{k}) over a field k\mathbb{k} (where k\mathbb{k} is typically R\mathbb{R} or C\mathbb{C}) forms a strictly ordered module over the real numbers R\mathbb{R}. This means that for any Hermitian matrices A,BA, B and any real scalar c>0c > 0, if A<BA < B in the sense of the Loewner order (i.e., BAB - A is positive definite), then cA<cBcA < cB.

theorem

0A    σ(A)[0,)0 \le A \iff \sigma(A) \subseteq [0, \infty) for Hermitian matrices

#posSemidef_iff_spectrum_Ici

Let AA be a Hermitian matrix in HermitianMat(n,k)\text{HermitianMat}(n, \mathbb{k}). AA is positive semidefinite (0A0 \le A in the Loewner order) if and only if the spectrum of its underlying matrix, denoted σ(A)\sigma(A), is a subset of the interval [0,)[0, \infty).

theorem

0A    xspectrum(A),0x0 \le A \iff \forall x \in \text{spectrum}(A), 0 \le x

#posSemidef_iff_spectrum_nonneg

Let AA be a Hermitian matrix in HermitianMat(n,k)\text{HermitianMat}(n, \mathbb{k}). AA is positive semidefinite (0A0 \le A) if and only if every element xx in the spectrum of its underlying matrix A.matA.\text{mat} is non-negative (0x0 \le x).

theorem

If A0A \ge 0, then tr(A)0\text{tr}(A) \ge 0 for Hermitian matrices

#trace_nonneg

Let AA be a Hermitian matrix in HermitianMat(n,k)\text{HermitianMat}(n, \mathbf{k}). If AA is positive semidefinite (denoted as 0A0 \le A), then its trace tr(A)\text{tr}(A) is a non-negative real number, i.e., 0tr(A)0 \le \text{tr}(A).

theorem

0<A    0<tr(A)0 < A \implies 0 < \text{tr}(A) for a Hermitian matrix AA

#trace_pos

Let k\mathbb{k} be an R\mathbb{R}-clike field (such as R\mathbb{R} or C\mathbb{C}) and nn be a finite type. Let AA be a Hermitian matrix of size n×nn \times n over k\mathbb{k}. If AA is strictly greater than zero in the partial order of Hermitian matrices (meaning AA is positive semidefinite and A0A \neq 0), then its trace is strictly positive, i.e., tr(A)>0\text{tr}(A) > 0.

definition

Positivity extension for Tr(A)\text{Tr}(A) of a Hermitian matrix AA

#evalHermitianMatTrace

The definition provides a tactic extension for the `positivity` tactic to handle the trace of a Hermitian matrix. Specifically, for a Hermitian matrix AA, it identifies the positivity property of Tr(A)\text{Tr}(A) based on the property of AA: - If AA is positive definite (A>0A > 0), it concludes that Tr(A)>0\text{Tr}(A) > 0 using the lemma `trace_pos`. - If AA is positive semi-definite (A0A \geq 0), it concludes that Tr(A)0\text{Tr}(A) \geq 0 using the lemma `trace_nonneg`.

instance

Positivity of scalar multiplication preserves the partial order of Hermitian matrices over R\mathbb{R}

#instPosSMulMonoReal

The space of Hermitian matrices HermitianMat(n,k)\text{HermitianMat}(n, \mathbf{k}) constitutes a positively monotone scalar multiplication module over the real numbers R\mathbb{R}. Specifically, for any positive real number c>0c > 0 and any two Hermitian matrices A,BHermitianMat(n,k)A, B \in \text{HermitianMat}(n, \mathbf{k}), if ABA \le B with respect to the Löwner partial order, then cAcBc \cdot A \le c \cdot B.

instance

Scalar Multiplication by Non-negative Hermitian Matrices is Monotonic in R\mathbb{R}

#instSMulPosMonoReal

The space of Hermitian matrices HermitianMat(n,k)\text{HermitianMat}(n, \mathbb{k}) satisfies the property that scalar multiplication by a positive Hermitian matrix is monotonic with respect to real numbers. Specifically, for any real numbers r,sRr, s \in \mathbb{R} and any Hermitian matrix AHermitianMat(n,k)A \in \text{HermitianMat}(n, \mathbb{k}) such that 0A0 \le A, if rsr \le s, then rAsAr \cdot A \le s \cdot A.

instance

rArB    ABr \cdot A \le r \cdot B \implies A \le B for Positive Real rr and Hermitian Matrices A,BA, B

#instPosSMulReflectLEReal

The space of Hermitian matrices Hermn(k)\text{Herm}_n(\mathbb{k}) satisfies the property of reflecting scalar multiplication by positive real numbers with respect to the partial order \le (the Loewner order). Specifically, for any rRr \in \mathbb{R} such that 0<r0 < r and any Hermitian matrices A,BHermn(k)A, B \in \text{Herm}_n(\mathbb{k}), if rArBr \cdot A \le r \cdot B, then ABA \le B.

theorem

0A    Atr(A)I0 \le A \implies A \le \text{tr}(A) \cdot I for Hermitian matrices

#le_trace_smul_one

Let AA be a Hermitian matrix of size n×nn \times n over an R\mathbb{R}-clike field k\mathbb{k} (such as R\mathbb{R} or C\mathbb{C}). If AA is positive semidefinite (0A0 \le A), then Atr(A)IA \le \text{tr}(A) \cdot I, where tr(A)\text{tr}(A) is the trace of AA, II is the identity matrix, and \le denotes the Loewner partial order.

theorem

The Kronecker product of non-negative Hermitian matrices is non-negative (0A,0B0AkB0 \le A, 0 \le B \to 0 \le A \otimes_k B)

#kronecker_nonneg

Let AA and BB be Hermitian matrices of dimensions m×mm \times m and n×nn \times n respectively over a field k\mathbb{k}. If AA and BB are non-negative (0A0 \le A and 0B0 \le B), then their Kronecker product AkBA \otimes_k B is also non-negative (0AkB0 \le A \otimes_k B). In the context of Hermitian matrices, the relation 0A0 \le A is equivalent to AA being a positive semidefinite matrix.

theorem

0<A0 < A and 0<B    0<AkB0 < B \implies 0 < A \otimes_k B for Hermitian matrices

#kronecker_pos

Let AA and BB be Hermitian matrices of dimensions m×mm \times m and n×nn \times n respectively over an R\mathbb{R}-clike field k\mathbb{k}. If AA and BB are strictly positive in the Loewner partial order (meaning they are positive semidefinite and non-zero, denoted 0<A0 < A and 0<B0 < B), then their Kronecker product AkBA \otimes_k B is also strictly positive (0<AkB0 < A \otimes_k B).

theorem

A Positive Semidefinite Matrix is Non-Negative (A.PosSemidef0AA.\text{PosSemidef} \to 0 \leq A)

#posSemidef_to_nonneg

Let AA be a square matrix of size n×nn \times n over a field k\mathbb{k}. If AA is positive semidefinite (denoted as A.PosSemidefA.\text{PosSemidef}), then AA is non-negative when viewed as a Hermitian matrix (denoted as 0A0 \leq A).

theorem

A.PosDef and Nonempty n    0<AA \text{.PosDef} \text{ and } \text{Nonempty } n \implies 0 < A

#posDef_to_pos

Let AA be a square matrix of size n×nn \times n over a field k\mathbb{k}. If nn is non-empty and AA is positive definite (A0A \succ 0 in the sense of `Matrix.PosDef`), then AA is strictly positive (0<A0 < A) when viewed as an element of the space of Hermitian matrices.

definition

Positivity extension for positive semidefinite and positive definite matrices

#evalMatrixPSD

The definition `HermitianMat.evalMatrixPSD` provides a computational procedure (a `Positivity` tactic extension) that searches the local hypothesis context for proofs of positive semidefiniteness (A0A \succeq 0) or positive definiteness (A0A \succ 0) for a square matrix AA. If a proof of `A.PosDef` is found, the tactic concludes A>0A > 0 in the relevant sense. If a proof of `A.PosSemidef` is found, it concludes A0A \geq 0.

theorem

A.mat is PosSemidef    0AA.\text{mat} \text{ is PosSemidef} \implies 0 \le A

#mat_posSemidef_to_nonneg

Let AA be a Hermitian matrix. If the underlying matrix of AA (denoted by A.matA.\text{mat}) is positive semidefinite, then AA is non-negative with respect to the partial order on Hermitian matrices (0A0 \le A).

theorem

Amat0    A>0A_{\text{mat}} \succ 0 \implies A > 0 for Hermitian matrices

#mat_posDef_to_pos

Let nn be a non-empty finite set and AA be a Hermitian matrix of size n×nn \times n over a field k\mathbb{k}. If the underlying matrix of AA is positive definite (Amat0A_{\text{mat}} \succ 0), then AA is strictly greater than zero (A>0A > 0) with respect to the partial order on Hermitian matrices.

definition

Positivity extension for positive semidefinite/definite Hermitian matrices

#evalHermitianMatPSD

The `evalHermitianMatPSD` tactic extension for the `positivity` tactic facilitates proofs of the positivity or non-negativity of a Hermitian matrix AA. It searches the local context for hypotheses identifying the underlying matrix A.matA.\text{mat} as either positive definite (A.mat.PosDefA.\text{mat.PosDef}) or positive semidefinite (A.mat.PosSemidefA.\text{mat.PosSemidef}). If a positive definite hypothesis is found, it proves 0<A0 < A. If only a positive semidefinite hypothesis is found, it proves 0A0 \le A.

definition

Positivity extension for ABA \otimes B of Hermitian matrices

#evalHermitianMatKronecker

This is a computational tactic extension for the `positivity` framework. It provides a procedure to automatically prove that the Kronecker product ABA \otimes B of two Hermitian matrices is positive semidefinite (0AB0 \le A \otimes B) or positive definite (0<AB0 < A \otimes B). Specifically: - If both AA and BB are strictly positive definite (0<A0 < A and 0<B0 < B), the tactic proves that ABA \otimes B is strictly positive definite. - If both AA and BB are positive semidefinite (0A0 \le A and 0B0 \le B), the tactic proves that ABA \otimes B is positive semidefinite. The extension functions by inspecting the expression for `HermitianMat.kronecker`, recursively determining the positivity of the factors AA and BB, and then applying the corresponding lemma (`HermitianMat.kronecker_pos` or `HermitianMat.kronecker_nonneg`).

theorem

0A    0MAM0 \le A \implies 0 \le MAM^*

#conj_nonneg

Let AA be a Hermitian matrix of size n×nn \times n over a field k\mathbb{k}, and let MM be an m×nm \times n matrix. If AA is positive semidefinite (0A0 \le A), then its conjugation by MM, defined as A.conj(M)=MAMA.\text{conj}(M) = MAM^*, is also positive semidefinite (0MAM0 \le MAM^*).

theorem

(0<A)(kerMkerA)    0<MAM(0 < A) \land (\ker M \subseteq \ker A) \implies 0 < MAM^*

#conj_pos

Let AA be a Hermitian n×nn \times n matrix over a field k\mathbb{k}, and let MM be an m×nm \times n matrix. If AA is positive definite (0<A0 < A) and the kernel of the linear map defined by MM is contained within the kernel of AA (kerMkerA\ker M \subseteq \ker A), then the conjugation of AA by MM, defined as MAMMAM^*, is also positive definite (0<MAM0 < MAM^*).

definition

Positivity extension for MAM0MAM^* \ge 0

#evalHermitianMatConj

This definition provides an extension for the `positivity` tactic to automatically prove that the conjugation of a Hermitian matrix AA by a matrix MM, denoted as MAMMAM^*, is positive semidefinite (0MAM0 \le MAM^*). Specifically, if the tactic can verify that the input Hermitian matrix satisfies A0A \ge 0, it constructs a proof that MAM0MAM^* \ge 0 using the theorem `HermitianMat.conj_nonneg`.

theorem

Non-negative Linear Combinations of Positive Semidefinite Hermitian Matrices are Positive Semidefinite

#convex_cone

Let AA and BB be Hermitian matrices such that A0A \ge 0 and B0B \ge 0. For any non-negative real scalars c10c_1 \ge 0 and c20c_2 \ge 0, the linear combination c1A+c2Bc_1 A + c_2 B is also non-negative, i.e., c1A+c2B0c_1 A + c_2 B \ge 0. Here, the inequality 0\ge 0 refers to the partial order on Hermitian matrices, where M0M \ge 0 if and only if MM is positive semidefinite.

theorem

0A20 \le A^2 for Hermitian matrices

#sq_nonneg

For any Hermitian matrix AA over a field k\mathbb{k} with indices in a finite type nn (where equality is decidable), the square of the matrix A2A^2 is positive semidefinite, i.e., 0A20 \le A^2.

theorem

0AB    kerBkerA0 \leq A \leq B \implies \ker B \subseteq \ker A

#ker_antitone

Let AA and BB be Hermitian matrices. If AA is positive semidefinite (i.e., 0A0 \leq A), then ABA \leq B implies that the kernel of BB is a subspace of the kernel of AA (i.e., kerBkerA\ker B \subseteq \ker A). Here, the inequalities refer to the Löwner partial order on Hermitian matrices.

theorem

Congruence Transformation is Monotone for Hermitian Matrices

#conj_mono

Let AA and BB be Hermitian matrices of the same dimensions such that ABA \le B with respect to the Löwner partial order (meaning BAB - A is positive semidefinite). For any matrix MM, let A.conjMA.conj M denote the congruence transformation MAMM^* A M. Then, the inequality MAMMBMM^* A M \le M^* B M holds.

theorem

Congruence by an invertible matrix preserves positive definiteness of Hermitian matrices

#conj_posDef

Let AA be a Hermitian matrix and NN be an invertible matrix. If AA is positive definite (denoted A.mat.PosDefA.mat.PosDef), then the congruence transformation of AA by NN, defined as NANHN A N^H (denoted A.conj NA.conj \ N), is also positive definite.

theorem

(A.conj M)1=A1.conj (M1)(A\text{.conj } M)^{-1} = A^{-1}\text{.conj } (M^{-1})^\dagger

#inv_conj

Let AA be a Hermitian matrix and MM be an invertible matrix. Then the inverse of the congruence MAMM^* A M (denoted as A.conj MA\text{.conj } M) is equal to the congruence of the inverse of AA by the adjoint of the inverse of MM. That is, (MAM)1=(M1)A1(M1)(M^* A M)^{-1} = (M^{-1}) A^{-1} (M^{-1})^*, or in terms of the `conj` notation: (A.conj M)1=A1.conj (M1)(A\text{.conj } M)^{-1} = A^{-1}\text{.conj } (M^{-1})^\dagger.

theorem

ABv,vAvvBvA \le B \leftrightarrow \forall v, v^* A v \le v^* B v for Hermitian Matrices

#le_iff_mulVec_le_mulVec

Let AA and BB be Hermitian matrices of size nn over a field k\mathbb{k}. Then ABA \le B if and only if for every vector vknv \in \mathbb{k}^n, the quadratic form inequality vAvvBvv^* A v \le v^* B v holds, where vv^* denotes the conjugate transpose (star) of vv and vAvv^* A v is the inner product of vv with AvAv.

theorem

0A0 \le A implies 0vAv0 \le v^\dagger A v

#inner_mulVec_nonneg

Let AA be a Hermitian matrix in HermitianMat(n,k)\text{HermitianMat}(n, \mathbb{k}). If AA is positive semi-definite (denoted 0A0 \le A), then for any vector vknv \in \mathbb{k}^n, the quadratic form is non-negative, specifically 0vAv0 \le v^\dagger A v, where vv^\dagger denotes the conjugate transpose of vv and AA is the underlying matrix of the Hermitian operator.

theorem

vAv=0vker(A)v^* A v = 0 \to v \in \ker(A) for positive semidefinite Hermitian matrices AA

#mem_ker_of_inner_mulVec_zero

Let AA be a positive semidefinite Hermitian matrix (0A0 \le A) of size nn over a field k\mathbb{k}, and let vv be a vector in the Euclidean space kn\mathbb{k}^n. If the quadratic form associated with AA and vv is zero, i.e., vAv=0v^* A v = 0 (where vv^* denotes the conjugate transpose), then vv lies in the kernel of AA.

theorem

HermitianMat.ker_add

#ker_add

[DecidableEq n] (hA : 0 ≤ A) (hB : 0 ≤ B) : (A + B).ker = A.ker ⊓ B.ker

theorem

The kernel of a sum of positive semidefinite Hermitian matrices equals the intersection of their kernels

#ker_sum

Let f:ιHermitianMatn(k)f: \iota \to \text{HermitianMat}_n(\mathbb{k}) be a finite family of Hermitian matrices such that each f(i)f(i) is positive semidefinite (0f(i)0 \le f(i)). Then the kernel of the sum of these matrices is equal to the intersection of the kernels of the individual matrices: ker(iιf(i))=iιker(f(i))\ker\left(\sum_{i \in \iota} f(i)\right) = \bigcap_{i \in \iota} \ker(f(i)) where the intersection is taken in the lattice of submodules.

theorem

Kernel of BABB^* A B equals the preimage of kerA\ker A under BB^* for A0A \ge 0

#ker_conj

Let AA be a positive semidefinite Hermitian matrix (0A0 \le A) and BB be a square matrix. The kernel of the congruence transformation (A.conj B)=BAB(A.\text{conj } B) = B^* A B is given by the preimage of the kernel of AA under the linear map defined by the conjugate transpose BB^*. That is, ker(BAB)=(B)1(kerA)\ker(B^* A B) = (B^*)^{-1}(\ker A), where BB^* is viewed as a linear map on Euclidean space.

theorem

AαBA \le \alpha B implies kerBkerA\ker B \subseteq \ker A for positive semidefinite Hermitian matrices

#ker_le_of_le_smul

Let nn be a finite type with decidable equality and k\mathbf{k} be a field. Let AA and BB be Hermitian matrices of size n×nn \times n over k\mathbf{k}. For any non-zero real number α0\alpha \neq 0, if AA is positive semidefinite (0A0 \le A) and AA is bounded above by a scalar multiple of BB in the Loewner order (AαBA \le \alpha \cdot B), then the kernel of BB is a submodule of the kernel of AA (kerBkerA\ker B \subseteq \ker A).

theorem

Eigenvalues of a PSD Hermitian Matrix are Non-negative

#eigenvalues_nonneg

Let AA be a Hermitian matrix in HermitianMat(n,k)\text{HermitianMat}(n, \mathbb{k}). If AA is positive semi-definite (denoted by 0A0 \le A), then all its eigenvalues λi\lambda_i (for ini \in n) are non-negative, i.e., 0λi0 \le \lambda_i.

theorem

0A    0A.mat0 \le A \implies 0 \le A.\text{mat}

#mat_nonneg

Let AA be a Hermitian matrix. If AA is positive semi-definite (i.e., 0A0 \le A in the Loewner order), then its underlying matrix representation A.matA.\text{mat} is also non-negative (0A.mat0 \le A.\text{mat}).

theorem

0<A    0<A.mat0 < A \implies 0 < A.\text{mat}

#mat_pos

Let AA be a Hermitian matrix. If AA is strictly positive (0<A0 < A) according to the partial order on Hermitian matrices, then its underlying matrix A.matA.\text{mat} is also strictly positive (0<A.mat0 < A.\text{mat}) in the Loewner order.

theorem

MHMM^H M is positive semidefinite for any matrix MM

#nonneg_conjTranspose_mul_self

Let MM be an m×nm \times n matrix over a field k\mathbb{k}, where mm is a finite type. Then the product of its conjugate transpose and itself, MHMM^H M, is positive semidefinite (nonnegative in the Loewner order), denoted as 0MHM0 \le M^H M.

theorem

MMHM M^H is non-negative in the Loewner order

#nonneg_self_mul_conjTranspose

For any matrix MM with entries in K\mathbb{K} whose row index set mm is finite, the product of MM and its conjugate transpose MHM^H is positive semidefinite, denoted as 0MMH0 \le M M^H, in the Loewner order.

theorem

0M0 \le M implies 0subtype_mk(M)0 \le \text{subtype\_mk}(M) for Hermitian matrices

#subtype_mk_nonneg

Let MM be an m×mm \times m matrix over a field k\mathbf{k}. If MM is positive semidefinite (denoted 0M0 \le M), then the corresponding element in the subtype of Hermitian matrices HermitianMatm(k)\text{HermitianMat}_m(\mathbf{k}), formed by MM and the proof that it is Hermitian, is also non-negative (positive semidefinite) within that subtype.

theorem

0<M    0<HermitianMat.mk M0 < M \implies 0 < \text{HermitianMat.mk } M

#subtype_mk_pos

Let MMm×m(k)M \in \mathbb{M}_{m \times m}(\mathbb{k}) be a square matrix over the field k\mathbb{k}. If MM is positive definite (denoted 0<M0 < M), then the corresponding element in the type of Hermitian matrices HermitianMat(m,k)\text{HermitianMat}(m, \mathbb{k}) (constructed from MM and the proof that its positive semidefiniteness implies it is Hermitian) is also strictly positive (denoted 0<M,hHermitian0 < \langle M, h_{Hermitian} \rangle).

definition

Positivity extension for A.matA.\text{mat} when 0A0 \le A or 0<A0 < A

#evalHermitianMatMat

This is a computational extension for the `positivity` tactic. Given a Hermitian matrix AA (of type `HermitianMat`), if the tactic can prove AA is positive definite (0<A0 < A), it concludes that its underlying matrix representation A.matA.\text{mat} is also positive definite. If the tactic can only prove AA is positive semi-definite (0A0 \le A), it concludes that A.matA.\text{mat} is positive semi-definite.

definition

Positivity extension for the value of a Hermitian matrix AA

#evalHermitianMatVal

The `positivity` extension for the underlying matrix of a Hermitian matrix AA. If AA is proved to be positive (0<A0 < A), the extension proves that its matrix representation A.matA.\text{mat} is positive. If AA is proved to be non-negative (0A0 \le A), the extension proves that A.matA.\text{mat} is non-negative.

definition

MMHM M^H is non-negative matrix product.

#evalMatrixSelfMulConjTranspose

For any matrix MM, the product of the matrix and its conjugate transpose, MMHM M^H, is a positive semi-definite (non-negative) matrix. This statement provides a tactic extension for the `positivity` tool to automatically prove that MMH0M M^H \geq 0.

definition

Positivity extension for MHM0M^H M \ge 0

#evalMatrixConjTransposeMulSelf

This is a tactic extension for the `positivity` framework that proves the product of a conjugate transpose of a matrix and the matrix itself, MHMM^H M (or MMM^* M), is always a positive semidefinite matrix. Specifically, for any matrix MM, it identifies the pattern MHMM^H M and applies the theorem that such a product is non-negative (MHM0M^H M \ge 0).

definition

Positivity extension for Hermitian matrices M,pf\langle M, \text{pf} \rangle based on 0M0 \le M

#evalHermitianMatMk

This is a `positivity` extension for the constructor of a Hermitian matrix M,pf\langle M, \text{pf} \rangle, where MM is a matrix and pf\text{pf} is a proof that MM is Hermitian (M=MM = M^\dagger). It allows the `positivity` tactic to conclude that a Hermitian matrix is positive (0<M,pf0 < \langle M, \text{pf} \rangle) or non-negative (0M,pf0 \le \langle M, \text{pf} \rangle) in the partial order of Hermitian matrices if the underlying matrix MM satisfies the corresponding property in the matrix order (0<M0 < M or 0M0 \le M).

definition

Positivity extension for eigenvalues λi(M)0\lambda_i(M) \ge 0 of a positive semidefinite matrix MM

#evalMatrixEigenvalues

Given a square matrix MM and an index ii, if MM is a Hermitian matrix (M=MM = M^*) and MM is positive semidefinite (M0M \ge 0), then the ii-th eigenvalue of MM, denoted as λi(M)\lambda_i(M), is non-negative, i.e., λi(M)0\lambda_i(M) \ge 0. 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.