SMS: The cognitive basis of science