This commit changes the term registration for str.to_int terms. Before, we were not sending out any lemmas when registering str.to_int terms. Now, we send a simple lemma that asserts that the value is greater or equal to negative one.
nm->mkNode(GEQ, n, nm->mkConst(Rational(-1))),
nm->mkNode(LEQ, n, len));
}
+ else if (n.getKind() == STRING_STOI)
+ {
+ regTermLem = nm->mkNode(GEQ, n, nm->mkConst(Rational(-1)));
+ }
if (!regTermLem.isNull())
{
Trace("strings-lemma") << "Strings::Lemma REG-TERM : " << regTermLem