AutoSamplingTheory.TechnicalLemmas.FunctionalInequalities.WeightedGradientDistribution
Read the mathematical statements and proofs in order
2 named declarations scanned from AutoSamplingTheory/TechnicalLemmas/FunctionalInequalities/WeightedGradientDistribution.lean.
Declarations
theorem AutoSamplingTheory.TechnicalLemmas.FunctionalInequalities.WeightedGradientDistribution.lp_locallyIntegrable_volume Partial Not mapped
No declaration docstring.
private theorem lp_locallyIntegrable_volume {F : Type*} [NormedAddCommGroup F]
[NormedSpace ℝ F] (W : E → ℝ) (hW : Continuous W)
(hI : Integrable (fun x => Real.exp (-W x)))
(f : Lp F 2 ((volume : Measure E).tilted (fun x => -W x))) :
LocallyIntegrable (fun x => f x) := by
let μ := (volume : Measure E).tilted (fun x => -W x)
let : IsProbabilityMeasure μ := isProbabilityMeasure_tilted hI
have hi : Integrable (fun x => f x) μ :=
MemLp.integrable (by norm_num : (1 : ENNReal) ≤ 2) (Lp.memLp f)
have hr : Integrable (fun x => Real.exp (-W x) • f x) :=
(integrable_tilted_iff hI _).mp hi
have hl : LocallyIntegrable (fun x => Real.exp (W x) •
(Real.exp (-W x) • f x)) (volume : Measure E) :=
LocallyIntegrable.continuous_smul (μ := (volume : Measure E))
(Real.continuous_exp.comp hW) hr.locallyIntegrable
simpa only [smul_smul, ← Real.exp_add, add_neg_cancel, Real.exp_zero, one_smul] using hl
/-- Elements of the same closed weighted gradient graph have locally integrable
volume representatives and satisfy the ordinary weak gradient identity, with
both test products integrable. No differentiability of L2 representatives is
assumed, and no reverse characterization of the closure domain is asserted. -/
AutoSamplingTheory/TechnicalLemmas/FunctionalInequalities/WeightedGradientDistribution.lean:22published source at 0e31a3cda412
theorem AutoSamplingTheory.TechnicalLemmas.FunctionalInequalities.WeightedGradientDistribution.closed_gradient_distributional Partial Not mapped
Read the complete mathematical statement and proof, with Lean below each
- Elements of the same closed weighted gradient graph have locally integrable volume representatives and satisfy the ordinary weak gradient identity, with both test products integrable. No differentiability of L2 representatives is assumed, and no reverse characterization of the closure domain is asserted.
theorem closed_gradient_distributional (W : E → ℝ) (hW : ContDiff ℝ 1 W)
(hI : Integrable (fun x => Real.exp (-W x))) :
let μ := (volume : Measure E).tilted (fun x => -W x)
∀ (D : Lp ℝ 2 μ →ₗ.[ℝ] Lp E 2 μ), D.IsClosable →
(∀ (u : Lp ℝ 2 μ) (G : Lp E 2 μ), (u,G) ∈ D.graph ↔
∃ f : E → ℝ, ContDiff ℝ ∞ f ∧ HasCompactSupport f ∧
u =ᵐ[μ] f ∧ G =ᵐ[μ] gradient f) →
∀ (u : Lp ℝ 2 μ) (G : Lp E 2 μ), (u,G) ∈ D.closure.graph →
LocallyIntegrable (fun x => u x) ∧ LocallyIntegrable (fun x => G x) ∧
∀ (ψ : E → ℝ), ContDiff ℝ 1 ψ → HasCompactSupport ψ → ∀ v : E,
Integrable (fun x => ψ x * inner ℝ (G x) v) ∧
Integrable (fun x => u x * fderiv ℝ ψ x v) ∧
(∫ x, ψ x * inner ℝ (G x) v) = - ∫ x, u x * fderiv ℝ ψ x v := by
let μ := (volume : Measure E).tilted (fun x => -W x)
dsimp only
intro D hD hgraph u G hu
refine ⟨lp_locallyIntegrable_volume W hW.continuous hI u,
lp_locallyIntegrable_volume W hW.continuous hI G, ?_⟩
intro ψ hψ hc v
let φ := fun x => Real.exp (W x) * ψ x
have hφ : ContDiff ℝ 1 φ := hW.exp.mul hψ
have hφc : HasCompactSupport φ := hc.mul_left
have hq (x : E) : fderiv ℝ φ x v - φ x * fderiv ℝ W x v =
Real.exp (W x) * fderiv ℝ ψ x v := by
have hd := ((hW.differentiable one_ne_zero x).hasFDerivAt.exp).mul
(hψ.differentiable one_ne_zero x).hasFDerivAt
rw [show fderiv ℝ φ x = _ from hd.fderiv]
simp only [add_apply, smul_apply, smul_eq_mul]
dsimp [φ]
ring
have hcancel (x : E) : Real.exp (-W x) * Real.exp (W x) = 1 := by
rw [← Real.exp_add]
simp
have hl (x : E) : Real.exp (-W x) * (φ x * inner ℝ (G x) v) =
ψ x * inner ℝ (G x) v := by
dsimp only [φ]
rw [← mul_assoc, ← mul_assoc, hcancel, one_mul]
have hr (x : E) : Real.exp (-W x) *
(u x * (fderiv ℝ φ x v - φ x * fderiv ℝ W x v)) = u x * fderiv ℝ ψ x v := by
rw [hq]
calc
_ = (Real.exp (-W x) * Real.exp (W x)) * (u x * fderiv ℝ ψ x v) := by ring
_ = _ := by rw [hcancel, one_mul]
obtain ⟨hleft,hright,he⟩ := WeightedGradientWeak.closed_gradient_weighted_ibp
-- Source excerpt truncated; follow the exact source link.
AutoSamplingTheory/TechnicalLemmas/FunctionalInequalities/WeightedGradientDistribution.lean:43published source at 0e31a3cda412
Excerpt truncated; the exact source link is authoritative.