An Automata-Theoretic Approach to Linear Temporal Logic
Introduction to Algorithms