Proving tree algorithms for succinct data structures

Reynald Affeldt, Jacques Garrigue, Xuanrui Qi, Kazunari Tanaka
4/4/2019
cs.PLcs.DS

Official code: affeldt-aist/succinct (5 stars, Coq, last commit 2021-01-26).

Abstract

Succinct data structures give space-efficient representations of large amounts of data without sacrificing performance. They rely one cleverly designed data representations and algorithms.

Show full abstract

We present here the formalization in Coq/SSReflect of two different tree-based succinct representations and their accompanying algorithms. One is the Level-Order Unary Degree Sequence, which encodes the structure of a tree in breadth-first order as a sequence of bits, where access operations can be defined in terms of Rank and Select, which work in constant time for static bit sequences. The other represents dynamic bit sequences as binary balanced trees, where Rank and Select present a low logarithmic overhead compared to their static versions, and with efficient insertion and deletion. The two can be stacked to provide a dynamic representation of dictionaries for instance. While both representations are well-known, we believe this to be their first formalization and a needed step towards provably-safe implementations of big data.

View on arXivView PDF

Code Implementations(1)

51CoqAug 6, 20185 years ago

Similar Papers

Cite this paper

@article{affeldt2019proving,
  title  = {Proving tree algorithms for succinct data structures},
  author = {Reynald Affeldt and Jacques Garrigue and Xuanrui Qi and Kazunari Tanaka},
  year   = {2019},
  eprint = {1904.02809},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1904.02809}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1904.02809.svg)](https://codeofpaper.com/paper/1904.02809)

Discussion