Matrix operations on HermitianMats with the CFC
Equations
- HermitianMat.termHerm_cont = Lean.ParserDescr.node `HermitianMat.termHerm_cont 1024 (Lean.ParserDescr.symbol "herm_cont")
Instances For
Instances For
Reindexing a matrix commutes with applying the CFC.
Here we give HermitianMat versions of many cfc theorems, like cfc_id, cfc_sub, cfc_comp,
etc. We need these because (as above) HermitianMat.cfc is different from _root_.cfc.
We don't have a direct analog of cfc_mul, since we can't generally multiply
to HermitianMat's to get another one, so the theorem statement wouldn't be well-typed.
But, we can say that the matrices are always equal. See cfc_conj for the coe-free
analog to multiplication.
Version of cfc_congr specialized to positive definite matrices.
Matrix power of a positive semidefinite matrix, as given by the elementwise real power of the diagonal in a diagonalized form.
Note that this has the usual Real.rpow caveats, such as 0 to the power -1 giving 0.
Instances For
Equations
- HermitianMat.instRPow = { pow := HermitianMat.rpow }
Matrix logarithm (base e) of a Hermitian matrix, as given by the elementwise
real logarithm of the diagonal in a diagonalized form, using Real.log
Note that this means that the nullspace of the image includes all of the nullspace of the original matrix. This contrasts to the standard definition, which is only defined for positive definite matrices, and the nullspace of the image is exactly the (Ī»=1)-eigenspace of the original matrix. It coincides with the standard definition if A is positive definite.