coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Adam Koprowski <adam.koprowski AT gmail.com>
- To: CHA Reeseo <reeseo AT formal.korea.ac.kr>
- Cc: Adam Chlipala <adam AT chlipala.net>, coq-club <coq-club AT inria.fr>
- Subject: Re: [Coq-Club] calculating values depending on the structure of proofs
- Date: Thu, 8 Apr 2010 00:08:19 +0200
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=ZER7GAZpyyKRy3IaMCLIZdUKvFqGfztHSFkxyYpkPbb6uMoRbLBnPMdsElHUicDQ2x p1GEdZFCP/vcoH+iqwJ5J94wDmcKvAzYNJWicZpwXXUShxH/Sp+W9Qu/peXBWgqW02R3 nJvfZA1SX1Yyai7OcoGTzynlBitIQNhZsPQcQ=
I have a new (but related) question:
P : nat -> Prop
H : {x : nat | P x}
============================
{y : nat | P y}
This example is too simple and can be proved by "assumption", but let's
forget about it. Here,
* "destruct H; eexists; eassumption" succeeds, but
* "eexists; destruct H; eassumption" fails
because of the reason above. But visually, the results of
* "destruct H; eexists" and
* "eexists; destruct H"
look the same, and it's somewhat confusing:
p : P x
P : nat -> Prop
x : nat
============================
P ?6
Does Coq have any command or configuration option to enable some kind of
'visual indication' on the context?
I believe that 'Show Existentials' is what you are looking for: http://coq.inria.fr/refman/Reference-Manual010.html#@command192.
Adam
Adam Koprowski [http://www.cs.ru.nl/~Adam.Koprowski]
R&D @ MLstate [http://mlstate.com, 15 rue Berlier, 75013 Paris, France]
- [Coq-Club] calculating values depending on the structure of proofs, CHA Reeseo
- [Coq-Club] Re: calculating values depending on the structure of proofs, CHA Reeseo
- Re: [Coq-Club] calculating values depending on the structure of proofs,
Adam Chlipala
- Re: [Coq-Club] calculating values depending on the structure of proofs,
CHA Reeseo
- Re: [Coq-Club] calculating values depending on the structure of proofs, Adam Chlipala
- Re: [Coq-Club] calculating values depending on the structure of proofs, Adam Koprowski
- Re: [Coq-Club] calculating values depending on the structure of proofs,
CHA Reeseo
- Re: [Coq-Club] calculating values depending on the structure of proofs, Jean-Francois Monin
Archive powered by MhonArc 2.6.16.