This makes the theory of floating points not request a last call effort check, if that call is known to do nothing.
This should make CVC4 (more) agnostic to whether --symfpu is enabled during configuration.
return;
}
+
+bool TheoryFp::needsCheckLastEffort()
+{
+ // only need to check if we have added to the abstraction map, otherwise
+ // postCheck below is a no-op.
+ return !d_abstractionMap.empty();
+}
+
void TheoryFp::postCheck(Effort level)
{
// Resolve the abstractions for the conversion lemmas
//--------------------------------- standard check
/** Do we need a check call at last call effort? */
- bool needsCheckLastEffort() override { return true; }
+ 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. */