How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
The Mahalanobis distance is a pseudometric and comes from a linear feature map
Statement
Let and let be real symmetric and positive semidefinite, meaning for every . Define and . Then there is a real matrix with and, for all , . Consequently is nonnegative, symmetric, zero on the diagonal, and satisfies the triangle inequality, without asserting separation of distinct points.
Statement references
Positive semidefinite forms and nonnegative operators over the reals
Factorization of nonnegative operators
Euclidean inner product and norm
Triangle inequality for the Euclidean norm
Nonnegative square-root uniqueness
Weinberger and Saul, §2.1, printed pp. 209–210
Bellet, Habrard, and Sebban, Mahalanobis distance and interpretation, printed pp. 9–10
Facts & Assumptions
Given: An integer , a real symmetric positive-semidefinite matrix , and .
For a finite-dimensional real inner-product space, a symmetric bilinear form is positive semidefinite exactly when its associated self-adjoint operator is nonnegative (Over the reals, non-negative and positive operators correspond exactly to positive semidefinite and positive definite symmetric forms).
Every nonnegative endomorphism of a finite-dimensional real inner-product space has the form for a linear endomorphism (A non-negative operator is equivalently self-adjoint with nonnegative eigenvalues, a positive semidefinite matrix in an orthonormal basis, or an operator of the form S^*S).
The Euclidean inner product is and its induced norm satisfies (The Euclidean inner product on ).
The Euclidean norm is nonnegative, symmetric under sign change, vanishes only at zero, and satisfies the triangle inequality (Cauchy-Schwarz with its equality case, the triangle inequality for , the parallelogram law and polarisation).
Every nonnegative real has a unique nonnegative square root (Square roots exist: a unique with ; the positives are ).
Proof
Regard as the matrix of an endomorphism , . The associated symmetric bilinear form is , so its positive-semidefinite hypothesis and [F1] imply that is nonnegative.
By [F2], there is an endomorphism with . Let be its real matrix in the standard basis; the Euclidean adjoint has matrix , hence .
For , steps 2.1 and [F3] give . Both and are nonnegative and their squares agree, so [F5] gives .
Nonnegativity, symmetry, and zero diagonal follow from the corresponding properties of the Euclidean norm in [F4]. For any , by the triangle inequality in [F4]. The pseudometric axioms follow.
Depends on
- Mahalanobis pseudometric induced by a positive-semidefinite matrix
- Over the reals, non-negative and positive operators correspond exactly to positive semidefinite and positive definite symmetric forms
- A non-negative operator is equivalently self-adjoint with nonnegative eigenvalues, a positive semidefinite matrix in an orthonormal basis, or an operator of the form S^*S
- The Euclidean inner product $\langle x,y\rangle = \sum_{k<n} x_k y_k$ on $\mathbb{R}^n$
- Cauchy-Schwarz $\lvert\langle x,y\rangle\rvert \le \lVert x\rVert_2\lVert y\rVert_2$ with its equality case, the triangle inequality for $\lVert\cdot\rVert_2$, the parallelogram law and polarisation
- Square roots exist: a unique $\sqrt{a} \ge 0$ with $(\sqrt{a})^2 = a$; the positives are $\{x^2 : x \neq 0\}$
Used by
Dependency tree · two levels
34 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.
Sources
- Kilian Q. Weinberger and Lawrence K. Saul, Distance Metric Learning for Large Margin Nearest Neighbor Classification, JMLR 10 (2009), 207–244 (standard reference, not scraped)
- Aurélien Bellet, Amaury Habrard, and Marc Sebban, A Survey on Metric Learning for Feature Vectors and Structured Data, arXiv:1306.6709v4 (2014) (standard reference, not scraped)