scispace - formally typeset
Open Access

Logics of Programs.

Dexter Kozen, +1 more
- pp 789-840
Reads0
Chats0
TLDR
In this paper, the authors present an introduction to some of the basic issues in the study of program logics and discuss their syntax, semantics, proof theory, and expressiveness.
Abstract
Publisher Summary This chapter presents an introduction to some of the basic issues in the study of program logics. The chapter describes various forms of first-order Dynamic Logic and discusses their syntax, semantics, proof theory, and expressiveness. The chapter discusses the power of auxiliary data structures such as arrays and stacks, and a powerful assignment statement called the nondeterministic assignment. Program logics differ from classical logics in that truth is dynamic rather than static. In classical predicate logic, the truth value of a formula is determined by a valuation of its free variables over some structure. The valuation and the truth value of the formula it induces are regarded as immutable. In program logics, there are explicit syntactic constructs called programs to change the values of variables, thereby changing the truth values of formulas. There are two main approaches to modal logics of programs: (1) the exogenous approach, exemplified by Dynamic Logic and its precursor, the Partial Correctness Assertions Method; and (2) the endogenous approach, exemplified by Temporal Logic and its precursor, the Inductive Assertions Method.

read more

Citations
More filters
Book ChapterDOI

Applying Data Refinement for Monadic Programs to Hopcroft’s Algorithm

TL;DR: This work provides a framework for program and data refinement in Isabelle/HOL based on a refinement calculus for monadic expressions and provides tools to automate canonical tasks such as verification condition generation.
Journal ArticleDOI

Ontology-based modelling of architectural styles

TL;DR: This work proposes an ontological approach for architectural style modelling based on description logic as an abstract, meta-level modelling instrument and introduces a framework for style definition and style combination.
Book ChapterDOI

Model checking-based genetic programming with an application to mutual exclusion

TL;DR: This work presents the considerations behind the selection of a fitness function based not only on the classical outcome of model checking, i.e., the existence of an error trace, but on the complete graph constructed during the model checking process.
Journal ArticleDOI

On the Relationship Between BDI Logics and Standard Logics of Concurrency

TL;DR: The result shows that the basic BDI theory, BDICTL*, can be captured within a standard logic of concurrency, and provides the first axiomatization of Rao and Georgeff's full theory.
Journal ArticleDOI

Formal specification languages in knowledge and software engineering

TL;DR: It seems quite natural to compare formal languages for specifying KBS with formal languages which were developed by the software community for specifying software systems, the subject of this paper.
References
More filters
Proceedings ArticleDOI

The temporal logic of programs

Amir Pnueli
TL;DR: A unified approach to program verification is suggested, which applies to both sequential and parallel programs, and the main proof method is that of temporal reasoning in which the time dependence of events is the basic concept.
Book ChapterDOI

Temporal and modal logic

TL;DR: In this article, a multiaxis classification of temporal and modal logic is presented, and the formal syntax and semantics for two representative systems of propositional branching-time temporal logics are described.
Journal ArticleDOI

An axiomatic basis for computer programming

TL;DR: An attempt is made to explore the logical foundations of computer programming by use of techniques which were first applied in the study of geometry and have later been extended to other branches of mathematics.
Journal ArticleDOI

Propositional dynamic logic of regular programs

TL;DR: A formal syntax and semantics for the propositional dynamic logic of regular programs is defined and principal conclusions are that deciding satisfiability of length n formulas requires time d n /log n for some d > 1, and that satisfiability can be decided in nondeterministic time cn for some c.