This reenables a variant of an assertion that was deleted in #8749, a weaker version of that assertion should now hold.
// equivalent up to purification
if (d_skDefs.find(skolem) == d_skDefs.end())
{
+ // should not have already computed whether the skolem has skolems or
+ // otherwise we should have marked that we have skolems, or else
+ // our computation of hasSkolems is wrong after adding this definition
+ Assert(d_hasSkolems.find(skolem) == d_hasSkolems.end()
+ || d_hasSkolems[skolem]);
d_skDefs.insert(skolem, def);
}
}