coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: James Tyler <jameskatyler AT gmail.com>
- To: coq-club AT inria.fr
- Subject: [Coq-Club] Prop-Set interactions of an unfamiliar kind
- Date: Thu, 18 Dec 2014 20:16:00 +0000
I am not sure why this is valid:
Definition AProp {A : Set} (Q : A -> Prop) : Set :=
forall x : A, Q x.
Check AProp.
(* Output : (?9 -> Prop) -> Set *)
Check forall {A : Set} (Q : A -> Prop) (x : A), Q x.
(* Output : Prop *)
Does this have something to do with Definitions being opaque? According to the triplets on Pg. 92 of Coq'Art, I shouldn't be allowed to do this. I stumbled upon this and I'm not entirely sure why one would want to do it either. Thoughts?
- [Coq-Club] Prop-Set interactions of an unfamiliar kind, James Tyler, 12/18/2014
- Re: [Coq-Club] Prop-Set interactions of an unfamiliar kind, Ali Assaf, 12/19/2014
Archive powered by MHonArc 2.6.18.