Debian Codegraph @

contrib/competitions/smt-comp/run-script-smtcomp2019-model-validation

raw
1 #!/bin/bash
2
3 cvc4=./cvc4
4 bench="$1"
5
6 logic=$(expr "$(grep -m1 '^[^;]*set-logic' "$bench")" : ' *(set-logic *\([A-Z_]*\) *) *$')
7
8 # use: finishwith [params..]
9 # to run cvc4 and let it output whatever it will to stdout.
10 function finishwith {
11 $cvc4 -L smt2.6 --no-incremental --no-checking --no-interactive "$@" $bench
12 }
13
14 case "$logic" in
15
16 QF_BV)
17 finishwith --bv-div-zero-const --bitblast=eager --bv-sat-solver=cadical --no-bv-abstraction
18 ;;
19 *)
20 # just run the default
21 finishwith
22 ;;
23
24 esac
25