File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -373,9 +373,9 @@ Bitwise logical operators are lifted from the integer versions.
373
373
``` k
374
374
syntax Int ::= signextend( Int , Int ) [function]
375
375
// -------------------------------------------------
376
- rule signextend(N, W) => W requires N >=Int 32 orBool N <Int 0
377
- rule signextend(N, W) => chop( (#nBytes(31 -Int N) <<Byte (N +Int 1)) |Int W ) requires N <Int 32 andBool N >=Int 0 andBool word2Bool(bit(256 -Int (8 *Int (N +Int 1)), W))
378
- rule signextend(N, W) => chop( #nBytes(N +Int 1) &Int W ) requires N <Int 32 andBool N >=Int 0 andBool notBool word2Bool(bit(256 -Int (8 *Int (N +Int 1)), W))
376
+ rule signextend(N, W) => W requires N >=Int 32 orBool N <Int 0 [concrete]
377
+ rule signextend(N, W) => chop( (#nBytes(31 -Int N) <<Byte (N +Int 1)) |Int W ) requires N <Int 32 andBool N >=Int 0 andBool word2Bool(bit(256 -Int (8 *Int (N +Int 1)), W)) [concrete]
378
+ rule signextend(N, W) => chop( #nBytes(N +Int 1) &Int W ) requires N <Int 32 andBool N >=Int 0 andBool notBool word2Bool(bit(256 -Int (8 *Int (N +Int 1)), W)) [concrete]
379
379
```
380
380
381
381
- ` keccak ` serves as a wrapper around the ` Keccak256 ` in ` KRYPTO ` .
You can’t perform that action at this time.
0 commit comments