src/HOL/TPTP/lib/Tools/tptp_refute
changeset 64561 a7664ca9ffc5
parent 62634 aa3b47b32100
equal deleted inserted replaced
64560:c48becd96398 64561:a7664ca9ffc5
    21 SCRATCH="Scratch_${PRG}_$$_${RANDOM}"
    21 SCRATCH="Scratch_${PRG}_$$_${RANDOM}"
    22 
    22 
    23 TIMEOUT=$1
    23 TIMEOUT=$1
    24 shift
    24 shift
    25 
    25 
    26 isabelle build -b HOL-TPTP
    26 isabelle build -b HOL-TPTP 2>&1 | grep --line-buffered -v "elapsed time$"
    27 
    27 
    28 for FILE in "$@"
    28 for FILE in "$@"
    29 do
    29 do
    30   echo "theory $SCRATCH imports \"$TPTP_HOME/ATP_Problem_Import\" begin \
    30   echo "theory $SCRATCH imports \"$TPTP_HOME/ATP_Problem_Import\" begin \
    31 ML {* ATP_Problem_Import.refute_tptp_file @{theory} ($TIMEOUT) \"$FILE\" *} end" \
    31 ML {* ATP_Problem_Import.refute_tptp_file @{theory} ($TIMEOUT) \"$FILE\" *} end" \
    32     > /tmp/$SCRATCH.thy
    32     > /tmp/$SCRATCH.thy
    33   isabelle process -e "use_thy \"/tmp/$SCRATCH\"; exit 1;" -l HOL-TPTP | grep --line-buffered -v "^###\|^PROOF FAILED for depth\|^Failure node\|inferences so far.  Searching to depth\|^val \|^Loading theory\|^Warning-The type of\|^   monotype.$"
    33   isabelle process -e "use_thy \"/tmp/$SCRATCH\"; exit 1;" -l HOL-TPTP | grep --line-buffered -v "^###\|^PROOF FAILED for depth\|^Failure node\|inferences so far.  Searching to depth\|^val \|^Loading theory\|^poly.*warning: The type of\|^   monotype.$"
    34 done
    34 done