coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Adam Chlipala <adamc AT csail.mit.edu>
- To: Richard Dapoigny <richard.dapoigny AT univ-savoie.fr>
- Cc: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Question about universes in Coq
- Date: Fri, 29 Jun 2012 18:52:50 -0400
Richard Dapoigny wrote:
I have some basic question about the hierarchy of universes in Coq. Suppose that we have the following code fragment:
Definition PT := Type.
Definition ED : PT := Type.
Definition PD : PT := Type.
Print Universes.
Variable Test : ED->Prop.
Variable x : ED.
Variable y : PD.
Check Test x.
Check Test y.
We expect that the universes ED and PD are different, however, the test works for both.
Why do we expect that? The act of calling [Test] on both asserts a relationship between them.
- [Coq-Club] Question about universes in Coq, Richard Dapoigny, 06/30/2012
- Re: [Coq-Club] Question about universes in Coq, Adam Chlipala, 06/30/2012
- Re: [Coq-Club] Question about universes in Coq, Richard Dapoigny, 06/30/2012
- Re: [Coq-Club] Question about universes in Coq, Adam Chlipala, 06/30/2012
Archive powered by MHonArc 2.6.18.