Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] parameters

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] parameters


Chronological Thread 
  • From: Adam Chlipala <adamc AT csail.mit.edu>
  • To: Patricia Peratto <psperatto AT adinet.com.uy>
  • Cc: coqclub <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] parameters
  • Date: Thu, 14 Jun 2012 13:47:46 -0400

Patricia Peratto wrote:
Inductive W (A1:Set)(A2:A1->Set):Type:=
| sup (b:A1)
(u:(x:A2 b)W A1 A2)
: W A1 A2.
I get the error message:
Error: The reference x was not found in the current
environment.

This is a gentle suggestion to find a better book or other source for learning Coq, or read more carefully through the one you're using. I don't know why you'd think that the "type" you've given to [u] is valid Coq syntax. (It reminds me of the syntax used by Coq versions from about 10 years ago.)



Archive powered by MHonArc 2.6.18.

Top of Page