diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2013-11-06 12:31:31 -0600 |
---|---|---|
committer | Tianyi Liang <tianyi-liang@uiowa.edu> | 2013-11-06 17:19:09 -0600 |
commit | 6d2def1c2e44974227fb06d3aa199722a4193a04 (patch) | |
tree | 1020f03dfbef0e9e5c8759b888dd75885aa2ac37 /src/theory/quantifiers/instantiation_engine.cpp | |
parent | 4ab031f6173ca18aa21c938bc2672ef25c283428 (diff) |
Bug fixes for bounded integer quantification. Current best strategy is to turn off MBQI. Disable relevant triggers by default.
Diffstat (limited to 'src/theory/quantifiers/instantiation_engine.cpp')
-rw-r--r-- | src/theory/quantifiers/instantiation_engine.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/theory/quantifiers/instantiation_engine.cpp b/src/theory/quantifiers/instantiation_engine.cpp index 628f8b14a..fa7b4e342 100644 --- a/src/theory/quantifiers/instantiation_engine.cpp +++ b/src/theory/quantifiers/instantiation_engine.cpp @@ -181,6 +181,16 @@ bool InstantiationEngine::needsCheck( Theory::Effort e ){ }else{ d_performCheck = true; } + static int ierCounter2 = 0; + if( e==Theory::EFFORT_LAST_CALL ){ + ierCounter2++; + //with bounded integers, skip every other last call, + // since matching loops may occur with infinite quantification + if( ierCounter2%2==0 && options::fmfBoundInt() ){ + d_performCheck = false; + } + } + return d_performCheck; } |