Pith. sign in

REVIEW 1 cited by

On Incorrectness Logic and Kleene Algebra with Top and Tests

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2108.07707 v4 pith:OC7HEPHB submitted 2021-08-17 cs.PL cs.CL

classification cs.PLcs.CL
keywords incorrectnessexpresslogicalgebraequationalkleeneprogramsreason
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

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.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Kleene algebra with commutativity conditions is undecidable

    math.LO 2024-11 conditional novelty 7.0 of 10

    The equational theory of Kleene algebra with commutativity conditions on primitives is undecidable, and this holds already for pre-Kleene algebras without induction axioms, with Sigma-0-1 completeness.

Pith tools