Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Hotfix for the handling of bottom and top for the CTerm class #628

Open
wants to merge 12 commits into
base: master
Choose a base branch
from

Conversation

iFrostizz
Copy link
Contributor

#621 introduced a bug, it was falsely simplifying to Bottom because it was returning the disjunct of all states when using the prove_cterm endpoint. This got uncovered as part of runtimeverification/evm-semantics#2041

Copy link
Member

@nwatson22 nwatson22 left a comment

Choose a reason for hiding this comment

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

I looked at this and it sounds like you were correct about what the problem is. We just need to make sure we aren't calling CTerm.from_kast on a term that could still possibly be a disjunction of terms, so run the flatten_label('#Or'... before it's converted to a CTerm.

@nwatson22 nwatson22 self-assigned this Sep 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants