BDD library: Exchangeability PathSpace CylinderHelpers
DefinitionExchangeability_PathSpace_CylinderHelpersprobability
Core definitions and structural lemmas of the binary decision diagram library (Exchangeability_PathSpace_CylinderHelpers), machine-checked in Lean 4 against Mathlib. See the linked source module.
Definition code
import Mathlib.MeasureTheory.MeasurableSpace.Constructions
import Definitions.Def_Exchangeability_PathSpace_Shift
set_option autoImplicit true
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
-/
/-!
# Cylinder Sets on Path Space
This file contains infrastructure for working with cylinder sets on path space `(ℕ → α)`.
Cylinder sets are fundamental objects in probability theory on sequence spaces,
consisting of events determined by finitely many coordinates.
## Main definitions
* `cylinder r C`: Standard cylinder on the first `r` coordinates starting at index 0
* `firstRMap X r`: Map collecting the first `r` coordinates of a process
* `firstRCylinder X r C`: Finite block cylinder event on the first `r` coordinates
## Main results
* Measurability lemmas for cylinder types
* Extensionality properties (universal sets, intersections)
* Bridge lemmas connecting different cylinder formulations
-/
noncomputable section
open scoped MeasureTheory
namespace Exchangeability
namespace PathSpace
section FutureCylinders
variable {α : Type*}
/-- Standard cylinder on the first `r` coordinates starting at index 0. -/
def cylinder (r : ℕ) (C : Fin r → Set α) : Set (ℕ → α) :=
{f | ∀ i : Fin r, f i ∈ C i}
variable [MeasurableSpace α]
end FutureCylinders
section FirstBlockCylinder
variable {Ω α : Type*} [MeasurableSpace Ω] [MeasurableSpace α]
/-- The map collecting the first `r` coordinates. -/
def firstRMap (X : ℕ → Ω → α) (r : ℕ) : Ω → (Fin r → α) :=
fun ω i => X i ω
/-- The σ‑algebra generated by the first `r` coordinates. -/
abbrev firstRSigma (X : ℕ → Ω → α) (r : ℕ) : MeasurableSpace Ω :=
MeasurableSpace.comap (firstRMap X r) inferInstance
/-- The finite block cylinder event on the first `r` coordinates. -/
def firstRCylinder (X : ℕ → Ω → α) (r : ℕ) (C : Fin r → Set α) : Set Ω :=
{ω | ∀ i : Fin r, X i ω ∈ C i}
end FirstBlockCylinder
end PathSpace
end Exchangeability
Source