diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2014-05-12 14:15:40 -0500 |
---|---|---|
committer | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2014-05-12 14:15:58 -0500 |
commit | 3013db0a0cf330ebd8d09a4d9c0b4d5dd3312068 (patch) | |
tree | f6db2044d637a74a801f15cbfe3fddd6bb4f9dbc /src/theory/quantifiers/full_model_check.cpp | |
parent | 2550b6de915e6937ca145dae68ee04fc58680bce (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.cpp | 6 |
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."; } |