summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers/ambqi_builder.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2014-05-08 08:13:05 -0500
committerAndrew Reynolds <andrew.j.reynolds@gmail.com>2014-05-08 08:13:05 -0500
commitce831651caf58c1005fd3ebfdd2b75923d594328 (patch)
tree8787737dde71b80722bbf39718c38e739596d9fd /src/theory/quantifiers/ambqi_builder.cpp
parent2ca4e063ca007851ebf73ccb2ac6b7c85e73133d (diff)
Fixes to quantifiers rewriter to prevent miniscoping nested quantifiers. Minor fixes to ambqi. Preparation for CASC proof output. Add NNF option.
Diffstat (limited to 'src/theory/quantifiers/ambqi_builder.cpp')
-rwxr-xr-xsrc/theory/quantifiers/ambqi_builder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/theory/quantifiers/ambqi_builder.cpp b/src/theory/quantifiers/ambqi_builder.cpp
index e3f031d11..7f119ae93 100755
--- a/src/theory/quantifiers/ambqi_builder.cpp
+++ b/src/theory/quantifiers/ambqi_builder.cpp
@@ -863,7 +863,7 @@ bool AbsMbqiBuilder::doExhaustiveInstantiation( FirstOrderModel * fm, Node q, in
bool AbsMbqiBuilder::doCheck( FirstOrderModelAbs * m, TNode q, AbsDef & ad, TNode n ) {
Assert( n.getKind()!=FORALL );
- if( n.getKind()==NOT ){
+ if( n.getKind()==NOT && n[0].getKind()!=FORALL ){
doCheck( m, q, ad, n[0] );
ad.negate();
return true;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback