Buckets:
| import Mathlib | |
| import OAI.Analysis.MatrixSigning.Matrices.InnerRight | |
| namespace OAI | |
| noncomputable section | |
| open Matrix | |
| namespace CurrentKS.Hermitian | |
| section | |
| open Matrix Set | |
| open scoped BigOperators ComplexOrder MatrixOrder Matrix.Norms.L2Operator | |
| variable {d : ℕ} | |
| lemma exists_pos_lower [NeZero d] {P : H d} (hP : P ∈ pd d) : | |
| ∃ a : ℝ, 0 < a ∧ a • (one : H d) ≤ P := by | |
| let : CStarAlgebra (Mat d) := {} | |
| obtain ⟨a, ha, hap⟩ := (CFC.exists_pos_algebraMap_le_iff (P : Mat d) P.property).mpr | |
| ((StarOrderedRing.isStrictlyPositive_iff_spectrum_pos (P : Mat d)).mp hP.isStrictlyPositive) | |
| refine ⟨a, ha, ?_⟩ | |
| change (a : ℂ) • (1 : Mat d) ≤ (P : Mat d) | |
| convert hap using 1 | |
| ext i j | |
| simp [Matrix.algebraMap_eq_diagonal, Matrix.diagonal_apply, Matrix.smul_apply, | |
| Matrix.one_apply] | |
| end | |
| open Matrix Set | |
| open scoped BigOperators ComplexOrder MatrixOrder Matrix.Norms.Frobenius | |
| variable {d : ℕ} | |
| lemma eq_zero_of_inner_pd [NeZero d] {P Z : H d} (hP : P ∈ pd d) | |
| (hZ : Z ∈ psdCone d) (hz : inner ℝ P Z = 0) : Z = 0 := by | |
| obtain ⟨a, ha, hap⟩ := exists_pos_lower hP | |
| have hh := inner_nonneg_of_psd (P-a•one) Z (show P-a•one ∈ psdCone d from hap) hZ | |
| rw [inner_sub_left, inner_smul_leftH, inner_one, hz] at hh | |
| have htr := realTrace_nonneg hZ | |
| apply trace_zero_psd hZ | |
| nlinarith | |
| end CurrentKS.Hermitian | |
| end | |
| end OAI | |
Xet Storage Details
- Size:
- 1.39 kB
- Xet hash:
- 952be9d4542dab183344eea24d03e34feace7825eca3c3a4413870fe8f1ccd65
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.