Register lower bound for str.to_int (#4408)
authorAndres Noetzli <andres.noetzli@gmail.com>
Tue, 28 Apr 2020 20:10:16 +0000 (13:10 -0700)
committerGitHub <noreply@github.com>
Tue, 28 Apr 2020 20:10:16 +0000 (15:10 -0500)
commitad0b69e6a6242c2c7a2d060ff70ddd78861ca50a
tree6c3d9f9b68e245c40a66d0004364e9e61cd391ab
parentbeb4b2d81b47879004e09a4f626b9e4e189e8536
Register lower bound for str.to_int (#4408)

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.
src/theory/strings/term_registry.cpp