lemmacoordinateJacobian_uniform_bound {n : ℕ} (K : ℝ≥0) (v : Fin n →E) :
∃B : ℝ, 0≤B∧∀f : Fin n →E→ℝ, (∀ i, LipschitzWithK (f i)) →∀ x, ‖coordinateJacobian f v x‖ ≤B:=by
proof · 13
lines
letJ : (Fin n →E→L[ℝ] ℝ) →ℝ:=fun p =>Matrix.det (Matrix.of fun i j => p j (v i))
havehc : ContinuousJ:=by
apply Continuous.matrix_det
apply continuous_pi
intro i
apply continuous_pi
intro j
exact (continuous_apply j).clm_apply continuous_const
obtain ⟨B, hB⟩ := (isCompact_closedBall (0 : Fin n →E→L[ℝ] ℝ) K).exists_bound_of_continuousOn hc.continuousOn
refine ⟨|B|, abs_nonneg _, fun f hf x => ?_⟩
apply (hB (fun i => fderiv ℝ (f i) x) ?_).trans (le_abs_self B)
simpa only [mem_closedBall, dist_zero_right] using
(pi_norm_le_iff_of_nonneg K.coe_nonneg).2 (fun i => norm_fderiv_le_of_lipschitz ℝ (hf i))
lemmaintegrable_mul_coordinateJacobian {n : ℕ} {a : E→ℝ} (ha : Integrable a μ)
{f : Fin n →E→ℝ} {K : ℝ≥0} (hf : ∀ i, LipschitzWithK (f i))
(v : Fin n →E) : Integrable (fun x => a x * coordinateJacobian f v x) μ :=by
proof · 6
lines
obtain ⟨B, _, hB⟩ := coordinateJacobian_uniform_bound K v
refine (ha.norm.mul_const B).mono'
(ha.aestronglyMeasurable.mul (measurable_coordinateJacobian f v).aestronglyMeasurable) ?_
filter_upwards with x
rw [norm_mul]
exact mul_le_mul_of_nonneg_left (hB f hf x) (norm_nonneg _)
lemmaae_coordinateJacobian_cons {n : ℕ} {h : E→ℝ} {g : Fin n →E→ℝ}
{K : ℝ≥0} (hg : ∀ i, LipschitzWithK (g i)) (v : Fin (n+1) →E) :
coordinateJacobian (Fin.cons h g) v =ᵐ[μ]
mixedJacobian h (fun x i => g i x) v :=by
proof · 9
lines
have hd := (ae_all_iff.mpr (fun i => (hg i).ae_differentiableAt (μ := μ)))
filter_upwards [hd] with x hx
unfold coordinateJacobian mixedJacobian
rw [fderiv_pi hx]
congr 1
ext i j
refine Fin.cases ?_ (fun j => ?_) j
· rfl
· rfl
lemmacoordinateJacobian_cons {n : ℕ} (h : E→ℝ) (g : Fin n →E→ℝ)
(v : Fin (n+1) →E) (x : E) :
coordinateJacobian (Fin.cons h g) v x =
∑i : Fin (n+1), (-1 : ℝ)^i.val * fderiv ℝ h x (v i) *
coordinateJacobian g (i.removeNth v) x :=by
lemmaintegral_coordinateJacobian_cons {n : ℕ} {f h : E→ℝ}
{g : Fin n →E→ℝ} (hf : ContDiffℝ1 f) (hfc : HasCompactSupport f)
{KL : ℝ≥0} (hh : LipschitzWithK h) (hg : ∀ i, LipschitzWithL (g i))
(v : Fin (n+1) →E) :
(∫ x, f x * coordinateJacobian (Fin.cons h g) v x ∂μ) =
-(∫ x, h x * coordinateJacobian (Fin.cons f g) v x ∂μ) :=by
proof · 12
lines
haveH:= integral_lipschitz_mixedJacobian_mul μ hf hfc hh (lipschitz_coordinate_tuple hg) v
calc (∫ x, f x * coordinateJacobian (Fin.cons h g) v x ∂μ) =
(∫ x, f x * mixedJacobian h (fun x i => g i x) v x ∂μ) :=by
apply integral_congr_ae
filter_upwards [ae_coordinateJacobian_cons μ (h := h) hg v] with x hx
rw [hx]
_ = -(∫ x, h x * mixedJacobian f (fun x i => g i x) v x ∂μ) :=H
_ = -(∫ x, h x * coordinateJacobian (Fin.cons f g) v x ∂μ) :=by
congr 1
apply integral_congr_ae
filter_upwards [ae_coordinateJacobian_cons μ (h := f) hg v] with x hx
rw [hx]