Reference. A Diagrammatic Axiomatisation of Behavioural Distance of Nondeterministic Processes
Behavioural distances provide a quantitative approach to comparing the states of transition systems, moving beyond traditional Boolean notions of equivalence. In this paper, we develop a sound and complete axiomatisation of behavioural distance for nondeterministic processes using Milner’s charts, a model that generalises finite-state automata by incorporating variable outputs. Charts provide a compelling setting for studying behavioural distances because they shift the focus from language equivalence to bisimilarity. Their axiomatic study lays the groundwork for quantitative analysis of more expressive models, such as weighted transition systems. To formalise this approach, we adopt string diagrams as our syntax of choice. String diagrams closely mirror the graphical structure of charts, while providing a rigorous formalism that supports inductive reasoning and compositional semantics. Unlike traditional algebraic syntaxes, which require additional mechanisms such as binders and substitution, string diagrams offer a variable-free representation where recursion naturally decomposes into simpler components. This makes them well-suited for reasoning about behavioural distances and aligns with broader efforts to axiomatise automata-theoretic equivalences through a unified diagrammatic framework.
Cite
Cites 55 works (4 here)
With notes (4)
CF-GKAT: Efficient Validation of Control-Flow Transformations zhang-2025-cf
Guarded Kleene Algebra with Tests (GKAT) provides a sound and complete framework to reason about trace equivalence between simple imperative programs. However, there are still several notable limitations. First, GKAT is completely agnostic with respect to the meaning of primitives, to keep equivalence decidable. Second, GKAT excludes non-local control flow such as goto, break , and return . To overcome these limitations, we introduce Control-Flow GKAT (CF-GKAT) , a system that allows reasoning about programs that include non-local control flow as well as hardcoded values. CF-GKAT is able to soundly and completely verify trace equivalence of a larger class of programs, while preserving the nearly-linear efficiency of GKAT. This makes CF-GKAT suitable for the verification of control-flow manipulating procedures, such as decompilation and goto-elimination. To demonstrate CF-GKAT’s abilities, we validated the output of several highly non-trivial program transformations, such as Erosa and Hendren’s goto -elimination procedure and the output of Ghidra decompiler. CF-GKAT opens up the application of Kleene Algebra to a wider set of challenges, and provides an important verification tool that can be applied to the field of decompilation and control-flow transformation.
Guarded Kleene algebra with tests: verification of uninterpreted programs in nearly linear time smolka-2019-guarded
Guarded Kleene Algebra with Tests (GKAT) is a variation on Kleene Algebra with Tests (KAT) that arises by restricting the union (+) and iteration (*) operations from KAT to predicate-guarded versions. We develop the (co)algebraic theory of GKAT and show how it can be efficiently used to reason about imperative programs. In contrast to KAT, whose equational theory is PSPACE-complete, we show that the equational theory of GKAT is (almost) linear time. We also provide a full Kleene theorem and prove completeness for an analogue of Salomaa’s axiomatization of Kleene Algebra.
NetKAT: Semantic foundations for networks anderson2014netkat
Recent years have seen growing interest in high-level languages for programming networks. But the design of these languages has been largely ad hoc, driven more by the needs of applications and the capabilities of network hardware than by foundational principles. The lack of a semantic foundation has left language designers with little guidance in determining how to incorporate new features, and programmers without a means to reason precisely about their code. This paper presents NetKAT, a new network programming language that is based on a solid mathematical foundation and comes equipped with a sound and complete equational theory. We describe the design of NetKAT, including primitives for filtering, modifying, and transmitting packets; union and sequential composition operators; and a Kleene star operator that iterates programs. We show that NetKAT is an instance of a canonical and well-studied mathematical structure called a Kleene algebra with tests (KAT) and prove that its equational theory is sound and complete with respect to its denotational semantics. Finally, we present practical applications of the equational theory including syntactic techniques for checking reachability, proving non-interference properties that ensure isolation between programs, and establishing the correctness of compilation algorithms.
A Completeness Theorem for Kleene Algebras and the Algebra of Regular Events KOZEN1994366
We give a finitary axiomatization of the algebra of regular events involving only equations and equational implications. Unlike Salomaa′s axiomatizations, the axiomatization given here is sound for all interpretations over Kleene algebras.
External (51)
- A complete diagrammatic calculus for automata simulation (2025)
- Quantitative Monoidal Algebra: Axiomatising Distance with String Diagrams (2025)
- Algebras for deterministic computation are inherently incomplete (2025)
- Sum and tensor of quantitative effects (2024)
- Universal quantitative algebra for fuzzy relations and generalised metric spaces (2024)
- Markov categories and entropy (2024)
- A complete axiomatisation of equivalence for discrete probabilistic programming (2024)
- A complete quantitative axiomatisation of behavioural distance of regular expressions (2024)
- A finite axiomatisation of finite-state automata using string diagrams (2023)
- An introduction to string diagrams for computer scientists (2023)
- Full abstraction for digital circuits (2022)
- Milner’s proof system for regular expressions modulo bisimilarity is complete: Crystallization: Near-collapsing process graph interpretations of regular expressions (2022)
- Concurrent netkat - modeling and analyzing stateful, concurrent networks (2022)
- A Mathematical Framework for Causally Structured Dilations and its Relation to Quantum Self-Testing (2021)
- Guarded kleene algebra with tests: Coequations, coinduction, and completeness (2021)
- A complete axiomatization of weighted branching bisimulation (2020)
- Diagrammatic algebra: from linear to concurrent systems (2019)
- Graphical Methods in Device-Independent Quantum Cryptography (2019)
- Equational axiomatization of algebras with structure (2019)
- A complete quantitative deduction system for the bisimilarity distance on markov chains (2018)
- An algebraic theory of markov processes (2018)
- Coalgebraic behavioral metrics (2018)
- Picture-perfect quantum key distribution (2017)
- Quantitative algebraic reasoning (2016)
- Axiomatizing bisimulation equivalences and metrics from probabilistic SOS rules (2014)
- KAT + b! (2014)
- On behavioural pseudometrics and closure ordinals (2012)
- Metrics for weighted transition systems: Axiomatization and complexity (2011)
- A Survey of Graphical Languages for Monoidal Categories (2010)
- Interacting quantum observables (2008)
- Metrics for labelled markov processes (2004)
- Geometry of interaction and linear combinatory algebras (2002)
- Handbook of Process Algebra (2001)
- Towards quantitative verification of probabilistic transition systems (2001)
- The linear time - branching time spectrum I (2001)
- A categorical approach to linear logic, geometry of proofs and full completeness (2000)
- Universal coalgebra: a theory of systems (2000)
- Complete axioms for categorical fixed-point operators (2000)
- A complete axiom system for finite-state probabilistic processes (2000)
- Group axioms for iteration (1999)
- Models of sharing graphs : a categorical semantics of let and letrec (1997)
- Traced monoidal categories (1996)
- The Algebra of Finite State Processes (1995)
- Iteration Theories - The Equational Logic of Iterative Processes (1993)
- Iteration theories of synchronization trees (1993)
- Algebraic laws for nondeterminism and concurrency (1985)
- Connections between two theories of concurrency: metric spaces and synchronization trees (1984)
- A complete inference system for a class of regular behaviours (1984)
- Processes and the denotational semantics of concurrency (1982)
- Coherence for compact closed categories (1980)
- Infinite words, infinite trees, infinite computations (1979)