File tree 2 files changed +3
-5
lines changed
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1
- 4.13.0
1
+ 4.13.4
Original file line number Diff line number Diff line change @@ -13,8 +13,6 @@ module VERIFICATION
13
13
14
14
rule chop(I) => I requires #rangeUInt(256, I) [simplification]
15
15
16
- rule 0 <=Int #sizeWordStack ( _ , _ ) => true [simplification, smt-lemma]
17
-
18
16
syntax Bytes ::= "sumToN" [macro]
19
17
// -------------------------------------
20
18
rule sumToN
@@ -66,10 +64,10 @@ module SUM-TO-N-SPEC
66
64
<pc> 3 => 21 </pc>
67
65
<gas> G => G -Int (52 *Int I +Int 21) </gas>
68
66
<wordStack> I : S : WS
69
- => 0 : S +Int I *Int (I +Int 1) /Int 2 : WS </wordStack>
67
+ => 0 : S +Int I *Int (I +Int 1) divInt 2 : WS </wordStack>
70
68
requires I >=Int 0
71
69
andBool S >=Int 0
72
- andBool S +Int I *Int (I +Int 1) /Int 2 <Int pow256
70
+ andBool S +Int I *Int (I +Int 1) divInt 2 <Int pow256
73
71
andBool #sizeWordStack(WS) <Int 1021
74
72
andBool G >=Int 52 *Int I +Int 21
75
73
[circularity]
You can’t perform that action at this time.
0 commit comments