Skip to main content
QUICK REVIEW

[Paper Review] Partition Refinement for Bisimilarity in CCP

Andrés Felipe Aristizábal-Pachón, Filippo Bonchi|arXiv (Cornell University)|Dec 7, 2012
Logic, programming, and type systemsComputer Science10 references7 citations
TL;DR

This paper presents the first algorithm for automatic verification of saturated barbed bisimilarity in Concurrent Constraint Programming (CCP) by extending the partition refinement technique. It introduces a novel method that dynamically identifies and removes redundant transitions—those logically implied by others—enabling standard partition refinement to correctly compute bisimilarity despite CCP's requirement to check all possible future constraint additions.

ABSTRACT

Saraswat's concurrent constraint programming (ccp) is a mature formalism for modeling processes (or programs) that interact by telling and asking constraints in a global medium, called the store. Bisimilarity is a standard behavioural equivalence in concurrency theory, but a well-behaved notion of bisimilarity for ccp has been proposed only recently. When the state space of a system is finite, the ordinary notion of bisimilarity can be computed via the well-known partition refinement algorithm, but unfortunately, this algorithm does not work for ccp bisimilarity. In this paper, we propose a variation of the partition refinement algorithm for verifying ccp bisimilarity. To the best of our knowledge this is the first work providing for the automatic verification of program equivalence for ccp

Motivation & Objective

  • To address the lack of automated tools for verifying program equivalence in Concurrent Constraint Programming (CCP), a formalism widely used in concurrent and constraint-based systems.
  • To overcome the limitation of standard partition refinement algorithms, which fail for CCP due to the need to consider all possible future constraint additions in the store.
  • To provide a sound and terminating algorithm for verifying saturated barbed bisimilarity ($\dot{\sim}_{sb}$), a well-behaved behavioral equivalence in CCP.
  • To ensure correctness by integrating redundancy detection with partition refinement, where redundant transitions are those logically implied by others under $\dot{\sim}_{sb}$.

Proposed method

  • Define a derivation relation $\vdash_D$ between transitions, where $\gamma \xrightarrow{\alpha_1} \gamma_1 \vdash_D \gamma \xrightarrow{\alpha_2} \gamma_2$ if $\alpha_1 \sqsubset \alpha_2$ and $c_2 = c_1 \sqcup \alpha_2$, based on constraint ordering and store monotonicity.
  • Introduce the concept of redundant transitions: a transition is redundant if it is logically implied by another transition and its target is bisimilar to the implied target.
  • Extend the initial state set to include auxiliary states needed to check redundancy, ensuring finiteness and correctness of the algorithm.
  • Modify the standard partition refinement algorithm to operate on a transition system that excludes redundant transitions, using iterative refinement based on non-redundant transitions.
  • Use a decision procedure for $\vdash_D$ based on the constraint ordering $\sqsubseteq$, which is assumed decidable, and show that checking $\vdash_D$ between two transitions takes $O(f_\mathbf{C})$ time.
  • Implement the algorithm in C++ and prove termination and complexity bounds, showing worst-case exponential time due to potential exponential growth in auxiliary states.

Experimental results

Research questions

  • RQ1Can the standard partition refinement algorithm be adapted to verify saturated barbed bisimilarity in CCP, given its unique requirement to consider all possible future constraint additions?
  • RQ2How can redundancy in transitions be formally defined and detected in a way that preserves correctness for $\dot{\sim}_{sb}$?
  • RQ3What is the computational complexity of verifying $\dot{\sim}_{sb}$ using the proposed method, and does it guarantee termination for finite-state systems?
  • RQ4Can the algorithm be implemented efficiently, and what are the upper bounds on its running time in terms of the number of states and transitions?
  • RQ5Is it possible to reduce the decision problem of $\vdash_D$ to the simpler problem of constraint ordering $\sqsubseteq$?

Key findings

  • The proposed algorithm correctly computes saturated barbed bisimilarity ($\dot{\sim}_{sb}$) in CCP by combining partition refinement with dynamic redundancy detection.
  • The algorithm terminates and produces correct results for all finite-state CCP systems, as the number of auxiliary states introduced for redundancy checking is finite.
  • The worst-case time complexity is bounded by $n \times 2^{O(m)} \times f_\mathbf{C}$, where $n$ is the number of reachable configurations, $m$ is the number of transitions, and $f_\mathbf{C}$ is the cost of deciding $\sqsubseteq$.
  • The construction of a specific transition system with exponential-sized $IS^*$ demonstrates that the algorithm can indeed require exponential time in the worst case.
  • A simplified characterization of $\vdash_D$ is provided: $t_1 \vdash_D t_2$ iff $\alpha_1 \sqsubset \alpha_2$ and $c_2 = c_1 \sqcup \alpha_2$, enabling efficient $O(f_\mathbf{C})$ checks.
  • The algorithm has been implemented in C++ and is publicly available, marking the first practical tool for automated verification of program equivalence in CCP.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.