diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2016-02-11 15:07:37 -0600 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2016-02-11 15:07:37 -0600 |
commit | 7acc2844df65ab6fdbf8166653c71eaa26d4d151 (patch) | |
tree | e289c79b5cf0bde3f7e261f81fc5c54c58b0ae01 /src/theory/quantifiers/quant_util.cpp | |
parent | 78608a5925938d7ae78b5ac08d2f003d7332810a (diff) |
More aggressive conditional rewriting for quantified formulas. Bug fix set incomplete for fmc.
Diffstat (limited to 'src/theory/quantifiers/quant_util.cpp')
-rw-r--r-- | src/theory/quantifiers/quant_util.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/theory/quantifiers/quant_util.cpp b/src/theory/quantifiers/quant_util.cpp index fc1f052c3..bf91f74c6 100644 --- a/src/theory/quantifiers/quant_util.cpp +++ b/src/theory/quantifiers/quant_util.cpp @@ -349,6 +349,9 @@ void QuantPhaseReq::getPolarity( Node n, int child, bool hasPol, bool pol, bool& }else if( n.getKind()==ITE ){ newHasPol = (child!=0) && hasPol; newPol = pol; + }else if( n.getKind()==FORALL ){ + newHasPol = (child==1) && hasPol; + newPol = pol; }else{ newHasPol = false; newPol = pol; |