Deciding KAT and Hoare Logic with Derivatives

Type: Article

Publication Date: 2012-10-07

Citations: 9

DOI: https://doi.org/10.4204/eptcs.96.10

Download PDF

Abstract

Kleene algebra with tests (KAT) is an equational system for program verification, which is the combination of Boolean algebra (BA) and Kleene algebra (KA), the algebra of regular expressions. In particular, KAT subsumes the propositional fragment of Hoare logic (PHL) which is a formal system for the specification and verification of programs, and that is currently the base of most tools for checking program correctness. Both the equational theory of KAT and the encoding of PHL in KAT are known to be decidable. In this paper we present a new decision procedure for the equivalence of two KAT expressions based on the notion of partial derivatives. We also introduce the notion of derivative modulo particular sets of equations. With this we extend the previous procedure for deciding PHL. Some experimental results are also presented.

Locations

  • arXiv (Cornell University) - PDF
  • DOAJ (DOAJ: Directory of Open Access Journals) - View
  • DataCite API - View

Similar Works

Action Title Year Authors
+ Feasibly Reducing KAT Equations to KA Equations 2008 James Worthington
+ Kleene Algebra with Tests and Coq Tools for While Programs 2013 Damien Pous
+ Kleene Algebra with Tests and Coq Tools for While Programs 2013 Damien Pous
+ PDF Chat A Taxonomy of Hoare-Like Logics: Towards a Holistic View using Predicate Transformers and Kleene Algebras with Top and Tests 2024 Lena Verscht
Benjamin Lucien Kaminski
+ PDF Chat Guarded Kleene algebra with tests: verification of uninterpreted programs in nearly linear time 2019 Steffen Smolka
Nate Foster
Justin Hsu
Tobias Kappé
Dexter Kozen
Alexandra Silva
+ Kleene algebra with domain 2003 Josée Desharnais
Bernhard Möller
Georg Struth
+ Differential Hoare Logics and Refinement Calculi for Hybrid Systems with Isabelle/HOL 2019 Simon Foster
Jonathan Julián Huerta y Munive
Georg Struth
+ Differential Hoare Logics and Refinement Calculi for Hybrid Systems with Isabelle/HOL 2019 Simon J. Foster
Jonathan Julián Huerta y Munive
Georg Struth
+ A Taxonomy of Hoare-Like Logics: Towards a Holistic View using Predicate Transformers and Kleene Algebras with Top and Tests 2025 Lena Verscht
Benjamin Lucien Kaminski
+ Generalising KAT to verify weighted computations 2019 Leandro Gomes
Alexandre Madeira
Lu­ís Soares Barbosa
+ Generalising KAT to verify weighted computations 2019 Leandro Gomes
Alexandre Madeira
Lu­ís Soares Barbosa
+ Local Completeness Logic on Kleene Algebra with Tests 2022 Marco Milanese
Francesco Ranzato
+ PDF Chat On incorrectness logic and Kleene algebra with top and tests 2022 Cheng Zhang
Arthur Azevedo de Amorim
Marco Gaboardi
+ On Incorrectness Logic and Kleene Algebra with Top and Tests 2021 Cheng Zhang
Arthur Azevedo de Amorim
Marco Gaboardi
+ PDF Chat Generalising KAT to Verify Weighted Computations 2019 Leandro Gomes
Alexandre Madeira
Lu­ís Soares Barbosa
+ One-sorted Program Algebras 2022 Igor Sedlár
J. J. Wannenburg
+ PDF Chat Algebraic reasoning of Quantum programs via non-idempotent Kleene algebra 2022 Yuxiang Peng
Mingsheng Ying
Xiaodi Wu
+ Hoare-Like Triples and Kleene Algebras with Top and Tests: Towards a Holistic Perspective on Hoare Logic, Incorrectness Logic, and Beyond 2023 Lena Verscht
Benjamin Lucien Kaminski
+ Kleene Algebra With Tests for Weighted Programs 2023 Igor Sedlár
+ PDF Chat Kleene Algebra With Tests for Weighted Programs 2023 Igor Sedlár

Works Cited by This (1)

Action Title Year Authors
+ A coalgebraic approach to Kleene algebra with tests 2004 Hubie Chen
Riccardo Pucella