Search for a Self-Regenerating Perovskite Catalyst Using ab Initio Thermodynamics Calculations