arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Computer Science · Computational Theory and Mathematics

A Regular-Language Model for Hoare-Style Correctness Statements

See on the map

Abstract

Abstract Recent developments in game semantics have led to fully abstract models for a variety of theoretically important programming languages. While the full-blown game models tend to be complex and unwieldy for practical purposes, language subsets without higher-order and recursive functions allow greatly simplified models. Two previous papers of the author show how imperative languages with first order functions, local variables and arrays can be modeled using regular languages only. This paper examines the possibility of using these theoretical developments as a basis for model-checking Hoare-style partial correctness statements for such languages. The model-checking problem is shown to be decidable. 1 Introduction Finding fully abstract denotational models, i.e. models that are both correct and complete, for prototypical programming languages, such as PCF, Algol or ML, has been an open problem for decades. Only in the last decade fundamental developments in game semantics led to a solution to this problem. A flurry of remarkable theoretical results showed that game-based techniques can give fully abstract models for pure functional languages [2,14,16], imperative languages with local variables and higher-order procedures [3,4], languages with general references [1], languages with generalized control [15] and more.

More like this