-
Notifications
You must be signed in to change notification settings - Fork 41
Proof Scripts in JML #3657
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Proof Scripts in JML #3657
Conversation
(cherry-picked from earlier attempt to implement JML proof scripts) # Conflicts: # key.core/src/main/java/de/uka/ilkd/key/java/Recoder2KeYConverter.java # key.core/src/main/java/de/uka/ilkd/key/java/recoderext/JMLTransformer.java # key.core/src/main/java/de/uka/ilkd/key/java/recoderext/JmlAssert.java # key.core/src/main/java/de/uka/ilkd/key/java/statement/JmlAssert.java # key.core/src/main/java/de/uka/ilkd/key/speclang/jml/pretranslation/TextualJMLAssertStatement.java # key.core/src/main/java/de/uka/ilkd/key/speclang/njml/TextualTranslator.java
…aDL arguments) (cherry-picked from earlier attempt to implement JML proof scripts)
(cherry-picked from earlier attempt to implement JML proof scripts)
# Conflicts: # key.core/src/main/java/de/uka/ilkd/key/logic/Semisequent.java # key.core/src/main/java/de/uka/ilkd/key/scripts/RuleCommand.java # key.core/src/main/java/de/uka/ilkd/key/scripts/SetCommand.java # key.core/src/main/java/de/uka/ilkd/key/strategy/StrategyProperties.java
(cherry-picked from earlier attempt to implement JML proof scripts)
(cherry-picked from earlier attempt to implement JML proof scripts) # Conflicts: # key.core/src/main/java/de/uka/ilkd/key/macros/ApplyScriptsMacro.java
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3657 +/- ##
=============================================
- Coverage 47.16% 37.14% -10.03%
+ Complexity 15801 760 -15041
=============================================
Files 1673 129 -1544
Lines 96171 5689 -90482
Branches 15397 898 -14499
=============================================
- Hits 45359 2113 -43246
+ Misses 45641 3387 -42254
+ Partials 5171 189 -4982 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
I have written an integer split command. An induction command is on the way with support for int, user-data types, bsum(?). Commit: 4644331 |
…her goals, print position manual cherry-pick From 547ce29 Mon Sep 17 00:00:00 2001 From: Julian Wiesler <wiesleju@gmail.com> Date: Wed, 22 Feb 2023 13:57:21 +0100 Subject: [PATCH] Position info for scripts with url=null, run scripted goals before other goals, print position information
…o since it splits a lot better # Conflicts: # key.core/src/main/java/de/uka/ilkd/key/macros/ApplyScriptsMacro.java
manual cherry-picking commit 886588a Author: Mattias Ulbrich <ulbrich@kit.edu> Date: Sun Feb 5 13:14:29 2023 +0100
manually cherry-picked from old branch
added test cases
f537ed8 to
dc725a0
Compare
there are failing cases ...
which is algorithmically not trivial!
not functional yet after cherry-picking
adapted to new branch by MU
23fa08e to
2066973
Compare
2066973 to
ae8b141
Compare
solution by Alexander Weigl
07792f4 to
2bc3a36
Compare
d5d10bf to
46567da
Compare
Related Issue
For quite some time, we have a prototype for JML proof scripts which we finally want to bring to the mater branch.
Intended Change
Proof scripts can be written into JML comments and can be obeyed during automatic verification.
The major benefit is that the localisation of the proof node to which a proof script should be applied is natural.
The other benefit is that one can use JML expressions and thus does not have to leave the realm of JML to do script-guided proofs.
This relies on #3587 and needs #3654 merged.
Plan
Type of pull request
Ensuring quality
WIP:
Additional information and contact(s)
Planned to be done Mid 09/25
The contributions within this pull request are licensed under GPLv2 (only) for inclusion in KeY.