Studying and improving reasoning in humans and machines | Synapse