Decidability and Expressiveness of Recursive Weighted Logic

Kim Guldstrand Larsen, Radu Mardare, Bingtian XueErshov Memorial Conference 2014 · DOI

TL;DR

This paper introduces Recursive Weighted Logic (RWL), a new logic for reasoning about weighted transition systems that capture resource consumption in systems. They prove RWL is expressive enough to characterize weighted bisimilarity and, crucially, that it is decidable, meaning we can automatically check if RWL formulas hold for a given system.

What Problem Does This Paper Address?

Modern embedded systems are increasingly complex, requiring not only functional correctness but also guarantees about resource usage (like energy or memory). Traditional model-checking techniques often struggle with these quantitative aspects. While extensions to timed automata exist, there's a need for a logic that can express and verify these resource constraints in a more general and expressive way, especially for systems with potentially infinite states or behaviors. This paper addresses this by proposing RWL, a logic that combines modal operators for actions and resource values with recursive definitions, allowing for the specification of complex, circular properties related to resource usage.

Methods

The authors introduce Recursive Weighted Logic (RWL) built upon Labelled Weighted Transition Systems (LWSs). LWSs are transition systems where edges are labeled with actions and real numbers representing resource costs. RWL extends weighted modal logic with:

  • State modalities: For checking resource values at a state (e.g., x < r).
  • Transition modalities: For checking resource changes during transitions (e.g., [x < r]a or <x < r)a).
  • Reset modalities: For resetting resource variables (e.g., x in).
  • Recursive variables: Allowing for the definition of properties that refer to themselves, enabling the encoding of circular behaviors and properties like liveness and safeness.

They define the semantics of RWL using maximal fixed points, which are crucial for handling recursive definitions. A key part of their work is developing a model construction algorithm to prove the decidability of RWL's satisfiability problem. This algorithm constructs a finite model for a given satisfiable RWL formula.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • Bridging Qualitative and Quantitative Reasoning: RWL effectively unifies qualitative (action-based) and quantitative (resource-based) reasoning within a single logical framework.
  • Expressing Circular Resource Properties: The inclusion of recursive variables is a significant step, allowing for the specification of complex, self-referential properties related to resource consumption and gain, which are common in real-world systems.
  • Decidability is Achievable: A major contribution is proving that despite the expressiveness of recursive definitions and real-valued weights, the satisfiability problem for RWL is decidable. This is a non-trivial result, as many expressive logics struggle with decidability.
  • Hennessy-Milner Property without Negation: RWL satisfies the Hennessy-Milner property (characterizing bisimilarity) even without relying on negation, which is a notable theoretical achievement.
  • Model Construction for Decidability: The development of a novel model construction algorithm is central to proving decidability. This algorithm, inspired by timed automata and modal logic techniques, provides a constructive way to find a model for satisfiable formulas.

Key Results

  • Expressiveness: RWL is shown to be sufficiently expressive to characterize weighted-bisimilarity of LWSs.
  • Decidability: The satisfiability problem for RWL is proven to be decidable. A decision procedure based on a model construction algorithm is presented.
  • Hennessy-Milner Property: RWL satisfies the Hennessy-Milner property for LWSs.

Limitations and Future Work

  • Resource Variable Restriction: The current version of RWL restricts the syntax to allow only one variable per resource type. This is a necessary restriction for decidability but limits expressiveness.
  • Future Work: The authors plan to extend RWL to handle multiple variables per resource type. This would likely lead to a loss of the finite model property, but they believe that such systems might exhibit other forms of regularity that could be captured by weighted automata. They also intend to discuss the complexity of the satisfiability-checking algorithm in a future paper.

Summary updated

BibTeX
@inproceedings{larsen2014decidability,
  author = {Kim Guldstrand Larsen and Radu Mardare and Bingtian Xue},
  title = {{Decidability and Expressiveness of Recursive Weighted Logic}},
  booktitle = {Ershov Memorial Conference},
  year = {2014},
  doi = {10.1007/978-3-662-46823-4\_18},
}
Figure