coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Pierre-Marie P�drot <pierremarie.pedrot AT ens-lyon.fr>
- To: Patrice Chalin <chalin AT encs.concordia.ca>
- Cc: coq-club AT inria.fr
- Subject: Re: [Coq-Club] forall elimination in hypotheses?
- Date: Mon, 10 May 2010 10:25:37 +0200
On 09/05/2010 08:00, Patrice Chalin wrote:
> I would like to do a forall elimination on H. While in general I know that
> this
> is impossible (because T might not be inhabited), in this case, we have the
> witness x : T. Hence, I would like to be able to instantiate H with
> x. Can
> this be done in Coq?
There are various ways to do that ; you may use the following tactics
and their variants :
specialize (H x).
(* This one will keep the name H for the specialize hypothesis, or : *)
assert (H' := H x).
(* You need to pick up a fresh name for this one. *)
PMP
Attachment:
signature.asc
Description: OpenPGP digital signature
- [Coq-Club] forall elimination in hypotheses?, Patrice Chalin
- Re: [Coq-Club] forall elimination in hypotheses?, Pierre-Marie Pédrot
- Re: [Coq-Club] forall elimination in hypotheses?, Laurent Théry
Archive powered by MhonArc 2.6.16.