Skip to Content.
Sympa Menu

coq-club - [Coq-Club] parameters

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] parameters


Chronological Thread 
  • From: "Patricia Peratto" <psperatto AT adinet.com.uy>
  • To: "coqclub" < coq-club AT inria.fr>
  • Subject: [Coq-Club] parameters
  • Date: Thu, 14 Jun 2012 13:39:16 -0300

I want to define an inductive set without using forall
(using only parameters in the type definition and in the
constructor).
 
My definition is below:
 
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.
 
Someone knows how to define it?
Regards
Patricia



Archive powered by MHonArc 2.6.18.

Top of Page