coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Frédéric Besson <frederic.besson AT inria.fr>
- To: coq-club AT inria.fr
- Cc: alix.trieu AT cs.au.dk
- Subject: Re: [Coq-Club] (Computationally) Efficient Finite Maps
- Date: Thu, 14 May 2020 10:39:02 +0200
- Organization: Inria
Hi,
I would consider the following options:
- AVL without proof terms (I think there is a Raw functor)
- Patricia Trees (I am at least aware of one implementation, ping
alix.trieu AT cs.au.dk)
- Use native integers with the previous.
In particular, Patricia trees show their full efficiency if the so-
called branching bit is computed in O(1).
Good luck,
--
Frédéric
On Wed, 2020-05-13 at 17:37 -0400, Gregory Malecha wrote:
> Hello --
>
> I am wondering what people suggest as an efficient representation of
> finite maps. Normally I use positive maps but for this purpose I have
> a *very* sparse key space so it actually makes sense to store pairs
> of the key and the element. The standard library has an
> implementation of AVL trees, but the proof term that is store with
> data is prohibitively expensive. Are there other implementations of
> finite maps that the community can recommend?
>
> Thanks.
>
- [Coq-Club] (Computationally) Efficient Finite Maps, Gregory Malecha, 05/13/2020
- Re: [Coq-Club] (Computationally) Efficient Finite Maps, Frédéric Besson, 05/14/2020
- Re: [Coq-Club] (Computationally) Efficient Finite Maps, Alex Shkotin, 05/14/2020
- Re: [Coq-Club] (Computationally) Efficient Finite Maps, Xavier Leroy, 05/14/2020
- Re: [Coq-Club] (Computationally) Efficient Finite Maps, Pierre-Marie Pédrot, 05/14/2020
- Re: [Coq-Club] (Computationally) Efficient Finite Maps, Andrew Appel, 05/14/2020
- Re: [Coq-Club] (Computationally) Efficient Finite Maps, Gregory Malecha, 05/14/2020
- Re: [Coq-Club] (Computationally) Efficient Finite Maps, Hugo Herbelin, 05/14/2020
- Re: [Coq-Club] (Computationally) Efficient Finite Maps, Pierre Courtieu, 05/14/2020
- Re: [Coq-Club] (Computationally) Efficient Finite Maps, Andrew Appel, 05/14/2020
- Re: [Coq-Club] (Computationally) Efficient Finite Maps, Pierre-Marie Pédrot, 05/14/2020
Archive powered by MHonArc 2.6.18.