blob: aab6851e1242750998929e4c16c916a14bd21b99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#!/bin/bash
cvc4=./cvc4
bench="$1"
function trywith {
($cvc4 --lang=sygus --no-checking --no-interactive --dump-synth --default-dag-thresh=0 "$@" $bench) 2>/dev/null |
(read result w1;
case "$result" in
unsat) echo "$w1";cat;exit 0;;
esac; exit 1)
if [ ${PIPESTATUS[1]} -eq 0 ]; then exit 0; fi
}
trywith --cegqi --cegqi-si-multi-inst-abort --cegqi-si-abort --decision=internal
trywith --cegqi --no-cegqi-si
|