Hoare logic for NanoJava: Auxiliary variables, side effects, and virtual methods revisited

31Citations
Citations of this article
11Readers
Mendeley users who have this article in their library.
Get full text

Abstract

We define NanoJava, a kernel of Java tailored to the investigation of Hoare logics. We then introduce a Hoare logic for this language featuringan elegant approach for expressingauxiliary variables: by universal quantification on the outer logical level. Furthermore, we give simple means of handlingside-effectingexpressions and dynamic bindingwithin method calls. The logic is proved sound and (relatively) complete usingIsab elle/HOL.

Cite

CITATION STYLE

APA

von Oheimb, D., & Nipkow, T. (2002). Hoare logic for NanoJava: Auxiliary variables, side effects, and virtual methods revisited. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 2391, pp. 89–105). Springer Verlag. https://doi.org/10.1007/3-540-45614-7_6

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free