On Sufficient and Necessary Conditions in Bounded CTL: A Forgetting Approach

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

TL;DR

This paper introduces a novel "forgetting" approach for Computation Tree Logic (CTL), a key formalism in formal verification. This approach allows us to systematically remove irrelevant information from system specifications and models, enabling the computation of crucial concepts like the Strongest Necessary Condition (SNC) and Weakest Sufficient Condition (WSC) for system properties. This work is vital for simplifying complex specifications and understanding the core requirements of systems.

What Problem Does This Paper Address?

Formal verification relies on languages like CTL to specify and verify system properties. However, in real-world scenarios, specifications can become overly complex, containing information that is no longer relevant due to system evolution, practical constraints, or simply obsolescence. The challenge is to remove this irrelevant information without altering the system's essential behavior or violating existing specifications. This process is crucial for maintaining clarity and efficiency in verification. The paper addresses this by formalizing the concept of "forgetting" in CTL and showing how it can be used to derive two fundamental logical notions: the Strongest Necessary Condition (SNC) and the Weakest Sufficient Condition (WSC). These conditions represent the most general consequence and the most specific abduction of a given property, respectively, providing a precise way to understand what is minimally required and what is maximally implied by a specification.

Methods

The core of the paper's contribution lies in its novel "forgetting" approach for CTL. This approach is built upon a new concept called V-bisimulation, which is a generalization of classical bisimulation that accounts for specific sets of propositional variables (atoms). V-bisimulation allows us to compare Kripke structures (models for CTL) while ignoring certain variables.

Key techniques include:

  • V-bisimulation: A formal definition of equivalence between Kripke structures that is sensitive to a subset of propositional variables. This is the foundation for defining forgetting.
  • Characterizing Formulas: For a given Kripke structure and a set of variables V, a unique CTL formula is derived that precisely captures the structure's behavior with respect to those variables.
  • Forgetting Operator (FCTL): A formal definition of forgetting in CTL is introduced, based on the V-bisimulation and characterizing formulas. This operator systematically removes specified variables from a CTL formula.
  • Model-Based Algorithm: An algorithm is presented that computes forgetting by examining all possible models of a given formula.

The paper also establishes theoretical properties of this forgetting operator, including modularity, commutativity, and homogeneity, and demonstrates its connection to existing notions of forgetting in propositional and modal logics.

Datasets

Not discussed in the paper. The paper focuses on theoretical aspects of CTL and formal verification, rather than empirical evaluation on specific datasets.

Key Insights and Ideas

  • Forgetting is Formalizable in CTL: The paper demonstrates that the intuitive notion of "forgetting" irrelevant variables from CTL formulas can be rigorously defined and computed within the logic itself. This is a significant step beyond propositional or simpler modal logics.
  • V-bisimulation as a Bridge: The introduction of V-bisimulation is a key insight, providing a mechanism to compare system models while abstracting away from specific propositional variables. This is crucial for defining forgetting semantically.
  • SNC and WSC via Forgetting: The paper establishes a direct link between the forgetting operator and the computation of Strongest Necessary Conditions (SNC) and Weakest Sufficient Conditions (WSC). This provides a principled way to derive these important logical concepts.
  • Theoretical Properties of Forgetting: The paper proves that the defined forgetting operator exhibits desirable properties like modularity and commutativity, which are essential for its practical application and theoretical soundness.
  • CTL Forgetting Extends Propositional Forgetting: The work shows that their CTL forgetting approach generalizes existing forgetting mechanisms for propositional logic, ensuring consistency with established formalisms.

Key Results

  • Formal Definition of Forgetting in CTL: The paper provides a precise semantic definition of forgetting for CTL formulas.
  • Computation of SNC and WSC: A method is presented to compute the SNC and WSC of a CTL property under a given model and signature using the forgetting operator.
  • Complexity Results: For the fragment CTLAF (CTL with only the AF operator), model checking for forgetting is shown to be NP-complete, and entailment problems range from co-NP to II-complete.
  • Model-Based Forgetting Algorithm: An algorithm is proposed for computing forgetting, though its high complexity (ExPSPACE) highlights the need for more efficient, syntactical approaches.
  • Theoretical Properties: The paper proves that the forgetting operator satisfies key postulates for knowledge forgetting and exhibits properties like homogeneity, modularity, and commutativity.

Limitations and Future Work

  • Computational Complexity: The proposed model-based algorithm for forgetting in CTL has a very high computational complexity. The authors acknowledge this and suggest that future work should focus on developing more efficient, syntactical approaches.
  • General Fragments: The complexity analysis is primarily focused on the CTLAF fragment. Further investigation into the complexity of forgetting for other general CTL fragments is suggested.
  • Guiding System Design: The authors propose exploring how the weakest sufficient condition (WSC) can guide the design of new transition systems that satisfy a given specification.
  • Approximation Algorithms: Given the high complexity, the development of approximation algorithms with provably good accuracy bounds is suggested as a promising avenue.

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. F...
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: A Forgetting Approach}},
  booktitle = {KR},
  year = {2020},
  doi = {10.24963/kr.2020/37},
}
Figure