Skip to Content.
Sympa Menu

coq-club - [Coq-Club] nat : Type?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] nat : Type?


chronological Thread 
  • From: Wojciech Moczydlowski <wm174746 AT zodiac.mimuw.edu.pl>
  • To: coq-club AT pauillac.inria.fr
  • Subject: [Coq-Club] nat : Type?
  • Date: Sun, 20 Jun 2004 23:16:56 +0200 (CEST)
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

  Hello,

I'm a Ph. D. student in computer science and a newbie to Coq. During my 
sessions with it I encountered the following behavior:

If I declare

Variable x : Type -> Type 

in Coq 8.0

then (x nat) typechecks, that is Check (x nat) says that (x nat) : Type. 
This seems weird, for I do not see how to derive nat : Type from the 
inference rules in the documentation on the webpage, which seem to be 
necessary to derive (x nat) : Type. What am I missing?

Thanks.

Wojtek









Archive powered by MhonArc 2.6.16.

Top of Page