An algebraic description of some state-dependent failure mechanisms