Skip to main content
Log in

The M-computations induced by accessibility relations in nonstandard models M of Hoare logic

  • Research Article
  • Published:
Frontiers of Computer Science Aims and scope Submit manuscript

Abstract

Hoare logic [1] is a logic used as a way of specifying semantics of programming languages, which has been extended to be a separation logic to reason about mutable heap structure [2]. In a model M of Hoare logic, each program α induces an M-computable function f α M on the universe of M; and the M-recursive functions are defined on M. It will be proved that the class of all the M-computable functions f α M induced by programs is equal to the class of all the M-recursive functions. Moreover, each M-recursive function is \(\sum {_1^{{N^M}}} \)-definable in M, where the universal quantifier is a number quantifier ranging over the standard part of a nonstandard model M.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Hoare C A R. An axiomatic basis for computer programming. Communications of the ACM, 1969, 12(10), 576–583

    Article  MATH  Google Scholar 

  2. Apt K R. Ten years of Hoare’s logic: a survey-part 1. ACM Transactions on Programming Languages and Systems, 1981, 3(4), 431–483

    Article  MATH  Google Scholar 

  3. Bergstra J A, Tucker J V. Expressiveness and the completeness of Hoare’s logic. Journal of Computer and System Science, 1982, 25(3), 267–284

    Article  MathSciNet  MATH  Google Scholar 

  4. Kozen D, Tiuryn J. On the completeness of propositional Hoare logic. Information Science, 2001, 139(3), 187–195

    Article  MathSciNet  MATH  Google Scholar 

  5. Lamport L, Schneider F B. The “Hoare logic” of CSP, and all that. ACM Transactions on Programming Languages and Systems, 1984, 6(2), 281–296

    Article  MATH  Google Scholar 

  6. O’Hearn P W, Yang H, Reynolds J C. Separation and information hiding. In: Proceedings of the 31st ACM SIGPLAN-SIGACT symposium on Principles of programming languages. 2004, 268–280

    Chapter  Google Scholar 

  7. Parkinson M, Bierman G. Separation logic and abstraction. ACM SIGPLAN Notices, 2005, 40(1): 247–258

    Article  Google Scholar 

  8. Reynolds J C. Separation logic: a logic for shared mutable data structures. In: Proceedings of the 17th Annual IEEE Symposium on Logic in Computer Science. 2002, 55–74

    Chapter  Google Scholar 

  9. Cook S A. Soundness and completeness of an axiom system for program verification. SIAM Journal on Computing, 1978, 7(1): 70–90

    Article  MathSciNet  MATH  Google Scholar 

  10. Rogers H. Theory of Recursive Functions and Effective Computability. New York: McGraw-Hill, 1967

    MATH  Google Scholar 

  11. Kaye R. Models of Peano Arithmetic. Oxford: Oxford University Press, 1991

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Cungen Cao.

Additional information

Cungen Cao is a professor in the Institute of Computing Technology, Chinese Academy of Sciences, China. His main research interest is knowledge representation.

Yuefei Sui is a professor in the Institute of Computing Technology, Chinese Academy of Sciences, China. His main interests include knowledge representation, applied logic and the theory of computability.

Zaiyue Zhang is a professor in Jiangsu University of Sciences and Technology, China. His main interests include applied logic and computer theory.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Cao, C., Sui, Y. & Zhang, Z. The M-computations induced by accessibility relations in nonstandard models M of Hoare logic. Front. Comput. Sci. 10, 717–725 (2016). https://doi.org/10.1007/s11704-015-4024-2

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11704-015-4024-2

Keywords

Navigation