Synthesis of Temporal Causality

Bernd Finkbeiner, Hadar Frenkel, Niklas Metzger, and Julian Siber

We present an automata-based algorithm to synthesize ω-regular causes for ω-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 ω-regular effects. We show that in this case, causes are guaranteed to be ω-regular themselves and can be computed as, e.g., nondeterministic Büchi automata. We demonstrate the practical feasibility of this algorithm with a prototype tool and evaluate its performance for cause synthesis and cause checking.

36th International Conference on Computer Aided Verification (CAV 2024).

(pdf)