forked from sneeuwballen/zipperposition
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrun_sh_config.sh
executable file
·53 lines (49 loc) · 1.49 KB
/
run_sh_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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#!/bin/bash
# based on the Sledgehammer config, 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-pragmatic\
--tptp-def-as-rewrite\
--rewrite-before-cnf=true\
--max-inferences=1\
--ho-unif-max-depth=1\
--ho-max-elims=0\
--ho-max-app-projections=0\
--ho-max-rigid-imitations=1\
--ho-max-identifications=0\
--boolean-reasoning=bool-hoist\
--bool-hoist-simpl=true\
--bool-select=LI\
--recognize-injectivity=true\
--ext-rules=ext-family\
--ext-rules-max-depth=1\
--ho-choice-inst=true\
--ho-prim-enum=none\
--ho-elim-leibniz=0\
--interpret-bool-funs=true\
--ho-unif-level=pragmatic-framework\
--select=bb+e-selection2\
--post-cnf-lambda-lifting=true\
-q "4|prefer-sos|pnrefined(2,1,1,1,2,2,2)"\
-q "6|prefer-processed|conjecture-relative-struct(1.5,3.5,2,3)"\
-q "1|const|fifo"\
-q "4|prefer-ground|orient-lmax(2,1,2,1,1)"\
-q "4|defer-sos|conjecture-relative-struct(1,5,2,3)"\
--avatar=off\
--recognize-injectivity=true\
--ho-neg-ext=true\
--ho-pattern-decider=true\
--ho-fixpoint-decider=true\
--ignore-orphans=true\
--presaturate=true\
--disable-e\
"${@:2}"