coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Adam Chlipala <adamc AT csail.mit.edu>
- To: Alexandre Pilkiewicz <alexandre.pilkiewicz AT polytechnique.org>
- Cc: Coq <coq-club AT inria.fr>
- Subject: Re: Fwd: [Coq-Club] Why this does not verify?
- Date: Mon, 14 Nov 2011 10:26:49 -0500
Alexandre Pilkiewicz wrote:
2011/11/14 Adam
Chlipala<adamc AT csail.mit.edu>:
I'm surprised that [C2] has type [C], so I think Victor has a legitimateNo, definitions in section only generalize the Variables that are used
point here. The usual section behavior rules imply to me that [C2] should
be parametrized over [Other].
in the body of the definition (or its type). When you admit the proof,
you don't use Other, so it is not generalized. Changing this would
break tons of codes!
That being said, when defining a lemma, it would be nice to be able to
specify which variable are "used" whether they are or not. This is
useful when you want to accelerate compilation of your .v files by
removing the body of all proofs and replacing them by Admitted. But
the issue is known, and Arthur Charguéraud already proposed solution
to it.
Hm, you're right, sorry!
At some point I've seen behavior with sections where a theorem is decided to depend on unused section variables. That choice seems entirely reasonable to me, since other approaches go against the intuitive idea of proof irrelevance. That is, it is unfortunate for the type of the theorem to depend on the specific proof used for it, especially when most of the proof is found automatically. The behavior I'm remembering might require an intermingling with modules/module types, or some other feature not used in Victor's example.
- [Coq-Club] Why this does not verify?, Victor Porton
- Re: [Coq-Club] Why this does not verify?, Alexandre Pilkiewicz
- <Possible follow-ups>
- Fwd: [Coq-Club] Why this does not verify?,
Victor Porton
- Re: Fwd: [Coq-Club] Why this does not verify?,
Adam Chlipala
- Re: [Coq-Club] Why this does not verify?, Victor Porton
- Re: Fwd: [Coq-Club] Why this does not verify?,
Alexandre Pilkiewicz
- Re: [Coq-Club] Why this does not verify?, Victor Porton
- Re: Fwd: [Coq-Club] Why this does not verify?, Adam Chlipala
- Re: Fwd: [Coq-Club] Why this does not verify?,
Adam Chlipala
- Re: [Coq-Club] Why this does not verify?, Paolo Herms
- Re: [Coq-Club] Why this does not verify?, Paolo Herms
Archive powered by MhonArc 2.6.16.