summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2013-05-20 11:06:02 -0500
committerAndrew Reynolds <andrew.j.reynolds@gmail.com>2013-05-20 11:06:02 -0500
commitdcda4b10c3dd0dbbfd41203d4bbdaca6990ef0a8 (patch)
tree6b78991522b86b78b4baa051b749c84e6d9ad139
parent6c407fa61d5a6ceaa3adef39d88e186823b28dbc (diff)
Possible final version of run scripts for casc.
-rwxr-xr-xcontrib/run-script-casc24-fnt34
-rwxr-xr-xcontrib/run-script-casc24-fnt-models38
-rwxr-xr-xcontrib/run-script-casc24-fnt-no-models36
-rwxr-xr-xcontrib/run-script-casc24-fof18
4 files changed, 63 insertions, 63 deletions
diff --git a/contrib/run-script-casc24-fnt b/contrib/run-script-casc24-fnt
index 5376bfd72..2a10c5347 100755
--- a/contrib/run-script-casc24-fnt
+++ b/contrib/run-script-casc24-fnt
@@ -12,25 +12,27 @@ filename=${file%.*}
# which case this run script terminates immediately. Otherwise, this
# function returns normally.
function trywith {
- result="$( ulimit -t "$1";shift;$cvc4 -L tptp --szs-compliant --no-checking --no-interactive "$@" $bench)"
+ limit=$1; shift;
+ (ulimit -t "$limit";$cvc4 -L tptp --szs-compliant --no-checking --no-interactive --dump-models --produce-models "$@" $bench) 2>/dev/null |
+ (read result;
case "$result" in
- sat) echo "SZS Satisfiable for $filename"; exit 0;;
- unsat) echo "SZS Unsatisfiable for $filename"; exit 0;;
- conjecture-sat) echo "SZS CounterSatisfiable for $filename"; exit 0;;
- conjecture-unsat) echo "SZS Theorem for $filename"; exit 0;;
- esac
-}
-function finishwith {
- result="$( $cvc4 -L tptp --szs-compliant --no-checking --no-interactive "$@" $bench)"
- case "$result" in
- sat) echo "SZS Satisfiable for $filename"; exit 0;;
- unsat) echo "SZS Unsatisfiable for $filename"; exit 0;;
- conjecture-sat) echo "SZS CounterSatisfiable for $filename"; exit 0;;
- conjecture-unsat) echo "SZS Theorem for $filename"; exit 0;;
- esac
+ sat) echo "% SZS Satisfiable for $filename";
+ echo "% SZS output start FiniteModel for $filename";
+ cat;
+ echo "% SZS output end FiniteModel for $filename";
+ exit 0;;
+ unsat) echo "% SZS Unsatisfiable for $filename"; exit 0;;
+ conjecture-sat) echo "% SZS CounterSatisfiable for $filename";
+ echo "% SZS output start FiniteModel for $filename";
+ cat;
+ echo "% SZS output end FiniteModel for $filename";
+ exit 0;;
+ conjecture-unsat) echo "% SZS Theorem for $filename"; exit 0;;
+ esac; exit 1)
+ if [ ${PIPESTATUS[1]} -eq 0 ]; then exit 0; fi
}
trywith 30 --finite-model-find --uf-ss-totality
trywith 30 --finite-model-find --decision=justification --fmf-fmc
trywith $to --finite-model-find --decision=justification
-echo "SZS GaveUp for $filename" \ No newline at end of file
+echo "% SZS GaveUp for $filename" \ No newline at end of file
diff --git a/contrib/run-script-casc24-fnt-models b/contrib/run-script-casc24-fnt-models
deleted file mode 100755
index fce320201..000000000
--- a/contrib/run-script-casc24-fnt-models
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-cvc4=./cvc4
-bench="$1"
-let "to = $2 - 60"
-
-file=${bench##*/}
-filename=${file%.*}
-
-# use: trywith [params..]
-# to attempt a run. Only thing printed on stdout is "sat" or "unsat", in
-# which case this run script terminates immediately. Otherwise, this
-# function returns normally.
-function trywith {
- limit=$1; shift;
- (ulimit -t "$limit";$cvc4 -L tptp --szs-compliant --no-checking --no-interactive --dump-models --produce-models "$@" $bench) 2>/dev/null |
- (read result;
- case "$result" in
- sat) echo "SZS Satisfiable for $filename";
- echo "SZS output start FiniteModel for $filename";
- cat;
- echo "SZS output end FiniteModel for $filename";
- exit 0;;
- unsat) echo "SZS Unsatisfiable for $filename"; exit 0;;
- conjecture-sat) echo "SZS CounterSatisfiable for $filename";
- echo "SZS output start FiniteModel for $filename";
- cat;
- echo "SZS output end FiniteModel for $filename";
- exit 0;;
- conjecture-unsat) echo "SZS Theorem for $filename"; exit 0;;
- esac; exit 1)
- if [ ${PIPESTATUS[1]} -eq 0 ]; then exit 0; fi
-}
-
-trywith 30 --finite-model-find --uf-ss-totality
-trywith 30 --finite-model-find --decision=justification --fmf-fmc
-trywith $to --finite-model-find --decision=justification
-echo "SZS GaveUp for $filename" \ No newline at end of file
diff --git a/contrib/run-script-casc24-fnt-no-models b/contrib/run-script-casc24-fnt-no-models
new file mode 100755
index 000000000..a189c10bd
--- /dev/null
+++ b/contrib/run-script-casc24-fnt-no-models
@@ -0,0 +1,36 @@
+#!/bin/bash
+
+cvc4=./cvc4
+bench="$1"
+let "to = $2 - 60"
+
+file=${bench##*/}
+filename=${file%.*}
+
+# use: trywith [params..]
+# to attempt a run. Only thing printed on stdout is "sat" or "unsat", in
+# which case this run script terminates immediately. Otherwise, this
+# function returns normally.
+function trywith {
+ result="$( ulimit -t "$1";shift;$cvc4 -L tptp --szs-compliant --no-checking --no-interactive "$@" $bench)"
+ case "$result" in
+ sat) echo "% SZS Satisfiable for $filename"; exit 0;;
+ unsat) echo "% SZS Unsatisfiable for $filename"; exit 0;;
+ conjecture-sat) echo "% SZS CounterSatisfiable for $filename"; exit 0;;
+ conjecture-unsat) echo "% SZS Theorem for $filename"; exit 0;;
+ esac
+}
+function finishwith {
+ result="$( $cvc4 -L tptp --szs-compliant --no-checking --no-interactive "$@" $bench)"
+ case "$result" in
+ sat) echo "% SZS Satisfiable for $filename"; exit 0;;
+ unsat) echo "% SZS Unsatisfiable for $filename"; exit 0;;
+ conjecture-sat) echo "% SZS CounterSatisfiable for $filename"; exit 0;;
+ conjecture-unsat) echo "% SZS Theorem for $filename"; exit 0;;
+ esac
+}
+
+trywith 30 --finite-model-find --uf-ss-totality
+trywith 30 --finite-model-find --decision=justification --fmf-fmc
+trywith $to --finite-model-find --decision=justification
+echo "% SZS GaveUp for $filename" \ No newline at end of file
diff --git a/contrib/run-script-casc24-fof b/contrib/run-script-casc24-fof
index eb8e91310..940e26946 100755
--- a/contrib/run-script-casc24-fof
+++ b/contrib/run-script-casc24-fof
@@ -14,19 +14,19 @@ filename=${file%.*}
function trywith {
result="$( ulimit -t "$1";shift;$cvc4 -L tptp --szs-compliant --no-checking --no-interactive "$@" $bench)"
case "$result" in
- sat) echo "SZS Satisfiable for $filename"; exit 0;;
- unsat) echo "SZS Unsatisfiable for $filename"; exit 0;;
- conjecture-sat) echo "SZS CounterSatisfiable for $filename"; exit 0;;
- conjecture-unsat) echo "SZS Theorem for $filename"; exit 0;;
+ sat) echo "% SZS Satisfiable for $filename"; exit 0;;
+ unsat) echo "% SZS Unsatisfiable for $filename"; exit 0;;
+ conjecture-sat) echo "% SZS CounterSatisfiable for $filename"; exit 0;;
+ conjecture-unsat) echo "% SZS Theorem for $filename"; exit 0;;
esac
}
function finishwith {
result="$( $cvc4 -L tptp --szs-compliant --no-checking --no-interactive "$@" $bench)"
case "$result" in
- sat) echo "SZS Satisfiable for $filename"; exit 0;;
- unsat) echo "SZS Unsatisfiable for $filename"; exit 0;;
- conjecture-sat) echo "SZS CounterSatisfiable for $filename"; exit 0;;
- conjecture-unsat) echo "SZS Theorem for $filename"; exit 0;;
+ sat) echo "% SZS Satisfiable for $filename"; exit 0;;
+ unsat) echo "% SZS Unsatisfiable for $filename"; exit 0;;
+ conjecture-sat) echo "% SZS CounterSatisfiable for $filename"; exit 0;;
+ conjecture-unsat) echo "% SZS Theorem for $filename"; exit 0;;
esac
}
@@ -34,4 +34,4 @@ trywith 30
trywith 15 --finite-model-find --fmf-inst-engine
trywith 30 --finite-model-find --decision=justification --fmf-fmc
trywith $to --decision=justification
-echo "SZS GaveUp for $filename" \ No newline at end of file
+echo "% SZS GaveUp for $filename" \ No newline at end of file
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback