coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Adam Chlipala <adamc AT csail.mit.edu>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Proof of structural equality
- Date: Mon, 06 May 2013 12:04:42 -0400
On 05/06/2013 11:26 AM,
mtkhan AT risc.uni-linz.ac.at
wrote:
...
H0 : s = to_abstract_stack r /\ z = e
______________________________________(1/1)
Push s z = Push (to_abstract_stack r) e
my question here, how to prove structural induction reasonably
in a well-manner in Coq.
Perhaps there is some aspect of your problem that isn't expressed adequately by the above goal, but it looks to me like the goal can be proved with
congruence
or maybe
intuition congruence
if the former isn't smart enough. It follows by basic properties of equality, with no induction required.
- [Coq-Club] Proof of structural equality, mtkhan, 05/06/2013
- Re: [Coq-Club] Proof of structural equality, Adam Chlipala, 05/06/2013
- Re: [Coq-Club] Proof of structural equality, mtkhan, 05/07/2013
- Re: [Coq-Club] Proof of structural equality, Cedric Auger, 05/07/2013
- Re: [Coq-Club] Proof of structural equality, mtkhan, 05/07/2013
- Re: [Coq-Club] Proof of structural equality, Adam Chlipala, 05/07/2013
- Re: [Coq-Club] Proof of structural equality, mtkhan, 05/07/2013
- Re: [Coq-Club] Proof of structural equality, Cedric Auger, 05/07/2013
- Re: [Coq-Club] Proof of structural equality, mtkhan, 05/07/2013
- Re: [Coq-Club] Proof of structural equality, Adam Chlipala, 05/06/2013
Archive powered by MHonArc 2.6.18.