Hypothetical Reasoning: Studies in Logic and the Foundations of Mathematics.