# HG changeset patch # User desharna # Date 1733408626 -3600 # Node ID 4f4159c2cad3db58ec41820748cdafc5db015a2c # Parent 21e042eee08566eace896bd0c07b460e540ec5aa adapted bash files to use cartouches diff -r 21e042eee085 -r 4f4159c2cad3 src/HOL/TPTP/lib/Tools/tptp_isabelle --- a/src/HOL/TPTP/lib/Tools/tptp_isabelle Mon Dec 02 12:38:27 2024 +0100 +++ b/src/HOL/TPTP/lib/Tools/tptp_isabelle Thu Dec 05 15:23:46 2024 +0100 @@ -29,7 +29,7 @@ for FILE in "$@" do echo "theory $SCRATCH imports \"$TPTP_HOME/ATP_Problem_Import\" begin \ -ML {* ATP_Problem_Import.isabelle_tptp_file @{theory} ($TIMEOUT) \"$FILE\" *} end" \ +ML \ ATP_Problem_Import.isabelle_tptp_file @{theory} ($TIMEOUT) \"$FILE\" \ end" \ > /tmp/$SCRATCH.thy 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.$" done diff -r 21e042eee085 -r 4f4159c2cad3 src/HOL/TPTP/lib/Tools/tptp_nitpick --- a/src/HOL/TPTP/lib/Tools/tptp_nitpick Mon Dec 02 12:38:27 2024 +0100 +++ b/src/HOL/TPTP/lib/Tools/tptp_nitpick Thu Dec 05 15:23:46 2024 +0100 @@ -29,7 +29,7 @@ for FILE in "$@" do echo "theory $SCRATCH imports \"$TPTP_HOME/ATP_Problem_Import\" begin \ -ML {* ATP_Problem_Import.nitpick_tptp_file @{theory} ($TIMEOUT) \"$FILE\" *} end" \ +ML \ ATP_Problem_Import.nitpick_tptp_file @{theory} ($TIMEOUT) \"$FILE\" \ end" \ > /tmp/$SCRATCH.thy 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.$" done diff -r 21e042eee085 -r 4f4159c2cad3 src/HOL/TPTP/lib/Tools/tptp_translate --- a/src/HOL/TPTP/lib/Tools/tptp_translate Mon Dec 02 12:38:27 2024 +0100 +++ b/src/HOL/TPTP/lib/Tools/tptp_translate Thu Dec 05 15:23:46 2024 +0100 @@ -26,6 +26,6 @@ isabelle build -b HOL-TPTP 2>&1 | grep --line-buffered -v "elapsed time$" echo "theory $SCRATCH imports \"$TPTP_HOME/ATP_Problem_Import\" begin \ -ML {* ATP_Problem_Import.translate_tptp_file @{theory} \"${args[0]}\" \"${args[1]}\" *} end" \ +ML \ ATP_Problem_Import.translate_tptp_file @{theory} \"${args[0]}\" \"${args[1]}\" \ end" \ > /tmp/$SCRATCH.thy 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.$"