Let (Ω,F,P) be a probability space with expectation E, let (Y,Y) be a measurable space, and let D:Ω→Y be measurable with respect to F and Y. Write B(R) for the Borel σ-algebra of the real line; a real-valued map on a measurable space is called measurable when it is measurable with respect to the named σ-algebra and B(R). Write B(R)⊗Y for the product σ-algebra on R×Y, 1A for the indicator of a set A, and ∥⋅∥2 for the mean-square norm. Put
σ(D)={D−1(B):B∈Y},N={A∈F:P(A)=0}.
Call a σ-algebra G on Ω D-generated up to null sets when σ(D)⊆G⊆F and every A∈G admits A′∈σ(D) with P((A∖A′)∪(A′∖A))=0. Then the following hold.
1. (The generated σ-algebra.) σ(D) is a σ-algebra on Ω with σ(D)⊆F, and D is measurable with respect to σ(D) and Y. Moreover the σ-algebra generated by σ(D)∪N is exactly the family
H={A∈F: P(A△A′)=0 for some A′∈σ(D)},A△A′=(A∖A′)∪(A′∖A);
it is D-generated up to null sets, and it contains every σ-algebra on Ω that is D-generated up to null sets. Thus a σ-algebra G is D-generated up to null sets if and only if σ(D)⊆G⊆H.
2. (Factorisation.) A map Z:Ω→R is measurable with respect to σ(D) if and only if there is a Y-measurable g:Y→R with Z=g∘D, that is, Z(ω)=g(D(ω)) for every ω∈Ω.
3. (Conditioning on a D-generated σ-algebra.) Let G be D-generated up to null sets and let X be a square-integrable random variable on (Ω,F,P). Then every conditional expectation of X given σ(D) is a conditional expectation of X given G, and any two conditional expectations, one given σ(D) and one given G, are almost surely equal. In particular
E[(X−E[X∣G])2]=E[(X−E[X∣σ(D)])2],
both sides being independent of the choice of conditional expectations.
4. (Variational form of the mean-square filtering error.) Let X be square-integrable and let G be D-generated up to null sets. Write M for the set of Y-measurable maps g:Y→R for which g∘D is square-integrable; M is nonempty, containing the zero map. Then the set of real numbers {E[(X−g∘D)2]:g∈M} has a greatest lower bound, this bound is attained, and
E[(X−E[X∣G])2]=g∈MinfE[(X−g∘D)2].
5. (Invariance under the joint law.) Let X be a square-integrable random variable on (Ω,F,P), let (Ω′,F′,P′) be a second probability space with expectation E′, let D′:Ω′→Y be measurable with respect to F′ and Y, and let X′ be a square-integrable random variable on it. The maps (X,D) and (X′,D′) into R×Y are measurable with respect to F, respectively F′, and B(R)⊗Y. Assume that the image measure of P under (X,D) equals the image measure of P′ under (X′,D′) on B(R)⊗Y. Let G be D-generated up to null sets in (Ω,F,P) and let G′ be D′-generated up to null sets in (Ω′,F′,P′). Then
E[(X−E[X∣G])2]=E′[(X′−E′[X′∣G′])2].