Better configuration for QF_NRA
[cvc5.git] / contrib / run-script-casc26-tfa
1 #!/bin/bash
2
3 here=`dirname $0`
4 cvc4=$here/cvc4
5 bench="$1"
6
7 file=${bench##*/}
8 filename=${file%.*}
9
10 echo "------- cvc4-tfa casc j8 : $bench at $2..."
11
12 # use: trywith [params..]
13 # to attempt a run. If an SZS ontology result is printed, then
14 # the run script terminates immediately. Otherwise, this
15 # function returns normally.
16 function trywith {
17 limit=$1; shift;
18 echo "--- Run $@ at $limit...";
19 (ulimit -S -t "$limit";$cvc4 --lang=tptp --no-checking --no-interactive --force-logic="UFNIRA" --dump-instantiations --inst-format=szs --force-no-limit-cpu-while-dump "$@" $bench) 2>/dev/null |
20 (read w1 w2 w3 result w4 w5;
21 case "$result" in
22 Unsatisfiable) echo "$w1 $w2 $w3 $result $w4 $w5";cat;exit 0;;
23 Theorem) echo "$w1 $w2 $w3 $result $w4 $w5";cat;exit 0;;
24 esac; exit 1)
25 if [ ${PIPESTATUS[1]} -eq 0 ]; then exit 0; fi
26 }
27 function finishwith {
28 echo "--- Run $@...";
29 $cvc4 --lang=tptp --no-checking --no-interactive --force-logic="UFNIRA" --dump-instantiations --inst-format=szs --force-no-limit-cpu-while-dump "$@" $bench
30 }
31
32 trywith 10 --decision=internal --full-saturate-quant
33 trywith 10 --finite-model-find --decision=internal
34 trywith 10 --nl-ext --nl-ext-tplanes --decision=internal --full-saturate-quant
35 trywith 10 --purify-quant --full-saturate-quant
36 trywith 10 --partial-triggers --full-saturate-quant
37 trywith 10 --no-e-matching --full-saturate-quant
38 trywith 30 --cbqi-all --purify-triggers --full-saturate-quant
39 trywith 30 --nl-ext --fs-inst --full-saturate-quant
40 finishwith --nl-ext --nl-ext-tplanes --full-saturate-quant
41 # echo "% SZS status" "GaveUp for $filename"