Change of variables for multiple integrals
ProvedFamousTheorems.integral_image_eq_integral_abs_det_fderiv_smulThe change of variables formula. For an injective map with derivative on a measurable set ,
The Jacobian determinant is the local volume distortion factor, and the absolute value appears because Lebesgue measure is unsigned — orientation is discarded, unlike in the one-dimensional oriented integral. This is the multivariable substitution rule, and it is what makes polar, cylindrical and spherical coordinates legitimate. The hypotheses are notably weak: differentiability within and injectivity suffice, with no continuity of the derivative required, which is what allows the formula to be applied to maps that are merely differentiable. Formalization note. fderiv is the Fréchet derivative and the measure is the additive Haar (Lebesgue) measure on a finite-dimensional real space. The result is Mathlib's MeasureTheory.integral_image_eq_integral_abs_det_fderiv_smul.
import Mathlib
namespace FamousTheorems
universe u_1 u_2 u_3 u_4 u_5 u_6 u_7 u_8 u_9 u_10 u_11 u_12 u_13 u_14 u_15 u_16 u_17 u_18 u_19 u_20 u_21 u_22 u_23 u_24 u_25
open Filter Set Topology DirectSum
theorem integral_image_eq_integral_abs_det_fderiv_smul :
∀ {E : Type u_1} {F : Type u_2}
[inst : NormedAddCommGroup E] [inst_1 : NormedSpace ℝ E] [FiniteDimensional ℝ E] [inst_3 : NormedAddCommGroup F]
[inst_4 : NormedSpace ℝ F] {s : Set E} {f : E → E} {f' : E → E →L[ℝ] E} [inst_5 : MeasurableSpace E] [BorelSpace E]
(μ : MeasureTheory.Measure E) [μ.IsAddHaarMeasure],
MeasurableSet s →
(∀ x ∈ s, HasFDerivWithinAt f (f' x) s x) →
InjOn f s → ∀ (g : E → F), ∫ (x : E) in f '' s, g x ∂μ = ∫ (x : E) in s, |(f' x).det| • g (f x) ∂μ := by sorry
end FamousTheorems