Source: https://www.math.univ-paris13.fr/~halpern/teaching/MACS1_2010/ch5.pdf