计算机科学 > 程序设计语言
[提交于 2019年7月3日]
标题:Proving tree algorithms for succinct data structures
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Succinct data structures give space-efficient representations of large amounts of data without sacrificing performance. They rely one cleverly designed data representations and algorithms. 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.
提交历史
来自:Xuanrui Qi[v1] 2019年7月3日 星期三 00:00:00 UTC