author | blanchet |
Thu, 02 Feb 2012 19:41:58 +0100 | |
changeset 46403 | 3069344da626 |
parent 45304 | e6901aa86a9e |
child 47055 | 16e2633f3b4b |
permissions | -rwxr-xr-x |
#!/usr/bin/env bash # # Wrapper for SPASS that also outputs the Flotter-generated CNF (needed for # Isar proof reconstruction) # # Author: Jasmin Blanchette, TU Muenchen options=${@:1:$(($#-1))} name=${@:$(($#)):1} "$SPASS_HOME/SPASS" -Flotter "$name" \ | sed 's/description({$/description({*/' \ | sed 's/set_ClauseFormulaRelation()\.//' \ > $name.cnf cat $name.cnf "$SPASS_HOME/SPASS" $options "$name.cnf" \ | sed 's/\(Formulae used in the proof :\).*/\1 N\/A/' rm -f "$name.cnf"