CPL - Chalmers Publication Library
| Utbildning | Forskning | Styrkeområden | Om Chalmers | In English In English Ej inloggad.

The Reflective Milawa Theorem Prover is Sound (Down to the Machine Code that Runs it)

J. Davis ; Magnus O. Myreen (Institutionen för data- och informationsteknik, Programvaruteknik (Chalmers))
Journal of automated reasoning (0168-7433). Vol. 55 (2015), 2, p. 117-183.
[Artikel, refereegranskad vetenskaplig]

This paper presents, we believe, the most comprehensive evidence of a theorem prover’s soundness to date. Our subject is the Milawa theorem prover. We present evidence of its soundness down to the machine code. Milawa is a theorem prover styled after NQTHM and ACL2. It is based on an idealised version of ACL2’s computational logic and provides the user with high-level tactics similar to ACL2’s. In contrast to NQTHM and ACL2, Milawa has a small kernel that is somewhat like an LCF-style system. We explain how the Milawa theorem prover is constructed as a sequence of reflective extensions from its kernel. The kernel establishes the soundness of these extensions during Milawa’s bootstrapping process. Going deeper, we explain how we have shown that the Milawa kernel is sound using the HOL4 theorem prover. In HOL4, we have formalized its logic, proved the logic sound, and proved that the source code for the Milawa kernel (1,700 lines of Lisp) faithfully implements this logic. Going even further, we have combined these results with the x86 machine-code level verification of the Lisp runtime Jitawa. Our top-level theorem states that Milawa can never claim to prove anything that is false when it is run on this Lisp runtime.

Nyckelord: Machine code, Proof assistant, Soundness, Theorem proving

Denna post skapades 2015-08-31. Senast ändrad 2015-10-22.
CPL Pubid: 221523


Läs direkt!

Länk till annan sajt (kan kräva inloggning)