(proof-new) Miscellaneous updates to strings from proof-new (#6557)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Tue, 18 May 2021 16:57:04 +0000 (11:57 -0500)
committerGitHub <noreply@github.com>
Tue, 18 May 2021 16:57:04 +0000 (16:57 +0000)
commitfe2cf3ad61eae43c381413a81f5d0137ba4c5903
treed657bf82eb752d1a0652bbd13afbbf0f5eec3ba3
parent4987fc9800830d37d22c7e4f31a3f258146cdf66
(proof-new) Miscellaneous updates to strings from proof-new (#6557)

This includes:
(1) The type rule for `re.range` no longer insists on constant arguments, or a non-empty range. This is required for LFSC proof conversion, where re.range terms take arguments that are not (cvc5 internal) constants.
(2) Simplifications to reductions for indexof, which fixes proof checking errors in LFSC.
src/theory/strings/rewrites.cpp
src/theory/strings/rewrites.h
src/theory/strings/sequences_rewriter.cpp
src/theory/strings/term_registry.cpp
src/theory/strings/theory_strings_preprocess.cpp
src/theory/strings/theory_strings_type_rules.cpp