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
Stop caring about unfolding state of primproj in constr_matching #15559
Conversation
d8f5ea3
to
fa41992
Compare
Note all 9 combinations of matching with primitive projections in the added test. |
fa41992
to
06e058e
Compare
In this PR all the variants (compatibility constant, folded, unfolded) are equated by constr_matching (following the previous decision to equate compatibility constant and folded projection), other choices are possible. |
06e058e
to
eed1411
Compare
Not sure what the other tests were trying to do, the code I removed seems to test bugs(?) |
I guess this reverts b6e39ad |
A good first step towards the removal of the unfolded flag if you ask me... But there is still quite a bit here and there. |
In particular, equating the constant to the projection in evarconv when the constant is not delta-reducible, is giving me another headache (because whd_state_gen will not push a Zproj on the stack if it is not delta-reducible or does not have the unfolded flag)... |
To be honest I am very surprised nobody relies on that in the CI. |
Me too, I would have thought some of Jason's developments would rely on it. |
Abort. | ||
|
||
Goal forall h, setT h = setT h. | ||
Proof. intro. progress unfold setT. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does progress
no longer see unfolding status as progress?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
progress
uses term equality, not matching. This PR shouldn't change this behaviour (but it will eventually, when we get rid of the unfolding flag).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs a changelog.
eed1411
to
2199f35
Compare
changelogged |
@coqbot merge now |
Fix #15554