coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Jean-Marc Notin <notin AT lix.polytechnique.fr>
- To: Peter Hawkins <hawkinsp AT cs.stanford.edu>
- Cc: coq-club AT pauillac.inria.fr
- Subject: Re: [Coq-Club]Induction and tuple destruction
- Date: Mon, 29 Jan 2007 18:07:51 +0100
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
- Organization: LIX
> It seems the induction tactic didn't generate the hypotheses (s =
> (a1,b1)) and (s = (a2,b2)). What's happening here, and how can I fix
> it? I'm using Coq 8.1gamma.
>
In such a case, you can try to use the 'inversion' tactic, or, if it is
not powerful enough, you can do something like this:
intros a1 b1 a2 b2; set (c1 := (a1,b1)); set (c2 := (a2,b2)); assert
(c1=(a1,b1)) by trivial; assert (c2=(a2,b2)) by trivial; clearbody c1;
clearbody c2.
induction 1.
--
Jean-Marc Notin
<notin AT lix.polytechnique.fr>
LIX
Attachment:
signature.asc
Description: Ceci est une partie de message numériquement signée
- [Coq-Club]Induction and tuple destruction, Peter Hawkins
- Re: [Coq-Club]Induction and tuple destruction, Adam Chlipala
- Re: [Coq-Club]Induction and tuple destruction, Jean-Marc Notin
- Re: [Coq-Club]Induction and tuple destruction, David Pichardie
Archive powered by MhonArc 2.6.16.