Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club]request

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club]request


chronological Thread 
  • From: Lionel Elie Mamane <lionel AT mamane.lu>
  • To: David de Villiers <davidc1 AT ananzi.co.za>
  • Cc: coq-club AT pauillac.inria.fr
  • Subject: Re: [Coq-Club]request
  • Date: Mon, 14 Aug 2006 10:01:03 +0200
  • List-archive: <http://pauillac.inria.fr/pipermail/coq-club/>

On Fri, Aug 11, 2006 at 04:20:38PM -0400, 
roconnor AT theorem.ca
 wrote:

>> I am a newcomer to Coq and would like to know how to define
>> sets of the form
>> X={1,2,3}.

> There are multiple represations of sets in Coq.  It is most common
> to represents sets as predicates.

Alternatively, for finite sets, a list/heap/... can be adequate is
some cases. (If you use lists, you'll want to use another equality
than the Coq equality as your main interesting equality.)

-- 
Lionel





Archive powered by MhonArc 2.6.16.

Top of Page