Skip to Content.
Sympa Menu

coq-club - [Coq-Club] change in behavior from 8.2pl3 to 8.3rc1 -- bug?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] change in behavior from 8.2pl3 to 8.3rc1 -- bug?


chronological Thread 
  • 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.






Archive powered by MhonArc 2.6.16.

Top of Page