Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Can this universe inconsistency be resolved?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Can this universe inconsistency be resolved?


chronological Thread 
  • From: David Leduc <david.leduc6 AT googlemail.com>
  • To: Muad Dib <muad.dib.space AT gmail.com>
  • Cc: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Can this universe inconsistency be resolved?
  • Date: Sat, 27 Mar 2010 14:07:29 +0000
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=nkHN9bCLR04xxZMXsc+ehygfRqskczwlToY0I7cewuTvf/LR5GDGVz6+67HQKPoP3d 772sBWBHj/4yQCgEZlbWkdlCbgCX6nQDCkQSqWQjRv9L5ZKmet7KtoO8ieHQT7LXuzoc vt1z/C2YYwbO1CkCvnmL28kA5ZY0OBTFPd3l8=

Hi Paul,

I have no doubt that Hugo will give his usual reply to this usual question.
If you can make sense of his reply, please enlighten us.



On Sat, Mar 27, 2010 at 6:04 AM, Muad Dib 
<muad.dib.space AT gmail.com>
 wrote:
> Hi coq-club,
>
> I am trying to write out some category theory definitions into Coq,
> and I had got quite far before I realized that I was using the
> identity equality rather than setoid! When I try to change it I am
> having seemingly impossible difficultly because of this universe
> inconsistency:
>
> Record setoid : Type := { carrier : Type }.
> Record Category : Type := { Ob : setoid }.
> Definition category : setoid := Build_setoid Category.
>
> If we make: Record setoid' : Type := { carrier' : Type }. and define
> category : setoid' instead -- it is allowed. but in that case I could
> not use (small) categories as the objects of a category. So my
> question is how could this be resolved? What I am also wondering about
> is that if we had quotient types in Coq, maybe this would be a lot
> easier.. but I am not sure what sort of theoretical difficulty there
> is with quotients compared to setoids.
>
> Thanks in advance!
>



Archive powered by MhonArc 2.6.16.

Top of Page