coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Adam Chlipala <adam AT chlipala.net>
- To: Alexandre Pilkiewicz <alexandre.pilkiewicz AT polytechnique.org>
- Cc: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Avoiding some unfold with simpl
- Date: Tue, 26 Oct 2010 08:01:05 -0400
Alexandre Pilkiewicz wrote:
I would like to declare some definitions to be not unfoldable by
simpl, so that it doesn't go "too far".
I tried "Opaque myconst.", but then, even unfold fails.
I there a better way?
The only way I've found to do this is to put the definition inside a module with opaque signature ascription. You can also export from the module a theorem giving the equation defining the identifier; then, in cases where you do want reduction, you have to rewrite with that equality, rather than relying on the definitional equality.
- [Coq-Club] Avoiding some unfold with simpl, Alexandre Pilkiewicz
- Re: [Coq-Club] Avoiding some unfold with simpl, Adam Chlipala
- Re: [Coq-Club] Avoiding some unfold with simpl,
Alexandre Pilkiewicz
- Re: [Coq-Club] Avoiding some unfold with simpl, Mathieu Boespflug
- Re: [Coq-Club] Avoiding some unfold with simpl,
Alexandre Pilkiewicz
- Re: [Coq-Club] Avoiding some unfold with simpl,
Lauri Alanko
- Re: [Coq-Club] Avoiding some unfold with simpl, Alexandre Pilkiewicz
- Re: [Coq-Club] Avoiding some unfold with simpl, Adam Chlipala
Archive powered by MhonArc 2.6.16.