projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a64af5c
)
Short-circuit in TheoryArithPrivate::check(), care of Tim.
author
Morgan Deters
<mdeters@cs.nyu.edu>
Mon, 17 Nov 2014 14:33:55 +0000
(09:33 -0500)
committer
Morgan Deters
<mdeters@cs.nyu.edu>
Mon, 17 Nov 2014 21:21:40 +0000
(16:21 -0500)
src/theory/arith/theory_arith_private.cpp
patch
|
blob
|
history
diff --git
a/src/theory/arith/theory_arith_private.cpp
b/src/theory/arith/theory_arith_private.cpp
index d6537c56200a877d3e5ac7a638eb20f6fd6e4ed0..c8e7991a57e84bb82c5a3bbff28197c3ff3dc284 100644
(file)
--- a/
src/theory/arith/theory_arith_private.cpp
+++ b/
src/theory/arith/theory_arith_private.cpp
@@
-3346,6
+3346,11
@@
bool TheoryArithPrivate::hasFreshArithLiteral(Node n) const{
void TheoryArithPrivate::check(Theory::Effort effortLevel){
Assert(d_currentPropagationList.empty());
+
+ if(done() && !Theory::fullEffort(effortLevel) && ( d_qflraStatus == Result::SAT) ){
+ return;
+ }
+
TimerStat::CodeTimer checkTimer(d_containing.d_checkTime);
//cout << "TheoryArithPrivate::check " << effortLevel << std::endl;
Debug("effortlevel") << "TheoryArithPrivate::check " << effortLevel << std::endl;