[Paper Review] Model-Checking Parametric Lock-Sharing Systems Against Regular Constraints
This paper presents a decidable model-checking framework for parametric lock-sharing systems with dynamic thread and lock creation, using tree representations of limit configurations under strong process fairness. It proves Exptime-completeness for nested lock usage and Ptime-completeness when the number of lock accesses per process (arity) and parity ranks are bounded, leveraging right-resetting pushdown tree automata to achieve optimal complexity.
In parametric lock-sharing systems processes can spawn new processes to run in parallel, and can create new locks. The behavior of every process is given by a pushdown automaton. We consider infinite behaviors of such systems under strong process fairness condition. A result of a potentially infinite execution of a system is a limit configuration, that is a potentially infinite tree. The verification problem is to determine if a given system has a limit configuration satisfying a given regular property. This formulation of the problem encompasses verification of reachability as well as of many liveness properties. We show that this verification problem, while undecidable in general, is decidable for nested lock usage. We show Exptime-completeness of the verification problem. The main source of complexity is the number of parameters in the spawn operation. If the number of parameters is bounded, our algorithm works in Ptime for properties expressed by parity automata with a fixed number of ranks.
Motivation & Objective
- To verify regular properties—such as liveness and reachability—of parametric lock-sharing systems with dynamic thread and lock creation.
- To address the limitations of saturation-based methods in handling liveness by introducing a tree-based representation of system configurations.
- To characterize limit configurations of fair runs using global acyclic lock orderings recoverable from local node structures.
- To establish decidability and complexity bounds for verification under nested lock usage, a common programming practice.
Proposed method
- Represent system configurations as infinite trees, where left branches encode local process runs and right branches represent spawn operations.
- Define limit configurations as the result of infinite, strongly process-fair executions, enabling natural expression of fairness and liveness.
- Characterize valid limit configurations via a global acyclic lock ordering, recoverable from local orderings at each tree node.
- Construct a nondeterministic Büchi tree automaton to recognize valid limit configurations, with size linear in system size and exponential only in system arity.
- Extend the framework to pushdown processes by introducing right-resetting pushdown tree automata, where the stack is reset on right moves.
- Prove Ptime-completeness for emptiness of right-resetting parity pushdown tree automata when the maximum rank is fixed, using fixpoint computation over state sets.
Experimental results
Research questions
- RQ1Is model checking regular properties decidable for parametric lock-sharing systems with dynamic lock and thread creation under strong process fairness?
- RQ2Can the verification problem be solved efficiently when lock usage follows a nested (stack-based) discipline?
- RQ3What is the complexity of verifying such systems, and can it be reduced to Ptime under bounded arity and fixed parity rank?
- RQ4Can the tree representation of configurations capture fairness and liveness naturally, without interleaving semantics?
- RQ5Is the emptiness problem for pushdown tree automata with right-resetting semantics decidable in Ptime when the number of priorities is bounded?
Key findings
- The model-checking problem for parametric lock-sharing systems with nested lock usage is Exptime-complete.
- For systems with bounded arity and fixed number of parity ranks, the verification problem is decidable in Ptime.
- The Büchi tree automaton recognizing valid limit configurations has size linear in the system size and exponential only in the arity.
- The emptiness problem for right-resetting pushdown tree automata with a fixed number of ranks is solvable in Ptime via fixpoint computation.
- The construction leverages recoverable local lock orderings to characterize global acyclic lock relations in limit trees.
- The approach naturally expresses fairness and liveness as properties of limit trees, avoiding interleaving semantics.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.