Skip to content

Conversation

leonardoalt
Copy link

  • Added the implies operator to the SolverInterface.
  • Keeping track of the current path conditions.
  • Using the conjunction of the current path conditions as implicant for checks instead of pushing the solver. The solver is still pushed/popped for the check, but not for the condition scope.


m_interface->push();
m_interface->addAssertion(expr(_condition));
m_interface->addAssertion(currentPathConditions() && expr(_condition));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a helper for m_interface->addAssertion(currentPathCondition() && x)?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@chriseth chriseth merged commit 2e2f819 into argotorg:develop Dec 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants