Hadamard's inequality for Gram determinants #
Hadamard's inequality bounds the volume spanned by a finite family of vectors by the product of
their lengths. This file proves it in two forms over an RCLike field π.
- In coordinates: for an orthonormal basis
bofEindexed by a finite typeΞΉand any familyv : ΞΉ β E,βb.toBasis.det vβ β€ β i, βv iβ. The GramβSchmidt orthonormal basiseofvmakes the coordinate matrix ofvtriangular, soe.toBasis.det v = β i, βͺe i, v iβ«, andb.toBasis.det ehas norm one. - For Gram matrices: for any finite family
vin an inner product space, which need not be finite-dimensional,det (gram π v) β€ β i, βv iβ ^ 2for the order ofComplexOrder. Since that order compares only elements with equal imaginary parts, the bound also says that the Gram determinant is real. Its nonnegativity is Mathlib'sMatrix.PosSemidef.det_nonnegapplied toMatrix.posSemidef_gram. A dependent family has Gram determinant zero, and an independent family is a basis of its span, where the Gram determinant is the squared norm of a coordinate determinant.
These bounds control the covolume of a lattice by the lengths of its generators, as in the Gram/covolume calculation of J.-M. Couveignes, Enumerating number fields, Ann. of Math. 192 (2020), Β§3.
Main results #
OrthonormalBasis.norm_det_le_prod_norm: Hadamard's inequality for the coordinate determinant in an orthonormal basis.OrthonormalBasis.det_gram_eq_norm_det_sq: the Gram determinant of a family is the squared norm of its coordinate determinant in an orthonormal basis.Matrix.ofReal_re_det_gram,Matrix.re_det_gram_nonneg: the Gram determinant is real, with nonnegative real part. These specialiseMatrix.IsHermitian.ofReal_re_detandMatrix.PosSemidef.re_det_nonneg.Matrix.det_gram_le_prod_norm_sq,Matrix.re_det_gram_le_prod_norm_sq: Hadamard's inequality for Gram determinants, inComplexOrderand for the real part.Matrix.re_det_gram_le_pow: the uniform form,re (det (gram π v)) β€ D ^ card ΞΉwhen everyβv iβ ^ 2 β€ D.
Hadamard's inequality. The determinant of a family v in the coordinates of an
orthonormal basis has norm at most the product of the norms of the vectors. The family may be
linearly dependent.
The Gram determinant of a family v is the squared norm of its determinant in the
coordinates of an orthonormal basis.
The Gram determinant of a finite family is real: it is the image of its real part. This is
Matrix.IsHermitian.ofReal_re_det for Gram matrices, stated without hypotheses so that simp
can use it.
The real part of the Gram determinant of a finite family is nonnegative. This is
Matrix.PosSemidef.re_det_nonneg for Gram matrices.
Hadamard's inequality for Gram determinants. In any inner product space, the Gram
determinant of a finite family is at most the product of the squared norms of its vectors. The
order is that of ComplexOrder, so this also says that the Gram determinant is real; together
with Matrix.PosSemidef.det_nonneg it lies between 0 and β i, βv iβ ^ 2.
Hadamard's inequality for Gram determinants, for the real part: the real part of the Gram determinant of a finite family is at most the product of the squared norms of its vectors.
Hadamard's inequality, uniform form. If every vector of a finite family has squared norm
at most D, the real part of its Gram determinant is at most D ^ card ΞΉ.