Earth science: On the evolution of minerals