Node TheorySepRewriter::preSkolemEmp( Node n, bool pol, std::map< bool, std::map< Node, Node > >& visited ) {
std::map< Node, Node >::iterator it = visited[pol].find( n );
if( it==visited[pol].end() ){
- Trace("ajr-temp") << "Pre-skolem emp " << n << " with pol " << pol << std::endl;
+ Trace("sep-preprocess") << "Pre-skolem emp " << n << " with pol " << pol << std::endl;
Node ret = n;
if( n.getKind()==kind::SEP_EMP ){
if( !pol ){
Node TheoryStrings::mkRegExpAntec(Node atom, Node ant) {
if(d_regexp_ant.find(atom) == d_regexp_ant.end()) {
- return Rewriter::rewrite( NodeManager::currentNM()->mkNode(kind::AND, ant, atom) );
+ return NodeManager::currentNM()->mkNode(kind::AND, ant, atom);
} else {
Node n = d_regexp_ant[atom];
- return Rewriter::rewrite( NodeManager::currentNM()->mkNode(kind::AND, ant, n) );
+ return NodeManager::currentNM()->mkNode(kind::AND, ant, n);
}
}
}
}
}
- antec = Rewriter::rewrite( NodeManager::currentNM()->mkNode(kind::AND, antec, mkExplain(rnfexp)) );
+ antec = NodeManager::currentNM()->mkNode(kind::AND, antec, mkExplain(rnfexp));
Node conc = nvec.size()==1 ? nvec[0] : NodeManager::currentNM()->mkNode(kind::AND, nvec);
conc = Rewriter::rewrite(conc);
sendLemma( antec, conc, "REGEXP_Unfold" );
switch(d_regexp_opr.delta(r, exp)) {
case 0: {
Node antec = mkRegExpAntec(atom, x.eqNode(d_emptyString));
- antec = Rewriter::rewrite(NodeManager::currentNM()->mkNode(kind::AND, antec, antnf));
+ antec = NodeManager::currentNM()->mkNode(kind::AND, antec, antnf);
sendLemma(antec, exp, "RegExp Delta");
addedLemma = true;
d_regexp_ccached.insert(atom);
}
case 2: {
Node antec = mkRegExpAntec(atom, x.eqNode(d_emptyString));
- antec = Rewriter::rewrite(NodeManager::currentNM()->mkNode(kind::AND, antec, antnf));
+ antec = NodeManager::currentNM()->mkNode(kind::AND, antec, antnf);
Node conc = Node::null();
sendLemma(antec, conc, "RegExp Delta CONFLICT");
addedLemma = true;
}
}*/
Node sREant = mkRegExpAntec(atom, d_true);
- sREant = Rewriter::rewrite(NodeManager::currentNM()->mkNode(kind::AND, sREant, antnf));
+ sREant = NodeManager::currentNM()->mkNode(kind::AND, sREant, antnf);
if(deriveRegExp( x, r, sREant )) {
addedLemma = true;
d_regexp_ccached.insert(atom);