The Logic of Choice