src/HOL/TPTP/lib/Tools/tptp_translate
changeset 60546 dcb0b9b42fcb
parent 60545 bcd11dcd0d90
child 62573 27f90319a499
equal deleted inserted replaced
60545:bcd11dcd0d90 60546:dcb0b9b42fcb
    21 
    21 
    22 SCRATCH="Scratch_${PRG}_$$_${RANDOM}"
    22 SCRATCH="Scratch_${PRG}_$$_${RANDOM}"
    23 
    23 
    24 args=("$@")
    24 args=("$@")
    25 
    25 
       
    26 isabelle build -b HOL-TPTP
       
    27 
    26 echo "theory $SCRATCH imports \"$TPTP_HOME/ATP_Problem_Import\" begin \
    28 echo "theory $SCRATCH imports \"$TPTP_HOME/ATP_Problem_Import\" begin \
    27 ML {* ATP_Problem_Import.translate_tptp_file @{theory} \"${args[0]}\" \"${args[1]}\" *} end" \
    29 ML {* ATP_Problem_Import.translate_tptp_file @{theory} \"${args[0]}\" \"${args[1]}\" *} end" \
    28   > /tmp/$SCRATCH.thy
    30   > /tmp/$SCRATCH.thy
    29 "$ISABELLE_PROCESS" -q -e "use_thy \"/tmp/$SCRATCH\"; exit 1;" 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.$"
    31 "$ISABELLE_PROCESS" -q -e "use_thy \"/tmp/$SCRATCH\"; exit 1;" 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.$"