The epistemic structure of de Finetti's betting problem