Skip to content
This repository was archived by the owner on Aug 20, 2021. It is now read-only.

Commit 3d53480

Browse files
committed
klab-prove: toggle deterministic functions
This fixes the non-determinism we were seeing in some proofs. The reason was that there was more than one function defined for `sizeWordStack`, one of which is problematic, and they were being chosen non-deterministically.
1 parent 24fab1b commit 3d53480

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

libexec/klab-prove

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ timeout "$TIMEOUT" "$KLAB_EVMS_PATH/deps/k/k-distribution/target/release/k/bin/k
133133
--smt_prelude "$KLAB_OUT/prelude.smt2" \
134134
--concrete-rules "$(join_by , ${concrete_rules[@]})" \
135135
--z3-tactic "(or-else (using-params smt :random-seed 3) (using-params smt :random-seed 2) (using-params smt :random-seed 1))" \
136+
--deterministic-functions \
136137
"$target_spec" >"$STDOUT" 2>"$STDERR" & kprove_child=$!
137138
wait "$kprove_child"
138139
result=$?

0 commit comments

Comments
 (0)