60
views
0
recommends
+1 Recommend
0 collections
    0
    shares
      • Record: found
      • Abstract: found
      • Article: found
      Is Open Access

      A New Perspective for Hoare's Logic and Peano's Arithmetic

      Preprint

      Read this article at

      Bookmark
          There is no author summary for this article yet. Authors can add summaries to their articles on ScienceOpen to make them more accessible to a non-specialist audience.

          Abstract

          Hoare's logic is an axiomatic system of proving programs correct, which has been extended to be a separation logic to reason about mutable heap structure. We develop the most fundamental logical structure of strongest postcondition of Hoare's logic in Peano's arithmetic \(PA\). Let \(p\in L\) and \(S\) be any while-program. The arithmetical definability of \(\textbf{N}\)-computable function \(f_S^{\textbf{N}}\) leads to separate \(S\) from \(SP(p,S)\), which defines the strongest postcondition of \(p\) and \(S\) over \(\textbf{N}\), achieving an equivalent but more meaningful form in \(PA\). From the reduction of Hoare's logic to PA, together with well-defined underlying semantics, it follows that Hoare's logic is sound and complete relative to the theory of \(PA\), which is different from the relative completeness in the sense of Cook. Finally, we discuss two ways to extend computability from the standard structure to nonstandard models of \(PA\).

          Related collections

          Most cited references8

          • Record: found
          • Abstract: not found
          • Article: not found

          An axiomatic basis for computer programming

          C. Hoare (1969)
            Bookmark
            • Record: found
            • Abstract: not found
            • Article: not found

            Ten Years of Hoare's Logic: A Survey---Part I

              Bookmark
              • Record: found
              • Abstract: not found
              • Article: not found

              Soundness and Completeness of an Axiom System for Program Verification

                Bookmark

                Author and article information

                Journal
                18 November 2013
                Article
                1311.4617
                8064b610-9bfd-437e-8dd9-f67b38098ed3

                http://creativecommons.org/licenses/by-nc-sa/3.0/

                History
                Custom metadata
                cs.LO

                Comments

                Comment on this article