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

A Temporal Logic of Nested Calls and Returns

TL;DR: This work introduces a temporal logic of calls and returns (CaRet) for specification and algorithmic verification of correctness requirements of structured programs and presents a tableau construction that reduces the model checking problem to the emptiness problem for a Buchi pushdown system.
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.
Book

Dynamic Logic

TL;DR: This book provides the first comprehensive introduction to Dynamic Logic, a system of remarkable unity that is theoretically rich as well as of practical value.
Book ChapterDOI

Automata on infinite objects

TL;DR: This chapter discusses the formulation of two interesting generalizations of Rabin's Tree Theorem and presents some remarks on the undecidable extensions of the monadic theory of the binary tree.
Book ChapterDOI

Languages, automata, and logic

TL;DR: The subject of this chapter is the study of formal languages (mostly languages recognizable by finite automata) in the framework of mathematical logic.
References
More filters
Proceedings ArticleDOI

Propositional Dynamic Logic of looping and converse

TL;DR: Propositional Dynamic Logic can be extended to include both an infinitary iteration construct delta and a backtracking construct converse, and the resulting logic does not satisfy the finite model property, but is nevertheless elementarily decidable.
Journal ArticleDOI

A near-optimal method for reasoning about action☆

TL;DR: An algorithm for "before-after" reasoning about action that decides satisfiability and validity of formulas of propositional dynamic logic, a recently developed logic of change of state that subsumes the zero-order component of most other action-oriented logics.
Journal ArticleDOI

Countable nondeterminism and random assignment

TL;DR: Four semantics for a small programming language involving unbounded (but countable) nondeterminism are provided and a Hoare-like proof system for total correctness is introduced and its soundness and completeness in an appropriate sense are shown.
Journal ArticleDOI

An elementary proof of the completeness of PDL

TL;DR: An elementary proof of the completeness of the Segerberg axions for Propositional Dynamic Logic is given.
Proceedings ArticleDOI

Improved upper and lower bounds for modal logics of programs

TL;DR: In this paper, the satisfiability problem for several modal logics of programs is reduced to the emptiness problem for hybrid tree automata, which is shown to be solvable in deterministic doubly exponential time.