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
Remove uses of "Proof with" from library #12065
Conversation
It's amazing how much it breaks! Even Software Foundations, wow! |
Funny, I was pleased that about half the libraries and plugins still compiled. You think it's worth committing the .v changes now? |
Well, it's pretty rare that we commit changes with this level of breakage. This would have to be discussed with the users of the feature, but given that it is not a super problematic feature, I wouldn't push for this too hard. Regarding the clean-up of the standard library, yes it would be interesting to commit this but it would be better to clean the diff as much as possible, i.e., remove the trailing tactics every time they do nothing. |
3147a49
to
2868636
Compare
I already did that for the 2 files in |
We could add language to the doc for "Print with" recommending the use of alternative constructs. Could be in this PR or elsewhere. |
If we stick to changing only |
@Zimmi48's comments about breakage refer to an initial experiment in which I made |
Thanks. I just remember several years ago Software Foundation had a bunch of |
Indeed the use of |
Yeah, I was wondering if some automated strategy (based on proof diffs) could help here, but I have nothing concrete to propose. |
Before discouraging the use of the feature, we should ask the opinion of @bcpierce00. It makes little sense to discourage a feature in the reference manual, if in the same time it is presented in the most read tutorial about Coq. But we can already remove it from the standard library if we want. |
2868636
to
a3c651d
Compare
a3c651d
to
e473315
Compare
Since I'm still reluctant to introduce a change that puts a lot of |
I like this last option a lot. I'd be happy to get rid of all these Proof...with...'s, but would like not to make the proofs a lot uglier in the process. |
I think that in general the idea of I have indeed trouble agreeing on the original premise of this PR which qualifies |
There's a major difference between It would be pretty reasonable to replace this feature with a |
IIUC
Something along these lines would make it painless for users to update their proofs, though instead of printing a warning, |
The "needs: rebase" label was set more than 30 days ago. If the PR is not rebased in 30 days, it will be automatically closed. |
I suggest closing this PR until a tool is made available that would help replace |
This PR was not rebased after 30 days despite the warning, it is now closed. |
1 similar comment
This PR was not rebased after 30 days despite the warning, it is now closed. |
NEW DESCRIPTION:
Remove uses of "Proof with" from the library because it's not a great feature (see #12059) and I think not a best practice. The library should try to follow best practices since users may emulate thing they see in there.
ORIGINAL:
Experiment with removing "Proof with" and see what breaks