Skip to content

Commit

Permalink
Test for previously added simplification (#2530)
Browse files Browse the repository at this point in the history
* adding first version of test

* Set Version: 1.0.647

* alternative lemma

---------

Co-authored-by: devops <[email protected]>
  • Loading branch information
PetarMax and devops authored Jul 22, 2024
1 parent 85b99be commit 2e060f1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kevm-pyk/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "kevm-pyk"
version = "1.0.646"
version = "1.0.647"
description = ""
authors = [
"Runtime Verification, Inc. <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion kevm-pyk/src/kevm_pyk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
if TYPE_CHECKING:
from typing import Final

VERSION: Final = '1.0.646'
VERSION: Final = '1.0.647'
2 changes: 1 addition & 1 deletion package/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.646
1.0.647
6 changes: 6 additions & 0 deletions tests/specs/functional/lemmas-spec.k
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,12 @@ module LEMMAS-SPEC
) ... </k>
requires lengthBytes(B) <Int 2 ^Int 64

claim [chop-additional-knowledge]: <k> runLemma (
X <=Int chop ( X +Int C ) andBool Y <=Int chop ( Y +Int C )
andBool notBool ( ( X +Int C <Int pow256 ) andBool ( Y +Int C <Int pow256 ) )
) => doneLemma ( false ) ... </k>
requires #rangeUInt(256, X) andBool #rangeUInt(256, Y) andBool #rangeUInt(256, C)

// #padToWidth simplification
// --------------------------

Expand Down

0 comments on commit 2e060f1

Please sign in to comment.