Documentation

Exchangeability.PathSpace.CylinderHelpers

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.

Originally extracted from MartingaleHelpers.lean for broader reusability.

Main definitions #

Main results #

Implementation notes #

This file is designed to be general-purpose infrastructure, not specific to any particular proof approach (martingale, Koopman, L²). It only imports mathlib and has no project dependencies.

def Exchangeability.PathSpace.tailCylinder {α : Type u_1} (r : ) (C : Fin rSet α) :
Set (α)

Cylinder on the first r tail coordinates (shifted by one).

Equations
Instances For
    theorem Exchangeability.PathSpace.tailCylinder_measurable {α : Type u_1} [MeasurableSpace α] {r : } {C : Fin rSet α} (hC : ∀ (i : Fin r), MeasurableSet (C i)) :

    Basic measurability for tail cylinders.

    def Exchangeability.PathSpace.cylinder {α : Type u_1} (r : ) (C : Fin rSet α) :
    Set (α)

    Standard cylinder on the first r coordinates starting at index 0.

    Equations
    Instances For
      def Exchangeability.PathSpace.finCylinder {α : Type u_1} (r : ) (C : Fin rSet α) :
      Set (Fin rα)

      Cylinder for functions with domain Fin r.

      Equations
      Instances For
        theorem Exchangeability.PathSpace.finCylinder_measurable {α : Type u_1} [MeasurableSpace α] {r : } {C : Fin rSet α} (hC : ∀ (i : Fin r), MeasurableSet (C i)) :
        theorem Exchangeability.PathSpace.cylinder_measurable {α : Type u_1} [MeasurableSpace α] {r : } {C : Fin rSet α} (hC : ∀ (i : Fin r), MeasurableSet (C i)) :
        def Exchangeability.PathSpace.firstRMap {Ω : Type u_1} {α : Type u_2} (X : Ωα) (r : ) :
        ΩFin rα

        The map collecting the first r coordinates.

        Equations
        Instances For
          @[reducible, inline]
          abbrev Exchangeability.PathSpace.firstRSigma {Ω : Type u_1} {α : Type u_2} [MeasurableSpace α] (X : Ωα) (r : ) :

          The σ‑algebra generated by the first r coordinates.

          Equations
          Instances For
            def Exchangeability.PathSpace.firstRCylinder {Ω : Type u_1} {α : Type u_2} (X : Ωα) (r : ) (C : Fin rSet α) :
            Set Ω

            The finite block cylinder event on the first r coordinates.

            Equations
            Instances For
              theorem Exchangeability.PathSpace.firstRCylinder_eq_preimage_finCylinder {Ω : Type u_1} {α : Type u_2} (X : Ωα) (r : ) (C : Fin rSet α) :

              As expected, the block cylinder is the preimage of a finite cylinder under the firstRMap.

              theorem Exchangeability.PathSpace.firstRCylinder_measurable_in_firstRSigma {Ω : Type u_1} {α : Type u_2} [MeasurableSpace α] (X : Ωα) (r : ) (C : Fin rSet α) (hC : ∀ (i : Fin r), MeasurableSet (C i)) :

              Measurable in the first-r σ‑algebra. If each C i is measurable in α, then the block cylinder is measurable in firstRSigma X r (no measurability assumptions on the X i are needed for this comap‑level statement).

              theorem Exchangeability.PathSpace.firstRCylinder_measurable_ambient {Ω : Type u_1} {α : Type u_2} [MeasurableSpace Ω] [MeasurableSpace α] (X : Ωα) (r : ) (C : Fin rSet α) (hX : ∀ (i : ), Measurable (X i)) (hC : ∀ (i : Fin r), MeasurableSet (C i)) :

              Measurable in the ambient σ‑algebra. If each coordinate X i is measurable, then the block cylinder is measurable in the ambient σ‑algebra (useful for Integrable.indicator).

              theorem Exchangeability.PathSpace.measurable_firstRMap {Ω : Type u_1} {α : Type u_2} [MeasurableSpace Ω] [MeasurableSpace α] (X : Ωα) (r : ) (hX : ∀ (i : ), Measurable (X i)) :

              The firstRMap is measurable when all coordinates are measurable.

              theorem Exchangeability.PathSpace.firstRSigma_le_ambient {Ω : Type u_1} {α : Type u_2} [MeasurableSpace Ω] [MeasurableSpace α] (X : Ωα) (r : ) (hX : ∀ (i : ), Measurable (X i)) :

              The first-r σ-algebra is a sub-σ-algebra of the ambient σ-algebra when coordinates are measurable.

              theorem Exchangeability.PathSpace.firstRSigma_mono {Ω : Type u_1} {α : Type u_2} [MeasurableSpace α] (X : Ωα) {r s : } (hrs : r s) :

              Stronger version: firstRSigma increases with r.

              @[simp]
              theorem Exchangeability.PathSpace.firstRCylinder_zero {Ω : Type u_1} {α : Type u_2} (X : Ωα) (C : Fin 0Set α) :

              The empty cylinder (r = 0) is the whole space.

              theorem Exchangeability.PathSpace.mem_firstRCylinder_iff {Ω : Type u_1} {α : Type u_2} (X : Ωα) (r : ) (C : Fin rSet α) (ω : Ω) :
              ω firstRCylinder X r C ∀ (i : Fin r), X (↑i) ω C i

              Cylinder membership characterization.

              theorem Exchangeability.PathSpace.firstRCylinder_univ {Ω : Type u_1} {α : Type u_2} (X : Ωα) (r : ) :
              (firstRCylinder X r fun (x : Fin r) => Set.univ) = Set.univ

              firstRCylinder on universal sets is the whole space.

              theorem Exchangeability.PathSpace.firstRCylinder_inter {Ω : Type u_1} {α : Type u_2} (X : Ωα) {r : } {C D : Fin rSet α} :
              firstRCylinder X r C firstRCylinder X r D = firstRCylinder X r fun (i : Fin r) => C i D i

              Intersection of firstRCylinders equals coordinate-wise intersection.

              tailCylinder is the preimage of a standard cylinder under shift.

              @[simp]
              theorem Exchangeability.PathSpace.mem_cylinder_iff {α : Type u_1} {r : } {C : Fin rSet α} {f : α} :
              f cylinder r C ∀ (i : Fin r), f i C i
              @[simp]
              theorem Exchangeability.PathSpace.mem_tailCylinder_iff {α : Type u_1} {r : } {C : Fin rSet α} {f : α} :
              f tailCylinder r C ∀ (i : Fin r), f (i + 1) C i
              theorem Exchangeability.PathSpace.cylinder_measurable_set {α : Type u_1} [MeasurableSpace α] {r : } {C : Fin rSet α} (hC : ∀ (i : Fin r), MeasurableSet (C i)) :

              The cylinder set is measurable when each component set is measurable.

              @[simp]

              Empty cylinder is the whole space.

              @[simp]

              Empty tail cylinder is the whole space.

              theorem Exchangeability.PathSpace.cylinder_univ {α : Type u_1} {r : } :
              (cylinder r fun (x : Fin r) => Set.univ) = Set.univ

              Cylinder on universal sets is the whole space.

              Tail cylinder on universal sets is the whole space.

              theorem Exchangeability.PathSpace.cylinder_inter {α : Type u_1} {r : } {C D : Fin rSet α} :
              cylinder r C cylinder r D = cylinder r fun (i : Fin r) => C i D i

              Cylinders form intersections coordinate-wise.