Update Kontrol test name, Makefile; format lemmas #2
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR updates Kontrol-related tests, lemmas, and instructions in Makefile. In particular, it
check_hellFunc_doesnt_revert_kontrol
totest_hellFunc_doesnt_revert_kontrol
inKontrolTest
, which is needed for the test to be reported as failing once a reverting path is identified (in Kontrol, functions that are not prefixed withtest
are explored but not checked for failures to report);Makefile
instructions accordingly;kevm.infiniteGas()
inKontrolTest
— infinite gas is now being assumed by default in Kontrol (in our documentation it is just meant to serve as an example of Kontrol-specific cheatcodes);--use-booster
flag from instructions inMakefile
, since it is now on by default;--no-break-on-calls
flag tokontrol prove
command inMakefile
— this option instructs Kontrol to not save a KCFG node every time aCALL
is made, which speeds up the execution;get-model
command according to the results of the updatedkontrol prove
instruction;lemmas.k
Please also note that we fixed an issue with model generation, so
kontrol prove --counterexample-information
will now return a model as follows:Running
kontrol get-model
for the same failing node will return the same result.