Proof for the impossible bet problem