The areas / V16. Normed spaces and functional analysis
Mathlib.Analysis.InnerProductSpace.NormDet
28 declarations. Mathlib docs Β· Source
Norm determinant of a linear map
Given a rectangular matrix $T$, it is common to talk about $\sqrt{det(T^{H}T)}$, where $T^{H}$ is the conjugate transpose of $T$, as a generalization to the determinant of a square matrix. It is the $m$-dimensional volume factor for linear maps $\mathbb{R}^m \to \mathbb{R}^n$. It is given various names in the literature:
- "Jacobian" (definition 3.4 of [lawrenceronald2025]), in the context of volume factor for a non-linear map. However, we choose to reserve this name for the matrix consisting of derivatives.
- "Gram determinant", which is already used by
Matrix.gram, and it is often referring to $det(T^{H}T)$ without the square root. - "Nonnegative determinant" (definition 1 of [haruoyoshiohidetoki2006]).
Without a standardized name, we give a descriptive name LinearMap.normDet to reflect its
definition and show that it is a generalization of β(f : LinearMap π U U).detβ
(See LinearMap.normDet_eq_norm_det). We also construct this on linear maps between inner product
spaces instead of matrices, and allow the codomain to have infinite dimension.
Main definition
LinearMap.normDet: the norm determinant of a linear map.
Main results
ContinuousLinearMap.normDet_sqandLinearMap.normDet_sq: The square off.normDetequals to the determinant off.adjoint ββ f.LinearMap.normDet_sq_eq_det_gram: The square ofLinearMap.normDetequals to the determinant of the Gram matrix formed by vectors mapped from an orthonormal basis.LinearMap.normDet_eq_prod_singularValues:LinearMap.normDetequals to the product of singular values.LinearMap.hausdorffMeasure_image:LinearMap.normDetis the volume factor for Hausdorff measure.
theorem LinearMap.normDet.congr_simp E1 #
β {π : Type u_1} {U : Type u_2} {V : Type u_3} [inst : RCLike π] [inst_1 : NormedAddCommGroup U]
[inst_2 : InnerProductSpace π U] [inst_3 : FiniteDimensional π U] [inst_4 : NormedAddCommGroup V]
[inst_5 : InnerProductSpace π V] (f f_1 : U ββ[π] V), f = f_1 β f.normDet = f_1.normDet
def LinearMap.normDet E3 #
{π : Type u_1} β
{U : Type u_2} β
{V : Type u_3} β
[inst : RCLike π] β
[inst_1 : NormedAddCommGroup U] β
[inst_2 : InnerProductSpace π U] β
[FiniteDimensional π U] β
[inst_4 : NormedAddCommGroup V] β [inst_5 : InnerProductSpace π V] β (U ββ[π] V) β β
The norm determinant of a linear map f : U ββ[π] V is defined as the norm of the determinant of
the square matrix representing the linear map U ββ[π] f.range over a pair of orthonormal basis of
equal dimensions.
(See LinearMap.normDet_eq_norm_det_toMatrix_rangeRestrict for using arbitrary orthonormal basis)
If such basis doesn't exist (e.g. the map is not injective), the norm determinant is zero.
(See LinearMap.normDet_eq_zero_iff_ker_ne_bot)
theorem LinearMap.normDet_nonneg E1 #
β {π : Type u_1} {U : Type u_2} {V : Type u_3} [inst : RCLike π] [inst_1 : NormedAddCommGroup U]
[inst_2 : InnerProductSpace π U] [inst_3 : FiniteDimensional π U] [inst_4 : NormedAddCommGroup V]
[inst_5 : InnerProductSpace π V] (f : U ββ[π] V), 0 β€ f.normDet
theorem LinearMap.normDet_eq_norm_det_toMatrix_rangeRestrict E1 #
β {π : Type u_1} {U : Type u_2} {V : Type u_3} [inst : RCLike π] [inst_1 : NormedAddCommGroup U]
[inst_2 : InnerProductSpace π U] [inst_3 : FiniteDimensional π U] [inst_4 : NormedAddCommGroup V]
[inst_5 : InnerProductSpace π V] {ΞΉ : Type u_5} [inst_6 : Fintype ΞΉ] [inst_7 : DecidableEq ΞΉ] (f : U ββ[π] V)
(bu : OrthonormalBasis ΞΉ π U) (bv : OrthonormalBasis ΞΉ π β₯f.range),
f.normDet = β((LinearMap.toMatrix bu.toBasis bv.toBasis) f.rangeRestrict).detβ
LinearMap.normDet is well-defined under any pair of orthonormal basis.
theorem LinearMap.normDet_eq_zero_iff_ker_ne_bot E1 #
β {π : Type u_1} {U : Type u_2} {V : Type u_3} [inst : RCLike π] [inst_1 : NormedAddCommGroup U]
[inst_2 : InnerProductSpace π U] [inst_3 : FiniteDimensional π U] [inst_4 : NormedAddCommGroup V]
[inst_5 : InnerProductSpace π V] {f : U ββ[π] V}, f.normDet = 0 β f.ker β β₯
LinearMap.normDet vanishes iff the map is not injective.
theorem LinearMap.normDet_eq_zero_iff_rank_range_ne E1 #
β {π : Type u_1} {U : Type u_2} {V : Type u_3} [inst : RCLike π] [inst_1 : NormedAddCommGroup U]
[inst_2 : InnerProductSpace π U] [inst_3 : FiniteDimensional π U] [inst_4 : NormedAddCommGroup V]
[inst_5 : InnerProductSpace π V] {f : U ββ[π] V}, f.normDet = 0 β Module.finrank π β₯f.range β Module.finrank π U
theorem LinearMap.normDet_ne_zero_tfae E1 #
β {π : Type u_1} {U : Type u_2} {V : Type u_3} [inst : RCLike π] [inst_1 : NormedAddCommGroup U]
[inst_2 : InnerProductSpace π U] [inst_3 : FiniteDimensional π U] [inst_4 : NormedAddCommGroup V]
[inst_5 : InnerProductSpace π V] (f : U ββ[π] V),
[f.normDet β 0, f.ker = β₯, Module.finrank π β₯f.range = Module.finrank π U,
Nonempty (OrthonormalBasis (Fin (Module.finrank π U)) π β₯f.range), Function.Injective βf].TFAE
theorem LinearMap.normDet_eq_zero_tfae E1 #
β {π : Type u_1} {U : Type u_2} {V : Type u_3} [inst : RCLike π] [inst_1 : NormedAddCommGroup U]
[inst_2 : InnerProductSpace π U] [inst_3 : FiniteDimensional π U] [inst_4 : NormedAddCommGroup V]
[inst_5 : InnerProductSpace π V] (f : U ββ[π] V),
[f.normDet = 0, f.ker β β₯, Module.finrank π β₯f.range β Module.finrank π U,
Module.finrank π β₯f.range < Module.finrank π U, IsEmpty (OrthonormalBasis (Fin (Module.finrank π U)) π β₯f.range),
Β¬Function.Injective βf].TFAE
theorem LinearMap.normDet_eq_norm_det_toMatrix E1 #
β {π : Type u_1} {U : Type u_2} {V : Type u_3} [inst : RCLike π] [inst_1 : NormedAddCommGroup U]
[inst_2 : InnerProductSpace π U] [inst_3 : FiniteDimensional π U] [inst_4 : NormedAddCommGroup V]
[inst_5 : InnerProductSpace π V] {ΞΉ : Type u_5} [inst_6 : Fintype ΞΉ] [inst_7 : DecidableEq ΞΉ] (f : U ββ[π] V)
(bu : OrthonormalBasis ΞΉ π U) (bv : OrthonormalBasis ΞΉ π V),
f.normDet = β((LinearMap.toMatrix bu.toBasis bv.toBasis) f).detβ
LinearMap.normDet can be calculated with any pair of orthonormal basis if the domain and the
codomain have equal dimension.
theorem LinearMap.normDet_eq_norm_det E1 #
β {π : Type u_1} {U : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup U] [inst_2 : InnerProductSpace π U]
[inst_3 : FiniteDimensional π U] (f : U ββ[π] U), f.normDet = βLinearMap.det fβ
LinearMap.normDet equals the norm of LinearMap.det for an endomorphism.
theorem LinearIsometry.normDet_eq_one E0 #
β {π : Type u_1} {U : Type u_2} {V : Type u_3} [inst : RCLike π] [inst_1 : NormedAddCommGroup U]
[inst_2 : InnerProductSpace π U] [inst_3 : FiniteDimensional π U] [inst_4 : NormedAddCommGroup V]
[inst_5 : InnerProductSpace π V] (f : U ββα΅’[π] V), f.normDet = 1
LinearMap.normDet of a linear isometry is 1.
theorem LinearMap.normDet_id E0 #
β {π : Type u_1} {U : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup U] [inst_2 : InnerProductSpace π U]
[inst_3 : FiniteDimensional π U], LinearMap.id.normDet = 1
theorem LinearMap.normDet_subtype E0 #
β {π : Type u_1} {U : Type u_2} [inst : RCLike π] [inst_1 : NormedAddCommGroup U] [inst_2 : InnerProductSpace π U]
[inst_3 : FiniteDimensional π U] (p : Submodule π U), p.subtype.normDet = 1
theorem LinearMap.normDet_of_subsingleton E0 #
β {π : Type u_1} {U : Type u_2} {V : Type u_3} [inst : RCLike π] [inst_1 : NormedAddCommGroup U]
[inst_2 : InnerProductSpace π U] [inst_3 : FiniteDimensional π U] [inst_4 : NormedAddCommGroup V]
[inst_5 : InnerProductSpace π V] [Subsingleton U] (f : U ββ[π] V), f.normDet = 1
theorem LinearMap.normDet_zero E0 #
β {π : Type u_1} {U : Type u_2} {V : Type u_3} [inst : RCLike π] [inst_1 : NormedAddCommGroup U]
[inst_2 : InnerProductSpace π U] [inst_3 : FiniteDimensional π U] [inst_4 : NormedAddCommGroup V]
[inst_5 : InnerProductSpace π V], LinearMap.normDet 0 = 0 ^ Module.finrank π U
theorem LinearMap.normDet_smul E0 #
β {π : Type u_1} {U : Type u_2} {V : Type u_3} [inst : RCLike π] [inst_1 : NormedAddCommGroup U]
[inst_2 : InnerProductSpace π U] [inst_3 : FiniteDimensional π U] [inst_4 : NormedAddCommGroup V]
[inst_5 : InnerProductSpace π V] (f : U ββ[π] V) (c : π), (c β’ f).normDet = βcβ ^ Module.finrank π U * f.normDet
theorem LinearMap.normDet_neg E0 #
β {π : Type u_1} {U : Type u_2} {V : Type u_3} [inst : RCLike π] [inst_1 : NormedAddCommGroup U]
[inst_2 : InnerProductSpace π U] [inst_3 : FiniteDimensional π U] [inst_4 : NormedAddCommGroup V]
[inst_5 : InnerProductSpace π V] (f : U ββ[π] V), (-f).normDet = f.normDet
theorem ContinuousLinearMap.normDet_sq E3 #
β {π : Type u_1} {U : Type u_2} {V : Type u_3} [inst : RCLike π] [inst_1 : NormedAddCommGroup U]
[inst_2 : InnerProductSpace π U] [inst_3 : FiniteDimensional π U] [inst_4 : NormedAddCommGroup V]
[inst_5 : InnerProductSpace π V] [inst_6 : CompleteSpace V] (f : U βL[π] V),
β((βf).normDet ^ 2) = (ContinuousLinearMap.adjoint f βSL f).det
The square of f.normDet equals the determinant of f.adjoint βL f.
theorem LinearMap.normDet_sq E3 #
β {π : Type u_1} {U : Type u_2} {V : Type u_3} [inst : RCLike π] [inst_1 : NormedAddCommGroup U]
[inst_2 : InnerProductSpace π U] [inst_3 : FiniteDimensional π U] [inst_4 : NormedAddCommGroup V]
[inst_5 : InnerProductSpace π V] [inst_6 : FiniteDimensional π V] (f : U ββ[π] V),
β(f.normDet ^ 2) = LinearMap.det (LinearMap.adjoint f ββ f)
The square of f.normDet equals the determinant of f.adjoint ββ f when the codomain is finite
dimensional.
theorem LinearMap.normDet_sq_eq_det_gram E3 #
β {π : Type u_1} {U : Type u_2} {V : Type u_3} [inst : RCLike π] [inst_1 : NormedAddCommGroup U]
[inst_2 : InnerProductSpace π U] [inst_3 : FiniteDimensional π U] [inst_4 : NormedAddCommGroup V]
[inst_5 : InnerProductSpace π V] {ΞΉ : Type u_5} [inst_6 : Fintype ΞΉ] [inst_7 : DecidableEq ΞΉ] (f : U ββ[π] V)
(b : OrthonormalBasis ΞΉ π U), β(f.normDet ^ 2) = (Matrix.gram π fun x β¦ f (b x)).det
The square of f.normDet equals the determinant of the Gram matrix formed by vectors mapped from
an orthonormal basis.
theorem LinearMap.normDet_comp E1 #
β {π : Type u_1} {U : Type u_2} {V : Type u_3} {W : Type u_4} [inst : RCLike π] [inst_1 : NormedAddCommGroup U]
[inst_2 : InnerProductSpace π U] [inst_3 : FiniteDimensional π U] [inst_4 : NormedAddCommGroup V]
[inst_5 : InnerProductSpace π V] [inst_6 : NormedAddCommGroup W] [inst_7 : InnerProductSpace π W] (f : U ββ[π] V)
(g : V ββ[π] W), (g ββ f).normDet = (g.domRestrict f.range).normDet * f.normDet
theorem LinearMap.normDet_comp_of_finrank_eq E0 #
β {π : Type u_1} {U : Type u_2} {V : Type u_3} {W : Type u_4} [inst : RCLike π] [inst_1 : NormedAddCommGroup U]
[inst_2 : InnerProductSpace π U] [inst_3 : FiniteDimensional π U] [inst_4 : NormedAddCommGroup V]
[inst_5 : InnerProductSpace π V] [inst_6 : NormedAddCommGroup W] [inst_7 : InnerProductSpace π W]
[inst_8 : FiniteDimensional π V] (f : U ββ[π] V) (g : V ββ[π] W),
Module.finrank π U = Module.finrank π V β (g ββ f).normDet = g.normDet * f.normDet
theorem LinearMap.normDet_codRestrict E0 #
β {π : Type u_1} {U : Type u_2} {V : Type u_3} [inst : RCLike π] [inst_1 : NormedAddCommGroup U]
[inst_2 : InnerProductSpace π U] [inst_3 : FiniteDimensional π U] [inst_4 : NormedAddCommGroup V]
[inst_5 : InnerProductSpace π V] {p : Submodule π V} {f : U ββ[π] V} (h : β (c : U), f c β p),
(LinearMap.codRestrict p f h).normDet = f.normDet
theorem LinearMap.normDet_eq_prod_singularValues E3 #
β {π : Type u_1} {U : Type u_2} {V : Type u_3} [inst : RCLike π] [inst_1 : NormedAddCommGroup U]
[inst_2 : InnerProductSpace π U] [inst_3 : FiniteDimensional π U] [inst_4 : NormedAddCommGroup V]
[inst_5 : InnerProductSpace π V] [inst_6 : FiniteDimensional π V] (f : U ββ[π] V),
f.normDet = β i β Finset.range (Module.finrank π U), f.singularValues i
theorem LinearMap.normDet_eq_abs_det E1 #
β {U : Type u_5} [inst : NormedAddCommGroup U] [inst_1 : InnerProductSpace β U] [inst_2 : FiniteDimensional β U]
(f : U ββ[β] U), f.normDet = |LinearMap.det f|
theorem LinearMap.hausdorffMeasure_image E3 #
β {U : Type u_5} {V : Type u_6} [inst : NormedAddCommGroup U] [inst_1 : InnerProductSpace β U]
[inst_2 : FiniteDimensional β U] [inst_3 : NormedAddCommGroup V] [inst_4 : InnerProductSpace β V]
[inst_5 : MeasurableSpace U] [inst_6 : BorelSpace U] [inst_7 : MeasurableSpace V] [inst_8 : BorelSpace V]
(f : U ββ[β] V) (s : Set U),
(MeasureTheory.Measure.hausdorffMeasure β(Module.finrank β U)) (βf '' s) =
ENNReal.ofReal f.normDet * (MeasureTheory.Measure.hausdorffMeasure β(Module.finrank β U)) s
Using Hausdorff measure with the domain dimension, the volume of the image is scaled by
LinearMap.normDet.
theorem LinearMap.euclideanHausdorffMeasure_image E1 #
β {U : Type u_5} {V : Type u_6} [inst : NormedAddCommGroup U] [inst_1 : InnerProductSpace β U]
[inst_2 : FiniteDimensional β U] [inst_3 : NormedAddCommGroup V] [inst_4 : InnerProductSpace β V]
[inst_5 : MeasurableSpace U] [inst_6 : BorelSpace U] [inst_7 : MeasurableSpace V] [inst_8 : BorelSpace V]
(f : U ββ[β] V) (s : Set U),
(MeasureTheory.Measure.euclideanHausdorffMeasure (Module.finrank β U)) (βf '' s) =
ENNReal.ofReal f.normDet * (MeasureTheory.Measure.euclideanHausdorffMeasure (Module.finrank β U)) s
Using Euclidean Hausdorff measure with the domain dimension, the volume of the image is scaled by
LinearMap.normDet.
theorem LinearMap.euclideanHausdorffMeasure_image_eq_normDet_mul_volume E1 #
β {U : Type u_5} {V : Type u_6} [inst : NormedAddCommGroup U] [inst_1 : InnerProductSpace β U]
[inst_2 : FiniteDimensional β U] [inst_3 : NormedAddCommGroup V] [inst_4 : InnerProductSpace β V]
[inst_5 : MeasurableSpace U] [inst_6 : BorelSpace U] [inst_7 : MeasurableSpace V] [inst_8 : BorelSpace V]
(f : U ββ[β] V) (s : Set U),
(MeasureTheory.Measure.euclideanHausdorffMeasure (Module.finrank β U)) (βf '' s) =
ENNReal.ofReal f.normDet * MeasureTheory.volume s
The volume of the image measured by Euclidean Hausdorff measure is equal to the Lebesgue measure
scaled by LinearMap.normDet.