An algebraic notion of zeros for systems over rings