iprover_smt

loading
details
attribute current value
name iprover_smt
description no description
owning solver iProver-3.8
contents
#!/bin/bash

#export TPTP=$(./get_tptp_variable.sh $1)

#FILE_SMT=$1

# Increase the soft ulimit
ulimit -s 200000



# TODO adapt
#out=$(python3 -u run_problem.py $1 $STAREXEC_WALLCLOCK_LIMIT --heuristic_context smtcomp --no_cores 4 \
out=$(./run_problem $1 $STAREXEC_WALLCLOCK_LIMIT --heuristic_context smtcomp --no_cores 4 \
--schedule smt_4000_super_300_4 --problem_version tf0 --suppress_proof_out -v)

#--schedule smt_4000_super_300_4 --problem_version smt2 --suppress_proof_out -v

# run iProver
#: '
#out=$(python3 prover_driver.py --schedule_mode external --schedule smt_4000_super_300_4 --no_cores 4 $TCF_TMP $STAREXEC_WALLCLOCK_LIMIT 2>/dev/null)
if echo $out | grep -q "SZS status Theorem\|SZS status Unsatisfiable"
then
echo "unsat"
  else
  if echo $out | grep -q "SZS status CounterSatisfiable\|SZS status Satisfiable"
    then
        echo "sat"
    else
        echo "unknown"
  fi
fi
#'

back to iProver-3.8