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 / V12. Number theory

Mathlib.NumberTheory.NumberField.CanonicalEmbedding.PolarCoord

52 declarations. Mathlib docs · Source

Polar coordinate change of variables for the mixed space of a number field

We define two polar coordinate changes of variables for the mixed space ℝ^r₁ × ℂ^r₂ associated to a number field K of signature (r₁, r₂). The first one is mixedEmbedding.polarCoord and has value in realMixedSpace K defined as ℝ^r₁ × (ℝ ⨯ ℝ)^r₂, the second is mixedEmbedding.polarSpaceCoord and has value in polarSpace K defined as ℝ^(r₁+r₂) × ℝ^r₂.

The change of variables with the polarSpace is useful to compute the volume of subsets of the mixed space with enough symmetries, see volume_eq_two_pi_pow_mul_integral and volume_eq_two_pow_mul_two_pi_pow_mul_integral

Main definitions and results

  • mixedEmbedding.polarCoord: the polar coordinate change of variables between the mixed space ℝ^r₁ × ℂ^r₂ and ℝ^r₁ × (ℝ × ℝ)^r₂ defined as the identity on the first component and mapping (zᵢ)ᵢ to (‖zᵢ‖, Arg zᵢ)ᵢ on the second component.

  • mixedEmbedding.integral_comp_polarCoord_symm: the change of variables formula for mixedEmbedding.polarCoord

  • mixedEmbedding.polarSpaceCoord: the polar coordinate change of variables between the mixed space ℝ^r₁ × ℂ^r₂ and the polar space ℝ^(r₁ + r₂) × ℝ^r₂ defined by sending x to x w or ‖x w‖ depending on whether w is real or complex for the first component, and to Arg (x w), w complex, for the second component.

  • mixedEmbedding.integral_comp_polarSpaceCoord_symm: the change of variables formula for mixedEmbedding.polarSpaceCoord

  • mixedEmbedding.volume_eq_two_pi_pow_mul_integral: if the measurable set A of the mixed space is norm-stable at complex places in the sense that normAtComplexPlaces⁻¹ (normAtComplexPlaces '' A) = A, then its volume can be computed via an integral over normAtComplexPlaces '' A.

  • mixedEmbedding.volume_eq_two_pow_mul_two_pi_pow_mul_integral: if the measurable set A of the mixed space is norm-stable in the sense that normAtAllPlaces⁻¹ (normAtAllPlaces '' A) = A, then its volume can be computed via an integral over normAtAllPlaces '' A.

theorem NumberField.mixedEmbedding.polarSpaceCoord.congr_simp E1 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K],
  NumberField.mixedEmbedding.polarSpaceCoord K = NumberField.mixedEmbedding.polarSpaceCoord K

theorem NumberField.mixedEmbedding.polarCoordReal.congr_simp E1 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K],
  NumberField.mixedEmbedding.polarCoordReal K = NumberField.mixedEmbedding.polarCoordReal K

theorem NumberField.mixedEmbedding.polarCoord.congr_simp E1 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K],
  NumberField.mixedEmbedding.polarCoord K = NumberField.mixedEmbedding.polarCoord K

abbrev NumberField.mixedEmbedding.realMixedSpace E1 #

(K : Type u_1) → [Field K] → Type u_1

The real mixed space ℝ^r₁ × (ℝ × ℝ)^r₂ with (r₁, r₂) the signature of K.

def NumberField.mixedEmbedding.mixedSpaceToRealMixedSpace E1 #

(K : Type u_1) →
  [inst : Field K] → NumberField.mixedEmbedding.mixedSpace K ≃ₜ NumberField.mixedEmbedding.realMixedSpace K

The natural homeomorphism between the mixed space ℝ^r₁ × ℂ^r₂ and the real mixed space ℝ^r₁ × (ℝ × ℝ)^r₂.

theorem NumberField.mixedEmbedding.mixedSpaceToRealMixedSpace_apply E0 #

∀ (K : Type u_1) [inst : Field K] (x : NumberField.mixedEmbedding.mixedSpace K),
  (NumberField.mixedEmbedding.mixedSpaceToRealMixedSpace K) x = (x.1, fun w ↦ Complex.equivRealProd (x.2 w))

theorem NumberField.mixedEmbedding.volume_preserving_mixedSpaceToRealMixedSpace_symm E1 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K],
  MeasureTheory.MeasurePreserving (⇑(NumberField.mixedEmbedding.mixedSpaceToRealMixedSpace K).symm) MeasureTheory.volume
    MeasureTheory.volume

instance NumberField.mixedEmbedding.instIsAddHaarMeasureRealMixedSpaceVolume E0 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K], MeasureTheory.volume.IsAddHaarMeasure

def NumberField.mixedEmbedding.polarCoordReal E1 #

(K : Type u_1) →
  [inst : Field K] →
    [NumberField K] →
      OpenPartialHomeomorph (NumberField.mixedEmbedding.realMixedSpace K) (NumberField.mixedEmbedding.realMixedSpace K)

The polar coordinate open partial homeomorphism of ℝ^r₁ × (ℝ × ℝ)^r₂ defined as the identity on the first component and mapping (rᵢ cos θᵢ, rᵢ sin θᵢ)ᵢ to (rᵢ, θᵢ)ᵢ on the second component.

theorem NumberField.mixedEmbedding.polarCoordReal_apply E0 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K]
  (p : ({ w // w.IsReal } → ℝ) × ({ w // w.IsComplex } → ℝ × ℝ)),
  ↑(NumberField.mixedEmbedding.polarCoordReal K) p = (p.1, Pi.map (fun i ↦ ↑polarCoord) p.2)

theorem NumberField.mixedEmbedding.polarCoordReal_target E0 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K],
  (NumberField.mixedEmbedding.polarCoordReal K).target =
    Set.univ ×ˢ Set.univ.pi fun i ↦ Set.Ioi 0 ×ˢ Set.Ioo (-Real.pi) Real.pi

theorem NumberField.mixedEmbedding.measurable_polarCoordReal_symm E1 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K],
  Measurable ↑(NumberField.mixedEmbedding.polarCoordReal K).symm

theorem NumberField.mixedEmbedding.polarCoordReal_source E1 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K],
  (NumberField.mixedEmbedding.polarCoordReal K).source = Set.univ ×ˢ Set.univ.pi fun x ↦ polarCoord.source

def NumberField.mixedEmbedding.FDerivPolarCoordRealSymm E1 #

(K : Type u_1) →
  [inst : Field K] →
    NumberField.mixedEmbedding.realMixedSpace K →
      NumberField.mixedEmbedding.realMixedSpace K →L[ℝ] NumberField.mixedEmbedding.realMixedSpace K

The derivative of polarCoordReal.symm, see hasFDerivAt_polarCoordReal_symm.

theorem NumberField.mixedEmbedding.hasFDerivAt_polarCoordReal_symm E1 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K] (x : NumberField.mixedEmbedding.realMixedSpace K),
  HasFDerivAt (↑(NumberField.mixedEmbedding.polarCoordReal K).symm)
    (NumberField.mixedEmbedding.FDerivPolarCoordRealSymm K x) x

theorem NumberField.mixedEmbedding.det_fderivPolarCoordRealSymm E1 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K] (x : NumberField.mixedEmbedding.realMixedSpace K),
  (NumberField.mixedEmbedding.FDerivPolarCoordRealSymm K x).det = ∏ w, (x.2 w).1

theorem NumberField.mixedEmbedding.polarCoordReal_symm_target_ae_eq_univ E1 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K],
  ↑(NumberField.mixedEmbedding.polarCoordReal K).symm ''
      (NumberField.mixedEmbedding.polarCoordReal K).target =ᵐ[MeasureTheory.volume]
    Set.univ

theorem NumberField.mixedEmbedding.integral_comp_polarCoordReal_symm E1 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K] {E : Type u_2} [inst_2 : NormedAddCommGroup E]
  [inst_3 : NormedSpace ℝ E] (f : NumberField.mixedEmbedding.realMixedSpace K → E),
  ∫ (x : NumberField.mixedEmbedding.realMixedSpace K) in (NumberField.mixedEmbedding.polarCoordReal K).target,
      (∏ w, (x.2 w).1) • f (↑(NumberField.mixedEmbedding.polarCoordReal K).symm x) =
    ∫ (x : NumberField.mixedEmbedding.realMixedSpace K), f x

theorem NumberField.mixedEmbedding.lintegral_comp_polarCoordReal_symm E1 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K] (f : NumberField.mixedEmbedding.realMixedSpace K → ENNReal),
  ∫⁻ (x : NumberField.mixedEmbedding.realMixedSpace K) in (NumberField.mixedEmbedding.polarCoordReal K).target,
      (∏ w, ENNReal.ofReal (x.2 w).1) * f (↑(NumberField.mixedEmbedding.polarCoordReal K).symm x) =
    ∫⁻ (x : NumberField.mixedEmbedding.realMixedSpace K), f x

def NumberField.mixedEmbedding.polarCoord E1 #

(K : Type u_1) →
  [inst : Field K] →
    [NumberField K] →
      OpenPartialHomeomorph (NumberField.mixedEmbedding.mixedSpace K) (NumberField.mixedEmbedding.realMixedSpace K)

The polar coordinate open partial homeomorphism between the mixed space ℝ^r₁ × ℂ^r₂ and ℝ^r₁ × (ℝ × ℝ)^r₂ defined as the identity on the first component and mapping (zᵢ)ᵢ to (‖zᵢ‖, Arg zᵢ)ᵢ on the second component.

theorem NumberField.mixedEmbedding.polarCoord_symm_apply E0 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K]
  (p : ({ w // w.IsReal } → ℝ) × ({ w // w.IsComplex } → ℝ × ℝ)),
  ↑(NumberField.mixedEmbedding.polarCoord K).symm p = (p.1, Pi.map (fun i ↦ ↑Complex.polarCoord.symm) p.2)

theorem NumberField.mixedEmbedding.polarCoord_source E0 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K],
  (NumberField.mixedEmbedding.polarCoord K).source = Set.univ ×ˢ Set.univ.pi fun i ↦ Complex.polarCoord.source

theorem NumberField.mixedEmbedding.polarCoord_target E0 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K],
  (NumberField.mixedEmbedding.polarCoord K).target = Set.univ ×ˢ Set.univ.pi fun i ↦ Complex.polarCoord.target

theorem NumberField.mixedEmbedding.polarCoord_apply E0 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K] (p : ({ w // w.IsReal } → ℝ) × ({ w // w.IsComplex } → ℂ)),
  ↑(NumberField.mixedEmbedding.polarCoord K) p = (p.1, Pi.map (fun i ↦ ↑Complex.polarCoord) p.2)

theorem NumberField.mixedEmbedding.polarCoord_target_eq_polarCoordReal_target E1 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K],
  (NumberField.mixedEmbedding.polarCoord K).target = (NumberField.mixedEmbedding.polarCoordReal K).target

theorem NumberField.mixedEmbedding.polarCoord_symm_eq E0 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K],
  ↑(NumberField.mixedEmbedding.polarCoord K).symm =
    ⇑(NumberField.mixedEmbedding.mixedSpaceToRealMixedSpace K).symm ∘
      ↑(NumberField.mixedEmbedding.polarCoordReal K).symm

theorem NumberField.mixedEmbedding.measurable_polarCoord_symm E1 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K], Measurable ↑(NumberField.mixedEmbedding.polarCoord K).symm

theorem NumberField.mixedEmbedding.normAtPlace_polarCoord_symm_of_isReal E1 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K] (x : NumberField.mixedEmbedding.realMixedSpace K)
  {w : NumberField.InfinitePlace K} (hw : w.IsReal),
  (NumberField.mixedEmbedding.normAtPlace w) (↑(NumberField.mixedEmbedding.polarCoord K).symm x) = ‖x.1 ⟨w, hw⟩‖

theorem NumberField.mixedEmbedding.normAtPlace_polarCoord_symm_of_isComplex E1 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K] (x : NumberField.mixedEmbedding.realMixedSpace K)
  {w : NumberField.InfinitePlace K} (hw : w.IsComplex),
  (NumberField.mixedEmbedding.normAtPlace w) (↑(NumberField.mixedEmbedding.polarCoord K).symm x) = ‖(x.2 ⟨w, hw⟩).1‖

theorem NumberField.mixedEmbedding.integral_comp_polarCoord_symm E1 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K] {E : Type u_2} [inst_2 : NormedAddCommGroup E]
  [inst_3 : NormedSpace ℝ E] (f : NumberField.mixedEmbedding.mixedSpace K → E),
  ∫ (x : NumberField.mixedEmbedding.realMixedSpace K) in (NumberField.mixedEmbedding.polarCoord K).target,
      (∏ w, (x.2 w).1) • f (↑(NumberField.mixedEmbedding.polarCoord K).symm x) =
    ∫ (x : NumberField.mixedEmbedding.mixedSpace K), f x

theorem NumberField.mixedEmbedding.lintegral_comp_polarCoord_symm E1 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K] (f : NumberField.mixedEmbedding.mixedSpace K → ENNReal),
  ∫⁻ (x : NumberField.mixedEmbedding.realMixedSpace K) in (NumberField.mixedEmbedding.polarCoord K).target,
      (∏ w, ENNReal.ofReal (x.2 w).1) * f (↑(NumberField.mixedEmbedding.polarCoord K).symm x) =
    ∫⁻ (x : NumberField.mixedEmbedding.mixedSpace K), f x

abbrev NumberField.mixedEmbedding.polarSpace E1 #

(K : Type u_1) → [Field K] → Type u_1

The space ℝ^(r₁+r₂) × ℝ^r₂, it is homeomorphic to the realMixedSpace, see homeoRealMixedSpacePolarSpace.

def NumberField.mixedEmbedding.measurableEquivRealMixedSpacePolarSpace E1 #

(K : Type u_1) →
  [inst : Field K] → NumberField.mixedEmbedding.realMixedSpace K ≃ᵐ NumberField.mixedEmbedding.polarSpace K

The measurable equivalence between the realMixedSpace and the polarSpace. It is actually an homeomorphism, see homeoRealMixedSpacePolarSpace, but defining it in this way makes it easier to prove that it is volume preserving, see volume_preserving_homeoRealMixedSpacePolarSpace.

def NumberField.mixedEmbedding.homeoRealMixedSpacePolarSpace E1 #

(K : Type u_1) →
  [inst : Field K] → NumberField.mixedEmbedding.realMixedSpace K ≃ₜ NumberField.mixedEmbedding.polarSpace K

The homeomorphism between the realMixedSpace and the polarSpace.

theorem NumberField.mixedEmbedding.homeoRealMixedSpacePolarSpace_apply E0 #

∀ (K : Type u_1) [inst : Field K] (x : NumberField.mixedEmbedding.realMixedSpace K),
  (NumberField.mixedEmbedding.homeoRealMixedSpacePolarSpace K) x =
    (fun w ↦ if hw : w.IsReal then x.1 ⟨w, hw⟩ else (x.2 ⟨w, ⋯⟩).1, fun w ↦ (x.2 w).2)

theorem NumberField.mixedEmbedding.homeoRealMixedSpacePolarSpace_apply_fst_ofIsReal E1 #

∀ (K : Type u_1) [inst : Field K] (x : NumberField.mixedEmbedding.realMixedSpace K) (w : { w // w.IsReal }),
  ((NumberField.mixedEmbedding.homeoRealMixedSpacePolarSpace K) x).1 ↑w = x.1 w

theorem NumberField.mixedEmbedding.homeoRealMixedSpacePolarSpace_apply_fst_ofIsComplex E1 #

∀ (K : Type u_1) [inst : Field K] (x : NumberField.mixedEmbedding.realMixedSpace K) (w : { w // w.IsComplex }),
  ((NumberField.mixedEmbedding.homeoRealMixedSpacePolarSpace K) x).1 ↑w = (x.2 w).1

theorem NumberField.mixedEmbedding.homeoRealMixedSpacePolarSpace_apply_snd E1 #

∀ (K : Type u_1) [inst : Field K] (x : NumberField.mixedEmbedding.realMixedSpace K) (w : { w // w.IsComplex }),
  ((NumberField.mixedEmbedding.homeoRealMixedSpacePolarSpace K) x).2 w = (x.2 w).2

theorem NumberField.mixedEmbedding.homeoRealMixedSpacePolarSpace_symm_apply E0 #

∀ (K : Type u_1) [inst : Field K] (x : NumberField.mixedEmbedding.polarSpace K),
  (NumberField.mixedEmbedding.homeoRealMixedSpacePolarSpace K).symm x = (fun w ↦ x.1 ↑w, fun w ↦ (x.1 ↑w, x.2 w))

theorem NumberField.mixedEmbedding.volume_preserving_homeoRealMixedSpacePolarSpace E1 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K],
  MeasureTheory.MeasurePreserving (⇑(NumberField.mixedEmbedding.homeoRealMixedSpacePolarSpace K)) MeasureTheory.volume
    MeasureTheory.volume

def NumberField.mixedEmbedding.polarSpaceCoord E1 #

(K : Type u_1) →
  [inst : Field K] →
    [NumberField K] →
      OpenPartialHomeomorph (NumberField.mixedEmbedding.mixedSpace K) (NumberField.mixedEmbedding.polarSpace K)

The polar coordinate open partial homeomorphism between the mixed space ℝ^r₁ × ℂ^r₂ and the polar space ℝ^(r₁ + r₂) × ℝ^r₂ defined by sending x to x w or ‖x w‖ depending on whether w is real or complex for the first component, and to Arg (x w), w complex, for the second component.

theorem NumberField.mixedEmbedding.polarSpaceCoord_target E0 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K],
  (NumberField.mixedEmbedding.polarSpaceCoord K).target =
    ⇑(NumberField.mixedEmbedding.homeoRealMixedSpacePolarSpace K).symm ⁻¹'
      Set.univ ×ˢ Set.univ.pi fun i ↦ Complex.polarCoord.target

theorem NumberField.mixedEmbedding.polarSpaceCoord_symm_apply E0 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K] (a : NumberField.mixedEmbedding.polarSpace K),
  ↑(NumberField.mixedEmbedding.polarSpaceCoord K).symm a =
    (fun w ↦ a.1 ↑w, Pi.map (fun i ↦ ↑Complex.polarCoord.symm) fun w ↦ (a.1 ↑w, a.2 w))

theorem NumberField.mixedEmbedding.polarSpaceCoord_apply E0 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K] (a : NumberField.mixedEmbedding.mixedSpace K),
  ↑(NumberField.mixedEmbedding.polarSpaceCoord K) a =
    (NumberField.mixedEmbedding.homeoRealMixedSpacePolarSpace K) (a.1, Pi.map (fun i ↦ ↑Complex.polarCoord) a.2)

theorem NumberField.mixedEmbedding.polarSpaceCoord_source E0 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K],
  (NumberField.mixedEmbedding.polarSpaceCoord K).source = Set.univ ×ˢ Set.univ.pi fun i ↦ Complex.polarCoord.source

theorem NumberField.mixedEmbedding.measurable_polarSpaceCoord_symm E1 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K],
  Measurable ↑(NumberField.mixedEmbedding.polarSpaceCoord K).symm

theorem NumberField.mixedEmbedding.polarSpaceCoord_target' E1 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K],
  (NumberField.mixedEmbedding.polarSpaceCoord K).target =
    (Set.univ.pi fun w ↦ if w.IsReal then Set.univ else Set.Ioi 0) ×ˢ Set.univ.pi fun x ↦ Set.Ioo (-Real.pi) Real.pi

theorem NumberField.mixedEmbedding.integral_comp_polarSpaceCoord_symm E1 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K] {E : Type u_2} [inst_2 : NormedAddCommGroup E]
  [inst_3 : NormedSpace ℝ E] (f : NumberField.mixedEmbedding.mixedSpace K → E),
  ∫ (x : NumberField.mixedEmbedding.polarSpace K) in (NumberField.mixedEmbedding.polarSpaceCoord K).target,
      (∏ w, x.1 ↑w) • f (↑(NumberField.mixedEmbedding.polarSpaceCoord K).symm x) =
    ∫ (x : NumberField.mixedEmbedding.mixedSpace K), f x

theorem NumberField.mixedEmbedding.lintegral_comp_polarSpaceCoord_symm E1 #

∀ (K : Type u_1) [inst : Field K] [inst_1 : NumberField K] (f : NumberField.mixedEmbedding.mixedSpace K → ENNReal),
  ∫⁻ (x : NumberField.mixedEmbedding.polarSpace K) in (NumberField.mixedEmbedding.polarSpaceCoord K).target,
      (∏ w, ENNReal.ofReal (x.1 ↑w)) * f (↑(NumberField.mixedEmbedding.polarSpaceCoord K).symm x) =
    ∫⁻ (x : NumberField.mixedEmbedding.mixedSpace K), f x

theorem NumberField.mixedEmbedding.normAtComplexPlaces_polarSpaceCoord_symm E1 #

∀ {K : Type u_1} [inst : Field K] [inst_1 : NumberField K] (x : NumberField.mixedEmbedding.polarSpace K),
  NumberField.mixedEmbedding.normAtComplexPlaces (↑(NumberField.mixedEmbedding.polarSpaceCoord K).symm x) =
    NumberField.mixedEmbedding.normAtComplexPlaces (NumberField.mixedEmbedding.mixedSpaceOfRealSpace x.1)

theorem NumberField.mixedEmbedding.volume_eq_two_pi_pow_mul_integral E1 #

∀ {K : Type u_1} [inst : Field K] {A : Set (NumberField.mixedEmbedding.mixedSpace K)} [inst_1 : NumberField K],
  NumberField.mixedEmbedding.normAtComplexPlaces ⁻¹' NumberField.mixedEmbedding.normAtComplexPlaces '' A = A →
    MeasurableSet A →
      MeasureTheory.volume A =
        ENNReal.ofReal (2 * Real.pi) ^ NumberField.InfinitePlace.nrComplexPlaces K *
          ∫⁻ (x : NumberField.mixedEmbedding.realSpace K) in NumberField.mixedEmbedding.normAtComplexPlaces '' A,
            ∏ w, ENNReal.ofReal (x ↑w)

If the measurable set A is norm-stable at complex places in the sense that normAtComplexPlaces⁻¹ (normAtComplexPlaces '' A) = A, then its volume can be computed via an integral over normAtComplexPlaces '' A.

theorem NumberField.mixedEmbedding.volume_eq_two_pow_mul_two_pi_pow_mul_integral E1 #

∀ {K : Type u_1} [inst : Field K] {A : Set (NumberField.mixedEmbedding.mixedSpace K)} [inst_1 : NumberField K],
  NumberField.mixedEmbedding.normAtAllPlaces ⁻¹' NumberField.mixedEmbedding.normAtAllPlaces '' A = A →
    MeasurableSet A →
      MeasureTheory.volume A =
        2 ^ NumberField.InfinitePlace.nrRealPlaces K *
            ENNReal.ofReal (2 * Real.pi) ^ NumberField.InfinitePlace.nrComplexPlaces K *
          ∫⁻ (x : NumberField.mixedEmbedding.realSpace K) in NumberField.mixedEmbedding.normAtAllPlaces '' A,
            ∏ w, ENNReal.ofReal (x ↑w)

If the measurable set A is norm-stable in the sense that normAtAllPlaces⁻¹ (normAtAllPlaces '' A) = A, then its volume can be computed via an integral over normAtAllPlaces '' A.