[Paper Review] Concurrent Kleene Algebra of Partial Strings
This paper constructs a partial order model of Concurrent Kleene Algebra (CKA) using Gischer's pomset model extended with least fixed point operators and Ésik's monotonic bijective morphisms, enabling symbolic refinement checking of concurrent programs with loops. The key contribution is a formal model that supports both proving and disproving program properties, particularly for relaxed memory systems, by grounding CKA in a denotational semantics based on partial strings and downward-closed sets.
Concurrent Kleene Algebra (CKA) is a recently proposed algebraic structure by Hoare and collaborators that unifies the laws of concurrent programming. The unifying power of CKA rests largely on the so-called exchange law that describes how concurrent and sequential composition operators can be interchanged. Based on extensive theoretical work on true concurrency in the past, this paper extends Gischer's pomset model with least fixed point operators and formalizes the program refinement relation by Ésik's monotonic bijective morphisms to construct a partial order model of CKA. The existence of such a model is relevant when we want to prove and disprove properties about concurrent programs with loops. In particular, it gives a foundation for the analysis of programs that concurrently access relaxed memory as shown in subsequent work.
Motivation & Objective
- To provide a denotational model for Concurrent Kleene Algebra (CKA) that supports both proof and refutation of program properties.
- To extend Gischer’s pomset model with least fixed point operators to model loops in concurrent programs.
- To use Ésik’s monotonic bijective morphisms instead of isomorphism classes to better capture the exchange law as an inequation.
- To enable symbolic verification of concurrent programs with relaxed memory behavior through SMT-based refinement checking.
- To formalize a complete lattice model of program algebra satisfying CKA axioms, including the exchange law and Kleene star via least fixed points.
Proposed method
- Extends Gischer’s pomset model to partial strings using Ésik’s monotonic bijective morphisms as the foundation for equivalence and refinement.
- Defines sequential and concurrent composition as coproducts over downward-closed sets of partial strings, independent of isomorphism class representatives.
- Constructs a complete lattice of programs ordered by subset inclusion, with join as nondeterministic choice (union) and top/bottom elements as 1 and 0.
- Introduces Kleene star operators for both sequential and concurrent composition as least fixed points: $\mathcal{P}^{;} = \mu\mathcal{X}.1 \cup (\mathcal{P};\mathcal{X})$ and $\mathcal{P}^{\parallel} = \mu\mathcal{X}.1 \cup (\mathcal{P}\parallel\mathcal{X})$.
- Establishes that the resulting structure satisfies all CKA axioms, including the exchange law: $(\mathcal{U}\parallel\mathcal{V});(\mathcal{X}\parallel\mathcal{Y}) \subseteq (\mathcal{U};\mathcal{X})\parallel(\mathcal{V};\mathcal{Y})$.
- Uses the model as a foundation for subsequent SMT-based refinement checking of concurrent programs under relaxed memory models.
Experimental results
Research questions
- RQ1How can a denotational model of CKA be constructed that supports both proof and refutation of program properties?
- RQ2Can partial strings based on monotonic bijective morphisms adequately model the exchange law as an inequation rather than an isomorphism?
- RQ3How can least fixed point operators for loops be formally integrated into a pomset-based model of concurrency?
- RQ4What is the role of downward-closed sets of partial strings in forming a complete lattice model of program algebra?
- RQ5How can such a model enable symbolic refinement checking for concurrent programs with relaxed memory behavior?
Key findings
- The constructed model satisfies all axioms of Concurrent Kleene Algebra, including the exchange law and distributivity of composition over nondeterministic choice.
- The program algebra forms a complete lattice under subset inclusion, with union as least upper bound and 0 as bottom element.
- The Kleene star operators for sequential and concurrent composition are correctly modeled as least fixed points over the complete lattice.
- The use of monotonic bijective morphisms allows for a more expressive and algorithmically tractable model than isomorphism-based approaches.
- The model provides a foundation for symbolic refinement checking of concurrent programs using SMT solvers, particularly for relaxed memory systems.
- The construction demonstrates that partial strings with downward-closed sets and Ésik’s morphisms yield a sound and complete semantics for CKA with loops.
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.