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.
Article PDF
Similar content being viewed by others
Avoid common mistakes on your manuscript.
References
Hoare C A R. An axiomatic basis for computer programming. Communications of the ACM, 1969, 12(10), 576–583
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
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
Kozen D, Tiuryn J. On the completeness of propositional Hoare logic. Information Science, 2001, 139(3), 187–195
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
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
Parkinson M, Bierman G. Separation logic and abstraction. ACM SIGPLAN Notices, 2005, 40(1): 247–258
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
Cook S A. Soundness and completeness of an axiom system for program verification. SIAM Journal on Computing, 1978, 7(1): 70–90
Rogers H. Theory of Recursive Functions and Effective Computability. New York: McGraw-Hill, 1967
Kaye R. Models of Peano Arithmetic. Oxford: Oxford University Press, 1991
Author information
Authors and Affiliations
Corresponding author
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
About this article
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
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11704-015-4024-2