The form and function of scientific discoveries (Dibner Library lecture)