-
Notifications
You must be signed in to change notification settings - Fork 690
Make Instance
without a body always open a proof
#9274
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
Make Instance
without a body always open a proof
#9274
Conversation
After this PR, the status of |
Instead of this I would rather replace |
@SkySkimmer I think you are reading the code incorrectly. Look at the diff, it is about much more than trivial classes. The change you suggest breaks much more, as it changes the semantics of So I prefer the current version, where the only thing we do is to make |
Instance
without a body always open a proof
I don't know stdlib classes enough to tell, can you explain more?
Isn't changing the semantics the point? |
In fact, I was wrong, they are all trivial. It is just that we unbundle a lot of stuff. I'll try your change, as it may be a more backward compatible way of doing things. Thanks! |
83c66a9
to
af7b776
Compare
af7b776
to
09e50ba
Compare
This is in preparation for rocq-prover/rocq#9274.
This is in preparation for rocq-prover/rocq#9274.
This is in preparation for rocq-prover/rocq#9274.
This is in preparation for rocq-prover/rocq#9274.
This is in preparation for rocq-prover/rocq#9274.
This is in preparation for rocq-prover/rocq#9274.
This is in preparation for rocq-prover/rocq#9274.
This is in preparation for rocq-prover/rocq#9274.
This is in preparation for rocq-prover/rocq#9274.
This is in preparation for rocq-prover/rocq#9274.
09e50ba
to
309cf3d
Compare
This is in preparation for rocq-prover/rocq#9274.
This is in preparation for rocq-prover/rocq#9274.
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.
LGTM. It looks like it needs many overlays though.
Not really, as all the patches I submitted are backward compatible, so they can be integrated already. |
This is in preparation for rocq-prover/rocq#9274.
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.
finally!
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.
Congrats!
* Add "… := {}" for trivial Instances (cf. rocq-prover/rocq#9274) * Rename a few bound variables to avoid clash with section variables.
This is in preparation for rocq-prover/rocq#9274.
This is in preparation for rocq-prover/rocq#9274.
This is in preparation for rocq-prover/rocq#9274.
This is in preparation for rocq-prover/rocq#9274.
This is in preparation for rocq-prover/rocq#9274.
This is in preparation for rocq-prover/rocq#9274.
This is in preparation for rocq-prover/rocq#9274.
This is in preparation for rocq-prover/rocq#9274.
This is a follow-up on #9270. It makes
Instance
without a body always open a proof.The standard library was easy to fix. The only remaining open problem is how to make backward compatible fixes on downstream devs. This will probably require introducing a deprecated compatibility option.
Based on #9270 and #9273.