diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-09-11 16:01:11 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-11 16:01:11 -0500 |
commit | b7bbe9a3bc30f41d1775a187ccc732aaeb41eaa1 (patch) | |
tree | 8f4d23e04f93aef397c2adafe2e671e2907671ce /src/theory/uf/theory_uf.h | |
parent | 2b7a0168bddfd2b840171aa8b9681f16d606c0b8 (diff) |
Move finite model minimization to UF last call effort (#5050)
This moves model minimization happen in TheoryUF's last call effort check instead of being a custom call in quantifiers finite model finding. This is both a better design and avoids bugs when quantifiers are not enabled (for QF_UF+cardinality constraints).
Fixes #4850.
Diffstat (limited to 'src/theory/uf/theory_uf.h')
-rw-r--r-- | src/theory/uf/theory_uf.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/theory/uf/theory_uf.h b/src/theory/uf/theory_uf.h index 4a8369483..86c1b62c8 100644 --- a/src/theory/uf/theory_uf.h +++ b/src/theory/uf/theory_uf.h @@ -158,6 +158,8 @@ private: //--------------------------------- end initialization //--------------------------------- standard check + /** Do we need a check call at last call effort? */ + bool needsCheckLastEffort() override; /** Post-check, called after the fact queue of the theory is processed. */ void postCheck(Effort level) override; /** Pre-notify fact, return true if processed. */ @@ -187,10 +189,6 @@ private: EqualityStatus getEqualityStatus(TNode a, TNode b) override; std::string identify() const override { return "THEORY_UF"; } - - /** get a pointer to the uf with cardinality */ - CardinalityExtension* getCardinalityExtension() const { return d_thss.get(); } - private: /** Explain why this literal is true by building an explanation */ void explain(TNode literal, Node& exp); |