Skip to content

Assumptions for equiv_* #5233

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Assumptions for equiv_* #5233

wants to merge 3 commits into from

Conversation

KrystalDelusion
Copy link
Member

What are the reasons/motivation for this change?

Fix #5196.

Explain how this is achieved.

  • Add -set-assumes option to equiv_simple.
  • Also the other equiv_* passes (just equiv_induct?).

Based on -set-assumes option from sat pass (also because that is an option rather than default behavior).

I initially wasn't convinced that the $assume cells would work with FFs because of the seed_a next_seed_a stuff going on, but I think actually the implementation I did of not checking through the FFs and instead only testing the inputs of the $assume is fine. It probably could use some tidy up though since it is a bit of a mess just because of how it does the same thing for both the A and B input cones.

If applicable, please suggest to reviewers how they can test the change.

Based on existing code for input cone and the `sat` handling of `-set-assumes`.
Update `equiv_assume.ys` to use `-set-assumes` option.
@KrystalDelusion KrystalDelusion marked this pull request as draft July 20, 2025 22:28
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.

equiv_* doesn't respect $assume
1 participant