coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Jonas Oberhauser <s9joober AT gmail.com>
- To: lucian.patcas AT gmail.com
- Cc: coq-club AT inria.fr
- Subject: Re: [Coq-Club] replace ... at?
- Date: Fri, 05 Oct 2012 01:57:06 +0200
Am 04.10.2012 16:45, schrieb Lucian M.
Patcas:
You could use rewrite to complete the proof:intros X x y P H H0. rewrite <- H0 in H. assumption. Lucian On Thu, Oct 4, 2012 at 9:54 AM, Jonas
Oberhauser <s9joober AT gmail.com>
wrote:
Hi all, is there such a thing like a replace at? Goal forall X (x y : X) P, P x y -> x = y -> P x x. intros. replace x with y at 2. (* doesn't work ? *) rewrite H at 2. (* supposedly requries Setoid ? *) replace is too eager. I have fallen back to: pattern x at 2. replace x with y. Kind regards, jonas The simplicity of my example implied the viability of such a solution which is not given in the situation I was facing in reality. Kind regards, jonas. |
- [Coq-Club] replace ... at?, Jonas Oberhauser, 10/04/2012
- Re: [Coq-Club] replace ... at?, Lucian M. Patcas, 10/04/2012
- Re: [Coq-Club] replace ... at?, Jonas Oberhauser, 10/05/2012
- Re: [Coq-Club] replace ... at?, Matthieu Sozeau, 10/04/2012
- Re: [Coq-Club] replace ... at?, Jonas Oberhauser, 10/05/2012
- Re: [Coq-Club] replace ... at?, Lucian M. Patcas, 10/04/2012
Archive powered by MHonArc 2.6.18.