The Mathlib Handbook

The volumes of the handbook are not written yet. This site shows the map of Mathlib that they will follow, at Mathlib 4472534b60.

The areas / V18. Measure and integration

Mathlib.MeasureTheory.Constructions.Cylinders

51 declarations and 2 deprecated aliases. Mathlib docs · Source

π-systems of cylinders and square cylinders

The instance MeasurableSpace.pi on ∀ i, α i, where each α i has a MeasurableSpace m i, is defined as ⨆ i, (m i).comap (fun a => a i). That is, a function g : β → ∀ i, α i is measurable iff for all i, the function b ↦ g b i is measurable.

We define two π-systems generating MeasurableSpace.pi, cylinders and square cylinders.

Main definitions

Given a finite set s of indices, a cylinder is the product of a set of ∀ i : s, α i and of univ on the other indices. A square cylinder is a cylinder for which the set on ∀ i : s, α i is a product set.

  • cylinder s S: cylinder with base set S : Set (∀ i : s, α i) where s is a Finset
  • squareCylinders C with C : ∀ i, Set (Set (α i)): set of all square cylinders such that for all i in the finset defining the box, the projection to α i belongs to C i. The main application of this is with C i = {s : Set (α i) | MeasurableSet s}.
  • measurableCylinders: set of all cylinders with measurable base sets.
  • cylinderEvents Δ: The σ-algebra of cylinder events on Δ. It is the smallest σ-algebra making the projections on the i-th coordinate continuous for all i ∈ Δ.

Main statements

  • generateFrom_squareCylinders: square cylinders formed from measurable sets generate the product σ-algebra
  • generateFrom_measurableCylinders: cylinders formed from measurable sets generate the product σ-algebra

Cylinder events as a sigma-algebra

def MeasureTheory.squareCylinders E1 #

{ι : Type u_1} → {α : ι → Type u_2} → ((i : ι) → Set (Set (α i))) → Set (Set ((i : ι) → α i))

Given a finite set s of indices, a square cylinder is the product of a set S of ∀ i : s, α i and of univ on the other indices. The set S is a product of sets t i such that for all i : s, t i ∈ C i. squareCylinders is the set of all such square cylinders.

theorem MeasureTheory.squareCylinders_eq_iUnion_image E1 #

∀ {ι : Type u_2} {α : ι → Type u_1} (C : (i : ι) → Set (Set (α i))),
  MeasureTheory.squareCylinders C = ⋃ s, (↑s).pi '' Set.univ.pi C

theorem MeasureTheory.squareCylinders_eq_iUnion_image' E1 #

∀ {ι : Type u_2} {α : ι → Type u_1} {C : (i : ι) → Set (Set (α i))},
  (∀ (i : ι), (C i).Nonempty) → MeasureTheory.squareCylinders C = ⋃ s, (↑s).pi '' (↑s).pi C

theorem MeasureTheory.isPiSystem_squareCylinders E1 #

∀ {ι : Type u_2} {α : ι → Type u_1} {C : (i : ι) → Set (Set (α i))},
  (∀ (i : ι), IsPiSystem (C i)) → (∀ (i : ι), Set.univ ∈ C i) → IsPiSystem (MeasureTheory.squareCylinders C)

theorem MeasureTheory.comap_eval_le_generateFrom_squareCylinders_singleton E1 #

∀ {ι : Type u_2} (α : ι → Type u_1) [m : (i : ι) → MeasurableSpace (α i)] (i : ι),
  MeasurableSpace.comap (Function.eval i) (m i) ≤
    MeasurableSpace.generateFrom ((fun t ↦ {i}.pi t) '' Set.univ.pi fun i ↦ {s | MeasurableSet s})

theorem MeasureTheory.generateFrom_squareCylinders E3 #

∀ {ι : Type u_2} {α : ι → Type u_1} [inst : (i : ι) → MeasurableSpace (α i)],
  MeasurableSpace.generateFrom (MeasureTheory.squareCylinders fun i ↦ {s | MeasurableSet s}) = MeasurableSpace.pi

The square cylinders formed from measurable sets generate the product σ-algebra.

def MeasureTheory.cylinder E1 #

{ι : Type u_1} → {α : ι → Type u_2} → (s : Finset ι) → Set ((i : ↥s) → α ↑i) → Set ((i : ι) → α i)

Given a finite set s of indices, a cylinder is the preimage of a set S of ∀ i : s, α i by the projection from ∀ i, α i to ∀ i : s, α i.

theorem MeasureTheory.mem_cylinder E0 #

∀ {ι : Type u_1} {α : ι → Type u_2} (s : Finset ι) (S : Set ((i : ↥s) → α ↑i)) (f : (i : ι) → α i),
  f ∈ MeasureTheory.cylinder s S ↔ s.restrict f ∈ S

theorem MeasureTheory.cylinder_empty E0 #

∀ {ι : Type u_1} {α : ι → Type u_2} (s : Finset ι), MeasureTheory.cylinder s ∅ = ∅

theorem MeasureTheory.cylinder_univ E0 #

∀ {ι : Type u_1} {α : ι → Type u_2} (s : Finset ι), MeasureTheory.cylinder s Set.univ = Set.univ

theorem MeasureTheory.cylinder_eq_empty_iff E0 #

∀ {ι : Type u_1} {α : ι → Type u_2} [h_nonempty : Nonempty ((i : ι) → α i)] (s : Finset ι) (S : Set ((i : ↥s) → α ↑i)),
  MeasureTheory.cylinder s S = ∅ ↔ S = ∅

theorem MeasureTheory.inter_cylinder E1 #

∀ {ι : Type u_1} {α : ι → Type u_2} (s₁ s₂ : Finset ι) (S₁ : Set ((i : ↥s₁) → α ↑i)) (S₂ : Set ((i : ↥s₂) → α ↑i))
  [inst : DecidableEq ι],
  MeasureTheory.cylinder s₁ S₁ ∩ MeasureTheory.cylinder s₂ S₂ =
    MeasureTheory.cylinder (s₁ ∪ s₂) (Finset.restrict₂ ⋯ ⁻¹' S₁ ∩ Finset.restrict₂ ⋯ ⁻¹' S₂)

theorem MeasureTheory.inter_cylinder_same E1 #

∀ {ι : Type u_1} {α : ι → Type u_2} (s : Finset ι) (S₁ S₂ : Set ((i : ↥s) → α ↑i)),
  MeasureTheory.cylinder s S₁ ∩ MeasureTheory.cylinder s S₂ = MeasureTheory.cylinder s (S₁ ∩ S₂)

theorem MeasureTheory.union_cylinder E1 #

∀ {ι : Type u_1} {α : ι → Type u_2} (s₁ s₂ : Finset ι) (S₁ : Set ((i : ↥s₁) → α ↑i)) (S₂ : Set ((i : ↥s₂) → α ↑i))
  [inst : DecidableEq ι],
  MeasureTheory.cylinder s₁ S₁ ∪ MeasureTheory.cylinder s₂ S₂ =
    MeasureTheory.cylinder (s₁ ∪ s₂) (Finset.restrict₂ ⋯ ⁻¹' S₁ ∪ Finset.restrict₂ ⋯ ⁻¹' S₂)

theorem MeasureTheory.union_cylinder_same E1 #

∀ {ι : Type u_1} {α : ι → Type u_2} (s : Finset ι) (S₁ S₂ : Set ((i : ↥s) → α ↑i)),
  MeasureTheory.cylinder s S₁ ∪ MeasureTheory.cylinder s S₂ = MeasureTheory.cylinder s (S₁ ∪ S₂)

theorem MeasureTheory.compl_cylinder E1 #

∀ {ι : Type u_1} {α : ι → Type u_2} (s : Finset ι) (S : Set ((i : ↥s) → α ↑i)),
  (MeasureTheory.cylinder s S)ᶜ = MeasureTheory.cylinder s Sᶜ

theorem MeasureTheory.sdiff_cylinder_same E1 #

∀ {ι : Type u_1} {α : ι → Type u_2} (s : Finset ι) (S T : Set ((i : ↥s) → α ↑i)),
  MeasureTheory.cylinder s S \ MeasureTheory.cylinder s T = MeasureTheory.cylinder s (S \ T)

theorem MeasureTheory.cylinder_eq_cylinder_union E1 #

∀ {ι : Type u_1} {α : ι → Type u_2} [inst : DecidableEq ι] (I : Finset ι) (S : Set ((i : ↥I) → α ↑i)) (J : Finset ι),
  MeasureTheory.cylinder I S = MeasureTheory.cylinder (I ∪ J) (Finset.restrict₂ ⋯ ⁻¹' S)

theorem MeasureTheory.disjoint_cylinder_iff E0 #

∀ {ι : Type u_1} {α : ι → Type u_2} [Nonempty ((i : ι) → α i)] {s t : Finset ι} {S : Set ((i : ↥s) → α ↑i)}
  {T : Set ((i : ↥t) → α ↑i)} [inst : DecidableEq ι],
  Disjoint (MeasureTheory.cylinder s S) (MeasureTheory.cylinder t T) ↔
    Disjoint (Finset.restrict₂ ⋯ ⁻¹' S) (Finset.restrict₂ ⋯ ⁻¹' T)

theorem MeasureTheory.IsClosed.cylinder E1 #

∀ {ι : Type u_2} {α : ι → Type u_1} [inst : (i : ι) → TopologicalSpace (α i)] (s : Finset ι)
  {S : Set ((i : ↥s) → α ↑i)}, IsClosed S → IsClosed (MeasureTheory.cylinder s S)

theorem MeasurableSet.cylinder E1 #

∀ {ι : Type u_2} {α : ι → Type u_1} [inst : (i : ι) → MeasurableSpace (α i)] (s : Finset ι) {S : Set ((i : ↥s) → α ↑i)},
  MeasurableSet S → MeasurableSet (MeasureTheory.cylinder s S)

theorem MeasureTheory.dependsOn_cylinder_indicator_const E1 #

∀ {ι : Type u_2} {α : ι → Type u_3} {M : Type u_1} [inst : Zero M] {I : Finset ι} (S : Set ((i : ↥I) → α ↑i)) (c : M),
  DependsOn ((MeasureTheory.cylinder I S).indicator fun x ↦ c) ↑I

The indicator of a cylinder only depends on the variables whose the cylinder depends on.

def MeasureTheory.measurableCylinders E3 #

{ι : Type u_2} → (α : ι → Type u_1) → [(i : ι) → MeasurableSpace (α i)] → Set (Set ((i : ι) → α i))

Given a finite set s of indices, a cylinder is the preimage of a set S of ∀ i : s, α i by the projection from ∀ i, α i to ∀ i : s, α i. measurableCylinders is the set of all cylinders with measurable base S.

theorem MeasureTheory.empty_mem_measurableCylinders E1 #

∀ {ι : Type u_2} (α : ι → Type u_1) [inst : (i : ι) → MeasurableSpace (α i)], ∅ ∈ MeasureTheory.measurableCylinders α

theorem MeasureTheory.mem_measurableCylinders E0 #

∀ {ι : Type u_1} {α : ι → Type u_2} [inst : (i : ι) → MeasurableSpace (α i)] (t : Set ((i : ι) → α i)),
  t ∈ MeasureTheory.measurableCylinders α ↔ ∃ s S, MeasurableSet S ∧ t = MeasureTheory.cylinder s S

theorem MeasurableSet.of_mem_measurableCylinders E1 #

∀ {ι : Type u_1} {α : ι → Type u_2} [inst : (i : ι) → MeasurableSpace (α i)] {s : Set ((i : ι) → α i)},
  s ∈ MeasureTheory.measurableCylinders α → MeasurableSet s

def MeasureTheory.measurableCylinders.finset E1 #

{ι : Type u_1} →
  {α : ι → Type u_2} →
    [inst : (i : ι) → MeasurableSpace (α i)] →
      {t : Set ((i : ι) → α i)} → t ∈ MeasureTheory.measurableCylinders α → Finset ι

A finset s such that t = cylinder s S. S is given by measurableCylinders.set.

def MeasureTheory.measurableCylinders.set E1 #

{ι : Type u_1} →
  {α : ι → Type u_2} →
    [inst : (i : ι) → MeasurableSpace (α i)] →
      {t : Set ((i : ι) → α i)} →
        (ht : t ∈ MeasureTheory.measurableCylinders α) →
          Set ((i : ↥(MeasureTheory.measurableCylinders.finset ht)) → α ↑i)

A set S such that t = cylinder s S. s is given by measurableCylinders.finset.

theorem MeasureTheory.measurableCylinders.measurableSet E1 #

∀ {ι : Type u_1} {α : ι → Type u_2} [inst : (i : ι) → MeasurableSpace (α i)] {t : Set ((i : ι) → α i)}
  (ht : t ∈ MeasureTheory.measurableCylinders α), MeasurableSet (MeasureTheory.measurableCylinders.set ht)

theorem MeasureTheory.cylinder_mem_measurableCylinders E1 #

∀ {ι : Type u_1} {α : ι → Type u_2} [inst : (i : ι) → MeasurableSpace (α i)] (s : Finset ι) (S : Set ((i : ↥s) → α ↑i)),
  MeasurableSet S → MeasureTheory.cylinder s S ∈ MeasureTheory.measurableCylinders α

theorem MeasureTheory.inter_mem_measurableCylinders E1 #

∀ {ι : Type u_1} {α : ι → Type u_2} [inst : (i : ι) → MeasurableSpace (α i)] {s t : Set ((i : ι) → α i)},
  s ∈ MeasureTheory.measurableCylinders α →
    t ∈ MeasureTheory.measurableCylinders α → s ∩ t ∈ MeasureTheory.measurableCylinders α

theorem MeasureTheory.isPiSystem_measurableCylinders E1 #

∀ {ι : Type u_1} {α : ι → Type u_2} [inst : (i : ι) → MeasurableSpace (α i)],
  IsPiSystem (MeasureTheory.measurableCylinders α)

theorem MeasureTheory.compl_mem_measurableCylinders E1 #

∀ {ι : Type u_1} {α : ι → Type u_2} [inst : (i : ι) → MeasurableSpace (α i)] {s : Set ((i : ι) → α i)},
  s ∈ MeasureTheory.measurableCylinders α → sᶜ ∈ MeasureTheory.measurableCylinders α

theorem MeasureTheory.univ_mem_measurableCylinders E1 #

∀ {ι : Type u_2} (α : ι → Type u_1) [inst : (i : ι) → MeasurableSpace (α i)],
  Set.univ ∈ MeasureTheory.measurableCylinders α

theorem MeasureTheory.union_mem_measurableCylinders E1 #

∀ {ι : Type u_1} {α : ι → Type u_2} [inst : (i : ι) → MeasurableSpace (α i)] {s t : Set ((i : ι) → α i)},
  s ∈ MeasureTheory.measurableCylinders α →
    t ∈ MeasureTheory.measurableCylinders α → s ∪ t ∈ MeasureTheory.measurableCylinders α

theorem MeasureTheory.sdiff_mem_measurableCylinders E1 #

∀ {ι : Type u_1} {α : ι → Type u_2} [inst : (i : ι) → MeasurableSpace (α i)] {s t : Set ((i : ι) → α i)},
  s ∈ MeasureTheory.measurableCylinders α →
    t ∈ MeasureTheory.measurableCylinders α → s \ t ∈ MeasureTheory.measurableCylinders α

theorem MeasureTheory.generateFrom_measurableCylinders E3 #

∀ {ι : Type u_1} {α : ι → Type u_2} [inst : (i : ι) → MeasurableSpace (α i)],
  MeasurableSpace.generateFrom (MeasureTheory.measurableCylinders α) = MeasurableSpace.pi

The measurable cylinders generate the product σ-algebra.

theorem MeasureTheory.measurableCylinders_nat E1 #

∀ {X : ℕ → Type u_1} [inst : (n : ℕ) → MeasurableSpace (X n)],
  MeasureTheory.measurableCylinders X = ⋃ a, ⋃ S, ⋃ (_ : MeasurableSet S), {MeasureTheory.cylinder (Finset.Iic a) S}

The cylinders of a product space indexed by ℕ can be seen as depending on the first coordinates.

def MeasureTheory.cylinderEvents E1 #

{ι : Type u_2} → {X : ι → Type u_3} → [m : (i : ι) → MeasurableSpace (X i)] → Set ι → MeasurableSpace ((i : ι) → X i)

The σ-algebra of cylinder events on Δ. It is the smallest σ-algebra making the projections on the i-th coordinate measurable for all i ∈ Δ.

theorem MeasureTheory.cylinderEvents_univ E0 #

∀ {ι : Type u_2} {X : ι → Type u_3} [m : (i : ι) → MeasurableSpace (X i)],
  MeasureTheory.cylinderEvents Set.univ = MeasurableSpace.pi

theorem MeasureTheory.cylinderEvents_mono E1 #

∀ {ι : Type u_2} {X : ι → Type u_3} [m : (i : ι) → MeasurableSpace (X i)] {Δ₁ Δ₂ : Set ι},
  Δ₁ ⊆ Δ₂ → MeasureTheory.cylinderEvents Δ₁ ≤ MeasureTheory.cylinderEvents Δ₂

theorem MeasureTheory.cylinderEvents_le_pi E1 #

∀ {ι : Type u_2} {X : ι → Type u_3} [m : (i : ι) → MeasurableSpace (X i)] {Δ : Set ι},
  MeasureTheory.cylinderEvents Δ ≤ MeasurableSpace.pi

theorem MeasureTheory.measurable_cylinderEvents_iff E0 #

∀ {α : Type u_1} {ι : Type u_2} {X : ι → Type u_3} {mα : MeasurableSpace α} [m : (i : ι) → MeasurableSpace (X i)]
  {Δ : Set ι} {g : α → (i : ι) → X i}, Measurable g ↔ ∀ ⦃i : ι⦄, i ∈ Δ → Measurable fun a ↦ g a i

theorem MeasureTheory.measurable_cylinderEvent_apply E0 #

∀ {ι : Type u_2} {X : ι → Type u_3} [m : (i : ι) → MeasurableSpace (X i)] {Δ : Set ι} {i : ι},
  i ∈ Δ → Measurable fun f ↦ f i

theorem MeasureTheory.Measurable.eval_cylinderEvents E1 #

∀ {α : Type u_1} {ι : Type u_2} {X : ι → Type u_3} {mα : MeasurableSpace α} [m : (i : ι) → MeasurableSpace (X i)]
  {Δ : Set ι} {i : ι} {g : α → (i : ι) → X i}, i ∈ Δ → Measurable g → Measurable fun a ↦ g a i

theorem MeasureTheory.measurable_cylinderEvents_lambda E1 #

∀ {α : Type u_1} {ι : Type u_2} {X : ι → Type u_3} {mα : MeasurableSpace α} [m : (i : ι) → MeasurableSpace (X i)]
  (f : α → (i : ι) → X i), (∀ (i : ι), Measurable fun a ↦ f a i) → Measurable f

theorem MeasureTheory.measurable_update_cylinderEvents' E1 #

∀ {ι : Type u_2} {X : ι → Type u_3} [m : (i : ι) → MeasurableSpace (X i)] {Δ : Set ι} {i : ι} [inst : DecidableEq ι],
  Measurable fun p ↦ Function.update p.1 i p.2

The function (f, x) ↦ update f a x : (Π a, X a) × X a → Π a, X a is measurable.

theorem MeasureTheory.measurable_uniqueElim_cylinderEvents E1 #

∀ {ι : Type u_2} {X : ι → Type u_3} [m : (i : ι) → MeasurableSpace (X i)] [inst : Unique ι], Measurable uniqueElim

theorem MeasureTheory.measurable_update_cylinderEvents E1 #

∀ {ι : Type u_2} {X : ι → Type u_3} [m : (i : ι) → MeasurableSpace (X i)] {Δ : Set ι} (f : (a : ι) → X a) {a : ι}
  [inst : DecidableEq ι], Measurable (Function.update f a)

The function update f a : X a → Π a, X a is always measurable. This doesn't require f to be measurable. This should not be confused with the statement that update f a x is measurable.

theorem MeasureTheory.measurable_update_cylinderEvents_left E1 #

∀ {ι : Type u_2} {X : ι → Type u_3} [m : (i : ι) → MeasurableSpace (X i)] {Δ : Set ι} {a : ι} [inst : DecidableEq ι]
  {x : X a}, Measurable fun x_1 ↦ Function.update x_1 a x

theorem MeasureTheory.measurable_restrict_cylinderEvents E1 #

∀ {ι : Type u_2} {X : ι → Type u_3} [m : (i : ι) → MeasurableSpace (X i)] (Δ : Set ι), Measurable Δ.domRestrict

Deprecated aliases

NameNew nameSince
MeasureTheory.diff_cylinder_sameMeasureTheory.sdiff_cylinder_same2026-06-03
MeasureTheory.diff_mem_measurableCylindersMeasureTheory.sdiff_mem_measurableCylinders2026-06-03