summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/full_model_check.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2014-05-12 14:15:40 -0500
committerAndrew Reynolds <andrew.j.reynolds@gmail.com>2014-05-12 14:15:58 -0500
commit3013db0a0cf330ebd8d09a4d9c0b4d5dd3312068 (patch)
treef6db2044d637a74a801f15cbfe3fddd6bb4f9dbc /src/theory/quantifiers/full_model_check.cpp
parent2550b6de915e6937ca145dae68ee04fc58680bce (diff)
Minor updates/fix to --cbqi-recurse
Diffstat (limited to 'src/theory/quantifiers/full_model_check.cpp')
-rw-r--r--src/theory/quantifiers/full_model_check.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/theory/quantifiers/full_model_check.cpp b/src/theory/quantifiers/full_model_check.cpp
index 63df56392..5cf5a4c72 100644
--- a/src/theory/quantifiers/full_model_check.cpp
+++ b/src/theory/quantifiers/full_model_check.cpp
@@ -679,6 +679,9 @@ bool FullModelChecker::doExhaustiveInstantiation( FirstOrderModel * fm, Node f,
if( d_qe->addInstantiation( f, inst ) ){
Trace("fmc-debug-inst") << "** Added instantiation." << std::endl;
d_addedLemmas++;
+ if( options::fmfOneInstPerRound() ){
+ break;
+ }
}else{
Trace("fmc-debug-inst") << "** Instantiation was duplicate." << std::endl;
//this can happen if evaluation is unknown
@@ -796,6 +799,9 @@ bool FullModelChecker::exhaustiveInstantiate(FirstOrderModelFmc * fm, Node f, No
if( d_qe->addInstantiation( f, inst ) ){
Trace("fmc-exh-debug") << " ...success.";
addedLemmas++;
+ if( options::fmfOneInstPerRound() ){
+ break;
+ }
}else{
Trace("fmc-exh-debug") << ", failed.";
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback