Skip to content

Commit

Permalink
Fixing #rangeNegUInt64
Browse files Browse the repository at this point in the history
  • Loading branch information
Robertorosmaninho committed Jan 31, 2025
1 parent 2e3b8c0 commit eaa785c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kevm-pyk/src/kevm_pyk/kproj/evm-semantics/word.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ These can be used for pattern-matching on the LHS of rules as well (`alias` attr
| "pow40" [alias] /* 2 ^Int 40 */
| "pow48" [alias] /* 2 ^Int 48 */
| "pow56" [alias] /* 2 ^Int 56 */
| "pow63" [alias] /* 2 ^Int 63 */
| "pow64" [alias] /* 2 ^Int 64 */
| "pow72" [alias] /* 2 ^Int 72 */
| "pow80" [alias] /* 2 ^Int 80 */
Expand Down Expand Up @@ -60,6 +61,7 @@ These can be used for pattern-matching on the LHS of rules as well (`alias` attr
rule pow40 => 1099511627776
rule pow48 => 281474976710656
rule pow56 => 72057594037927936
rule pow63 => 9223372036854775808
rule pow64 => 18446744073709551616
rule pow72 => 4722366482869645213696
rule pow80 => 1208925819614629174706176
Expand Down Expand Up @@ -558,7 +560,7 @@ Range of types
rule #rangeNonce ( X ) => #range ( 0 <= X < maxUInt64 )
rule #rangeSmall ( X ) => #range ( 0 <= X < 10 )
rule #rangeBlockNum ( X ) => #range ( 0 <= X <= maxBlockNum )
rule #rangeNegUInt64( X ) => #range ( pow56 <= X < pow64 )
rule #rangeNegUInt64( X ) => #range ( pow63 <= X < pow64 )
syntax Bool ::= "#range" "(" Int "<" Int "<" Int ")" [alias]
| "#range" "(" Int "<" Int "<=" Int ")" [alias]
Expand Down

0 comments on commit eaa785c

Please sign in to comment.