coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: mtkhan AT risc.uni-linz.ac.at
- To: "Adam Chlipala" <adamc AT csail.mit.edu>
- Cc: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Proof with a goal containing different constructors
- Date: Mon, 6 May 2013 10:00:07 +0200 (CEST)
- Importance: Normal
Hi,
Thanks Adam and others for the suggestions. I will be
grateful, if you can also provide the guidelines for
the proving strategy of contradictions in general in
Coq?
Thanks.
regards,
taimoor
> On 05/02/2013 12:00 PM,
> mtkhan AT risc.uni-linz.ac.at
> wrote:
>> I have the following inductive definition of stack.
>>
>> Inductive stack :=
>> | Create : stack
>> | Push : stack -> Z -> stack .
>>
>> and how can I proceed if I have the following goal.
>>
>> r : stack_rep
>> h1 : invariant_stack r
>> h2 : concrete_stack Create r
>> s : stack
>> z : Z
>> ============================
>> Create = Push s z
>>
>> in fact, this cannot be possible.
>>
>
> When the conclusion formula is false, you need to find a contradiction
> from the hypotheses. Are you asking how to prove contradictions in
> general?
>
- [Coq-Club] Proof with a goal containing different constructors, mtkhan, 05/02/2013
- Re: [Coq-Club] Proof with a goal containing different constructors, Adam Chlipala, 05/02/2013
- Re: [Coq-Club] Proof with a goal containing different constructors, AUGER Cédric, 05/02/2013
- Re: [Coq-Club] Proof with a goal containing different constructors, mtkhan, 05/06/2013
- Re: [Coq-Club] Proof with a goal containing different constructors, AUGER Cédric, 05/06/2013
- Re: [Coq-Club] Proof with a goal containing different constructors, Kristopher Micinski, 05/02/2013
- Re: [Coq-Club] Proof with a goal containing different constructors, Adam Chlipala, 05/02/2013
Archive powered by MHonArc 2.6.18.