Cartesian variance
Abstract
A pure vector maximizes the Cartesian matrix variance.
Theorem 1.1 (Density matrices exist in positive dimension).
Proof. Machine-checked in Lean as D5/S3/Quantum/Matrix/CartesianVariance.density_nonempty (✓ std3). ∎
Source. Repository-derived.
Commentary.
Every positive finite dimension has a positive semidefinite matrix of trace one.
Theorem 1.2 (Positive semidefinite entry bound).
Proof. Machine-checked in Lean as D5/S3/Quantum/Matrix/CartesianVariance.psd_entry_bound (✓ std3). ∎
Source. Repository-derived.
Commentary.
A two-by-two principal minor bounds each squared entry modulus by the product of its diagonal entries. The estimate bounds the entries of density matrices and controls positive semidefinite summands in the incoherent cone.
Theorem 1.3 (Spectral expansion into rank-one matrices).
Proof. Machine-checked in Lean as D5/S3/Quantum/Matrix/CartesianVariance.hermitian_spectral_sum (✓ std3). ∎
Source. Repository-derived.
Commentary.
Every finite Hermitian complex matrix is the sum of its eigenvalues times the rank-one projections onto its orthonormal eigenvectors.
Theorem 1.4 (A density spectrum sums to one).
Proof. Machine-checked in Lean as D5/S3/Quantum/Matrix/CartesianVariance.density_eigenvalues_sum (✓ std3). ∎
Source. Repository-derived.
Commentary.
For a positive semidefinite trace-one complex matrix, the real eigenvalues sum to one. The Hermitian proof is the first component of h followed by Matrix.PosSemidef.isHermitian.
Theorem 1.5 (Frobenius square in coordinates).
Proof. Machine-checked in Lean as D5/S3/Quantum/Matrix/CartesianVariance.frobSq_eq_sum (✓ std3). ∎
Source. Repository-derived.
Commentary.
The squared Frobenius norm is the sum of the squared moduli of all matrix entries.
Theorem 1.6 (Nonnegative Frobenius square).
Proof. Machine-checked in Lean as D5/S3/Quantum/Matrix/CartesianVariance.frobSq_nonneg (✓ std3). ∎
Source. Repository-derived.
Commentary.
Every entry contributes a nonnegative square.
Definition 1.7 (Matrix Hilbert-space coordinates).
Formalization. D5/S3/Quantum/Matrix/CartesianVariance.vectorize (✓ std3).
Source. Repository-derived.
Commentary.
This complex linear equivalence arranges matrix entries by their ordered pair of indices. It composes Mathlib’s inverse currying equivalence with the inverse WithLp linear equivalence.
Theorem 1.8 (Vectorization preserves the Frobenius square).
Proof. Machine-checked in Lean as D5/S3/Quantum/Matrix/CartesianVariance.vectorize_norm_sq (✓ std3). ∎
Source. Repository-derived.
Commentary.
The Euclidean norm sums the same entries.
Definition 1.9 (Cartesian variance).
Formalization. D5/S3/Quantum/Matrix/CartesianVariance.variance (✓ std3).
Citation. Koenraad M. R. Audenaert (2009). Variance bounds, with an application to norm bounds for commutators. URL: https://arxiv.org/abs/0907.3913.
Commentary.
“Each modulus builds a different variance, which we’ll distinguish by the corresponding subscript too.” Equation (27), page 17, reads Var∗(X) = Tr[ρ|X|²∗] − |Tr[ρX]|², with subscript C giving |X|²C = (X∗X + XX∗)/2. Here X is A, and the real part makes the real-valued trace explicit.
Definition 1.10 (Cartesian quadratic matrix).
Formalization. D5/S3/Quantum/Matrix/CartesianVariance.cartesian (✓ std3).
Citation. Koenraad M. R. Audenaert (2009). Variance bounds, with an application to norm bounds for commutators. URL: https://arxiv.org/abs/0907.3913.
Commentary.
“For that reason we need a name for the expression ((X∗X + XX∗)/2)1/2, and we have chosen to call it the Cartesian modulus.” (page 17). This definition is the square of that modulus, the literal average of the two Gram matrices.
Theorem 1.11 (A pure vector attains the density maximum).
Proof. Machine-checked in Lean as D5/S3/Quantum/Matrix/CartesianVariance.pure_variance_maximizer (✓ std3). ∎
Citation. Koenraad M. R. Audenaert (2009). Variance bounds, with an application to norm bounds for commutators. URL: https://arxiv.org/abs/0907.3913.
Commentary.
A compact density set supplies a maximum. First-order optimality gives a linear Hermitian maximum; Toeplitz-Hausdorff on its top eigenspace preserves the complex mean while selecting a unit vector.
Theorem 1.12 (Hilbert-space trace pairing).
Proof. Machine-checked in Lean as D5/S3/Quantum/Matrix/CartesianVariance.matrix_pairing (✓ std3). ∎
Source. Repository-derived.
Commentary.
Vectorization realizes the trace inner product.
Theorem 1.13 (Conjugate-transpose invariance).
Proof. Machine-checked in Lean as D5/S3/Quantum/Matrix/CartesianVariance.frobSq_star (✓ std3). ∎
Source. Repository-derived.
Commentary.
Conjugation preserves squared moduli and transpose permutes entries.
Theorem 1.14 (Trace-product Cauchy-Schwarz).
Proof. Machine-checked in Lean as D5/S3/Quantum/Matrix/CartesianVariance.trace_product_cauchy (✓ std3). ∎
Source. Repository-derived.
Commentary.
Apply Hilbert-space Cauchy-Schwarz to Q conjugateTranspose and B.
Theorem 1.15 (The pure maximum bounds every commutator).
Proof. Machine-checked in Lean as D5/S3/Quantum/Matrix/CartesianVariance.commutator_pure_max_bound (✓ std3). ∎
Source. Repository-derived.
Commentary.
For nonzero B its two Gram matrices, normalized by twice the Frobenius square, form a density matrix. The commutator variance bound applies to this common density; B equal to zero is included.
References
- Truth anchor:
D5/S3/Quantum/Matrix/CartesianVariance.cartesian - Truth anchor:
D5/S3/Quantum/Matrix/CartesianVariance.commutator_pure_max_bound - Truth anchor:
D5/S3/Quantum/Matrix/CartesianVariance.density_eigenvalues_sum - Truth anchor:
D5/S3/Quantum/Matrix/CartesianVariance.density_nonempty - Truth anchor:
D5/S3/Quantum/Matrix/CartesianVariance.frobSq_eq_sum - Truth anchor:
D5/S3/Quantum/Matrix/CartesianVariance.frobSq_nonneg - Truth anchor:
D5/S3/Quantum/Matrix/CartesianVariance.frobSq_star - Truth anchor:
D5/S3/Quantum/Matrix/CartesianVariance.hermitian_spectral_sum - Truth anchor:
D5/S3/Quantum/Matrix/CartesianVariance.matrix_pairing - Truth anchor:
D5/S3/Quantum/Matrix/CartesianVariance.psd_entry_bound - Truth anchor:
D5/S3/Quantum/Matrix/CartesianVariance.pure_variance_maximizer - Truth anchor:
D5/S3/Quantum/Matrix/CartesianVariance.trace_product_cauchy - Truth anchor:
D5/S3/Quantum/Matrix/CartesianVariance.variance - Truth anchor:
D5/S3/Quantum/Matrix/CartesianVariance.vectorize - Truth anchor:
D5/S3/Quantum/Matrix/CartesianVariance.vectorize_norm_sq - Dependency: D5/S3/Observer/HiddenFlow/ProjectionCommutatorIdentity
- Dependency: D5/S3/Quantum/BlockNorm/EssentiallyHermitian
- Dependency: D5/S3/Quantum/Entanglement/UniversalReplacementCapacityGrowth
- Dependency: D5/S3/Quantum/Fibers/PhysicalFiber
- Dependency: D5/S3/Quantum/Matrix/NumericalRange