Adding "Body", synonymous of "Proof", for interactively-defined definitions - #18709
Adding "Body", synonymous of "Proof", for interactively-defined definitions#18709herbelin wants to merge 1 commit into
Conversation
|
IMHO I'd instead remove the |
That's a different question than what the PR is doing. The motivation of the PR is to support scripts of the form: so that we don't have to write neither the non-bracketed: nor the misleading: If the PR introduces Would you like me to make a PR deprecating |
|
@herbelin based on your examples I'm not sure the PR is doing what you want? (Do examples compile at all?) I think you've modified the |
|
I'm not convinced that we want more aliases. Also CI indicates that the Show Proof change is broken. |
86b29b2 to
d7833a9
Compare
Would you rather go in the direction of removing |
|
Excerpts from rocq-prover/rfcs#42: "The motivation for the second part of the CEP (separating the transparency status from the Defined / Qed commands) is that Defined is naturally associated with the notion of definition and Qed with the notion of proof. The use case that it has taken (defined theorems to mean non-opaque ones) was not anticipated and now we would have other ways of specifying it (the attribute). Furthermore, having the transparency status of an object always be determined at declaration time would remove an inconsistency between the case where a body is provided and the case where the body is built in interactive proof mode." "The end goal is that the transparency status is only determined by the attributes and that Qed and Defined become synonyms of each other (Qed being encouraged in combination with Theorem and Defined being encouraged in combination with Definition)." |
|
Doesn't seem ready for 8.20, removing the milestone. |
|
This is a design question somehow related to the rocq-prover/rfcs#42. No urgency. |
|
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. |
|
This PR was not rebased after 30 days despite the warning, it is now closed. |
See discussion at rocq-prover/rfcs#42.
We introduce
Bodyas a synonymous ofProofto delimit the beginning of a definition by tactics. When used in the formBody c, it indicates anOpaquedeclaration (independently of the question of whether the formsProof candBody c, that add little, are worth to be kept). This is useful in particular for UIs that rely onProof..Qed-like blocks for highlighting, whileProofsounds odd for aDefinition.If wanted, this may help to introduce a warning on proofs not started with
Proof.