Skip to content

Commit 8cd17fe

Browse files
author
Joel Allred
committed
Use specific binary relation
The specific version includes a typecheck.
1 parent 61503f0 commit 8cd17fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/solvers/strings/string_refinement.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -740,8 +740,8 @@ decision_proceduret::resultt string_refinementt::dec_solve()
740740
// All generated strings should have non-negative length
741741
for(const auto &string : generator.array_pool.created_strings())
742742
{
743-
add_lemma(binary_relation_exprt{
744-
string.length(), ID_ge, from_integer(0, string.length_type())});
743+
add_lemma(greater_or_equal_to(
744+
string.length(), from_integer(0, string.length_type())));
745745
}
746746

747747
// Initial try without index set

0 commit comments

Comments
 (0)