summaryrefslogtreecommitdiff
path: root/src/smt/set_defaults.cpp
diff options
context:
space:
mode:
authorAndrew Reynolds <andrew.j.reynolds@gmail.com>2021-04-05 12:17:39 -0500
committerGitHub <noreply@github.com>2021-04-05 17:17:39 +0000
commitca5fd891038a93bd63b3863faa8c5e39fff88ed0 (patch)
tree770e28e35cf6922dfd98b1335475e2e27b099110 /src/smt/set_defaults.cpp
parent27ca0f4abe8da4445d07daa5b9bf4ed6f72ad1d6 (diff)
Enable UF when pre-skolem nested option is enabled (#6282)
Fixes #4328.
Diffstat (limited to 'src/smt/set_defaults.cpp')
-rw-r--r--src/smt/set_defaults.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/smt/set_defaults.cpp b/src/smt/set_defaults.cpp
index 5fed0d664..6c10eeb94 100644
--- a/src/smt/set_defaults.cpp
+++ b/src/smt/set_defaults.cpp
@@ -631,6 +631,15 @@ void setDefaults(LogicInfo& logic, bool isInternalSubsolver)
Notice() << "Enabling UF because bvAbstraction requires it." << std::endl;
needsUf = true;
}
+ else if (options::preSkolemQuantNested()
+ && options::preSkolemQuantNested.wasSetByUser())
+ {
+ // if pre-skolem nested is explictly set, then we require UF. If it is
+ // not explicitly set, it is disabled below if UF is not present.
+ Notice() << "Enabling UF because preSkolemQuantNested requires it."
+ << std::endl;
+ needsUf = true;
+ }
if (needsUf
// Arrays, datatypes and sets permit Boolean terms and thus require UF
|| logic.isTheoryEnabled(THEORY_ARRAYS)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback