PSYCHOLOGY, ARTIFICIAL-INTELLIGENCE, AND COGNITIVE SCIENCE