On the Completeness of Dynamic Logic

The impossibility of semantically complete deductive calculi for logics for imperative programs has led to the study of two alternative approaches to completeness: "local" semantic completeness on the one hand (Cook's relative completeness, Harel's Arithmetical completeness), and completeness with respect to other forms of reasoning about programs, on the other. However, local semantic completeness is problematic on several counts, whereas proof theoretic completeness results often involve ad hoc ingredients, such as formal theories for the natural numbers. The notion of inductive completeness, introduced in [18], provides a generic proof theoretic framework which dispenses with extraneous ingredients, and yields local semantic completeness as a corollary. Here we prove that (first-order) Dynamic Logic for regular programs (DL) is inductively complete: a DL-formula φ is provable in (the first-order variant of) Pratt-Segerberg deductive calculus DL iff φ , is provable in first-order logic from the inductive theory for program semantics. The method can be adapted to yield the schematic relative completeness of DL: if $\mathcal{S}$ is an expressive structure, then every formula true in $\mathcal{S}$ is provable from the axiom-schemas that are valid in $\mathcal{S}$. Harel's Completeness Theorem falls out then as a special case.

[1]  Hirokazu Nishimura Arithmetical Completeness in First-Order Dynamic Logic for Concurrent Programs , 1981 .

[2]  S. Feferman Formal Theories for Transfinite Iterations of Generalized Inductive Definitions and Some Subsystems of Analysis , 1970 .

[3]  Ildikó Sain,et al.  A Complete Logic for Reasoning about Programs via Nonstandard Model Theory II , 1982, Theor. Comput. Sci..

[4]  W. Buchholz Iterated Inductive Definitions and Subsystems of Analysis: Recent Proof-theoretical Studies , 1981 .

[5]  Bernhard Beckert,et al.  Dynamic Logic with Non-rigid Functions , 2006, IJCAR.

[6]  Jerzy Tiuryn,et al.  Dynamic logic , 2001, SIGA.

[7]  Thomas L. Saaty,et al.  Lectures on modern mathematics , 1963 .

[8]  Larry Wos,et al.  What Is Automated Reasoning? , 1987, J. Autom. Reason..

[9]  Ildikó Sain,et al.  A Complete Logic for Reasoning about Programs via Nonstandard Model Theory I , 1982, Theor. Comput. Sci..

[10]  Vaughan R. Pratt,et al.  Semantical consideration on floyo-hoare logic , 1976, 17th Annual Symposium on Foundations of Computer Science (sfcs 1976).

[11]  K. Segerberg A completeness theorem in the modal logic of programs , 1982 .

[12]  Stephen A. Cook,et al.  Soundness and Completeness of an Axiom System for Program Verification , 1978, SIAM J. Comput..

[13]  Maribel Fernández,et al.  Curry-Style Types for Nominal Terms , 2006, TYPES.

[14]  J. Fenstad Proceedings of the Second Scandinavian Logic Symposium , 1971 .

[15]  Ildikó Sain An Elementary Proof for Some Semantic Characterizations of Nondeterministic Floyd-Hoare Logic , 1989, Notre Dame J. Formal Log..

[16]  Edmund M. Clarke,et al.  Programming Language Constructs for Which It Is Impossible To Obtain Good Hoare Axiom Systems , 1979, JACM.

[17]  Daniel Leivant Logical and mathematical reasoning about imperative programs: preliminary report , 1985, POPL '85.

[18]  P. Martin-Löf Hauptsatz for the Intuitionistic Theory of Iterated Inductive Definitions , 1971 .

[19]  Joseph R. Shoenfield,et al.  Mathematical logic , 1967 .

[20]  Albert R. Meyer,et al.  Computability and completeness in logics of programs (Preliminary Report) , 1977, STOC '77.

[21]  David Harel,et al.  First-Order Dynamic Logic , 1979, Lecture Notes in Computer Science.

[22]  Michael Rathjen,et al.  Generalized Inductive Definitions in Constructive Set Theory , 2005, From sets and types to topology and analysis.

[23]  Andreas Blass,et al.  The Underlying Logic of Hoare Logic , 2000, Bull. EATCS.

[24]  Solomon Feferman,et al.  Inductive definitions and subsystems of analysis , 1981 .

[25]  Daniel Leivant,et al.  Logical and Mathematical Reasoning about Imperative Programs. , 1985 .

[26]  L. Csirmaz Programs and Program Verifications in a General Setting , 1981, Theor. Comput. Sci..

[27]  Daniel Leivant,et al.  Matching Explicit and Modal Reasoning about Programs: A Proof Theoretic Delineation of Dynamic Logic , 2006, 21st Annual IEEE Symposium on Logic in Computer Science (LICS'06).

[28]  Furio Honsell,et al.  A Natural Deduction Approach to Dynamic Logic , 1995, TYPES.

[29]  Robin Milner,et al.  Theories for the Global Ubiquitous Computer , 2004, FoSSaCS.

[30]  Vaughan R. Pratt,et al.  SEMANTICAL CONSIDERATIONS ON FLOYD-HOARE LOGIC , 1976, FOCS 1976.

[31]  Akiko Kino,et al.  Intuitionism and Proof Theory , 1970 .

[32]  Daniel Leivant,et al.  Inductive Completeness of Logics of Programs , 2008, LFMTP@LICS.

[33]  A. Szelas,et al.  On strictly arithmetical completeness in logics of programs , 1991 .

[34]  Daniel Leivant,et al.  Partial Correctness Assertions Provable in Dynamic Logics , 2004, FoSSaCS.

[35]  Yde Venema,et al.  Dynamic Logic by David Harel, Dexter Kozen and Jerzy Tiuryn. The MIT Press, Cambridge, Massachusetts. Hardback: ISBN 0–262–08289–6, $50, xv + 459 pages , 2002, Theory and Practice of Logic Programming.