GithubHelp home page GithubHelp logo

key-abstract-contracts-2.1's Introduction

key-abstract-contracts (based on KeY 2.1)
======================

This version of the KeY verification system (http://key-project.org) can be used to evaluate abstract method contracting.
(Works with Java 8 by running key.sh/key.bat on Linux or Windows accordingly.)

The idea is to only substitute abstract placeholders for method calls instead of the concrete requires, ensures, and assignable clauses.
Such a proof is called a partial/incomplete/cached/abstract proof (with abstract placeholders), which leads to only first-order open obligations.

To create such a proof, load a file/directory in which some methods are annotated with @requires_abs, @ensures_abs, @assignable_abs and/or @def.
(@defs can be omitted at this point, as they provide the concrete clauses which are only filled in at a later step.)
Then right-click on 0: OPEN GOAL and select Strategy macros > Finish abstract proof part (or press Shift+X) - DO NOT use the green start button for this.
The resulting partial proof can be saved as a .proof file as usual.

To complete a partial proof later on (possibly with different concrete instantiations), again load the file/directory (now the @defs MUST be present).
When KeY is ready to prove (0: OPEN GOAL), run File > Reuse proof and select the .proof file saved above. The partial proof is replayed.
Now simply click the green start button to complete the proof with the given @defs.

(Note that for some of the given examples, setting "Arithmetic treatment" to "Model Search" may be required.)

This KeY version can be used to reproduce the results of this paper: https://link.springer.com/chapter/10.1007/978-3-662-45231-8_9

key-abstract-contracts-2.1's People

Contributors

ekuiter avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.