/-
Copyright (c) 2024 Jakob Stiefel. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Jakob Stiefel
-/
module
public import Mathlib.Analysis.SpecialFunctions.MulExpNegMulSqIntegral
public import Mathlib.MeasureTheory.Measure.HasOuterApproxClosed
import Mathlib.Analysis.RCLike.BoundedContinuous
set_option doc.verso true
set_option doc.verso.suggestions false
/-!
# Extensionality of finite measures
The main result is `ext_of_forall_mem_subalgebra_integral_eq_of_pseudoEMetric_complete_countable`:
Let `A` be a StarSubalgebra of `C(E, )` that separates points and whose elements are bounded. If
the integrals of all elements of `A` with respect to two finite measures `P, P'` coincide, then the
measures coincide. In other words: If a subalgebra separates points, it separates finite measures.
-/
public section
open MeasureTheory Filter Real RCLike BoundedContinuousFunction
open scoped Topology
variable {E : Type*} [RCLike ]
namespace MeasureTheory
variable [MeasurableSpace E]
/-- If the integrals of all elements of a subalgebra `A` of continuous and bounded functions with
respect to two finite measures `P, P'` coincide, then the measures coincide. In other words: If a
subalgebra separates points, it separates finite measures. -/
theorem ext_of_forall_mem_subalgebra_integral_eq_of_pseudoEMetric_complete_countable
[PseudoEMetricSpace E] [BorelSpace E] [CompleteSpace E] [SecondCountableTopology E]
{P P' : Measure E} [IsFiniteMeasure P] [IsFiniteMeasure P']
{A : StarSubalgebra (E →ᵇ )} (hA : (A.map (toContinuousMapStarₐ )).SeparatesPoints)
(heq : ∀ g ∈ A, ∫ x, (g : E → ) x ∂P = ∫ x, (g : E → ) x ∂P') : P = P' := by
--consider the real subalgebra of the purely real-valued elements of A
let A_toReal := (A.restrictScalars ℝ).comap
(ofRealAm.compLeftContinuousBounded ℝ lipschitzWith_ofReal)
--the real subalgebra separates points
have hA_toReal : (A_toReal.map (toContinuousMapₐ ℝ)).SeparatesPoints := by
rw [RCLike.restrict_toContinuousMap_eq_toContinuousMapStar_restrict]
exact Subalgebra.SeparatesPoints.rclike_to_real hA
--integrals of elements of the real subalgebra w.r.t. P, P', respectively, coincide
have heq' : ∀ g ∈ A_toReal, ∫ x, (g : E → ℝ) x ∂P = ∫ x, (g : E → ℝ) x ∂P' := by
intro g hgA_toReal
rw [← @ofReal_inj , ← integral_ofReal, ← integral_ofReal]
exact heq _ hgA_toReal
apply ext_of_forall_integral_eq_of_IsFiniteMeasure
intro f
have h0 : Tendsto (fun ε : ℝ => 6 * √ε) ([>] 0) ( 0) := by
nth_rewrite 3 [← mul_zero 6]
apply tendsto_nhdsWithin_of_tendsto_nhds (Tendsto.const_mul 6 _)
nth_rewrite 2 [← sqrt_zero]
exact Continuous.tendsto continuous_sqrt 0
have lim1 : Tendsto (fun ε => |∫ x, mulExpNegMulSq ε (f x) ∂P - ∫ x, mulExpNegMulSq ε (f x) ∂P'|)
([>] 0) ( 0) := by
apply squeeze_zero' (eventually_nhdsWithin_of_forall (fun x _ => abs_nonneg _))
(eventually_nhdsWithin_of_forall _) h0
exact fun ε hε => dist_integral_mulExpNegMulSq_comp_le f hA_toReal heq' hε
have lim2 : Tendsto (fun ε => |∫ x, mulExpNegMulSq ε (f x) ∂P
- ∫ x, mulExpNegMulSq ε (f x) ∂P'|) ([>] 0)
( |∫ x, f x ∂↑P - ∫ x, f x ∂↑P'|) :=
Tendsto.abs (Tendsto.sub (tendsto_integral_mulExpNegMulSq_comp f)
(tendsto_integral_mulExpNegMulSq_comp f))
exact eq_of_abs_sub_eq_zero (tendsto_nhds_unique lim2 lim1)
theorem ext_of_forall_mem_subalgebra_integral_eq_of_polish [TopologicalSpace E] [PolishSpace E]
[BorelSpace E] {P P' : Measure E} [IsFiniteMeasure P] [IsFiniteMeasure P']
{A : StarSubalgebra (E →ᵇ )} (hA : (A.map (toContinuousMapStarₐ )).SeparatesPoints)
(heq : ∀ g ∈ A, ∫ x, (g : E → ) x ∂P = ∫ x, (g : E → ) x ∂P') : P = P' := by
let := TopologicalSpace.upgradeIsCompletelyMetrizable E
exact ext_of_forall_mem_subalgebra_integral_eq_of_pseudoEMetric_complete_countable hA heq
end MeasureTheory
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland