coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Adam Megacz <megacz AT cs.berkeley.edu>
- To: coq-club AT inria.fr
- Subject: [Coq-Club] change in behavior from 8.2pl3 to 8.3rc1 -- bug?
- Date: Mon, 20 Sep 2010 18:28:51 +0000
- Cancel-lock: sha1:Ve/Da897Np2M/XWOsX74OhUpDtE=
- Organization: Myself
(* The script below works with 8.2pl3 but reports "Error: Unbound and
* ungeneralizable variable A" with 8.3rc1 *)
Inductive list (A:Type) : Type :=
| nil : list A
| cons : A -> list A -> list A.
Implicit Arguments nil [A].
Implicit Arguments cons [A].
Infix "::" := cons (at level 60, right associativity).
Lemma list_cannot_be_longer_than_itself : forall `(a:A)(b:list A), b = (a::b)
-> False.
intros.
induction b.
inversion H.
inversion H. apply IHb in H2.
auto.
Defined.
- [Coq-Club] change in behavior from 8.2pl3 to 8.3rc1 -- bug?, Adam Megacz
- Re: [Coq-Club] change in behavior from 8.2pl3 to 8.3rc1 -- bug?, Vilhelm Sjöberg
- Re: [Coq-Club] change in behavior from 8.2pl3 to 8.3rc1 -- bug?, Matthieu Sozeau
Archive powered by MhonArc 2.6.16.