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.
CITATION STYLE
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
Mendeley helps you to discover research relevant for your work.