paper-with-me

홈 › Papers

On Incorrectness Logic and Kleene Algebra with Top and Tests

2021-08-17 · Cheng Zhang, Arthur Azevedo de Amorim, Marco Gaboardi

Kleene algebra with tests (KAT) is a foundational equational framework for reasoning about programs, which has found applications in program transformations, networking and compiler optimizations, among many other areas. In his seminal work, Kozen proved that KAT subsumes propositional Hoare logic, showing that one can reason about the (partial) correctness of while programs by means of the equational theory of KAT. In this work, we investigate the support that KAT provides for reasoning about incorrectness, instead, as embodied by Ohearn's recently proposed incorrectness logic. We show that KAT cannot directly express incorrectness logic. The main reason for this limitation can be traced to the fact that KAT cannot express explicitly the notion of codomain, which is essential to express incorrectness triples. To address this issue, we study Kleene Algebra with Top and Tests (TopKAT), an extension of KAT with a top element. We show that TopKAT is powerful enough to express a codomain operation, to express incorrectness triples, and to prove all the rules of incorrectness logic sound. This shows that one can reason about the incorrectness of while-like programs by means of the equational theory of TopKAT.

📄 PDF Abstract BibTeX arXiv:2108.07707

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

MSO with tests and reducts

2019-09-01 · WS 2019 9 · Fern, Tim o, David Woods, Carl Vogel

Tests added to Kleene algebra (by Kozen and others) are considered within Monadic Second Order logic over strings, where they are likened to statives in natural language. Reducts are formed over tests and non-tests alike…

Kleene algebra with commutativity conditions is undecidable

2024-11-24 · Arthur Azevedo de Amorim, Cheng Zhang, Marco Gaboardi

We prove that the equational theory of Kleene algebra with commutativity conditions on primitives (or atomic terms) is undecidable, thereby settling a longstanding open question in the theory of Kleene algebra. While thi…

Shades of Iteration: from Elgot to Kleene

2023-01-15 · Sergey Goncharov

Notions of iteration range from the arguably most general Elgot iteration to a very specific Kleene iteration. The fundamental nature of Elgot iteration has been extensively explored by Bloom and Esik in the form of iter…

Form

The algebra of Krom logic programs

2026-06-14 · Christian Antić arxiv

This paper investigates the algebraic structure of Krom logic programs, consisting only of facts and rules with at most one body atom. We show that sequential composition endows the class of Krom programs with a natural …

Topological and Algebraic Structures of Atanassov's Intuitionistic Fuzzy-Values Space

2021-11-17 · Xinxing Wu, Tao Wang, Qian Liu, Peide Liu 외

We prove that the space of intuitionistic fuzzy values (IFVs) with a linear order based on a score function and an accuracy function has the same algebraic structure as the one induced by a linear order based on a simila…

Negation