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] How to prove that inductive substructures are not equal?
- Date: Mon, 15 Jul 2013 09:19:29 -0400
On 07/15/2013 08:59 AM, Michiel Helvensteijn wrote:
Given any inductive type, let's say a `nat`-like structure:
Inductive T :=
| Zero : T
| Succ : T -> T.
I'm in the position where I have to prove that:
Goal forall t: T, t<> Succ t.
Generally this work is easy to push off onto [congruence], which is a complete decision procedure for equality with constructors.
Goal forall t: T, t <> Succ t.
induction t; congruence.
Qed.
- [Coq-Club] How to prove that inductive substructures are not equal?, Michiel Helvensteijn, 07/15/2013
- Re: [Coq-Club] How to prove that inductive substructures are not equal?, Adam Chlipala, 07/15/2013
- Re: [Coq-Club] How to prove that inductive substructures are not equal?, Michiel Helvensteijn, 07/15/2013
- Re: [Coq-Club] How to prove that inductive substructures are not equal?, Michiel Helvensteijn, 07/15/2013
- Re: [Coq-Club] How to prove that inductive substructures are not equal?, Adam Chlipala, 07/15/2013
- Re: [Coq-Club] How to prove that inductive substructures are not equal?, Michiel Helvensteijn, 07/15/2013
- Re: [Coq-Club] How to prove that inductive substructures are not equal?, Cedric Auger, 07/15/2013
- Re: [Coq-Club] How to prove that inductive substructures are not equal?, Michiel Helvensteijn, 07/15/2013
- Re: [Coq-Club] How to prove that inductive substructures are not equal?, Cedric Auger, 07/15/2013
- Re: [Coq-Club] How to prove that inductive substructures are not equal?, Michiel Helvensteijn, 07/15/2013
- Re: [Coq-Club] How to prove that inductive substructures are not equal?, Adam Chlipala, 07/15/2013
- Re: [Coq-Club] How to prove that inductive substructures are not equal?, Adam Chlipala, 07/15/2013
Archive powered by MHonArc 2.6.18.