| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | |
| 3 | cvc4=./cvc4 |
| 4 | bench="$1" |
| 5 | |
| 6 | file=${bench##*/} |
| 7 | filename=${file%.*} |
| 8 | |
| 9 | echoscip-shell system . . echo. "------- cvc4-tfn casc 25 : $bench at $2..." |
| 10 | |
| 11 | # use: trywith [params..] |
| 12 | # to attempt a run. If an SZS ontology result is printed, then |
| 13 | # the run script terminates immediately. Otherwise, this |
| 14 | # function returns normally. |
| 15 | function trywithscip-shell shell cvc5 1.3.2-1 trywith(). { |
| 16 | limit=$1; shift; |
| 17 | echoscip-shell system . . echo. "--- Run $@ at $limit..."; |
| 18 | (ulimit -t "$limit";$cvc4 --lang=tptp --no-checking --no-interactive --force-logic="UFNIRA" "$@" $bench) 2>/dev/nullscip-shell filesystem . . `/dev/null`. | |
| 19 | (read w1 w2 w3 result w4 w5; |
| 20 | case "$result" in |
| 21 | Satisfiable) echoscip-shell system . . echo. "$w1 $w2 $w3 $result $w4 $w5";catscip-shell system . . cat.;exit 0;; |
| 22 | CounterSatisfiable) echoscip-shell system . . echo. "$w1 $w2 $w3 $result $w4 $w5";catscip-shell system . . cat.;exit 0;; |
| 23 | esac; exit 1) |
| 24 | if [scip-shell system . . `[`. ${PIPESTATUS[1]} -eq 0 ]; then exit 0; fi |
| 25 | } |
| 26 | function finishwithscip-shell shell cvc5 1.3.2-1 finishwith(). { |
| 27 | echoscip-shell system . . echo. "--- Run $@..."; |
| 28 | $cvc4 --lang=tptp --no-checking --no-interactive --force-logic="UFNIRA" "$@" $bench |
| 29 | } |
| 30 | |
| 31 | trywithscip-shell shell cvc5 1.3.2-1 trywith(). 30 --cbqi2 --decision=internal --full-saturate-quant |
| 32 | trywithscip-shell shell cvc5 1.3.2-1 trywith(). 30 --cbqi --full-saturate-quant |
| 33 | trywithscip-shell shell cvc5 1.3.2-1 trywith(). 60 --cbqi --cbqi-recurse --full-saturate-quant |
| 34 | trywithscip-shell shell cvc5 1.3.2-1 trywith(). 60 --fmf-bound-int --macros-quant |
| 35 | finishwithscip-shell shell cvc5 1.3.2-1 finishwith(). --cbqi2 --cbqi-recurse --full-saturate-quant |
| 36 | # echo "% SZS status" "GaveUp for $filename" |