BDD library: Exchangeability Bridge CesaroToCondExp
DefinitionExchangeability_Bridge_CesaroToCondExpprobability
Core definitions and structural lemmas of the binary decision diagram library (Exchangeability_Bridge_CesaroToCondExp), machine-checked in Lean 4 against Mathlib. See the linked source module.
Definition code
import Mathlib.MeasureTheory.Measure.MeasureSpace
import Definitions.Def_Exchangeability_Contractability
import Definitions.Def_Exchangeability_Core
import Definitions.Def_Exchangeability_PathSpace_Shift
import Definitions.Def_Exchangeability_Probability_InfiniteProduct
import Definitions.Def_Exchangeability_Util_StrictMono
set_option autoImplicit true
namespace Exchangeability
end Exchangeability
namespace Exchangeability.PathSpace
end Exchangeability.PathSpace
namespace For
end For
namespace MeasureTheory
end MeasureTheory
/-
Copyright (c) 2025 Cameron Freer. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Cameron Freer
-/
/-!
# Bridge: Path Space Measure and Shift Preservation
This file provides the path space measure `μ_path` and proves that contractability
implies the shift map is measure-preserving on path space.
## Main definitions
* `pathify X`: Factor map `ω ↦ (n ↦ X n ω)` from sample space to path space
* `μ_path μ X`: Law of process X as a measure on path space
## Main results
* `contractable_shift_invariant_law`: Contractability implies shift-invariant law
* `measurePreserving_shift_path`: Packages above as `MeasurePreserving` for MET
-/
noncomputable section
open MeasureTheory
namespace Exchangeability.Bridge
/-! ## Path Space and Factor Map -/
-- Note: We use explicit parameters throughout to avoid variable scoping issues
/-- Path space for a type α -/
abbrev PathSpace (α : Type*) := ℕ → α
-- Only use the Ω[α] notation in display contexts to avoid shadowing the variable Ω
/-- Factor map that sends `ω : Ω` to the path `(n ↦ X n ω)` -/
def pathify {Ω α : Type*} (X : ℕ → Ω → α) :
Ω → PathSpace α :=
fun ω n => X n ω
@[fun_prop]
lemma measurable_pathify {Ω α : Type*} [MeasurableSpace Ω] [MeasurableSpace α] {X : ℕ → Ω → α}
(hX_meas : ∀ n, Measurable (X n)) :
Measurable (pathify X) :=
by
have h : Measurable (fun ω => fun n => X n ω) := by
fun_prop
simpa [pathify] using h
/-- Law of the process as a probability measure on path space. -/
def μ_path {Ω α : Type*} [MeasurableSpace Ω] [MeasurableSpace α]
(μ : Measure Ω) (X : ℕ → Ω → α) : Measure (PathSpace α) :=
Measure.map (pathify X) μ
lemma isProbabilityMeasure_μ_path {Ω α : Type*} [MeasurableSpace Ω] [MeasurableSpace α]
(μ : Measure Ω) [IsProbabilityMeasure μ]
(X : ℕ → Ω → α) (hX : ∀ n, Measurable (X n)) :
IsProbabilityMeasure (μ_path μ X) :=
Measure.isProbabilityMeasure_map (measurable_pathify hX).aemeasurable
/-! ## B. Bridge 1: Contractable → Shift Invariance -/
open Exchangeability
open Exchangeability.PathSpace -- For shift operator
end Exchangeability.Bridge
Source