We present an automata-based algorithm to synthesize w-regular causes for w-regular effects on executions of a reactive system, such as counterexamples uncovered by a model checker. Our theory is a generalization of temporal causality, which has recently been proposed as a framework for drawing causal relationships between trace properties on a given trace. So far, algorithms exist only for verifying a single causal relationship and, as an extension, cause synthesis through enumeration, which is complete only for a small fragment of effect properties. This work presents the first complete cause-synthesis algorithm for the class of w-regular effects. We show that in this case, causes are guaranteed to be w-regular themselves and can be computed as, e.g., nondeterministic B"uchi automata. We demonstrate the practical feasibility of this algorithm with a prototype tool and evaluate its performance for cause synthesis and cause checking.
Computer Aided Verification (CAV)
2024-07-26
2024-11-21