Skip to Content.
Sympa Menu

coq-club - [Coq-Club] messy behavior with universes

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] messy behavior with universes


chronological Thread 
  • From: Vladimir Voevodsky <vladimir AT ias.edu>
  • To: Coq-Club Club <coq-club AT inria.fr>
  • Cc: coqdev AT inria.fr
  • Subject: [Coq-Club] messy behavior with universes
  • Date: Fri, 15 Apr 2011 15:16:30 -0400

In the following example:

File 1 (ex1.v) :

Definition dneg (X:Type) := ((X -> Empty_set) -> Empty_set).


File 2 (ex2.v):

Require Export ex1.
Variable X:Set.
Check (dneg X).
Check ((X -> Empty_set)-> Empty_set).


Coq responds that (dneg X) is in Type while ((X -> Empty_set)-> Empty_set) is 
in Set. This does not look right.

Vladimir.






Archive powered by MhonArc 2.6.16.

Top of Page