Logic and Uncertainty in the Human Mind