Previously, we just collected information about user-specified term names globally, but according to SMT-LIB, term names are also limited to their stack frame (unless option :global-declarations is set to true).
Here we replace the data structure that stores information about user-specified term names with one that respect the scope of the name definitions.
Fixes #726.
Should also resolve the problem reported in #619 with incorrect unsat core reported in incremental setting.
Previously, we just collected information about user-specified term names globally, but according to SMT-LIB, term names are also limited to their stack frame (unless option :global-declarations is set to true).
Here we replace the data structure that stores information about user-specified term names with one that respect the scope of the name definitions.
Fixes #726. Should also resolve the problem reported in #619 with incorrect unsat core reported in incremental setting.