Skip to main content
QUICK REVIEW

[Paper Review] Probabilistic Guarded KAT Modulo Bisimilarity: Completeness and Complexity

Wojciech Różowski, Tobias Kappé|arXiv (Cornell University)|Jan 1, 2023
Formal Methods in VerificationComputer Science7 citations
TL;DR

This paper introduces Probabilistic Guarded Kleene Algebra with Tests (ProbGKAT), extending GKAT with probabilistic choice and loop constructs to reason about randomized imperative programs. It presents a sound and complete Salomaa-style axiomatization for bisimilarity and proves that bisimilarity can be decided in O(n³ log n) time using coalgebraic partition refinement, enabling efficient equivalence checking of probabilistic programs with complex control flow.

ABSTRACT

We introduce Probabilistic Guarded Kleene Algebra with Tests (ProbGKAT), an extension of GKAT that allows reasoning about uninterpreted imperative programs with probabilistic branching. We give its operational semantics in terms of special class of probabilistic automata. We give a sound and complete Salomaa-style axiomatisation of bisimilarity of ProbGKAT expressions. Finally, we show that bisimilarity of ProbGKAT expressions can be decided in $O(n^3 \log n)$ time via a generic partition refinement algorithm.

Motivation & Objective

  • To extend Guarded Kleene Algebra with Tests (GKAT) with probabilistic constructs to support reasoning about randomized imperative programs.
  • To develop an operational semantics for ProbGKAT using a specialized class of probabilistic automata with both Boolean guarded and probabilistic transitions.
  • To provide a sound and complete Salomaa-style axiomatization for bisimilarity of ProbGKAT expressions, accounting for interactions between probabilistic and deterministic branching.
  • To establish an efficient decision procedure for bisimilarity in ProbGKAT, leveraging coalgebraic partition refinement to achieve O(n³ log n) time complexity.

Proposed method

  • Define ProbGKAT syntax with three new constructs: probabilistic choice (e ⊕r f), probabilistic loop (e[r]), and return values (return v), extending standard GKAT with probabilistic control flow.
  • Formalize operational semantics via a small-step semantics based on Brzozowski derivatives, modeling program execution as transitions over probability distributions.
  • Introduce a behavioural pseudometric on automata to capture bisimilarity, proving it forms an ultra-metric space where d(x,z) = max{d(x,y), d(y,z)} for all x,y,z.
  • Characterize bisimulations using a flow network adaptation from Markov chain bisimilarity, enabling efficient computation of behavioural equivalence.
  • Construct a Salomaa-style axiom system for ProbGKAT, including the Uniqueness of Solutions (UA) axiom, and prove soundness using the topological structure of the behavioural pseudometric.
  • Apply coalgebraic partition refinement to the automata model, showing that bisimilarity of ProbGKAT expressions can be decided in O(n³ log n) time when the number of tests is fixed.

Experimental results

Research questions

  • RQ1Can a sound and complete axiomatization be developed for bisimilarity in a probabilistic extension of GKAT that supports both probabilistic choice and loops?
  • RQ2How can the interaction between Boolean guarded branching and probabilistic branching be formally captured in an equational system?
  • RQ3What is the computational complexity of deciding bisimilarity for ProbGKAT expressions, and can it be solved efficiently?
  • RQ4Can the coalgebraic framework of partition refinement be adapted to support probabilistic automata with both deterministic and probabilistic transitions?
  • RQ5Is the Uniqueness of Solutions (UA) axiom sound in the presence of probabilistic constructs, and can it be proven using topological properties of the behavioural pseudometric?

Key findings

  • The paper presents a sound and complete Salomaa-style axiomatization for bisimilarity of ProbGKAT expressions, extending prior work on deterministic GKAT to the probabilistic setting.
  • The behavioural pseudometric induced by bisimilarity on ProbGKAT automata is an ultra-metric, satisfying d(x,z) = max{d(x,y), d(y,z)} for all x,y,z.
  • The Uniqueness of Solutions (UA) axiom is sound in ProbGKAT, proven via the topological structure of the behavioural pseudometric and functorial properties of the transition system.
  • Bisimilarity of ProbGKAT expressions can be decided in O(n³ log n) time using a generic coalgebraic partition refinement algorithm, where n is the total size of the programs.
  • The method leverages a flow network-based characterization of bisimilarity, adapted from Markov chains, to efficiently compute behavioural equivalence in the probabilistic automaton model.
  • The decision procedure is efficient and scalable for programs with a fixed number of tests, making it suitable for practical verification of randomized imperative programs.

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.