Abstraction and refinement for model checking inconsistent systems