The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

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_sq and LinearMap.normDet_sq: The square of f.normDet equals to the determinant of f.adjoint βˆ˜β‚— f.
  • LinearMap.normDet_sq_eq_det_gram: The square of LinearMap.normDet equals to the determinant of the Gram matrix formed by vectors mapped from an orthonormal basis.
  • LinearMap.normDet_eq_prod_singularValues: LinearMap.normDet equals to the product of singular values.
  • LinearMap.hausdorffMeasure_image: LinearMap.normDet is 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.