Transferring Proof Obligations from Program Verification in KeY to Isabelle/⁠HOL

Forschungsthema:Program Verification
Typ: BA
Datum: 2024-05-08
Betreuer: Wolfram Pfeifer
Michael Kirsten
Aushang:

Abstract

Guarantees of correctness of programs are becoming more and more important nowadays. KeY is one tool, which can be used to prove the formal correctness of Java programs. It uses syntactic rewriting rules, called taclets, to successively simplify proofs. These taclet rules can be applied by an automated proving mode in KeY. Since the automation can be insufficient for closing some proofs and proofs can contain thousands of rule applications, it is desirable to provide stronger automated tools to the user. One such tool is the Satisfiablity Modulo Theories (SMT) translation of KeY, which allows the use of SMT provers to close proofs. The SMT translation also lacks the required rules or proving strength for some proofs. It is thus still desirable to improve the already present automated toolset of KeY users.

This work designs a translation of KeY proofs to the higher-order logic prover Isabelle/HOL. In addition to designing this translation, this work also shows that the translation can be automated and integrated within KeY by implementing it as a GUI-Extension of KeY. This work's evaluation tests the developed Isabelle translation on over 2 400 example proof obligations of KeY. In doing so, the Isabelle translation has been found to offer some advantages over the SMT translation and the KeY automation. Although the Isabelle translation does not manage to close all proofs which the KeY automation or SMT translation could close, it is able to close proofs which the KeY automation or the SMT translation could not close. Thus, the Isabelle translation expands the KeY user’s automated toolset in a meaningful way, while also building a foundation for using Isabelle in ways outside automated proof solving in KeY.

Literature