From d38ad982be4717eee4fa102533e12c338b2d1b37 Mon Sep 17 00:00:00 2001 From: ajreynol Date: Wed, 28 May 2014 23:32:59 +0200 Subject: [PATCH] Minor changes to script. Disable cbqi sat. --- contrib/run-script-cascj7-fnt | 2 +- contrib/run-script-cascj7-fof | 2 +- contrib/run-script-cascj7-tff | 4 ++-- src/theory/quantifiers/instantiation_engine.cpp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/contrib/run-script-cascj7-fnt b/contrib/run-script-cascj7-fnt index ce54fe5ae..0d8642e67 100755 --- a/contrib/run-script-cascj7-fnt +++ b/contrib/run-script-cascj7-fnt @@ -15,7 +15,7 @@ echo "------- cvc4-fnt casc j7 : $bench at $2..." function trywith { limit=$1; shift; echo "--- Run $@ at $limit..."; - (ulimit -t "$limit";$cvc4 --no-checking --no-interactive --dump-models --produce-models --force-no-limit-cpu-while-dump "$@" $bench) 2>/dev/null | + (ulimit -S -t "$limit";$cvc4 --no-checking --no-interactive --dump-models --produce-models --force-no-limit-cpu-while-dump "$@" $bench) 2>/dev/null | (read w1 w2 w3 result w4 w5; case "$result" in Satisfiable) echo "$w1 $w2 $w3 $result $w4 $w5";cat;exit 0;; diff --git a/contrib/run-script-cascj7-fof b/contrib/run-script-cascj7-fof index 783eca17e..4cd222854 100755 --- a/contrib/run-script-cascj7-fof +++ b/contrib/run-script-cascj7-fof @@ -15,7 +15,7 @@ echo "------- cvc4-fof casc j7 : $bench at $2..." function trywith { limit=$1; shift; echo "--- Run $@ at $limit..."; - (ulimit -t "$limit";$cvc4 --no-checking --no-interactive --dump-instantiations --inst-format=szs --force-no-limit-cpu-while-dump "$@" $bench) 2>/dev/null | + (ulimit -S -t "$limit";$cvc4 --no-checking --no-interactive --dump-instantiations --inst-format=szs --force-no-limit-cpu-while-dump "$@" $bench) 2>/dev/null | (read w1 w2 w3 result w4 w5; case "$result" in Unsatisfiable) echo "$w1 $w2 $w3 $result $w4 $w5";cat;exit 0;; diff --git a/contrib/run-script-cascj7-tff b/contrib/run-script-cascj7-tff index 5dd1a9d98..9422f8536 100755 --- a/contrib/run-script-cascj7-tff +++ b/contrib/run-script-cascj7-tff @@ -25,14 +25,14 @@ function trywith { } function finishwith { echo "--- Run $@..."; - $cvc4 --no-checking --no-interactive --dump-instantiations --inst-format=szs "$@" $bench + $cvc4 --no-checking --no-interactive "$@" $bench } trywith 15 --cbqi-recurse --full-saturate-quant trywith 15 --decision=internal --full-saturate-quant trywith 30 --quant-cf --qcf-tconstraint --full-saturate-quant trywith 20 --finite-model-find -trywith 30 --full-saturate-quant +trywith 30 --fmf-bound-int trywith 60 --quant-cf --full-saturate-quant finishwith --cbqi-recurse --full-saturate-quant --pre-skolem-quant # echo "% SZS status" "GaveUp for $filename" diff --git a/src/theory/quantifiers/instantiation_engine.cpp b/src/theory/quantifiers/instantiation_engine.cpp index 53c6d9e27..d0f50fa6a 100644 --- a/src/theory/quantifiers/instantiation_engine.cpp +++ b/src/theory/quantifiers/instantiation_engine.cpp @@ -393,7 +393,7 @@ void InstantiationEngine::debugSat( int reason ){ } } } - if( options::recurseCbqi() && !options::preSkolemQuant() && d_setIncomplete ){ + if( d_setIncomplete ){ Debug("quantifiers-sat") << "Cannot conclude SAT with nested quantifiers in recursive strategy." << std::endl; //TODO : only when existentials with inst constants d_quantEngine->getOutputChannel().setIncomplete(); -- 2.30.2