KeY is a deductive verification system for Java programs
This repository is the home of the interactive theorem prover KeY for the formal verification and analysis of Java programs. KeY comes as a standalone GUI application, which allows you to verify the functional correctness of Java programs with respect to formal specifications formulated in the Java Modeling Language JML. Moreover, KeY can also be used as a library e.g. for symbolic program execution, first order reasoning, or test case generation.
For more information, refer to
Feel free to use the project templates to get started using KeY:
If you encounter problems, feel free to contact us.
KeY is built with gradle and therefore follows the Maven's standard folder layout.
KeY consists of multiple modules. Modules starting with
key. contain a core component of KeY. In contrast, optional extensions start with
keyext.. The modules
key.ui are the base for the product "KeY Prover". Special care is needed if you plan to make changes here.
You can create the single jar-version, aka fat jar, of KeY with
./gradlew :key.ui:shadowJar. The file is generated in
Further useful gradle tasks are
./gradlew key.ui:run to start the user interface directly. You can pass program arguments with
./gradlew key.ui:run --args='--experimental'.
Execute all tests with
./gradlew test or
./gradlew testFast. Be aware that this will usually take multiple hours to complete.
Feel free to submit pull requests via GitHub. Pull requests are assessed using automatic tests, formatting and static source checkers, as well as a manual review by one of the developers. More guidelines and documentation for the KeY development can be found under key-docs.
A Helmholtz Pilot Program