Title: Theoretical petrology