move decision to use teardown or not to logics
authorKshitij Bansal <kshitij@cs.nyu.edu>
Fri, 5 Jun 2015 20:55:46 +0000 (16:55 -0400)
committerKshitij Bansal <kshitij@cs.nyu.edu>
Fri, 5 Jun 2015 20:55:46 +0000 (16:55 -0400)
contrib/run-script-smtcomp2015-application
contrib/run-script-smtcomp2015-application-experimental

index b3149ce7cd2587e5b978d0e2620ccbcb11f7d793..ce539546992e88d41913a2dcffa2e7d059fef8ae 100755 (executable)
@@ -20,33 +20,33 @@ function runcvc4 {
   # we run in this way for line-buffered input, otherwise memory's a
   # concern (plus it mimics what we'll end up getting from an
   # application-track trace runner?)
-  $cvc4 --force-logic="$logic" -L smt2 --print-success --no-checking --no-interactive --tear-down-incremental "$@" <&0-
+  $cvc4 --force-logic="$logic" -L smt2 --print-success --no-checking --no-interactive "$@" <&0-
 }
 
 case "$logic" in
 
 QF_LRA)
-  runcvc4 --enable-miplib-trick --miplib-trick-subs=4 --lemmas-on-replay-failure --replay-early-close-depth=4 --replay-lemma-reject-cut=128 --replay-reject-cut=512 --unconstrained-simp
+  runcvc4 --tear-down-incremental --enable-miplib-trick --miplib-trick-subs=4 --lemmas-on-replay-failure --replay-early-close-depth=4 --replay-lemma-reject-cut=128 --replay-reject-cut=512 --unconstrained-simp
   ;;
 QF_LIA)
   # same as QF_LRA but add --pb-rewrites
-  runcvc4 --enable-miplib-trick --miplib-trick-subs=4 --lemmas-on-replay-failure --replay-early-close-depth=4 --replay-lemma-reject-cut=128 --replay-reject-cut=512 --unconstrained-simp --pb-rewrites
+  runcvc4 --tear-down-incremental --enable-miplib-trick --miplib-trick-subs=4 --lemmas-on-replay-failure --replay-early-close-depth=4 --replay-lemma-reject-cut=128 --replay-reject-cut=512 --unconstrained-simp --pb-rewrites
   ;;
 ALIA|AUFLIA|AUFLIRA|AUFNIRA|BV|UF|UFBV|UFIDL|UFLIA|UFLRA|UFNIA)
-  runcvc4 
+  runcvc4  --tear-down-incremental
   ;;
 LIA|LRA|NIA|NRA)
-  runcvc4 --cbqi --no-cbqi-sat
+  runcvc4 --tear-down-incremental --cbqi --no-cbqi-sat
   ;;
 QF_BV)
-  runcvc4 --unconstrained-simp --bv-eq-slicer=auto --bv-div-zero-const --bv-intro-pow2
+  runcvc4 --tear-down-incremental --unconstrained-simp --bv-eq-slicer=auto --bv-div-zero-const --bv-intro-pow2
   ;;
 QF_AUFLIA|QF_AX)
-  runcvc4 --no-arrays-eager-index --arrays-eager-lemmas
+  runcvc4 --tear-down-incremental --no-arrays-eager-index --arrays-eager-lemmas
   ;;
 *)
   # just run the default
-  runcvc4
+  runcvc4 --tear-down-incremental
   ;;
 
 esac
index 4219241ef352006f3cb583e1fab20bc6ca152301..7cbeeee2ac23eff3725290c548324b93f705e460 100755 (executable)
@@ -20,33 +20,33 @@ function runcvc4 {
   # we run in this way for line-buffered input, otherwise memory's a
   # concern (plus it mimics what we'll end up getting from an
   # application-track trace runner?)
-  $cvc4 --force-logic="$logic" -L smt2 --print-success --no-checking --no-interactive --tear-down-incremental "$@" <&0-
+  $cvc4 --force-logic="$logic" -L smt2 --print-success --no-checking --no-interactive "$@" <&0-
 }
 
 case "$logic" in
 
 QF_LRA)
-  runcvc4 --enable-miplib-trick --miplib-trick-subs=4 --lemmas-on-replay-failure --replay-early-close-depth=4 --replay-lemma-reject-cut=128 --replay-reject-cut=512 --unconstrained-simp
+  runcvc4 --tear-down-incremental --enable-miplib-trick --miplib-trick-subs=4 --lemmas-on-replay-failure --replay-early-close-depth=4 --replay-lemma-reject-cut=128 --replay-reject-cut=512 --unconstrained-simp
   ;;
 QF_LIA)
   # same as QF_LRA but add --pb-rewrites
-  runcvc4 --enable-miplib-trick --miplib-trick-subs=4 --lemmas-on-replay-failure --replay-early-close-depth=4 --replay-lemma-reject-cut=128 --replay-reject-cut=512 --unconstrained-simp --pb-rewrites
+  runcvc4 --tear-down-incremental --enable-miplib-trick --miplib-trick-subs=4 --lemmas-on-replay-failure --replay-early-close-depth=4 --replay-lemma-reject-cut=128 --replay-reject-cut=512 --unconstrained-simp --pb-rewrites
   ;;
 ALIA|AUFLIA|AUFLIRA|AUFNIRA|BV|UF|UFBV|UFIDL|UFLIA|UFLRA|UFNIA)
-  runcvc4 
+  runcvc4 --tear-down-incremental
   ;;
 LIA|LRA|NIA|NRA)
-  runcvc4 --cbqi
+  runcvc4 --tear-down-incremental --cbqi
   ;;
 QF_BV)
-  runcvc4 --unconstrained-simp --bv-eq-slicer=auto --bv-div-zero-const --bv-intro-pow2
+  runcvc4 --tear-down-incremental --unconstrained-simp --bv-eq-slicer=auto --bv-div-zero-const --bv-intro-pow2
   ;;
 QF_AUFLIA|QF_AX)
-  runcvc4 --no-arrays-eager-index --arrays-eager-lemmas
+  runcvc4 --tear-down-incremental --no-arrays-eager-index --arrays-eager-lemmas
   ;;
 *)
   # just run the default
-  runcvc4
+  runcvc4 --tear-down-incremental
   ;;
 
 esac