Notes on Sequential Program Verification
نویسنده
چکیده
We discuss the method of Inductive Assertions introduced by Floyd and refined by Hoare, and others. We will study the following idealized problem: Given a program written in a simple imperative language without input/output commands or procedure calls, is it correct? It is possible to introduce input/output, procedure calls and many other features for the programming language, but we will restrict ourselves to the following constructs:
منابع مشابه
Java+ITP: A Verification Tool Based on Hoare Logic and Algebraic Semantics
Java+ITP is an experimental tool for the verification of properties of a sequential imperative subset of the Java language. It is based on an algebraic continuation passing style (CPS) semantics of this fragment as an equational theory in Maude. It supports compositional reasoning in a Hoare logic for this Java fragment that we propose and prove correct with respect to the algebraic semantics. ...
متن کاملSAT-based methods for sequential hardware equivalence verification without synchronization
The BDDand SAT-based model checking and verification methods normally require an initial state. Here we are concerned with sequential hardware verification, where an initial state must be one of the reset states. In practice, a reset state is not always given by the designer, and computing a reset state of a circuit is a hard problem. In this paper we propose a method allowing usage of SAT-base...
متن کاملA Simple Sequential Reasoning Approach for Sound Modular Verification of Mainstream Multithreaded Programs
Reasoning about multithreaded object-oriented programs is difficult, due to the non-local nature of object aliasing, data races, and deadlocks. We propose a programming model that prevents data races and deadlocks, and supports local reasoning in the presence of object aliasing and concurrency. Our programming model builds on the multi-threading and synchronization primitives as they are presen...
متن کاملCompositionality Entails Sequentializability
We show that any concurrent program that is amenable to compositional reasoning can be effectively translated to a sequential program. More precisely, we give a reduction from the verification problem for concurrent programs against safety specifications to the verification of sequential programs against safety specifications, where the reduction is parameterized by a set of auxiliary variables...
متن کامل