Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small simplifier improvements #863

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marcoeilers
Copy link
Contributor

  • Added utility method Expressions.isKnownWellDefined to check whether some expression is statically known to be well-defined more efficiently than by explicitly computing Expressions.proofObligations; additionally, the new method does not require to be given the current program (which is used to look up function preconditions), whereas the existing one does.
  • Modified the Simplifier s.t. it performs simplifications that might in general make a non-well-defined expression well-defined in cases where it can statically show that the original expression is well-defined.
  • Added a couple of cases for conditionals to the Simplifier.

…nedness, added a couple of cases to simplifier
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.

1 participant