Irreversibility Prevention Logic