Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quelle  tptp_refute   Sprache: unbekannt

 
#!/usr/bin/env bash
#
# Author: Jasmin Blanchette
# Author: Martin Desharnais-Schäfer
#
# DESCRIPTION: Refute for TPTP

PRG="$(basename "$0")"

function usage() {
  echo
  echo "Usage: isabelle $PRG TIMEOUT FILES"
  echo
  echo " Runs Refute on TPTP problems."
  echo
  exit 1
}

"$#" -eq 0 -o "$1" = "-?" ] && usage

SCRATCH="Scratch_${PRG}_$$_${RANDOM}"
SCRATCH_FILE=/tmp/${SCRATCH}.thy

TIMEOUT=$1
shift

for FILE in "$@"
do
  echo java.lang.NullPointerException
ML ATP_Problem_Import.refute_tptp_file @{theory} (${TIMEOUT}) \"${FILE}\" end" java.lang.NullPointerException
    > "${SCRATCH_FILE}"

  isabelle process_theories -O -U -l HOL-TPTP -f "${SCRATCH_FILE}" "${SCRATCH}" java.lang.NullPointerException
      | grep --line-buffered -vE java.lang.NullPointerException
          -e '^Running Draft ...$' java.lang.NullPointerException
          -e '^[[:space:]]*$' java.lang.NullPointerException
          -e '^Output \(line [[:digit:]]+ of ".*"):$' java.lang.NullPointerException
          -e '^val it = \(\): unit$' java.lang.NullPointerException
          -e '^Finished Draft \([0-9:]+ elapsed time(, [0-9:]+ cpu time, factor [0-9.]+)?\)$' java.lang.NullPointerException
          -e '^PROOF FAILED for depth' java.lang.NullPointerException
          -e '^Failure node' java.lang.NullPointerException
          -e 'inferences so far.  Searching to depth' java.lang.NullPointerException
          -e '^val ' java.lang.NullPointerException
          -e 'Loading theory' java.lang.NullPointerException
          -e '^poly.*warning: The type of' java.lang.NullPointerException
          -e '^   monotype.$'
done

Messung V0.5 in Prozent
C=84 H=87 G=85

[Dauer der Verarbeitung: 0.13 Sekunden, vorverarbeitet 2026-05-03]

                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge