coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Laurent Th�ry <Laurent.Thery AT sophia.inria.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:52:23 +0200
Patrice Chalin wrote:
Abstractly speaking, while constructing a proof, I have reached the followingIf you want a forall elimination
situation
x : T
H : forall x' : T, P x'
...
============================
G
for some complex term P : T -> Prop. Assume that G can no longer me worked on.
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?
assert (H1 := H x).
will do the job.
--
Laurent
- [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.