/-
Copyright (c) 2025 Joseph Tooby-Smith. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Joseph Tooby-Smith
-/modulepublicimportPhyslib.Units.UnitDependentpublicimportMathlib.MeasureTheory.Integral.Bochner.Basic
Dimensional invariance of the integral
In this module we prove that the dimensional properties of the integral.
The statement that for a measure μ of dimension d, and a function
f : M → G of dimension (CarriesDimension.d G * d⁻¹) (where CarriesDimension.d G
is the dimension associated with terms of type G), then
∫ x, f x ∂μ
has the correct dimension, namely CarriesDimension.d G.
In other words, the function:
fun (μ : DimSet (MeasureTheory.Measure M) d)
(f : DimSet (M → G) (CarriesDimension.d G * d⁻¹)) ↦ ∫ x, f.1 x ∂μ.1