Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Programming with finite sets, maps, relations

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Programming with finite sets, maps, relations


Chronological Thread 
  • From: Kristopher Micinski <krismicinski AT gmail.com>
  • To: Kevin Sullivan <sullivan.kevinj AT gmail.com>
  • Cc: coq club <coq-club AT inria.fr>
  • Subject: Re: [Coq-Club] Programming with finite sets, maps, relations
  • Date: Fri, 2 Aug 2013 14:21:33 -0400

I'm currently using UPenn's metatheory library:

https://github.com/plclub/metalib

I personally know a few people who use this with some success, and
have seen it followed in various papers. It's not perfect, and I'm
working on some extensions that make dependently typed programming
better (which aren't quite finished yet!) but theirs is a very good
development. Their paper "Engineering formal metatheory" explains the
problems of dealing with binders in various ways (e.g., PHOAS,
cofinite quantification, etc...).

In particular, their AssocList implementation is very helpful. I use
this along with a bit of automation, including Adam Chlipala's crush
tactic, and get them to play together.

Kris


On Fri, Aug 2, 2013 at 11:49 AM, Kevin Sullivan
<sullivan.kevinj AT gmail.com>
wrote:
> Dear Coq Club:
>
> A student and I need to write Coq code using simple finite sets and maps
> (e.g., to build symbol tables, do lookups in 1-n relations, and that sort of
> thing). Types are known statically. Are we best advised to use Coq's FSets
> library, Stéphane Lescuyer's First-Class Containers in Coq, or perhaps
> something else that we don't know about yet?
>
> Kind regards,
> Kevin
>



Archive powered by MHonArc 2.6.18.

Top of Page