forked from sneeuwballen/zipperposition
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_full_hol_avg_config.sh
executable file
·35 lines (31 loc) · 1.05 KB
/
run_full_hol_avg_config.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
# based on the fluid_off config of Bentkamp et al.'s Superposition for full HOL,
# but w/o calling E in the backend
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
: ${ZIP_TIMELIMIT:=30.000}
ZIP_ULIMIT_IF=$(echo "$ZIP_TIMELIMIT + 5" | bc)
ZIP_ULIMIT_IF=${ZIP_ULIMIT_IF%.*}
: ${ZIP_ULIMIT:=$ZIP_ULIMIT_IF}
echo "% ZIP_TIMELIMIT is $ZIP_TIMELIMIT, ZIP_ULIMIT is $ZIP_ULIMIT."
ulimit -t $ZIP_ULIMIT
$DIR/zipperposition.exe ${1:+"$1"} \
--input tptp\
--output tptp\
--timeout $ZIP_TIMELIMIT\
--mode=ho-competitive\
--tptp-def-as-rewrite\
--rewrite-before-cnf=true\
--kbo-weight-fun=invfreqrank \
-q "2|prefer-sos|conjecture-relative-var(1.02,l,f)" \
-q "3|prefer-non-goals|pnrefined(1,1,1,2,2,2,0.5)" \
-q "1|const|fifo" \
-q "3|prefer-goals|conjecture-relative-var(1,l,f)" \
-q "2|prefer-easy-ho|conjecture-relative-var(1.03,s,f)" \
--select=bb+e-selection8\
--fluid-hoist=false\
--fluid-log-hoist=false\
--fluidsup=false\
--boolean-reasoning=bool-hoist\
--bool-select=LI\
--disable-e\
"${@:2}"