𝔖 Bobbio Scriptorium
✦   LIBER   ✦

Hoare logic for Java in Isabelle/HOL

✍ Scribed by David von Oheimb


Book ID
102120116
Publisher
John Wiley and Sons
Year
2001
Tongue
English
Weight
386 KB
Volume
13
Category
Article
ISSN
1532-0626

No coin nor oath required. For personal study only.

✦ Synopsis


Abstract

This article presents a Hoare‐style calculus for a substantial subset of Java Card, which we call Java$^{\ell ight}$. In particular, the language includes side‐effecting expressions, mutual recursion, dynamic method binding, full exception handling, and static class initialization.

The Hoare logic of partial correctness is proved not only sound (w.r.t. our operational semantics of Java$^{\ell ight}$, described in detail elsewhere) but even complete. It is the first logic for an object‐oriented language that is provably complete. The completeness proof uses a refinement of the Most General Formula approach. The proof of soundness gives new insights into the role of type safety. Further by‐products of this work are a new general methodology for handling side‐effecting expressions and their results, the discovery of the strongest possible rule of consequence, and a flexible Call rule for mutual recursion. We also give a small but non‐trivial application example.

All definitions and proofs have been done formally with the interactive theorem prover Isabelle/HOL. This guarantees not only rigorous definitions, but also gives maximal confidence in the results obtained. Copyright © 2001 John Wiley & Sons, Ltd.


📜 SIMILAR VOLUMES


[Lecture Notes in Computer Science] Logi
✍ Baader, Franz; Voronkov, Andrei 📂 Article 📅 2005 🏛 Springer Berlin Heidelberg 🌐 German ⚖ 235 KB

This Book Constitutes The Refereed Proceedings Of The 11th International Conference On Logic For Programming, Artificial Intelligence, And Reasoning, Lpar 2004, Held In Montevideo, Uruguay In March 2005. The 33 Revised Full Papers Presented Together With Abstracts Of 4 Invited Papers Were Carefully

Mechanising a Modal Logic for Value-Pass
✍ Monica Nesi 📂 Article 📅 1997 🏛 Elsevier Science 🌐 English ⚖ 906 KB

An extension of Hennessy-Milner logic to value-passing CCS is embedded in the HOL system. The resulting proof environment allows one to formally verify modal properties of communicating agents, which are de ned over an in nite value domain.