summaryrefslogtreecommitdiff
path: root/src/theory/quantifiers_engine.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-07-02 20:08:53 -0500
committerGitHub <noreply@github.com>2018-07-02 20:08:53 -0500
commit0dec323ac1b45ce1ca194e9bb2a335c8def525d2 (patch)
treec201933c725ddfd7f68a1e03db8e4f85242d0d6c /src/theory/quantifiers_engine.cpp
parentbe58c8ead1d36ab3625faf848b2ebdce8d5de8a9 (diff)
Remove miscellaneous dead and unused code from quantifiers (#2121)
Diffstat (limited to 'src/theory/quantifiers_engine.cpp')
-rw-r--r--src/theory/quantifiers_engine.cpp28
1 files changed, 4 insertions, 24 deletions
diff --git a/src/theory/quantifiers_engine.cpp b/src/theory/quantifiers_engine.cpp
index 3d966726b..73d2de401 100644
--- a/src/theory/quantifiers_engine.cpp
+++ b/src/theory/quantifiers_engine.cpp
@@ -247,8 +247,10 @@ QuantifiersEngine::QuantifiersEngine(context::Context* c,
// if we require specialized ways of building the model
if( needsBuilder ){
Trace("quant-engine-debug") << "Initialize model engine, mbqi : " << options::mbqiMode() << " " << options::fmfBound() << std::endl;
- if( options::mbqiMode()==quantifiers::MBQI_FMC || options::mbqiMode()==quantifiers::MBQI_FMC_INTERVAL ||
- options::mbqiMode()==quantifiers::MBQI_TRUST || options::fmfBound() ){
+ if (options::mbqiMode() == quantifiers::MBQI_FMC
+ || options::mbqiMode() == quantifiers::MBQI_TRUST
+ || options::fmfBound())
+ {
Trace("quant-engine-debug") << "...make fmc builder." << std::endl;
d_model = new quantifiers::fmcheck::FirstOrderModelFmc( this, c, "FirstOrderModelFmc" );
d_builder = new quantifiers::fmcheck::FullModelChecker( c, this );
@@ -873,11 +875,6 @@ void QuantifiersEngine::assertQuantifier( Node f, bool pol ){
addTermToDatabase(d_term_util->getInstConstantBody(f), true);
}
-void QuantifiersEngine::propagate( Theory::Effort level ){
- CodeTimer codeTimer(d_statistics.d_time);
-
-}
-
Node QuantifiersEngine::getNextDecisionRequest( unsigned& priority ){
unsigned min_priority = 0;
Node dec;
@@ -989,23 +986,6 @@ void QuantifiersEngine::addRequirePhase( Node lit, bool req ){
d_phase_req_waiting[lit] = req;
}
-bool QuantifiersEngine::addSplit( Node n, bool reqPhase, bool reqPhasePol ){
- n = Rewriter::rewrite( n );
- Node lem = NodeManager::currentNM()->mkNode( OR, n, n.notNode() );
- if( addLemma( lem ) ){
- Debug("inst") << "*** Add split " << n<< std::endl;
- return true;
- }
- return false;
-}
-
-bool QuantifiersEngine::addSplitEquality( Node n1, Node n2, bool reqPhase, bool reqPhasePol ){
- //Assert( !areEqual( n1, n2 ) );
- //Assert( !areDisequal( n1, n2 ) );
- Node fm = NodeManager::currentNM()->mkNode( EQUAL, n1, n2 );
- return addSplit( fm );
-}
-
bool QuantifiersEngine::addEPRAxiom( TypeNode tn ) {
if( d_qepr ){
Assert( !options::incrementalSolving() );
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback