Skip to content

Commit f28dcd9

Browse files
rv-jenkinsrv-auditorpalinatolmachPetar Maksimovic
authored
Update dependency: deps/z3 (#2675)
* deps/z3: Set Version 4.13.4 * Experimental: double smt timeout, retry limit for `examples/sum-to-n-spec.k` * temporary fix * Revert timeout bump --------- Co-authored-by: devops <[email protected]> Co-authored-by: Palina <[email protected]> Co-authored-by: Petar Maksimovic <[email protected]>
1 parent 435fd36 commit f28dcd9

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

deps/z3

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.13.0
1+
4.13.4

tests/specs/examples/sum-to-n-spec.k

+2-4
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ module VERIFICATION
1313

1414
rule chop(I) => I requires #rangeUInt(256, I) [simplification]
1515

16-
rule 0 <=Int #sizeWordStack ( _ , _ ) => true [simplification, smt-lemma]
17-
1816
syntax Bytes ::= "sumToN" [macro]
1917
// -------------------------------------
2018
rule sumToN
@@ -66,10 +64,10 @@ module SUM-TO-N-SPEC
6664
<pc> 3 => 21 </pc>
6765
<gas> G => G -Int (52 *Int I +Int 21) </gas>
6866
<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>
7068
requires I >=Int 0
7169
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
7371
andBool #sizeWordStack(WS) <Int 1021
7472
andBool G >=Int 52 *Int I +Int 21
7573
[circularity]

0 commit comments

Comments
 (0)