The Martingale convergence theorem gives an almost-sure limit , because . The dominated convergence theorem also gives in .
To identify the limit, take . For some , , and for every ,
Passing to the limit preserves this equality. The sets for which form a monotone class containing the algebra , so the equality holds throughout . Since is -measurable, it is . This proves the conditional-expectation convergence along a filtration both almost surely and in .