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 / V07. Linear algebra

Mathlib.Algebra.Module.ZLattice.Covolume

18 declarations. Mathlib docs · Source

Covolume of ℤ-lattices

Let E be a finite-dimensional real vector space.

Let L be a ℤ-lattice L defined as a discrete ℤ-submodule of E that spans E over ℝ.

Main definitions and results

  • ZLattice.covolume: the covolume of L defined as the volume of an arbitrary fundamental domain of L.

  • ZLattice.covolume_eq_measure_fundamentalDomain: the covolume of L does not depend on the choice of the fundamental domain of L.

  • ZLattice.covolume_eq_det: if L is a lattice in ℝ^n, then its covolume is the absolute value of the determinant of any ℤ-basis of L.

  • ZLattice.covolume_div_covolume_eq_relIndex: Let L₁ be a sub-ℤ-lattice of L₂. Then the index of L₁ inside L₂ is equal to covolume L₁ / covolume L₂.

  • ZLattice.covolume.tendsto_card_div_pow: Let s be a bounded measurable set of ι → ℝ, then the number of points in s ∩ n⁻¹ • L divided by n ^ card ι tends to volume s / covolume L when n : ℕ tends to infinity. See also ZLattice.covolume.tendsto_card_div_pow' for a version for InnerProductSpace ℝ E and ZLattice.covolume.tendsto_card_div_pow'' for the general version.

  • ZLattice.covolume.tendsto_card_le_div: Let X be a cone in ι → ℝ and let F : (ι → ℝ) → ℝ be a function such that F (c • x) = c ^ card ι * F x. Then the number of points x ∈ X such that F x ≤ c divided by c tends to volume {x ∈ X | F x ≤ 1} / covolume L when c : ℝ tends to infinity. See also ZLattice.covolume.tendsto_card_le_div' for a version for InnerProductSpace ℝ E and ZLattice.covolume.tendsto_card_le_div'' for the general version.

Naming convention

Some results are true in the case where the ambient finite-dimensional real vector space is the pi-space ι → ℝ and in the case where it is an InnerProductSpace. We use the following convention: the plain name is for the pi case, for e.g. volume_image_eq_volume_div_covolume. For the same result in the InnerProductSpace case, we add a prime, for e.g. volume_image_eq_volume_div_covolume'. When the same result exists in the general case, we had two primes, e.g. covolume.tendsto_card_div_pow''.

def ZLattice.covolume E1 #

{E : Type u_1} →
  [inst : NormedAddCommGroup E] →
    [inst_1 : MeasurableSpace E] → Submodule ℤ E → autoParam (MeasureTheory.Measure E) ZLattice.covolume._auto_1 → ℝ

The covolume of a ℤ-lattice is the volume of some fundamental domain; see ZLattice.covolume_eq_volume for the proof that the volume does not depend on the choice of the fundamental domain.

theorem ZLattice.covolume_eq_measure_fundamentalDomain E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] [FiniteDimensional ℝ E]
  [inst_3 : MeasurableSpace E] [BorelSpace E] (L : Submodule ℤ E) [inst_5 : DiscreteTopology ↥L] [IsZLattice ℝ L]
  (μ : autoParam (MeasureTheory.Measure E) _auto_33✝) [μ.IsAddHaarMeasure] {F : Set E},
  MeasureTheory.IsAddFundamentalDomain (↥L) F μ → ZLattice.covolume L μ = μ.real F

theorem ZLattice.covolume_ne_zero E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] [FiniteDimensional ℝ E]
  [inst_3 : MeasurableSpace E] [BorelSpace E] (L : Submodule ℤ E) [inst_5 : DiscreteTopology ↥L] [IsZLattice ℝ L]
  (μ : autoParam (MeasureTheory.Measure E) _auto_37✝) [μ.IsAddHaarMeasure], ZLattice.covolume L μ ≠ 0

theorem ZLattice.covolume_pos E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] [FiniteDimensional ℝ E]
  [inst_3 : MeasurableSpace E] [BorelSpace E] (L : Submodule ℤ E) [inst_5 : DiscreteTopology ↥L] [IsZLattice ℝ L]
  (μ : autoParam (MeasureTheory.Measure E) _auto_41✝) [μ.IsAddHaarMeasure], 0 < ZLattice.covolume L μ

theorem ZLattice.covolume_comap E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] [FiniteDimensional ℝ E]
  [inst_3 : MeasurableSpace E] [BorelSpace E] (L : Submodule ℤ E) [inst_5 : DiscreteTopology ↥L] [IsZLattice ℝ L]
  (μ : autoParam (MeasureTheory.Measure E) _auto_45✝) [μ.IsAddHaarMeasure] {F : Type u_2}
  [inst_8 : NormedAddCommGroup F] [inst_9 : NormedSpace ℝ F] [FiniteDimensional ℝ F] [inst_11 : MeasurableSpace F]
  [BorelSpace F] (ν : autoParam (MeasureTheory.Measure F) ZLattice.covolume_comap._auto_1) [ν.IsAddHaarMeasure]
  {e : F ≃L[ℝ] E},
  MeasureTheory.MeasurePreserving (⇑e) ν μ → ZLattice.covolume (ZLattice.comap ℝ L ↑↑e) ν = ZLattice.covolume L μ

theorem ZLattice.covolume_eq_det_mul_measureReal E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] [FiniteDimensional ℝ E]
  [inst_3 : MeasurableSpace E] [BorelSpace E] (L : Submodule ℤ E) [inst_5 : DiscreteTopology ↥L] [IsZLattice ℝ L]
  (μ : autoParam (MeasureTheory.Measure E) _auto_49✝) [μ.IsAddHaarMeasure] {ι : Type u_2} [inst_8 : Fintype ι]
  [inst_9 : DecidableEq ι] (b : Module.Basis ι ℤ ↥L) (b₀ : Module.Basis ι ℝ E),
  ZLattice.covolume L μ = |b₀.det (Subtype.val ∘ ⇑b)| * μ.real (ZSpan.fundamentalDomain b₀)

theorem ZLattice.covolume_eq_det E1 #

∀ {ι : Type u_2} [inst : Fintype ι] [inst_1 : DecidableEq ι] (L : Submodule ℤ (ι → ℝ)) [inst_2 : DiscreteTopology ↥L]
  [IsZLattice ℝ L] (b : Module.Basis ι ℤ ↥L),
  ZLattice.covolume L MeasureTheory.volume = |(Matrix.of (Subtype.val ∘ ⇑b)).det|

theorem ZLattice.covolume_eq_det_inv E1 #

∀ {ι : Type u_2} [inst : Fintype ι] (L : Submodule ℤ (ι → ℝ)) [inst_1 : DiscreteTopology ↥L] [inst_2 : IsZLattice ℝ L]
  (b : Module.Basis ι ℤ ↥L),
  ZLattice.covolume L MeasureTheory.volume = |↑(LinearEquiv.det (Module.Basis.ofZLatticeBasis ℝ L b).equivFun)|⁻¹

theorem ZLattice.covolume_div_covolume_eq_relIndex E1 #

∀ {ι : Type u_2} [inst : Fintype ι] (L₁ L₂ : Submodule ℤ (ι → ℝ)) [inst_1 : DiscreteTopology ↥L₁] [IsZLattice ℝ L₁]
  [inst_3 : DiscreteTopology ↥L₂] [IsZLattice ℝ L₂],
  L₁ ≤ L₂ →
    ZLattice.covolume L₁ MeasureTheory.volume / ZLattice.covolume L₂ MeasureTheory.volume =
      ↑(L₁.toAddSubgroup.relIndex L₂.toAddSubgroup)

Let L₁ be a sub-ℤ-lattice of L₂. Then the index of L₁ inside L₂ is equal to covolume L₁ / covolume L₂.

theorem ZLattice.covolume_div_covolume_eq_relIndex' E1 #

∀ {E : Type u_2} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] [inst_2 : FiniteDimensional ℝ E]
  [inst_3 : MeasurableSpace E] [inst_4 : BorelSpace E] (L₁ L₂ : Submodule ℤ E) [inst_5 : DiscreteTopology ↥L₁]
  [IsZLattice ℝ L₁] [inst_7 : DiscreteTopology ↥L₂] [IsZLattice ℝ L₂],
  L₁ ≤ L₂ →
    ZLattice.covolume L₁ MeasureTheory.volume / ZLattice.covolume L₂ MeasureTheory.volume =
      ↑(L₁.toAddSubgroup.relIndex L₂.toAddSubgroup)

A more general version of covolume_div_covolume_eq_relIndex; see the Naming conventions section in the introduction.

theorem ZLattice.volume_image_eq_volume_div_covolume E1 #

∀ {ι : Type u_2} [inst : Fintype ι] (L : Submodule ℤ (ι → ℝ)) [inst_1 : DiscreteTopology ↥L] [inst_2 : IsZLattice ℝ L]
  (b : Module.Basis ι ℤ ↥L) {s : Set (ι → ℝ)},
  MeasureTheory.volume (⇑(Module.Basis.ofZLatticeBasis ℝ L b).equivFun '' s) =
    MeasureTheory.volume s / ENNReal.ofReal (ZLattice.covolume L MeasureTheory.volume)

theorem ZLattice.volume_image_eq_volume_div_covolume' E1 #

∀ {E : Type u_2} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] [inst_2 : FiniteDimensional ℝ E]
  [inst_3 : MeasurableSpace E] [inst_4 : BorelSpace E] (L : Submodule ℤ E) [inst_5 : DiscreteTopology ↥L]
  [inst_6 : IsZLattice ℝ L] {ι : Type u_3} [inst_7 : Fintype ι] (b : Module.Basis ι ℤ ↥L) {s : Set E},
  MeasureTheory.NullMeasurableSet s MeasureTheory.volume →
    MeasureTheory.volume (⇑(Module.Basis.ofZLatticeBasis ℝ L b).equivFun '' s) =
      MeasureTheory.volume s / ENNReal.ofReal (ZLattice.covolume L MeasureTheory.volume)

A more general version of ZLattice.volume_image_eq_volume_div_covolume; see the Naming conventions section in the introduction.

theorem ZLattice.covolume.tendsto_card_div_pow'' E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {L : Submodule ℤ E}
  [inst_2 : DiscreteTopology ↥L] [inst_3 : IsZLattice ℝ L] {ι : Type u_2} [inst_4 : Fintype ι] (b : Module.Basis ι ℤ ↥L)
  [inst_5 : FiniteDimensional ℝ E] [inst_6 : MeasurableSpace E] [BorelSpace E] {s : Set E},
  Bornology.IsBounded s →
    MeasurableSet s →
      MeasureTheory.volume (frontier (⇑(Module.Basis.ofZLatticeBasis ℝ L b).equivFun '' s)) = 0 →
        Filter.Tendsto (fun n ↦ ↑(Nat.card ↑(s ∩ (↑n)⁻¹ • ↑L)) / ↑n ^ Fintype.card ι) Filter.atTop
          (nhds (MeasureTheory.volume.real (⇑(Module.Basis.ofZLatticeBasis ℝ L b).equivFun '' s)))

A version of ZLattice.covolume.tendsto_card_div_pow for the general case; see the Naming convention section in the introduction.

theorem ZLattice.covolume.tendsto_card_le_div'' E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] {L : Submodule ℤ E}
  [inst_2 : DiscreteTopology ↥L] [inst_3 : IsZLattice ℝ L] {ι : Type u_2} [inst_4 : Fintype ι] (b : Module.Basis ι ℤ ↥L)
  [inst_5 : FiniteDimensional ℝ E] [inst_6 : MeasurableSpace E] [BorelSpace E] [Nonempty ι] {X : Set E},
  (∀ ⦃x : E⦄ ⦃r : ℝ⦄, x ∈ X → 0 < r → r • x ∈ X) →
    ∀ {F : E → ℝ},
      (∀ (x : E) ⦃r : ℝ⦄, 0 ≤ r → F (r • x) = r ^ Fintype.card ι * F x) →
        Bornology.IsBounded {x | x ∈ X ∧ F x ≤ 1} →
          MeasurableSet {x | x ∈ X ∧ F x ≤ 1} →
            MeasureTheory.volume (frontier (⇑(Module.Basis.ofZLatticeBasis ℝ L b).equivFun '' {x | x ∈ X ∧ F x ≤ 1})) =
                0 →
              Filter.Tendsto (fun c ↦ ↑(Nat.card ↑({x | x ∈ X ∧ F x ≤ c} ∩ ↑L)) / c) Filter.atTop
                (nhds
                  (MeasureTheory.volume.real (⇑(Module.Basis.ofZLatticeBasis ℝ L b).equivFun '' {x | x ∈ X ∧ F x ≤ 1})))

A version of ZLattice.covolume.tendsto_card_le_div for the general case; see the Naming conventions section in the introduction.

theorem ZLattice.covolume.tendsto_card_div_pow E1 #

∀ {ι : Type u_1} [inst : Fintype ι] (L : Submodule ℤ (ι → ℝ)) [inst_1 : DiscreteTopology ↥L] [IsZLattice ℝ L]
  (b : Module.Basis ι ℤ ↥L) {s : Set (ι → ℝ)},
  Bornology.IsBounded s →
    MeasurableSet s →
      MeasureTheory.volume (frontier s) = 0 →
        Filter.Tendsto (fun n ↦ ↑(Nat.card ↑(s ∩ (↑n)⁻¹ • ↑L)) / ↑n ^ Fintype.card ι) Filter.atTop
          (nhds (MeasureTheory.volume.real s / ZLattice.covolume L MeasureTheory.volume))

theorem ZLattice.covolume.tendsto_card_le_div E1 #

∀ {ι : Type u_1} [inst : Fintype ι] (L : Submodule ℤ (ι → ℝ)) [inst_1 : DiscreteTopology ↥L] [IsZLattice ℝ L]
  {X : Set (ι → ℝ)},
  (∀ ⦃x : ι → ℝ⦄ ⦃r : ℝ⦄, x ∈ X → 0 < r → r • x ∈ X) →
    ∀ {F : (ι → ℝ) → ℝ},
      (∀ (x : ι → ℝ) ⦃r : ℝ⦄, 0 ≤ r → F (r • x) = r ^ Fintype.card ι * F x) →
        Bornology.IsBounded {x | x ∈ X ∧ F x ≤ 1} →
          MeasurableSet {x | x ∈ X ∧ F x ≤ 1} →
            MeasureTheory.volume (frontier {x | x ∈ X ∧ F x ≤ 1}) = 0 →
              ∀ [Nonempty ι],
                Filter.Tendsto (fun c ↦ ↑(Nat.card ↑({x | x ∈ X ∧ F x ≤ c} ∩ ↑L)) / c) Filter.atTop
                  (nhds (MeasureTheory.volume.real {x | x ∈ X ∧ F x ≤ 1} / ZLattice.covolume L MeasureTheory.volume))

theorem ZLattice.covolume.tendsto_card_div_pow' E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] [inst_2 : FiniteDimensional ℝ E]
  [inst_3 : MeasurableSpace E] [inst_4 : BorelSpace E] (L : Submodule ℤ E) [inst_5 : DiscreteTopology ↥L]
  [IsZLattice ℝ L] {s : Set E},
  Bornology.IsBounded s →
    MeasurableSet s →
      MeasureTheory.volume (frontier s) = 0 →
        Filter.Tendsto (fun n ↦ ↑(Nat.card ↑(s ∩ (↑n)⁻¹ • ↑L)) / ↑n ^ Module.finrank ℝ E) Filter.atTop
          (nhds (MeasureTheory.volume.real s / ZLattice.covolume L MeasureTheory.volume))

A version of ZLattice.covolume.tendsto_card_div_pow for the InnerProductSpace case; see the Naming convention section in the introduction.

theorem ZLattice.covolume.tendsto_card_le_div' E1 #

∀ {E : Type u_1} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] [inst_2 : FiniteDimensional ℝ E]
  [inst_3 : MeasurableSpace E] [inst_4 : BorelSpace E] (L : Submodule ℤ E) [inst_5 : DiscreteTopology ↥L]
  [IsZLattice ℝ L] [Nontrivial E] {X : Set E} {F : E → ℝ},
  (∀ ⦃x : E⦄ ⦃r : ℝ⦄, x ∈ X → 0 < r → r • x ∈ X) →
    (∀ (x : E) ⦃r : ℝ⦄, 0 ≤ r → F (r • x) = r ^ Module.finrank ℝ E * F x) →
      Bornology.IsBounded {x | x ∈ X ∧ F x ≤ 1} →
        MeasurableSet {x | x ∈ X ∧ F x ≤ 1} →
          MeasureTheory.volume (frontier {x | x ∈ X ∧ F x ≤ 1}) = 0 →
            Filter.Tendsto (fun c ↦ ↑(Nat.card ↑({x | x ∈ X ∧ F x ≤ c} ∩ ↑L)) / c) Filter.atTop
              (nhds (MeasureTheory.volume.real {x | x ∈ X ∧ F x ≤ 1} / ZLattice.covolume L MeasureTheory.volume))

A version of ZLattice.covolume.tendsto_card_le_div for the InnerProductSpace case; see the Naming convention section in the introduction.