forked from sneeuwballen/zipperposition
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun.sh
executable file
·50 lines (45 loc) · 1.19 KB
/
run.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/bin/bash
# based mostly on 40_c.s.sh, added:
# --dot /tmp/example.dot
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
TIMELIMIT=$2
: ${TIMELIMIT:=30}
echo "% Timelimit is $TIMELIMIT"
ulimit -t $TIMELIMIT
$DIR/zipperposition.exe ${1:+"$1"} \
-i tptp\
-o none\
--timeout "$TIMELIMIT"\
--debug.zip.saturate 0\
-nc\
--tptp-def-as-rewrite\
--rewrite-before-cnf=true \
--mode=ho-competitive\
--boolean-reasoning=bool-hoist\
--bool-hoist-simpl=true\
--ext-rules=ext-family\
--ext-rules-max-depth=2\
--ho-prim-enum=full\
--ho-prim-max=2\
--bool-select=LI\
--ho-max-elims=1\
--avatar=off \
--recognize-injectivity=true\
--ho-elim-leibniz=1 \
--ho-unif-level=full-framework\
--no-max-vars\
-q "6|prefer-sos|pnrefined(1,1,1,2,2,2,0.5)" \
-q "6|const|conjecture-relative-var(1.02,l,f)" \
-q "1|prefer-processed|fifo" \
-q "1|prefer-non-goals|conjecture-relative-var(1,l,f)" \
-q "4|prefer-easy-ho|conjecture-relative-var(1.01,s,f)" \
--select=e-selection7\
--ho-choice-inst=true\
--tmp-dir="$3"\
--sine=-1\
--scan-clause-ac=true\
--lambdasup=0\
--kbo-weight-fun=invfreqrank\
--disable-e\
--rw_isabelle_simp=true\
"${@:4}"