2012Illinois Digital Environment for Access to Learning and Scholarship (University of Illinois at Urbana-Champaign)Open access

From Hoare Logic to Matching Logic

Grigore Roşu

Open full text 3 citations

Abstract

Matching logic has been recently proposed as an alternative program \nverification approach. \nUnlike Hoare logic, where one defines a language-specific proof system \nthat needs to be proved sound for each language \nseparately, matching logic provides a language-independent and \nsound proof system \nthat directly uses the trusted operational semantics of the language as axioms. \nMatching logic thus has a clear practical advantage: it eliminates the need for \nan additional semantics of the same language in order to reason about programs, \nand implicitly eliminates the need for tedious soundness proofs. \nWhat is not clear, however, is whether matching logic is as powerful as \nHoare logic. \nThis paper introduces a technique to mechanically translate Hoare logic proof \nderivations into equivalent matching logic proof derivations. \nThe presented technique has two consequences: first, it suggests that matching \nlogic has no theoretical limitation over Hoare logic; and second, it provides a new \napproach to prove Hoare logics sound.

Open-access reader

About this research paper

What this paper is about

Matching logic has been recently proposed as an alternative program \nverification approach. \nUnlike Hoare logic, where one defines a language-specific proof system \nthat needs to be proved sound for each language \nseparately, matching logic provides a language-independent and \nsound proof system \nthat directly uses the trusted operational semantics of the language as axioms. \nMatching logic thus has a clear practical advantage: it eliminates the need for \nan additional semantics of the same language in order to reason about programs, \nand implicitly eliminates the need for tedious soundness proofs. \nWhat is not clear, however, is whether matching logic is as powerful as \nHoare logic. \nThis paper introduces a technique to mechanically translate Hoare logic proof \nderivations into equivalent matching logic proof derivations. \nThe presented technique has two consequences: first, it suggests that matching \nlogic has no theoretical limitation over Hoare logic; and second, it provides a new \napproach to prove Hoare logics sound.

Why it matters

OpenAlex reports 3 citations for this work. Citation counts describe recorded attention and do not establish research quality.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available abstract

Matching logic has been recently proposed as an alternative program \nverification approach. \nUnlike Hoare logic, where one defines a language-specific proof system \nthat needs to be proved sound for each language \nseparately, matching logic provides a language-independent and \nsound proof system \nthat directly uses the trusted operational semantics of the language as axioms. \nMatching logic thus has a clear practical advantage: it eliminates the need for \nan additional semantics of the same language in order to reason about programs, \nand implicitly eliminates the need for tedious soundness proofs. \nWhat is not clear, however, is whether matching logic is as powerful as \nHoare logic. \nThis paper introduces a technique to mechanically translate Hoare logic proof \nderivations into equivalent matching logic proof derivations. \nThe presented technique has two consequences: first, it suggests that matching \nlogic has no theoretical limitation over Hoare logic; and second, it provides a new \napproach to prove Hoare logics sound.

Key concepts: Hoare logic, Axiomatic semantics, Programming language, Separation logic, Computer science, Soundness, Bunched logic, Higher-order logic

Related papers

Back to paper searchBrowse research topicsOriginal source
From Hoare Logic to Matching Logic — Research Paper | ScholarLens