Fix non-termination in the strings rewriter (#8438)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Thu, 31 Mar 2022 02:08:18 +0000 (21:08 -0500)
committerGitHub <noreply@github.com>
Thu, 31 Mar 2022 02:08:18 +0000 (02:08 +0000)
commit600685caae205a9abe6bd7d821f5b2716f6f7520
tree4e417bd9fbaf170136d6b12c0854ab7a08932276
parentef48e42744b158a077abdf1299ce9e53da87379f
Fix non-termination in the strings rewriter (#8438)

Fixes #8434.

This makes our component containment utility less aggressive. This impacts (seldom used) rewrites for indexof and replace only.
src/theory/rewriter.cpp
src/theory/strings/strings_entail.cpp
src/theory/strings/strings_entail.h
test/regress/cli/CMakeLists.txt
test/regress/cli/regress1/strings/issue8434-nterm-str-rw.smt2 [new file with mode: 0644]