To quantify stability, we relaxed the appropriate elemental compounds (eg. Eu (s) ). We then calculated the formation enthalpy (∆H f ) by subtracting the total energy (E tot ) of each constituent elemental compound from E tot of the compound of interest, with every value normalized to the number of atoms (eg. Eq. 1).