[Seq] Remove `SkolemCache::mkSkolemSeqNth()` (#8643)
authorAndres Noetzli <andres.noetzli@gmail.com>
Thu, 21 Apr 2022 05:28:52 +0000 (22:28 -0700)
committerGitHub <noreply@github.com>
Thu, 21 Apr 2022 05:28:52 +0000 (05:28 +0000)
commit76465f3dbe7d9a54ef4ea6c10997b4f0996590fa
tree561802d58325f55afbc87e93a64aa338b8c447f9
parentf29f07d2c3ac15fe55f0055c9a001dc24d13bdce
[Seq] Remove `SkolemCache::mkSkolemSeqNth()` (#8643)

This removes the `SkolemCache::mkSkolemSeqNth()` method. Instead of
handling the out-of-bounds case with a UF, we just use `seq.nth` in its
original form for the out-of-bounds case (and rely on the fact that the
equality engine is configured to perform congruence closure on that
kind). This is part of the changes for the paper on sequences.
src/expr/skolem_manager.cpp
src/expr/skolem_manager.h
src/theory/strings/array_core_solver.cpp
src/theory/strings/array_solver.cpp
src/theory/strings/skolem_cache.cpp
src/theory/strings/skolem_cache.h
src/theory/strings/theory_strings_preprocess.cpp