diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2021-04-05 12:17:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-05 17:17:39 +0000 |
commit | ca5fd891038a93bd63b3863faa8c5e39fff88ed0 (patch) | |
tree | 770e28e35cf6922dfd98b1335475e2e27b099110 /src | |
parent | 27ca0f4abe8da4445d07daa5b9bf4ed6f72ad1d6 (diff) |
Enable UF when pre-skolem nested option is enabled (#6282)
Fixes #4328.
Diffstat (limited to 'src')
-rw-r--r-- | src/smt/set_defaults.cpp | 9 |
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) |