coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Jonathan <jonikelee AT gmail.com>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Induction with "eqn:" is broken?
- Date: Tue, 23 Sep 2014 17:38:28 -0400
On 09/07/2014 10:53 AM, Hugo Herbelin
wrote:
Hi, As it is implemented now, the "eqn:" modifier to induction is actually pointless as it impacts the induction hypotheses in a way which makes them useless. It is here by analogy with the "eqn:" for destruct, but it is a posteriori an error to make it available for induction. I think I have a case of this, but it is slightly different. The eqn: is modifying a destruct prior to the induction (case_eq ; intros works similarly), but the induction hypotheses are still messed up as a result. Here's a simplified example: Variable P : Prop.This gives:
Note that the IHtl induction hypothesis can't be used, as Foo(hl::tl) does not equal Foo tl. Somehow, I need an equality relating f with Foo (hl::tl), but I don't want that equality to creep into the inductive hypothesis unless it stays the same. Does anyone know a way around this? I have tried various that end up with the same result. -- Jonathan |
- [Coq-Club] Induction with "eqn:" is broken?, hugoccomp, 09/05/2014
- Re: [Coq-Club] Induction with "eqn:" is broken?, Hugo Herbelin, 09/07/2014
- Re: [Coq-Club] Induction with "eqn:" is broken?, Jonathan, 09/07/2014
- Re: [Coq-Club] Induction with "eqn:" is broken?, Jonathan, 09/07/2014
- Re: [Coq-Club] Induction with "eqn:" is broken?, Jonathan, 09/23/2014
- Re: [Coq-Club] Induction with "eqn:" is broken?, Hugo Carvalho, 09/24/2014
- Re: [Coq-Club] Induction with "eqn:" is broken?, Jonathan, 09/24/2014
- Re: [Coq-Club] Induction with "eqn:" is broken?, Hugo Carvalho, 09/24/2014
- Re: [Coq-Club] Induction with "eqn:" is broken?, Jonathan, 09/07/2014
- Re: [Coq-Club] Induction with "eqn:" is broken?, Hugo Herbelin, 09/07/2014
Archive powered by MHonArc 2.6.18.