The areas / V18. Measure and integration
Mathlib.MeasureTheory.Measure.Haar.OfBasis
27 declarations. Mathlib docs · Source
Additive Haar measure constructed from a basis
Given a basis of a finite-dimensional real vector space, we define the corresponding Lebesgue
measure, which gives measure 1 to the parallelepiped spanned by the basis.
Main definitions
parallelepiped vis the parallelepiped spanned by a finite family of vectors.Basis.parallelepipedis the parallelepiped associated to a basis, seen as a compact set with nonempty interior.Basis.addHaaris the Lebesgue measure associated to a basis, giving measure1to the corresponding parallelepiped.
In particular, we declare a MeasureSpace instance on any finite-dimensional inner product space,
by using the Lebesgue measure associated to some orthonormal basis (which is in fact independent
of the basis).
theorem Module.Basis.addHaar.congr_simp E1 #
∀ {ι : Type u_1} {E : Type u_3} [inst : Fintype ι] [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace ℝ E]
[inst_3 : MeasurableSpace E] [inst_4 : BorelSpace E] (b b_1 : Module.Basis ι ℝ E), b = b_1 → b.addHaar = b_1.addHaar
def parallelepiped E1 #
{ι : Type u_1} → {E : Type u_3} → [Fintype ι] → [inst : AddCommGroup E] → [Module ℝ E] → (ι → E) → Set E
The closed parallelepiped spanned by a finite family of vectors.
theorem mem_parallelepiped_iff E0 #
∀ {ι : Type u_1} {E : Type u_3} [inst : Fintype ι] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] (v : ι → E) (x : E),
x ∈ parallelepiped v ↔ ∃ t ∈ Set.Icc 0 1, x = ∑ i, t i • v i
theorem parallelepiped_basis_eq E0 #
∀ {ι : Type u_1} {E : Type u_3} [inst : Fintype ι] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E]
(b : Module.Basis ι ℝ E), parallelepiped ⇑b = {x | ∀ (i : ι), (b.repr x) i ∈ Set.Icc 0 1}
theorem image_parallelepiped E1 #
∀ {ι : Type u_1} {E : Type u_3} {F : Type u_4} [inst : Fintype ι] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E]
[inst_3 : AddCommGroup F] [inst_4 : Module ℝ F] (f : E →ₗ[ℝ] F) (v : ι → E),
⇑f '' parallelepiped v = parallelepiped (⇑f ∘ v)
theorem parallelepiped_comp_equiv E0 #
∀ {ι : Type u_1} {ι' : Type u_2} {E : Type u_3} [inst : Fintype ι] [inst_1 : Fintype ι'] [inst_2 : AddCommGroup E]
[inst_3 : Module ℝ E] (v : ι → E) (e : ι' ≃ ι), parallelepiped (v ∘ ⇑e) = parallelepiped v
Reindexing a family of vectors does not change their parallelepiped.
theorem parallelepiped_orthonormalBasis_one_dim E1 #
∀ {ι : Type u_1} [inst : Fintype ι] (b : OrthonormalBasis ι ℝ ℝ),
parallelepiped ⇑b = Set.Icc 0 1 ∨ parallelepiped ⇑b = Set.Icc (-1) 0
theorem parallelepiped_eq_sum_segment E1 #
∀ {ι : Type u_1} {E : Type u_3} [inst : Fintype ι] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] (v : ι → E),
parallelepiped v = ∑ i, segment ℝ 0 (v i)
theorem convex_parallelepiped E1 #
∀ {ι : Type u_1} {E : Type u_3} [inst : Fintype ι] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] (v : ι → E),
Convex ℝ (parallelepiped v)
theorem parallelepiped_eq_convexHull E1 #
∀ {ι : Type u_1} {E : Type u_3} [inst : Fintype ι] [inst_1 : AddCommGroup E] [inst_2 : Module ℝ E] (v : ι → E),
parallelepiped v = (convexHull ℝ) (∑ i, {0, v i})
A parallelepiped is the convex hull of its vertices
theorem parallelepiped_single E1 #
∀ {ι : Type u_1} [inst : Fintype ι] [inst_1 : DecidableEq ι] (a : ι → ℝ),
(parallelepiped fun i ↦ Pi.single i (a i)) = Set.uIcc 0 a
The axis aligned parallelepiped over ι → ℝ is a cuboid.
def Module.Basis.parallelepiped E3 #
{ι : Type u_1} →
{E : Type u_3} →
[Fintype ι] →
[inst : NormedAddCommGroup E] →
[inst_1 : NormedSpace ℝ E] → Module.Basis ι ℝ E → TopologicalSpace.PositiveCompacts E
The parallelepiped spanned by a basis, as a compact set with nonempty interior.
theorem Module.Basis.coe_parallelepiped E0 #
∀ {ι : Type u_1} {E : Type u_3} [inst : Fintype ι] [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace ℝ E]
(b : Module.Basis ι ℝ E), ↑b.parallelepiped = parallelepiped ⇑b
theorem Module.Basis.parallelepiped_reindex E0 #
∀ {ι : Type u_1} {ι' : Type u_2} {E : Type u_3} [inst : Fintype ι] [inst_1 : Fintype ι'] [inst_2 : NormedAddCommGroup E]
[inst_3 : NormedSpace ℝ E] (b : Module.Basis ι ℝ E) (e : ι ≃ ι'), (b.reindex e).parallelepiped = b.parallelepiped
theorem Module.Basis.parallelepiped_map E1 #
∀ {ι : Type u_1} {E : Type u_3} {F : Type u_4} [inst : Fintype ι] [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedAddCommGroup F] [inst_3 : NormedSpace ℝ E] [inst_4 : NormedSpace ℝ F] (b : Module.Basis ι ℝ E)
(e : E ≃ₗ[ℝ] F), (b.map e).parallelepiped = TopologicalSpace.PositiveCompacts.map ⇑e ⋯ ⋯ b.parallelepiped
theorem Module.Basis.prod_parallelepiped E1 #
∀ {ι : Type u_1} {ι' : Type u_2} {E : Type u_3} {F : Type u_4} [inst : Fintype ι] [inst_1 : Fintype ι']
[inst_2 : NormedAddCommGroup E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace ℝ E] [inst_5 : NormedSpace ℝ F]
(v : Module.Basis ι ℝ E) (w : Module.Basis ι' ℝ F), (v.prod w).parallelepiped = v.parallelepiped ×ˢ w.parallelepiped
def Module.Basis.addHaar E3 #
{ι : Type u_1} →
{E : Type u_3} →
[Fintype ι] →
[inst : NormedAddCommGroup E] →
[inst_1 : NormedSpace ℝ E] →
[inst_2 : MeasurableSpace E] → [BorelSpace E] → Module.Basis ι ℝ E → MeasureTheory.Measure E
The Lebesgue measure associated to a basis, giving measure 1 to the parallelepiped spanned
by the basis.
theorem Module.Basis.addHaar_def E0 #
∀ {ι : Type u_1} {E : Type u_3} [inst : Fintype ι] [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace ℝ E]
[inst_3 : MeasurableSpace E] [inst_4 : BorelSpace E] (b : Module.Basis ι ℝ E),
b.addHaar = MeasureTheory.Measure.addHaarMeasure b.parallelepiped
instance isAddHaarMeasure_basis_addHaar E0 #
∀ {ι : Type u_1} {E : Type u_3} [inst : Fintype ι] [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace ℝ E]
[inst_3 : MeasurableSpace E] [inst_4 : BorelSpace E] (b : Module.Basis ι ℝ E), b.addHaar.IsAddHaarMeasure
instance Module.Basis.instSigmaFiniteAddHaar E0 #
∀ {ι : Type u_1} {E : Type u_3} [inst : Fintype ι] [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace ℝ E]
[inst_3 : MeasurableSpace E] [inst_4 : BorelSpace E] (b : Module.Basis ι ℝ E), MeasureTheory.SigmaFinite b.addHaar
theorem Module.Basis.addHaar_eq_iff E0 #
∀ {ι : Type u_1} {E : Type u_3} [inst : Fintype ι] [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace ℝ E]
[inst_3 : MeasurableSpace E] [inst_4 : BorelSpace E] [SecondCountableTopology E] (b : Module.Basis ι ℝ E)
(μ : MeasureTheory.Measure E) [MeasureTheory.SigmaFinite μ] [μ.IsAddLeftInvariant],
b.addHaar = μ ↔ μ ↑b.parallelepiped = 1
Let μ be a σ-finite left invariant measure on E. Then μ is equal to the Haar measure
defined by b iff the parallelepiped defined by b has measure 1 for μ.
theorem Module.Basis.addHaar_reindex E0 #
∀ {ι : Type u_1} {ι' : Type u_2} {E : Type u_3} [inst : Fintype ι] [inst_1 : Fintype ι'] [inst_2 : NormedAddCommGroup E]
[inst_3 : NormedSpace ℝ E] [inst_4 : MeasurableSpace E] [inst_5 : BorelSpace E] (b : Module.Basis ι ℝ E) (e : ι ≃ ι'),
(b.reindex e).addHaar = b.addHaar
theorem Module.Basis.addHaar_self E1 #
∀ {ι : Type u_1} {E : Type u_3} [inst : Fintype ι] [inst_1 : NormedAddCommGroup E] [inst_2 : NormedSpace ℝ E]
[inst_3 : MeasurableSpace E] [inst_4 : BorelSpace E] (b : Module.Basis ι ℝ E), b.addHaar (parallelepiped ⇑b) = 1
theorem Module.Basis.prod_addHaar E1 #
∀ {ι : Type u_1} {ι' : Type u_2} {E : Type u_3} {F : Type u_4} [inst : Fintype ι] [inst_1 : Fintype ι']
[inst_2 : NormedAddCommGroup E] [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace ℝ E] [inst_5 : NormedSpace ℝ F]
[inst_6 : MeasurableSpace E] [inst_7 : BorelSpace E] [inst_8 : MeasurableSpace F] [inst_9 : BorelSpace F]
[inst_10 : SecondCountableTopologyEither E F] (v : Module.Basis ι ℝ E) (w : Module.Basis ι' ℝ F),
(v.prod w).addHaar = v.addHaar.prod w.addHaar
instance measureSpaceOfInnerProductSpace E0 #
{E : Type u_3} →
[inst : NormedAddCommGroup E] →
[inst_1 : InnerProductSpace ℝ E] →
[FiniteDimensional ℝ E] → [inst_3 : MeasurableSpace E] → [BorelSpace E] → MeasureTheory.MeasureSpace E
A finite-dimensional inner product space has a canonical measure, the Lebesgue measure giving
volume 1 to the parallelepiped spanned by any orthonormal basis. We define the measure using
some arbitrary choice of orthonormal basis. The fact that it works with any orthonormal basis
is proved in orthonormalBasis.volume_parallelepiped.
This instance creates:
-
a potential non-defeq diamond with the natural instance for
MeasureSpace (ULift E), which does not exist in Mathlib at the moment; -
a diamond with the existing instance
MeasureTheory.Measure.instMeasureSpacePUnit.
However, we've decided not to refactor until one of these diamonds starts creating issues, see https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/Hausdorff.20measure.20normalisation
instance instIsAddHaarMeasureVolume E0 #
∀ {E : Type u_3} [inst : NormedAddCommGroup E] [inst_1 : InnerProductSpace ℝ E] [inst_2 : FiniteDimensional ℝ E]
[inst_3 : MeasurableSpace E] [inst_4 : BorelSpace E], MeasureTheory.volume.IsAddHaarMeasure
instance Real.measureSpace E3 #
MeasureTheory.MeasureSpace ℝ