Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/Lean/Mathlib/Mathlib/Analysis/InnerProductSpace/     Datei vom 15.10.2026 mit Größe 20 kB image not shown  

Quelle  NormDet.lean   Sprache: Lean

 

/-
Copyright (c) 2026 Weiyi Wang. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Weiyi Wang
-/

module

public import Mathlib.Analysis.InnerProductSpace.GramMatrix
public import Mathlib.Analysis.InnerProductSpace.SingularValues
public import Mathlib.Geometry.Euclidean.Volume.Measure

import Mathlib.MeasureTheory.Measure.Lebesgue.EqHaar
import Mathlib.Topology.MetricSpace.HausdorffDimension

/-!
# 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 result
* `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.
-/


public section

open Module

namespace LinearMap

variable {�� U V W : Type*} [RCLike ��] [NormedAddCommGroup U] [InnerProductSpace �� U]
  [FiniteDimensional �� U] [NormedAddCommGroup V] [InnerProductSpace �� V] [NormedAddCommGroup W]
  [InnerProductSpace �� W]

open Classical in
/--
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`)
-/

noncomputable def normDet (f : U →ₗ[��] V) : ℝ :=
  if h : Nonempty (OrthonormalBasis (Fin (finrank �� U)) �� f.range) then
    ‖(f.rangeRestrict.toMatrix (stdOrthonormalBasis �� U).toBasis h.some.toBasis).det‖
  else
    0

theorem normDet_nonneg (f : U →ₗ[��] V) : 0 ≤ f.normDet := by
  unfold normDet
  split <;> simp

/--
`LinearMap.normDet` is well-defined under any pair of orthonormal basis.
-/

theorem normDet_eq_norm_det_toMatrix_rangeRestrict {ι : Type*} [Fintype ι] [DecidableEq ι]
    (f : U →ₗ[��] V) (bu : OrthonormalBasis ι �� U) (bv : OrthonormalBasis ι �� f.range) :
    f.normDet = ‖(f.rangeRestrict.toMatrix bu.toBasis bv.toBasis).det‖ := by
  have hrank : finrank �� U = finrank �� f.range := by
    rw [finrank_eq_nat_card_basis bu.toBasis, finrank_eq_nat_card_basis bv.toBasis]
  have h : Nonempty (OrthonormalBasis (Fin (finrank �� U)) �� f.range) := by
    rw [hrank]
    exact ⟨stdOrthonormalBasis �� f.range⟩
  simp only [normDet, h, ↓reduceDIte]
  rw [← basis_toMatrix_mul_linearMap_toMatrix_mul_basis_toMatrix (stdOrthonormalBasis �� U).toBasis
    bu.toBasis h.some.toBasis bv.toBasis]
  have h1 : bu.toBasis.toMatrix (stdOrthonormalBasis �� U).toBasis *
      (stdOrthonormalBasis �� U).toBasis.toMatrix bu.toBasis = 1 :=
    Basis.toMatrix_mul_toMatrix_flip _ _
  have h2 : (stdOrthonormalBasis �� U).toBasis.toMatrix bu.toBasis *
      bu.toBasis.toMatrix (stdOrthonormalBasis �� U).toBasis = 1 :=
    Basis.toMatrix_mul_toMatrix_flip _ _
  rw [← Matrix.det_comm' h1 h2, ← Matrix.mul_assoc, Matrix.det_mul, norm_mul]
  suffices ‖(bu.toBasis.toMatrix (stdOrthonormalBasis �� U).toBasis *
      h.some.toBasis.toMatrix ⇑bv.toBasis).det‖ = 1 by
    rw [this, one_mul]
  refine CStarRing.norm_of_mem_unitary <| Matrix.det_of_mem_unitary ?_
  rw [Matrix.mem_unitaryGroup_iff, Matrix.star_eq_conjTranspose, Matrix.conjTranspose_mul,
    ← Matrix.mul_assoc, Matrix.mul_assoc (bu.toBasis.toMatrix (stdOrthonormalBasis �� U).toBasis)]
  simp

/--
`LinearMap.normDet` vanishes iff the map is not injective.
-/

theorem normDet_eq_zero_iff_ker_ne_bot {f : U →ₗ[��] V} :
    f.normDet = 0 ↔ f.ker ≠ ⊥ where
  mp h := by
    contrapose h
    let g : U ≃ₗ[��] f.range := LinearEquiv.ofBijective f.rangeRestrict
      ⟨by simpa using ker_eq_bot.mp h, f.surjective_rangeRestrict⟩
    let bu := stdOrthonormalBasis �� U
    let bv := g.finrank_eq.symm ▸ stdOrthonormalBasis �� f.range
    rw [f.normDet_eq_norm_det_toMatrix_rangeRestrict bu bv, norm_eq_zero.not]
    suffices (f.rangeRestrict.adjoint.toMatrix bv.toBasis bu.toBasis).det *
        (f.rangeRestrict.toMatrix bu.toBasis bv.toBasis).det ≠ 0 by
      simpa [toMatrix_adjoint, Matrix.det_conjTranspose] using this
    simpa [← Matrix.det_mul, ← LinearMap.toMatrix_comp, det_eq_zero_iff_ker_ne_bot,
      LinearMap.ker_adjoint_comp_self] using h
  mpr h := by
    suffices ¬ Nonempty (OrthonormalBasis (Fin (finrank �� U)) �� f.range) by
      simp [normDet, this]
    contrapose h
    obtain ⟨b⟩ := h
    have hrank : finrank �� f.range = finrank �� U := by
      simpa using finrank_eq_card_basis b.toBasis
    simpa [hrank] using f.finrank_range_add_finrank_ker

theorem normDet_eq_zero_iff_rank_range_ne {f : U →ₗ[��] V} :
    f.normDet = 0 ↔ finrank �� f.range ≠ finrank �� U := by
  simp [normDet_eq_zero_iff_ker_ne_bot, ← f.finrank_range_add_finrank_ker]

theorem normDet_ne_zero_tfae (f : U →ₗ[��] V) :
    List.TFAE [f.normDet ≠ 0,
      f.ker = ⊥,
      finrank �� f.range = finrank �� U,
      Nonempty (OrthonormalBasis (Fin (finrank �� U)) �� f.range),
      Function.Injective f] := by
  tfae_have 1 ↔ 2 := f.normDet_eq_zero_iff_ker_ne_bot.not_left
  tfae_have 1 ↔ 3 := f.normDet_eq_zero_iff_rank_range_ne.not_left
  tfae_have 3 → 4 := by
    intro h
    rw [← h]
    exact ⟨stdOrthonormalBasis �� f.range⟩
  tfae_have 4 → 3 := by
    rintro ⟨b⟩
    simpa using Module.finrank_eq_card_basis b.toBasis
  tfae_have 2 ↔ 5 := ker_eq_bot
  tfae_finish

private noncomputable def orthonormalBasis_range {ι : Type*} [Fintype ι] {f : U →ₗ[��] V}
    (hf : f.ker = ⊥) (b : OrthonormalBasis ι �� U) : OrthonormalBasis ι �� f.range :=
  let h : Nonempty (OrthonormalBasis (Fin (finrank �� U)) �� f.range) :=
    (f.normDet_ne_zero_tfae.out 2 4).mp hf
  h.some.reindex (Fintype.equivFinOfCardEq (Module.finrank_eq_card_basis b.toBasis).symm).symm

theorem normDet_eq_zero_tfae (f : U →ₗ[��] V) :
    List.TFAE [f.normDet = 0,
      f.ker ≠ ⊥,
      finrank �� f.range ≠ finrank �� U,
      finrank �� f.range < finrank �� U,
      IsEmpty (OrthonormalBasis (Fin (finrank �� U)) �� f.range),
      ¬Function.Injective f] := by
  tfae_have 1 ↔ 2 := f.normDet_eq_zero_iff_ker_ne_bot
  tfae_have 1 ↔ 3 := f.normDet_eq_zero_iff_rank_range_ne
  tfae_have 3 ↔ 4 := by simpa using finrank_range_le f
  tfae_have 3 ↔ 5 := by
    have h := (f.normDet_ne_zero_tfae.out 3 4).not
    simpa using h
  tfae_have 2 ↔ 6 := ker_eq_bot.not
  tfae_finish

/--
`LinearMap.normDet` can be calculated with any pair of orthonormal basis if the domain and the
codomain have equal dimension.
-/

theorem normDet_eq_norm_det_toMatrix {ι : Type*} [Fintype ι] [DecidableEq ι] (f : U →ₗ[��] V)
    (bu : OrthonormalBasis ι �� U) (bv : OrthonormalBasis ι �� V) :
    f.normDet = ‖(f.toMatrix bu.toBasis bv.toBasis).det‖ := by
  have : FiniteDimensional �� V := bv.toBasis.finiteDimensional_of_finite
  by_cases! hrank : finrank �� U = finrank �� f.range
  · have h : f.range = ⊤ := by
      apply Submodule.eq_of_le_of_finrank_le le_top
      simp [finrank_eq_card_basis bv.toBasis, ← hrank, finrank_eq_card_basis bu.toBasis]
    let bv' : OrthonormalBasis ι �� f.range := bv.map (LinearIsometryEquiv.ofTop _ _ h).symm
    rw [f.normDet_eq_norm_det_toMatrix_rangeRestrict bu bv']
    rfl
  · symm
    rw [normDet_eq_zero_iff_rank_range_ne.mpr hrank.symm]
    contrapose hrank with hdet
    have h : IsUnit ((f.toMatrix bu.toBasis bv.toBasis).det) := by
      simpa using hdet
    let f' := LinearEquiv.ofIsUnitDet h
    have hf : f.range = ⊤ := f'.range
    rw [hf]
    simpa using f'.finrank_eq

/--
`LinearMap.normDet` equals the norm of `LinearMap.det` for an endomorphism.
-/

theorem normDet_eq_norm_det (f : U →ₗ[��] U) : f.normDet = ‖f.det‖ := by
  simp [f.normDet_eq_norm_det_toMatrix (stdOrthonormalBasis �� U) (stdOrthonormalBasis �� U)]

/--
`LinearMap.normDet` of a linear isometry is 1.
-/

@[simp]
theorem _root_.LinearIsometry.normDet_eq_one (f : U →ₗᵢ[��] V) : f.toLinearMap.normDet = 1 := by
  obtain ⟨b⟩ := (f.normDet_ne_zero_tfae.out 5 4).mp f.injective
  rw [normDet_eq_norm_det_toMatrix_rangeRestrict _ (stdOrthonormalBasis �� U) b]
  apply CStarRing.norm_of_mem_unitary
  exact Matrix.det_of_mem_unitary <| (f.equivRange).toMatrix_mem_unitaryGroup _ _

@[simp]
theorem normDet_id : (id : U →ₗ[��] U).normDet = 1 :=
  LinearIsometry.id.normDet_eq_one

@[simp]
theorem normDet_subtype (p : Submodule �� U) : p.subtype.normDet = 1 :=
  p.subtypeₗᵢ.normDet_eq_one

@[simp]
theorem normDet_of_subsingleton [Subsingleton U] (f : U →ₗ[��] V) : f.normDet = 1 := by
  have h : f.ker = ⊥ := Submodule.eq_bot_of_subsingleton
  have hrank : finrank �� U = 0 := finrank_zero_iff.mpr ‹_›
  let bu : OrthonormalBasis (Fin 0) �� U := (stdOrthonormalBasis �� U).reindex (by rw [hrank])
  let bv := orthonormalBasis_range h bu
  simp [normDet_eq_norm_det_toMatrix_rangeRestrict f bu bv]

@[simp]
theorem normDet_zero : (0 : U →ₗ[��] V).normDet = 0 ^ finrank �� U := by
  nontriviality U
  simp [zero_pow finrank_pos.ne.symm, normDet_eq_zero_iff_ker_ne_bot]

@[simp]
theorem normDet_smul (f : U →ₗ[��] V) (c : ��) :
    (c • f).normDet = ‖c‖ ^ finrank �� U * f.normDet := by
  by_cases hc : c = 0
  · nontriviality U
    simp [hc, zero_pow finrank_pos.ne.symm]
  by_cases h : f.ker = ⊥
  · obtain ⟨bv⟩ := (f.normDet_ne_zero_tfae.out 2 4).mp h
    let bu : OrthonormalBasis (Fin (finrank �� U)) �� U := stdOrthonormalBasis �� U
    let bv' : OrthonormalBasis (Fin (finrank �� U)) �� (c • f).range := bv.map
      (LinearIsometryEquiv.ofEq _ _ (LinearMap.range_smul _ _ hc).symm)
    rw [f.normDet_eq_norm_det_toMatrix_rangeRestrict bu bv,
      (c • f).normDet_eq_norm_det_toMatrix_rangeRestrict bu bv', ← norm_pow, ← norm_mul]
    have : finrank �� U = Fintype.card (Fin (finrank �� U)) := by simp
    conv in c ^ finrank �� U => rw [this]
    rw [← Matrix.det_smul, ← map_smul]
    rfl
  · have h' : (c • f).ker ≠ ⊥ := by simpa [f.ker_smul _ hc] using h
    simp [normDet_eq_zero_iff_ker_ne_bot.mpr h, normDet_eq_zero_iff_ker_ne_bot.mpr h']

@[simp]
theorem normDet_neg (f : U →ₗ[��] V) : (-f).normDet = f.normDet := by
  simpa using f.normDet_smul (-1)

/--
The square of `f.normDet` equals the determinant of `f.adjoint ∘L f`.
-/

theorem _root_.ContinuousLinearMap.normDet_sq [CompleteSpace V] (f : U →L[��] V) :
    haveI : CompleteSpace U := FiniteDimensional.completeSpace �� U
    ↑(f.normDet ^ 2) = (f.adjoint ∘L f).det := by
  have : CompleteSpace U := FiniteDimensional.completeSpace �� U
  have : CompleteSpace f.range := FiniteDimensional.completeSpace �� f.range
  let bu := stdOrthonormalBasis �� U
  by_cases h : f.ker = ⊥
  · obtain ⟨b⟩ := (f.normDet_ne_zero_tfae.out 2 4).mp h
    have hf : f = f.range.subtypeₗᵢ.toContinuousLinearMap ∘L f.rangeRestrict := rfl
    conv_rhs => rw [hf]
    rw [ContinuousLinearMap.adjoint_comp, ← ContinuousLinearMap.comp_assoc,
      ContinuousLinearMap.comp_assoc (ContinuousLinearMap.adjoint _),
      f.range.subtypeₗᵢ.adjoint_comp_self, ContinuousLinearMap.one_def, ContinuousLinearMap.comp_id,
      ContinuousLinearMap.det, ContinuousLinearMap.toLinearMap_comp, ← det_toMatrix bu.toBasis,
      toMatrix_comp bu.toBasis b.toBasis bu.toBasis, ← ContinuousLinearMap.adjoint_toLinearMap,
      toMatrix_adjoint, f.toLinearMap.normDet_eq_norm_det_toMatrix_rangeRestrict bu b]
    simp [RCLike.conj_mul]
  · trans 0
    · simp [show f.normDet = 0 from (f.normDet_eq_zero_tfae.out 2 1).mp h]
    symm
    rw [det_eq_zero_iff_ker_ne_bot, ContinuousLinearMap.ker_adjoint_comp_self]
    exact h

/--
The square of `f.normDet` equals the determinant of `f.adjoint ∘ₗ f` when the codomain is finite
dimensional.
-/

theorem normDet_sq [FiniteDimensional �� V] (f : U →ₗ[��] V) :
    ↑(f.normDet ^ 2) = (f.adjoint ∘ₗ f).det := by
  have : CompleteSpace V := FiniteDimensional.completeSpace �� V
  exact f.toContinuousLinearMap.normDet_sq

/--
The square of `f.normDet` equals the determinant of the Gram matrix formed by vectors mapped from
an orthonormal basis.
-/

theorem normDet_sq_eq_det_gram {ι : Type*} [Fintype ι] [DecidableEq ι] (f : U →ₗ[��] V)
    (b : OrthonormalBasis ι �� U) :
    ↑(f.normDet ^ 2) = (Matrix.gram �� (f <| b ·)).det := by
  suffices ↑(f.normDet ^ 2) = (Matrix.gram �� (f.rangeRestrict <| b ·)).det by
    simpa
  by_cases h : f.ker = ⊥
  · let bv := orthonormalBasis_range h b
    rw [Matrix.gram_eq_conjTranspose_mul bv, Matrix.det_mul, Matrix.det_conjTranspose]
    rw [RCLike.star_def, RCLike.conj_mul, f.normDet_eq_norm_det_toMatrix_rangeRestrict b bv]
    simp only [map_pow]
    congr
    ext i j
    simp [LinearMap.toMatrix_apply]
  · trans 0
    · simp [show f.normDet = 0 from (f.normDet_eq_zero_tfae.out 2 1).mp h]
    have hrank := (f.normDet_eq_zero_tfae.out 2 4).mp h
    symm
    contrapose! hrank with h0
    rw [finrank_eq_card_basis b.toBasis]
    exact (Matrix.linearIndependent_of_det_gram_ne_zero h0).fintype_card_le_finrank

theorem normDet_comp (f : U →ₗ[��] V) (g : V →ₗ[��] W) :
    (g ∘ₗ f).normDet = (g.domRestrict f.range).normDet * f.normDet := by
  by_cases hf : f.ker = ⊥
  · let bu : OrthonormalBasis (Fin (finrank �� U)) �� U := stdOrthonormalBasis �� U
    obtain ⟨bv⟩ := (f.normDet_ne_zero_tfae.out 2 4).mp hf
    by_cases hgf : (g ∘ₗ f).ker = ⊥
    · obtain ⟨bw⟩ := ((g ∘ₗ f).normDet_ne_zero_tfae.out 2 4).mp hgf
      let bw' : OrthonormalBasis (Fin (finrank �� U)) �� (g.domRestrict f.range).range :=
        bw.map (LinearIsometryEquiv.ofEq _ _ (by simp [LinearMap.range_comp]))
      rw [(g ∘ₗ f).normDet_eq_norm_det_toMatrix_rangeRestrict bu bw,
        f.normDet_eq_norm_det_toMatrix_rangeRestrict bu bv,
        (g.domRestrict f.range).normDet_eq_norm_det_toMatrix_rangeRestrict bv bw']
      rw [← norm_mul, ← Matrix.det_mul, ← LinearMap.toMatrix_comp]
      rfl
    · have hg : (g.domRestrict f.range).ker ≠ ⊥ := by
        contrapose hf with hgf'
        rw [← LinearMap.ker_rangeRestrict, ← LinearMap.ker_comp_of_ker_eq_bot _ hgf']
        exact hgf
      simp [normDet_eq_zero_iff_ker_ne_bot.mpr hgf, normDet_eq_zero_iff_ker_ne_bot.mpr hg]
  · have hgf : (g ∘ₗ f).ker ≠ ⊥ := by
      contrapose hf with hbot
      simpa [hbot] using ker_le_ker_comp f g
    simp [normDet_eq_zero_iff_ker_ne_bot.mpr hf, normDet_eq_zero_iff_ker_ne_bot.mpr hgf]

theorem normDet_comp_of_finrank_eq [FiniteDimensional �� V] (f : U →ₗ[��] V) (g : V →ₗ[��] W)
    (h : finrank �� U = finrank �� V) :
    (g ∘ₗ f).normDet = g.normDet * f.normDet := by
  by_cases htop : f.range = ⊤
  · rw [normDet_comp]
    congrm ?_ * _
    suffices (g.domRestrict f.range).normDet * (id : V →ₗ[��] V).normDet = g.normDet by simpa
    have : f.range = id.range := by simp [htop]
    convert (normDet_comp LinearMap.id g).symm
  · have hker : f.ker ≠ ⊥ := by
      simpa [ker_eq_bot_iff_range_eq_top_of_finrank_eq_finrank h] using htop
    have hker' : (g ∘ₗ f).ker ≠ ⊥ := by
      contrapose hker with hbot
      simpa [hbot] using ker_le_ker_comp f g
    simp [normDet_eq_zero_iff_ker_ne_bot.mpr hker, normDet_eq_zero_iff_ker_ne_bot.mpr hker']

@[simp]
theorem normDet_codRestrict {p : Submodule �� V} {f : U →ₗ[��] V} (h : ∀ c, f c ∈ p) :
    (f.codRestrict p h).normDet = f.normDet := by
  have : f = p.subtype ∘ₗ f.codRestrict p h := rfl
  conv_rhs => rw [this]
  rw [normDet_comp]
  have : (p.subtype.domRestrict (codRestrict p f h).range).normDet = 1 :=
    (p.subtypeₗᵢ.comp (codRestrict p f h).range.subtypeₗᵢ).normDet_eq_one
  simp [this]

theorem normDet_eq_prod_singularValues [FiniteDimensional �� V] (f : U →ₗ[��] V) :
    f.normDet = ∏ i ∈ Finset.range (finrank �� U), f.singularValues i := by
  rw [← sq_eq_sq₀ f.normDet_nonneg (Finset.prod_nonneg fun i _ ↦ f.singularValues_nonneg i),
    ← RCLike.ofReal_inj (K := ��), ← Finset.prod_pow, ← Fin.prod_univ_eq_prod_range, normDet_sq]
  simp_rw [sq_singularValues_fin]
  push_cast
  rw [← LinearMap.IsSymmetric.det_eq_prod_eigenvalues]

section Real

open MeasureTheory Measure

variable {U V : Type*} [NormedAddCommGroup U] [InnerProductSpace ℝ U] [FiniteDimensional ℝ U]
  [NormedAddCommGroup V] [InnerProductSpace ℝ V]

theorem normDet_eq_abs_det (f : U →ₗ[ℝ] U) : f.normDet = |f.det| := by
  simpa using f.normDet_eq_norm_det

/--
Using Hausdorff measure with the domain dimension, the volume of the image is scaled by
`LinearMap.normDet`.
-/

theorem hausdorffMeasure_image [MeasurableSpace U] [BorelSpace U] [MeasurableSpace V] [BorelSpace V]
    (f : U →ₗ[ℝ] V) (s : Set U) :
    μH[finrank ℝ U] (f '' s) = ENNReal.ofReal f.normDet * μH[finrank ℝ U] s := by
  by_cases h : f.ker = ⊥
  · have hrank : finrank ℝ ↥f.range = finrank ℝ U := (f.normDet_ne_zero_tfae.out 2 3).mp h
    obtain ⟨bv⟩ := (f.normDet_ne_zero_tfae.out 2 4).mp h
    let g : U ≃ₗᵢ[ℝ] f.range := (stdOrthonormalBasis ℝ U).equiv bv (Equiv.refl _)
    suffices μH[finrank ℝ U] ((f.range.subtypeₗᵢ.comp g.toLinearIsometry) ''
        ((g.symm.toLinearIsometry.toLinearMap ∘ₗ f.rangeRestrict) '' s)) =
        ENNReal.ofReal f.normDet * μH[finrank ℝ U] s by
      simpa [Set.image_image]
    rw [(LinearIsometry.isometry _).hausdorffMeasure_image (by simp),
      addHaar_image_linearMap μH[finrank ℝ U], ← normDet_eq_abs_det,
      normDet_comp_of_finrank_eq _ _ hrank.symm, g.symm.toLinearIsometry.normDet_eq_one]
    simp
  · suffices μH[finrank ℝ U] (f.range.subtypeₗᵢ '' (f.rangeRestrict '' s)) = 0 by
      simpa [(f.normDet_eq_zero_tfae.out 2 1).mp h, Set.image_image]
    rw [(LinearIsometry.isometry _).hausdorffMeasure_image (by simp)]
    have h : (finrank ℝ f.range : ℝ) < finrank ℝ U := by
      exact mod_cast (f.normDet_eq_zero_tfae.out 2 4).mp h
    simp [Real.hausdorffMeasure_of_finrank_lt h]

/--
Using Euclidean Hausdorff measure with the domain dimension, the volume of the image is scaled by
`LinearMap.normDet`.
-/

theorem euclideanHausdorffMeasure_image [MeasurableSpace U] [BorelSpace U] [MeasurableSpace V]
    [BorelSpace V] (f : U →ₗ[ℝ] V) (s : Set U) :
    μHE[finrank ℝ U] (f '' s) = ENNReal.ofReal f.normDet * μHE[finrank ℝ U] s := by
  simp_rw [euclideanHausdorffMeasure_def, smul_apply, nnreal_smul_coe_apply,
    hausdorffMeasure_image]
  exact mul_left_comm _ _ _

/--
The volume of the image measured by Euclidean Hausdorff measure is equal to the Lebesgue measure
scaled by `LinearMap.normDet`.
-/

theorem euclideanHausdorffMeasure_image_eq_normDet_mul_volume [MeasurableSpace U] [BorelSpace U]
    [MeasurableSpace V] [BorelSpace V] (f : U →ₗ[ℝ] V) (s : Set U) :
    μHE[finrank ℝ U] (f '' s) = ENNReal.ofReal f.normDet * volume s := by
  rw [f.euclideanHausdorffMeasure_image, InnerProductSpace.euclideanHausdorffMeasure_eq_volume]

end Real

end LinearMap

Messung
CHZG
9210010097

¤ Dauer der Verarbeitung: 0.28 Sekunden  ¤

*© Formatika GbR, Deutschland