The Logical Foundations of Cognition (Vancouver Studies in C