get-authors: Exclude common source code patterns. (#2900)
[cvc5.git] / contrib / run-script-cascj7-fnt
1 #!/bin/bash
2
3 cvc4=./cvc4
4 bench="$1"
5
6 file=${bench##*/}
7 filename=${file%.*}
8
9 echo "------- cvc4-fnt casc j7 : $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 trywith {
16 limit=$1; shift;
17 echo "--- Run $@ at $limit...";
18 (ulimit -S -t "$limit";$cvc4 --lang=tptp --no-checking --no-interactive --dump-models --produce-models --force-no-limit-cpu-while-dump "$@" $bench) 2>/dev/null |
19 (read w1 w2 w3 result w4 w5;
20 case "$result" in
21 Satisfiable) echo "$w1 $w2 $w3 $result $w4 $w5";cat;exit 0;;
22 CounterSatisfiable) echo "$w1 $w2 $w3 $result $w4 $w5";cat;exit 0;;
23 esac; exit 1)
24 if [ ${PIPESTATUS[1]} -eq 0 ]; then exit 0; fi
25 }
26 function finishwith {
27 echo "--- Run $@...";
28 $cvc4 --lang=tptp --no-checking --no-interactive --dump-models --produce-models --force-no-limit-cpu-while-dump "$@" $bench
29 }
30
31 trywith 30 --finite-model-find --sort-inference --uf-ss-fair
32 trywith 30 --finite-model-find --mbqi=gen-ev --uf-ss-totality --decision=internal --sort-inference --uf-ss-fair
33 trywith 15 --finite-model-find --disable-uf-ss-min-model --sort-inference --uf-ss-fair
34 trywith 60 --finite-model-find --mbqi=abs --pre-skolem-quant --sort-inference --uf-ss-fair
35 finishwith --finite-model-find --mbqi=abs --pre-skolem-quant --sort-inference --uf-ss-fair --mbqi-one-inst-per-round
36 # echo "% SZS status" "GaveUp for $filename"