3 if [ -z "$1" ] || [ -z "$2" ]; then
4 echo usage: $0 timeout problem_list
7 gcc TreeLimitedRun.c -o TreeLimitedRun
9 for PROBLEM in `cat $2`; do
10 echo running on $PROBLEM
11 ./TreeLimitedRun -q0 $1 $(($1*2)) ./matitaprover.native --tptppath ~/TPTP-v3.1.1/ $PROBLEM \
13 echo So far `grep 'SZS status Unsatisfiable' log|wc -l` solved
16 grep 'SZS status Unsatisfiable' log | wc -l
18 grep 'Timeout' log | wc -l