Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Proof with a goal containing different constructors

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Proof with a goal containing different constructors


Chronological Thread 
  • From: mtkhan AT risc.uni-linz.ac.at
  • To: coq-club AT inria.fr
  • Subject: [Coq-Club] Proof with a goal containing different constructors
  • Date: Thu, 2 May 2013 18:00:40 +0200 (CEST)
  • Importance: Normal

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.

Any help or hint here.

regards,
tk




Archive powered by MHonArc 2.6.18.

Top of Page