Measurable spaces and measurable functions #
THIS FILE IS SYNCHRONIZED WITH MATHLIB4. Any changes to this file require a corresponding PR to mathlib4.
This file defines measurable spaces and measurable functions.
A measurable space is a set equipped with a σ-algebra, a collection of subsets closed under complementation and countable union. A function between measurable spaces is measurable if the preimage of each measurable subset is measurable.
σ-algebras on a fixed set α
form a complete lattice. Here we order
σ-algebras by writing m₁ ≤ m₂
if every set which is m₁
-measurable is
also m₂
-measurable (that is, m₁
is a subset of m₂
). In particular, any
collection of subsets of α
generates a smallest σ-algebra which
contains all of them.
Do not add measurability lemmas (which could be tagged with
@[measurability]) to this file, since the measurability tactic is downstream
from here. Use measure_theory.measurable_space
instead.
References #
- https://en.wikipedia.org/wiki/Measurable_space
- https://en.wikipedia.org/wiki/Sigma-algebra
- https://en.wikipedia.org/wiki/Dynkin_system
Tags #
measurable space, σ-algebra, measurable function
- measurable_set' : set α → Prop
- measurable_set_empty : self.measurable_set' ∅
- measurable_set_compl : ∀ (s : set α), self.measurable_set' s → self.measurable_set' sᶜ
- measurable_set_Union : ∀ (f : ℕ → set α), (∀ (i : ℕ), self.measurable_set' (f i)) → self.measurable_set' (⋃ (i : ℕ), f i)
A measurable space is a space equipped with a σ-algebra.
Instances of this typeclass
- measure_theory.measure_space.to_measurable_space
- is_R_or_C.measurable_space
- order_dual.measurable_space
- empty.measurable_space
- punit.measurable_space
- bool.measurable_space
- Prop.measurable_space
- nat.measurable_space
- int.measurable_space
- rat.measurable_space
- quot.measurable_space
- quotient.measurable_space
- quotient_group.measurable_space
- quotient_add_group.measurable_space
- subtype.measurable_space
- prod.measurable_space
- measurable_space.pi
- tprod.measurable_space
- sum.measurable_space
- sigma.measurable_space
- measure_theory.null_measurable_space.measurable_space
- units.measurable_space
- add_units.measurable_space
- mul_opposite.measurable_space
- add_opposite.measurable_space
- real.measurable_space
- nnreal.measurable_space
- ennreal.measurable_space
- ereal.measurable_space
- complex.measurable_space
- measure_theory.measure.measurable_space
- euclidean_space.measurable_space
- continuous_linear_map.measurable_space
- add_circle.measurable_space
- Meas.measurable_space
- theorems_100.fin.measurable_space
Instances of other typeclasses for measurable_space
- measurable_space.has_sizeof_inst
- measurable_space.has_le
- measurable_space.partial_order
- measurable_space.complete_lattice
- measurable_space.inhabited
Equations
measurable_set s
means that s
is measurable (in the ambient measure space on α
)
Equations
- measurable_set = _inst_1.measurable_set'
Every set has a measurable superset. Declare this as local instance as needed.
- measurable_set_singleton : ∀ (x : α), measurable_set {x}
A typeclass mixin for measurable_space
s such that each singleton is measurable.
Instances of this typeclass
- measurable_space.top.measurable_singleton_class
- opens_measurable_space.to_measurable_singleton_class
- empty.measurable_singleton_class
- punit.measurable_singleton_class
- bool.measurable_singleton_class
- Prop.measurable_singleton_class
- nat.measurable_singleton_class
- int.measurable_singleton_class
- rat.measurable_singleton_class
- subtype.measurable_singleton_class
- prod.measurable_singleton_class
- pi.measurable_singleton_class
- measure_theory.null_measurable_set.measure_theory.null_measurable_space.measurable_singleton_class
- theorems_100.fin.measurable_singleton_class
Equations
- measurable_space.has_le = {le := λ (m₁ m₂ : measurable_space α), ∀ (s : set α), measurable_set s → measurable_set s}
Equations
- measurable_space.partial_order = {le := has_le.le measurable_space.has_le, lt := λ (m₁ m₂ : measurable_space α), m₁ ≤ m₂ ∧ ¬m₂ ≤ m₁, le_refl := _, le_trans := _, lt_iff_le_not_le := _, le_antisymm := _}
- basic : ∀ {α : Type u_1} {s : set (set α)} (u : set α), u ∈ s → measurable_space.generate_measurable s u
- empty : ∀ {α : Type u_1} {s : set (set α)}, measurable_space.generate_measurable s ∅
- compl : ∀ {α : Type u_1} {s : set (set α)} (s_1 : set α), measurable_space.generate_measurable s s_1 → measurable_space.generate_measurable s s_1ᶜ
- union : ∀ {α : Type u_1} {s : set (set α)} (f : ℕ → set α), (∀ (n : ℕ), measurable_space.generate_measurable s (f n)) → measurable_space.generate_measurable s (⋃ (i : ℕ), f i)
The smallest σ-algebra containing a collection s
of basic sets
Construct the smallest measure space containing a collection of basic sets
Equations
If g
is a collection of subsets of α
such that the σ
-algebra generated from g
contains
the same sets as g
, then g
was already a σ
-algebra.
Equations
- measurable_space.mk_of_closure g hg = {measurable_set' := λ (s : set α), s ∈ g, measurable_set_empty := _, measurable_set_compl := _, measurable_set_Union := _}
We get a Galois insertion between σ
-algebras on α
and set (set α)
by using generate_from
on one side and the collection of measurable sets on the other side.
Equations
- measurable_space.gi_generate_from = {choice := λ (g : set (set α)) (hg : {t : set α | measurable_set t} ≤ g), measurable_space.mk_of_closure g _, gc := _, le_l_u := _, choice_eq := _}
Equations
A function f
between measurable spaces is measurable if the preimage of every
measurable set is measurable.
Equations
- measurable f = ∀ ⦃t : set β⦄, measurable_set t → measurable_set (f ⁻¹' t)