A thought experiment that’s dividing mathematicians can help illuminate how belief shapes rational decisions