Assert(vals.size() == candidates.size());
Node sbody = d_base_body.substitute(
candidates.begin(), candidates.end(), vals.begin(), vals.end());
- Trace("cegis-sample-debug") << "Sample " << sbody << std::endl;
+ Trace("cegis-sample-debug2") << "Sample " << sbody << std::endl;
// do eager unfolding
std::map<Node, Node> visited_n;
sbody = d_qe->getTermDatabaseSygus()->getEagerUnfold(sbody, visited_n);
Node lem;
// introduce the skolem variables
std::vector<Node> sks;
+ std::vector<Node> vars;
if (constructed_cand)
{
if (inst.getKind() == NOT && inst[0].getKind() == FORALL)
{
- std::vector<Node> vars;
for (const Node& v : inst[0][0])
{
Node sk = nm->mkSkolem("rsk", v.getType());
{
Trace("cegqi-engine") << " * Verification lemma failed for:\n ";
// do not send out
- for (const Node& v : d_ce_sk_vars)
+ for (unsigned i = 0, size = d_ce_sk_vars.size(); i < size; i++)
{
+ Node v = d_ce_sk_vars[i];
Node mv = Node::fromExpr(verifySmt.getValue(v.toExpr()));
- Trace("cegqi-engine") << v << " -> " << mv << " ";
+ Trace("cegqi-engine") << vars[i] << " -> " << mv << " ";
d_ce_sk_var_mvs.push_back(mv);
}
Trace("cegqi-engine") << std::endl;