coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: St�phane Lescuyer <stephane.lescuyer AT inria.fr>
- To: "Samuel E. Moelius III" <moelius AT cis.udel.edu>
- Cc: coq-club AT pauillac.inria.fr
- Subject: Re: [Coq-Club] PO ``Carrier_of'' field
- Date: Sun, 22 Feb 2009 19:15:02 +0100
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=Hjf7twgy3VAQ+xRrZKteF33v+1VvFuuorWDjv3JXQS72YXHFKUhLc8AlMTWfNhNCaB mw47eCwpMaabrU9JUFBopariQuuCW0sPZ8IKby7lHUUo5AflN34g9DWt/B974YoT7wXv JlKJJOd617NPrnGg1wBtiaVbn+9V44fOoZRhs=
- List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>
On Sun, Feb 22, 2009 at 6:50 PM, Samuel E. Moelius III
<moelius AT cis.udel.edu>
wrote:
> Stéphane Lescuyer wrote:
>>
>> I'm not the author of this library but it seems to me that the carrier
>> is required in the definition of the partial order because it must be
>> non-empty.
>
> I would think that there would have to be other reasons as well. For
> example, this condition alone could be achieved with
>
> Record PO (U : Type) : Type := Definition_of_PO
> { Rel_of : Relation U;
> PO_cond1 : Inhabited U (fun _ : U => True);
> PO_cond2 : Order U Rel_of }.
>
> which I would think is simpler than having the ``Carrier_of'' field.
This condition alone, indeed. But then you wouldn't have a way to talk
about the carrier of the relation. U itself is not a carrier, it is a
Type, and in this library, sets are encoded as Type -> Prop and the
carrier should be a subset of U in that sense. The carrier is then
used to define properties on partial orders, see Lubs, Lower Bounds
etc in Coq.Sets.Cpo for instance.
> Now that you mention it, though, it seems a bit odd to me to require a
> partial order to be non-empty. But that is also probably a matter of taste.
> :)
Now that you mention it, it seems a bit odd to me as well :) Plus I
can't find where this condition is used.
Stéphane L.
--
I'm the kind of guy that until it happens, I won't worry about it. -
R.H. RoY05, MVP06
- [Coq-Club] PO ``Carrier_of'' field, Samuel E. Moelius III
- Re: [Coq-Club] PO ``Carrier_of'' field,
Stéphane Lescuyer
- Re: [Coq-Club] PO ``Carrier_of'' field,
Samuel E. Moelius III
- Re: [Coq-Club] PO ``Carrier_of'' field, Stéphane Lescuyer
- Re: [Coq-Club] PO ``Carrier_of'' field,
Samuel E. Moelius III
- Re: [Coq-Club] PO ``Carrier_of'' field, Stéphane Lescuyer
- Re: [Coq-Club] PO ``Carrier_of'' field,
Samuel E. Moelius III
- Re: [Coq-Club] PO ``Carrier_of'' field, Stéphane Lescuyer
- Re: [Coq-Club] PO ``Carrier_of'' field,
Samuel E. Moelius III
- Re: [Coq-Club] PO ``Carrier_of'' field,
Stéphane Lescuyer
Archive powered by MhonArc 2.6.16.