# 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 v is the parallelepiped spanned by a finite family of vectors.
• Basis.parallelepiped is the parallelepiped associated to a basis, seen as a compact set with nonempty interior.
• Basis.addHaar is the Lebesgue measure associated to a basis, giving measure 1 to 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).

def parallelepiped {ι : Type u_1} {E : Type u_3} [] [] [] (v : ιE) :
Set E

The closed parallelepiped spanned by a finite family of vectors.

Equations
Instances For
theorem mem_parallelepiped_iff {ι : Type u_1} {E : Type u_3} [] [] [] (v : ιE) (x : E) :
∃ t ∈ Set.Icc 0 1, x = Finset.sum Finset.univ fun (i : ι) => t i v i
theorem parallelepiped_basis_eq {ι : Type u_1} {E : Type u_3} [] [] [] (b : Basis ι E) :
= {x : E | ∀ (i : ι), (b.repr x) i Set.Icc 0 1}
theorem image_parallelepiped {ι : Type u_1} {E : Type u_3} {F : Type u_4} [] [] [] [] [] (f : E →ₗ[] F) (v : ιE) :
f '' = parallelepiped (f v)
@[simp]
theorem parallelepiped_comp_equiv {ι : Type u_1} {ι' : Type u_2} {E : Type u_3} [] [Fintype ι'] [] [] (v : ιE) (e : ι' ι) :
parallelepiped (v e) =

Reindexing a family of vectors does not change their parallelepiped.

theorem parallelepiped_orthonormalBasis_one_dim {ι : Type u_1} [] (b : ) :
= Set.Icc 0 1 = Set.Icc (-1) 0
theorem parallelepiped_eq_sum_segment {ι : Type u_1} {E : Type u_3} [] [] [] (v : ιE) :
= Finset.sum Finset.univ fun (i : ι) => segment 0 (v i)
theorem convex_parallelepiped {ι : Type u_1} {E : Type u_3} [] [] [] (v : ιE) :
theorem parallelepiped_eq_convexHull {ι : Type u_1} {E : Type u_3} [] [] [] (v : ιE) :
= () (Finset.sum Finset.univ fun (i : ι) => {0, v i})

A parallelepiped is the convex hull of its vertices

theorem parallelepiped_single {ι : Type u_1} [] [] (a : ι) :
(parallelepiped fun (i : ι) => Pi.single i (a i)) = Set.uIcc 0 a

The axis aligned parallelepiped over ι → ℝ is a cuboid.

def Basis.parallelepiped {ι : Type u_1} {E : Type u_3} [] [] (b : Basis ι E) :

The parallelepiped spanned by a basis, as a compact set with nonempty interior.

Equations
• = { toCompacts := { carrier := , isCompact' := }, interior_nonempty' := }
Instances For
@[simp]
theorem Basis.coe_parallelepiped {ι : Type u_1} {E : Type u_3} [] [] (b : Basis ι E) :
@[simp]
theorem Basis.parallelepiped_reindex {ι : Type u_1} {ι' : Type u_2} {E : Type u_3} [] [Fintype ι'] [] (b : Basis ι E) (e : ι ι') :
theorem Basis.parallelepiped_map {ι : Type u_1} {E : Type u_3} {F : Type u_4} [] [] [] (b : Basis ι E) (e : E ≃ₗ[] F) :
theorem Basis.prod_parallelepiped {ι : Type u_1} {ι' : Type u_2} {E : Type u_3} {F : Type u_4} [] [Fintype ι'] [] [] (v : Basis ι E) (w : Basis ι' F) :
@[irreducible]
def Basis.addHaar {ι : Type u_5} {E : Type u_6} [] [] [] [] (b : Basis ι E) :

The Lebesgue measure associated to a basis, giving measure 1 to the parallelepiped spanned by the basis.

Equations
Instances For
theorem Basis.addHaar_def {ι : Type u_5} {E : Type u_6} [] [] [] [] (b : Basis ι E) :
instance IsAddHaarMeasure_basis_addHaar {ι : Type u_1} {E : Type u_3} [] [] [] [] (b : Basis ι E) :
Equations
• =
instance instSigmaFiniteAddHaar {ι : Type u_1} {E : Type u_3} [] [] [] [] (b : Basis ι E) :
Equations
• =
theorem Basis.addHaar_eq_iff {ι : Type u_1} {E : Type u_3} [] [] [] [] (b : Basis ι E) (μ : ) :
μ = 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 μ.

@[simp]
theorem Basis.addHaar_reindex {ι : Type u_1} {ι' : Type u_2} {E : Type u_3} [] [Fintype ι'] [] [] [] (b : Basis ι E) (e : ι ι') :
theorem Basis.addHaar_self {ι : Type u_1} {E : Type u_3} [] [] [] [] (b : Basis ι E) :
() () = 1
theorem Basis.prod_addHaar {ι : Type u_1} {ι' : Type u_2} {E : Type u_3} {F : Type u_4} [] [Fintype ι'] [] [] [] [] [] [] (v : Basis ι E) (w : Basis ι' F) :
instance measureSpaceOfInnerProductSpace {E : Type u_3} [] [] [] [] :

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.

Equations
• measureSpaceOfInnerProductSpace =
Equations
• =
Equations

# Miscellaneous instances for EuclideanSpace#

In combination with measureSpaceOfInnerProductSpace, these put a MeasureSpace structure on EuclideanSpace.

Equations
• = MeasurableSpace.pi
@[simp]
theorem EuclideanSpace.measurableEquiv_toEquiv (ι : Type u_1) :
.toEquiv = WithLp.equiv 2 ((i : ι) → (fun (x : ι) => ) i)
def EuclideanSpace.measurableEquiv (ι : Type u_1) :
≃ᵐ (ι)

WithLp.equiv as a MeasurableEquiv.

Equations
• = { toEquiv := WithLp.equiv 2 ((i : ι) → (fun (x : ι) => ) i), measurable_toFun := , measurable_invFun := }
Instances For
theorem EuclideanSpace.coe_measurableEquiv (ι : Type u_1) :
= (WithLp.equiv 2 ((i : ι) → (fun (x : ι) => ) i))
theorem EuclideanSpace.coe_measurableEquiv_symm (ι : Type u_1) :
.symm = (WithLp.equiv 2 (ι)).symm