On Sufficient and Necessary Conditions in Bounded CTL

Renyan Feng, Erman Acar, Stefan Schlobach, Yisong Wang, Wanwei Liu

Abstract

Logical forgetting, or variable elimination, is a critical technique for simplifying complex system specifications. This paper extends the theory of forgetting to Computation Tree Logic (CTL), specifically focusing on bounded properties. By defining a novel set-based bisimulation, the authors provide a semantic foundation for computing the strongest necessary and weakest sufficient conditions of CTL formulas. The results demonstrate that the forgetting operator in bounded CTL is expressible and satisfies fundamental logical postulates, though it entails significant computational complexity.

Introduction

In formal verification, Computation Tree Logic (CTL) is widely used to specify the temporal behavior of systems. However, as systems evolve due to changing requirements or technical constraints, certain variables in a specification may become irrelevant. Simply removing these variables can disrupt the logical integrity of the specification. This paper addresses the challenge of "subtracting" irrelevant variables through the lens of logical forgetting, identifying the Strongest Necessary Condition (SNC) and the Weakest Sufficient Condition (WSC) for temporal properties.

Methods

The core of the proposed framework is the concept of $V$-bisimulation. Unlike standard bisimulation, which requires states to be identical across all propositions, $V$-bisimulation only requires behavioral equivalence relative to a subset of variables $V$. This allows the logic to effectively "ignore" the variables being forgotten.

Figure 2: Illustration of V-bisimulation relations between Kripke structures K1, K2, and K3, showing how models are related when specific sets of variables are ignored.

The authors define a semantic forgetting operator, $F_{CTL}$, which maps a formula and a set of variables to a new formula. This operator is shown to satisfy standard knowledge-forgetting postulates, including Weakening, Positive Persistence, Negative Persistence, and Irrelevance.

Key Insights and Ideas

A pivotal finding is the expressibility of forgetting in bounded CTL: the result of forgetting propositions is always representable as another CTL formula. This is facilitated by the ability to characterize Kripke structures using bounded formulas.

Figure 4: Traces of a Kripke structure at different depths, illustrating the bounded nature of the logic and how formulas characterize state behavior over time.

As shown in Figure 4, the behavior of a state $s_0$ can be unrolled into traces of increasing depth. These traces form the basis for constructing characterizing formulas that capture the model's properties up to a specific bound. Furthermore, the authors establish a duality between SNC and WSC: the strongest necessary condition for a property can be used to find the weakest sufficient condition for its negation by flipping the logic.

Key Results

The paper provides a rigorous complexity analysis for the $CTL_{AF}$ fragment (properties that must eventually hold in all branches). Key findings include:

  • Model Checking: Determining if a model satisfies a forgotten formula is NP-complete.
  • Entailment: Deciding if one forgotten formula implies another is $\Pi^P_2$-complete.
  • Algorithm Performance: The paper introduces a model-based algorithm to compute $F_{CTL}$. However, due to the need to iterate through potential Kripke structures, the algorithm operates in EXPSPACE, highlighting the "state explosion" challenge.

Limitations and Future Work

The primary limitation is the high computational cost of the current model-based approach. Future research will explore syntactic, proof-theoretic methods—manipulating formulas directly rather than searching through models—to improve efficiency. Additionally, the authors aim to extend the analysis beyond the $CTL_{AF}$ fragment to include the full suite of CTL operators, such as "Until" and "Exists Future," and apply these conditions to guide automated system design synthesis.

Summary updated

Abstract

Computation Tree Logic (CTL) is one of the central formalisms in formal verification. As a specification language, it is used to express a property that the system at hand is expected to satisfy. From both the verification and the system design points of view, some information content of such property might become irrelevant for the system due to various reasons, e.g., it might become obsolete by time, or perhaps infeasible due to practical difficulties. Then, the problem arises on how to subtract such piece of information without altering the relevant system behaviour or violating the existing specifications over a given signature. Moreover, in such a scenario, two crucial notions are informative: the strongest necessary condition (SNC) and the weakest sufficient condition (WSC) of a given property. To address such a scenario in a principled way, we introduce a forgetting-based approach in CTL and show that it can be used to compute SNC and WSC of a property under a given model and over a given signature. We study its theoretical properties and also show that our notion of forgetting satisfies existing essential postulates of knowledge forgetting. Furthermore, we analyse the computational complexity of some basic reasoning tasks for the fragment CTL_AF in particular.
BibTeX
@inproceedings{feng2020sufficient,
  author = {Renyan Feng and Erman Acar and Stefan Schlobach and Yisong Wang and Wanwei Liu},
  title = {{On Sufficient and Necessary Conditions in Bounded CTL}},
  booktitle = {KR},
  year = {2020},
  doi = {10.24963/kr.2020/37},
}
Figure