summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers_engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/theory/quantifiers_engine.cpp')
-rw-r--r--src/theory/quantifiers_engine.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/theory/quantifiers_engine.cpp b/src/theory/quantifiers_engine.cpp
index 5b50526c4..e48c6eafe 100644
--- a/src/theory/quantifiers_engine.cpp
+++ b/src/theory/quantifiers_engine.cpp
@@ -1246,6 +1246,18 @@ bool QuantifiersEngine::addSplitEquality( Node n1, Node n2, bool reqPhase, bool
return addSplit( fm );
}
+bool QuantifiersEngine::addEPRAxiom( TypeNode tn ) {
+ if( d_qepr ){
+ Assert( !options::incrementalSolving() );
+ if( d_qepr->isEPR( tn ) && !d_qepr->hasEPRAxiom( tn ) ){
+ Node lem = d_qepr->mkEPRAxiom( tn );
+ Trace("quant-epr") << "EPR lemma for " << tn << " : " << lem << std::endl;
+ getOutputChannel().lemma( lem );
+ }
+ }
+ return false;
+}
+
void QuantifiersEngine::markRelevant( Node q ) {
d_model->markRelevant( q );
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback