Cargando…

Certifying Certainty and Uncertainty in Approximate Membership Query Structures

Approximate Membership Query structures (AMQs) rely on randomisation for time- and space-efficiency, while introducing a possibility of false positive and false negative answers. Correctness proofs of such structures involve subtle reasoning about bounds on probabilities of getting certain outcomes....

Descripción completa

Detalles Bibliográficos
Autores principales: Gopinathan, Kiran, Sergey, Ilya
Formato: Online Artículo Texto
Lenguaje:English
Publicado: 2020
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7363400/
http://dx.doi.org/10.1007/978-3-030-53291-8_16
_version_ 1783559648717045760
author Gopinathan, Kiran
Sergey, Ilya
author_facet Gopinathan, Kiran
Sergey, Ilya
author_sort Gopinathan, Kiran
collection PubMed
description Approximate Membership Query structures (AMQs) rely on randomisation for time- and space-efficiency, while introducing a possibility of false positive and false negative answers. Correctness proofs of such structures involve subtle reasoning about bounds on probabilities of getting certain outcomes. Because of these subtleties, a number of unsound arguments in such proofs have been made over the years. In this work, we address the challenge of building rigorous and reusable computer-assisted proofs about probabilistic specifications of AMQs. We describe the framework for systematic decomposition of AMQs and their properties into a series of interfaces and reusable components. We implement our framework as a library in the Coq proof assistant and showcase it by encoding in it a number of non-trivial AMQs, such as Bloom filters, counting filters, quotient filters and blocked constructions, and mechanising the proofs of their probabilistic specifications. We demonstrate how AMQs encoded in our framework guarantee the absence of false negatives by construction. We also show how the proofs about probabilities of false positives for complex AMQs can be obtained by means of verified reduction to the implementations of their simpler counterparts. Finally, we provide a library of domain-specific theorems and tactics that allow a high degree of automation in probabilistic proofs.
format Online
Article
Text
id pubmed-7363400
institution National Center for Biotechnology Information
language English
publishDate 2020
record_format MEDLINE/PubMed
spelling pubmed-73634002020-07-16 Certifying Certainty and Uncertainty in Approximate Membership Query Structures Gopinathan, Kiran Sergey, Ilya Computer Aided Verification Article Approximate Membership Query structures (AMQs) rely on randomisation for time- and space-efficiency, while introducing a possibility of false positive and false negative answers. Correctness proofs of such structures involve subtle reasoning about bounds on probabilities of getting certain outcomes. Because of these subtleties, a number of unsound arguments in such proofs have been made over the years. In this work, we address the challenge of building rigorous and reusable computer-assisted proofs about probabilistic specifications of AMQs. We describe the framework for systematic decomposition of AMQs and their properties into a series of interfaces and reusable components. We implement our framework as a library in the Coq proof assistant and showcase it by encoding in it a number of non-trivial AMQs, such as Bloom filters, counting filters, quotient filters and blocked constructions, and mechanising the proofs of their probabilistic specifications. We demonstrate how AMQs encoded in our framework guarantee the absence of false negatives by construction. We also show how the proofs about probabilities of false positives for complex AMQs can be obtained by means of verified reduction to the implementations of their simpler counterparts. Finally, we provide a library of domain-specific theorems and tactics that allow a high degree of automation in probabilistic proofs. 2020-06-16 /pmc/articles/PMC7363400/ http://dx.doi.org/10.1007/978-3-030-53291-8_16 Text en © The Author(s) 2020 Open Access This chapter is licensed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license and indicate if changes were made. The images or other third party material in this chapter are included in the chapter's Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the chapter's Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder.
spellingShingle Article
Gopinathan, Kiran
Sergey, Ilya
Certifying Certainty and Uncertainty in Approximate Membership Query Structures
title Certifying Certainty and Uncertainty in Approximate Membership Query Structures
title_full Certifying Certainty and Uncertainty in Approximate Membership Query Structures
title_fullStr Certifying Certainty and Uncertainty in Approximate Membership Query Structures
title_full_unstemmed Certifying Certainty and Uncertainty in Approximate Membership Query Structures
title_short Certifying Certainty and Uncertainty in Approximate Membership Query Structures
title_sort certifying certainty and uncertainty in approximate membership query structures
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7363400/
http://dx.doi.org/10.1007/978-3-030-53291-8_16
work_keys_str_mv AT gopinathankiran certifyingcertaintyanduncertaintyinapproximatemembershipquerystructures
AT sergeyilya certifyingcertaintyanduncertaintyinapproximatemembershipquerystructures