Skip to main content

Showing 1–25 of 25 results for author: Kappé, T

Searching in archive cs. Search in all archives.
.
  1. arXiv:2501.15325  [pdf, other

    cs.LO

    A General Completeness Theorem for Skip-free Star Algebras

    Authors: Tobias Kappé, Todd Schmid

    Abstract: We consider process algebras with branching parametrized by an equational theory T, and show that it is possible to axiomatize bisimilarity under certain conditions on T. Our proof abstracts an earlier argument due to Grabmayer and Fokkink (LICS'20), and yields new completeness theorems for skip-free process algebras with probabilistic (guarded) branching, while also covering existing completeness… ▽ More

    Submitted 25 January, 2025; originally announced January 2025.

  2. Algebras for Deterministic Computation Are Inherently Incomplete

    Authors: Balder ten Cate, Tobias Kappé

    Abstract: Kleene Algebra with Tests (KAT) provides an elegant algebraic framework for describing non-deterministic finite-state computations. Using a small finite set of non-deterministic programming constructs (sequencing, non-deterministic choice, and iteration) it is able to express all non-deterministic finite state control flow over a finite set of primitives. It is natural to ask whether there exists… ▽ More

    Submitted 16 January, 2025; v1 submitted 21 November, 2024; originally announced November 2024.

  3. CF-GKAT: Efficient Validation of Control-Flow Transformations

    Authors: Cheng Zhang, Tobias Kappé, David E. Narváez, Nico Naus

    Abstract: 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 overc… ▽ More

    Submitted 16 January, 2025; v1 submitted 20 November, 2024; originally announced November 2024.

  4. arXiv:2305.01755  [pdf, other

    cs.LO cs.FL

    Probabilistic Guarded KAT Modulo Bisimilarity: Completeness and Complexity

    Authors: Wojciech Różowski, Tobias Kappé, Dexter Kozen, Todd Schmid, Alexandra Silva

    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 bisimi… ▽ More

    Submitted 2 May, 2023; originally announced May 2023.

  5. arXiv:2301.11301  [pdf, ps, other

    cs.LO cs.PL

    A Complete Inference System for Skip-free Guarded Kleene Algebra with Tests

    Authors: Tobias Kappé, Todd Schmid, Alexandra Silva

    Abstract: Guarded Kleene Algebra with Tests (GKAT) is a fragment of Kleene Algebra with Tests (KAT) that was recently introduced to reason efficiently about imperative programs. In contrast to KAT, GKAT does not have an algebraic axiomatization, but relies on an analogue of Salomaa's axiomatization of Kleene Algebra. In this paper, we present an algebraic axiomatization and prove two completeness results fo… ▽ More

    Submitted 1 October, 2024; v1 submitted 26 January, 2023; originally announced January 2023.

  6. arXiv:2212.10931  [pdf, other

    cs.FL cs.LO

    An Elementary Proof of the FMP for Kleene Algebra

    Authors: Tobias Kappé

    Abstract: Kleene Algebra (KA) is a useful tool for proving that two programs are equivalent. Because KA's equational theory is decidable, it integrates well with interactive theorem provers. This raises the question: which equations can we (not) prove using the laws of KA? Moreover, which models of KA are complete, in the sense that they satisfy exactly the provable equations? Kozen (1994) answered these qu… ▽ More

    Submitted 10 August, 2024; v1 submitted 21 December, 2022; originally announced December 2022.

  7. arXiv:2211.11659  [pdf, other

    cs.NI

    Formal Abstractions for Packet Scheduling

    Authors: Anshuman Mohan, Yunhe Liu, Nate Foster, Tobias Kappé, Dexter Kozen

    Abstract: Early programming models for software-defined networking (SDN) focused on basic features for controlling network-wide forwarding paths, but more recent work has considered richer features, such as packet scheduling and queueing, that affect performance. In particular, PIFO trees, proposed by Sivaraman et al., offer a flexible and efficient primitive for programmable packet scheduling. Prior work h… ▽ More

    Submitted 19 October, 2023; v1 submitted 21 November, 2022; originally announced November 2022.

    ACM Class: C.2.1; E.1

  8. Leapfrog: Certified Equivalence for Protocol Parsers

    Authors: Ryan Doenges, Tobias Kappé, John Sarracino, Nate Foster, Greg Morrisett

    Abstract: We present Leapfrog, a Coq-based framework for verifying equivalence of network protocol parsers. Our approach is based on an automata model of P4 parsers, and an algorithm for symbolically computing a compact representation of a bisimulation, using "leaps." Proofs are powered by a certified compilation chain from first-order entailments to low-level bitvector verification conditions, which are di… ▽ More

    Submitted 18 May, 2022; originally announced May 2022.

    Journal ref: Proc. PLDI 2022, 950-965

  9. Concurrent NetKAT: Modeling and analyzing stateful, concurrent networks

    Authors: Jana Wagemaker, Nate Foster, Tobias Kappé, Dexter Kozen, Jurriaan Rot, Alexandra Silva

    Abstract: We introduce Concurrent NetKAT (CNetKAT), an extension of NetKAT with operators for specifying and reasoning about concurrency in scenarios where multiple packets interact through state. We provide a model of the language based on partially-ordered multisets (pomsets), which are a well-established mathematical structure for defining the denotational semantics of concurrent languages. We provide a… ▽ More

    Submitted 12 July, 2022; v1 submitted 25 January, 2022; originally announced January 2022.

    Journal ref: Proc. ESOP 2022, pp 575-602

  10. Guarded Kleene Algebra with Tests: Coequations, Coinduction, and Completeness

    Authors: Todd Schmid, Tobias Kappé, Dexter Kozen, Alexandra Silva

    Abstract: Guarded Kleene Algebra with Tests (GKAT) is an efficient fragment of KAT, as it allows for almost linear decidability of equivalence. In this paper, we study the (co)algebraic properties of GKAT. Our initial focus is on the fragment that can distinguish between unsuccessful programs performing different actions, by omitting the so-called early termination axiom. We develop an operational (coalgebr… ▽ More

    Submitted 20 May, 2021; v1 submitted 16 February, 2021; originally announced February 2021.

    Comments: 32 pages

    Journal ref: Proc. ICALP 2021, pp 142:1-142:14

  11. Learning Pomset Automata

    Authors: Gerco van Heerdt, Tobias Kappé, Jurriaan Rot, Alexandra Silva

    Abstract: We extend the L* algorithm to learn bimonoids recognising pomset languages. We then identify a class of pomset automata that accepts precisely the class of pomset languages recognised by bimonoids and show how to convert between bimonoids and automata.

    Submitted 15 February, 2021; originally announced February 2021.

    Journal ref: Proc. FoSSaCS 2021, pp 510-530

  12. Partially Observable Concurrent Kleene Algebra

    Authors: Jana Wagemaker, Paul Brunet, Simon Docherty, Tobias Kappé, Jurriaan Rot, Alexandra Silva

    Abstract: We introduce partially observable concurrent Kleene algebra (POCKA), an algebraic framework to reason about concurrent programs with control structures, such as conditionals and loops. POCKA enables reasoning about programs that can access variables and values, which we illustrate through concrete examples. We prove that POCKA is a sound and complete axiomatisation of a model of partial observatio… ▽ More

    Submitted 22 July, 2020; v1 submitted 15 July, 2020; originally announced July 2020.

    Comments: Accepted for publication at CONCUR 2020

    Journal ref: Proc. CONCUR 2020, 20:1-20:22

  13. Concurrent Kleene Algebra with Observations: from Hypotheses to Completeness

    Authors: Tobias Kappé, Paul Brunet, Alexandra Silva, Jana Wagemaker, Fabio Zanasi

    Abstract: Concurrent Kleene Algebra (CKA) extends basic Kleene algebra with a parallel composition operator, which enables reasoning about concurrent programs. However, CKA fundamentally misses tests, which are needed to model standard programming constructs such as conditionals and $\mathsf{while}$-loops. It turns out that integrating tests in CKA is subtle, due to their interaction with parallelism. In th… ▽ More

    Submitted 22 February, 2020; originally announced February 2020.

    Journal ref: Proc. FoSSaCS 2020, pp 381-400

  14. A Categorical Framework for Learning Generalised Tree Automata

    Authors: Gerco van Heerdt, Tobias Kappé, Jurriaan Rot, Matteo Sammartino, Alexandra Silva

    Abstract: Automata learning is a popular technique used to automatically construct an automaton model from queries. Much research went into devising ad hoc adaptations of algorithms for different types of automata. The CALF project seeks to unify these using category theory in order to ease correctness proofs and guide the design of new algorithms. In this paper, we extend CALF to cover learning of algebrai… ▽ More

    Submitted 2 May, 2022; v1 submitted 16 January, 2020; originally announced January 2020.

    Journal ref: Proc. CMCS 2022, pp 67-87

  15. arXiv:1907.05920  [pdf, ps, other

    cs.LO cs.PL

    Guarded Kleene Algebra with Tests: Verification of Uninterpreted Programs in Nearly Linear Time

    Authors: Steffen Smolka, Nate Foster, Justin Hsu, Tobias Kappé, Dexter Kozen, Alexandra Silva

    Abstract: 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 th… ▽ More

    Submitted 13 December, 2019; v1 submitted 12 July, 2019; originally announced July 2019.

    Comments: Extended version with appendix

    Journal ref: Proc. POPL 2020, pp 61:1-61:28

  16. Completeness and Incompleteness of Synchronous Kleene Algebra

    Authors: Jana Wagemaker, Marcello Bonsangue, Tobias Kappé, Jurriaan Rot, Alexandra Silva

    Abstract: Synchronous Kleene algebra (SKA), an extension of Kleene algebra (KA), was proposed by Prisacariu as a tool for reasoning about programs that may execute synchronously, i.e., in lock-step. We provide a countermodel witnessing that the axioms of SKA are incomplete w.r.t. its language semantics, by exploiting a lack of interaction between the synchronous product operator and the Kleene star. We then… ▽ More

    Submitted 16 July, 2019; v1 submitted 21 May, 2019; originally announced May 2019.

    Comments: Accepted at MPC 2019

    Journal ref: Proc. MPC 2019, pp 385-413

  17. Tree Automata as Algebras: Minimisation and Determinisation

    Authors: Gerco van Heerdt, Tobias Kappé, Jurriaan Rot, Matteo Sammartino, Alexandra Silva

    Abstract: We study a categorical generalisation of tree automata, as $Σ$-algebras for a fixed endofunctor $Σ$ endowed with initial and final states. Under mild assumptions about the base category, we present a general minimisation algorithm for these automata. We then build upon and extend an existing generalisation of the Nerode equivalence to a categorical setting and relate it to the existence of minimal… ▽ More

    Submitted 16 July, 2019; v1 submitted 18 April, 2019; originally announced April 2019.

    Journal ref: Proc. CALCO 2019, pp 6:1-6:22

  18. On Series-Parallel Pomset Languages: Rationality, Context-Freeness and Automata

    Authors: Tobias Kappé, Paul Brunet, Bas Luttik, Alexandra Silva, Fabio Zanasi

    Abstract: Concurrent Kleene Algebra (CKA) is a formalism to study concurrent programs. Like previous Kleene Algebra extensions, developing a correspondence between denotational and operational perspectives is important, for both foundations and applications. This paper takes an important step towards such a correspondence, by precisely relating bi-Kleene Algebra (BKA), a fragment of CKA, to a novel type of… ▽ More

    Submitted 14 December, 2018; v1 submitted 7 December, 2018; originally announced December 2018.

    Comments: Accepted manuscript

    Journal ref: J. Log. Algebraic Methods Program. 103, pp 130-153, 2019

  19. Kleene Algebra with Observations

    Authors: Tobias Kappé, Paul Brunet, Jurriaan Rot, Alexandra Silva, Jana Wagemaker, Fabio Zanasi

    Abstract: Kleene algebra with tests (KAT) is an algebraic framework for reasoning about the control flow of sequential programs. Generalising KAT to reason about concurrent programs is not straightforward, because axioms native to KAT in conjunction with expected axioms for concurrency lead to an anomalous equation. In this paper, we propose Kleene algebra with observations (KAO), a variant of KAT, as an al… ▽ More

    Submitted 21 August, 2019; v1 submitted 16 November, 2018; originally announced November 2018.

    Journal ref: Proc. CONCUR 2019, pp 41:1-41:16

  20. Equivalence checking for weak bi-Kleene algebra

    Authors: Tobias Kappé, Paul Brunet, Bas Luttik, Alexandra Silva, Fabio Zanasi

    Abstract: Pomset automata are an operational model of weak bi-Kleene algebra, which describes programs that can fork an execution into parallel threads, upon completion of which execution can join to resume as a single thread. We characterize a fragment of pomset automata that admits a decision procedure for language equivalence. Furthermore, we prove that this fragment corresponds precisely to series-ratio… ▽ More

    Submitted 11 August, 2021; v1 submitted 5 July, 2018; originally announced July 2018.

    Journal ref: Logical Methods in Computer Science, Volume 17, Issue 3 (August 13, 2021) lmcs:7502

  21. arXiv:1805.04402  [pdf, ps, other

    cs.CL cs.FL

    Decision problems for Clark-congruential languages

    Authors: Makoto Kanazawa, Tobias Kappé

    Abstract: A common question when studying a class of context-free grammars is whether equivalence is decidable within this class. We answer this question positively for the class of Clark-congruential grammars, which are of interest to grammatical inference. We also consider the problem of checking whether a given CFG is Clark-congruential, and show that it is decidable given that the CFG is a DCFG.

    Submitted 21 August, 2018; v1 submitted 11 May, 2018; originally announced May 2018.

    Comments: Version 2 incorporates revisions prompted by the comments of anonymous referees at ICGI and LearnAut

    Journal ref: PMLR 93 (Proc. ICGI 2018), pp 3-16

  22. Concurrent Kleene Algebra: Free Model and Completeness

    Authors: Tobias Kappé, Paul Brunet, Alexandra Silva, Fabio Zanasi

    Abstract: Concurrent Kleene Algebra (CKA) was introduced by Hoare, Moeller, Struth and Wehrman in 2009 as a framework to reason about concurrent programs. We prove that the axioms for CKA with bounded parallelism are complete for the semantics proposed in the original paper; consequently, these semantics are the free model for this fragment. This result settles a conjecture of Hoare and collaborators. Moreo… ▽ More

    Submitted 26 February, 2018; v1 submitted 8 October, 2017; originally announced October 2017.

    Comments: Version 2 includes an overview section that outlines the completeness proof, as well as some extra discussion of the interpolation lemma. It also includes better typography and a number of minor fixes. Version 3 incorporates the changes by comments from the anonymous referees at ESOP. Among other things, these include a worked example of computing the syntactic closure by hand

    Journal ref: Proc. ESOP 2018, pp 856-882

  23. A Component-oriented Framework for Autonomous Agents

    Authors: Tobias Kappé, Farhad Arbab, Carolyn Talcott

    Abstract: The design of a complex system warrants a compositional methodology, i.e., composing simple components to obtain a larger system that exhibits their collective behavior in a meaningful way. We propose an automaton-based paradigm for compositional design of such systems where an action is accompanied by one or more preferences. At run-time, these preferences provide a natural fallback mechanism for… ▽ More

    Submitted 31 July, 2017; originally announced August 2017.

    Journal ref: Proc. FACS 2017, pp 20-38

  24. Brzozowski Goes Concurrent - A Kleene Theorem for Pomset Languages

    Authors: Tobias Kappé, Paul Brunet, Bas Luttik, Alexandra Silva, Fabio Zanasi

    Abstract: Concurrent Kleene Algebra (CKA) is a mathematical formalism to study programs that exhibit concurrent behaviour. As with previous extensions of Kleene Algebra, characterizing the free model is crucial in order to develop the foundations of the theory and potential applications. For CKA, this has been an open question for a few years and this paper makes an important step towards an answer. We pres… ▽ More

    Submitted 22 October, 2017; v1 submitted 24 April, 2017; originally announced April 2017.

    Comments: Version 2 incorporates changes prompted by comments of the anonymous referees at CONCUR. Besides minor corrections, this includes additions to the introduction and the discussion section, as well as a proof of Lemma 2.5. Version 3 corrects the accent on the first author's surname in the metadata

    Journal ref: Proc. CONCUR 2017, pp 25:1-25:16

  25. A Compositional Framework for Preference-Aware Agents

    Authors: Tobias Kappé, Farhad Arbab, Carolyn Talcott

    Abstract: A formal description of a Cyber-Physical system should include a rigorous specification of the computational and physical components involved, as well as their interaction. Such a description, thus, lends itself to a compositional model where every module in the model specifies the behavior of a (computational or physical) component or the interaction between different components. We propose a fra… ▽ More

    Submitted 15 December, 2016; originally announced December 2016.

    Comments: In Proceedings V2CPS-16, arXiv:1612.04023

    Journal ref: EPTCS 232, 2016, pp. 21-35