Skip to Content.
Sympa Menu

coq-club - [Coq-Club] Prop-Set interactions of an unfamiliar kind

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

[Coq-Club] Prop-Set interactions of an unfamiliar kind


Chronological Thread 
  • 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?



Archive powered by MHonArc 2.6.18.

Top of Page