Add Skolem cache for strings, refactor length registration (#2457)
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>
Fri, 14 Sep 2018 19:57:35 +0000 (14:57 -0500)
committerAndres Noetzli <andres.noetzli@gmail.com>
Fri, 14 Sep 2018 19:57:35 +0000 (12:57 -0700)
commitc2111c86973b8a80e20a3fdf3cbd0b2ff0dc7010
tree2de4addf5a0a769f27240f28aeb576a97d5ef625
parent4a9a0dcb8b06e3fc917b642426140b044a64facd
Add Skolem cache for strings, refactor length registration (#2457)

This PR is in preparation for doing more aggressive caching of skolems (for example, in the strings preprocessor).

It refactors sendLengthLemma -> registerLength, which unifies how length lemmas for skolems and other string terms are handled.
src/Makefile.am
src/theory/strings/skolem_cache.cpp [new file with mode: 0644]
src/theory/strings/skolem_cache.h [new file with mode: 0644]
src/theory/strings/theory_strings.cpp
src/theory/strings/theory_strings.h