iprover_SMT

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

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

#FILE_SMT=$1

# Increase the soft ulimit
ulimit -s 200000



# Check if setting the UF schedule
grep "(set-logic UF)" $1 &> /dev/null
is_UF=$?
if [ $is_UF -eq 0 ]; 
then
    SCHEDULE="smt_comp_2023_starexec_uf"
else
    SCHEDULE="smt_comp_2023_starexec"
fi


out=$(./run_problem $1 $STAREXEC_WALLCLOCK_LIMIT --heuristic_context smtcomp --no_cores 4 \
    --schedule $SCHEDULE --problem_version smt2 --suppress_proof_out )


#echo  $out

if echo $out | grep -q "SZS status Theorem\|SZS status Unsatisfiable"
then
echo "unsat"
exit 20
  else
  if echo $out | grep -q "SZS status CounterSatisfiable\|SZS status Satisfiable"
    then
        echo "sat"
        exit 10
    else
        echo "unknown"
        exit 0
  fi
fi

back to iProver-3.8-Final

Compute nodes for all.q are being upgraded. Use new.q for now.More Information