A separation logic for negative dependence

Author:

Bao Jialu1,Gaboardi Marco2,Hsu Justin1,Tassarotti Joseph3

Affiliation:

1. Cornell University, USA

2. Boston University, USA

3. Boston College, USA

Abstract

Formal reasoning about hashing-based probabilistic data structures often requires reasoning about random variables where when one variable gets larger (such as the number of elements hashed into one bucket), the others tend to be smaller (like the number of elements hashed into the other buckets). This is an example of negative dependence , a generalization of probabilistic independence that has recently found interesting applications in algorithm design and machine learning. Despite the usefulness of negative dependence for the analyses of probabilistic data structures, existing verification methods cannot establish this property for randomized programs. To fill this gap, we design LINA, a probabilistic separation logic for reasoning about negative dependence. Following recent works on probabilistic separation logic using separating conjunction to reason about the probabilistic independence of random variables, we use separating conjunction to reason about negative dependence. Our assertion logic features two separating conjunctions, one for independence and one for negative dependence. We generalize the logic of bunched implications (BI) to support multiple separating conjunctions, and provide a sound and complete proof system. Notably, the semantics for separating conjunction relies on a non-deterministic , rather than partial, operation for combining resources. By drawing on closure properties for negative dependence, our program logic supports a Frame-like rule for negative dependence and monotone operations. We demonstrate how LINA can verify probabilistic properties of hash-based data structures and balls-into-bins processes.

Funder

NSF

Publisher

Association for Computing Machinery (ACM)

Subject

Safety, Risk, Reliability and Quality,Software

Reference38 articles.

1. Nima Anari , Shayan Oveis Gharan , and Alireza Rezaei . 2016 . Monte Carlo Markov chain algorithms for sampling Strongly Rayleigh distributions and determinantal point processes . In Conference on Computational Learning Theory (COLT). 49, Proceedings of Machine Learning Research , New York, New York. 103–115. http://proceedings.mlr.press/v49/anari16.html Nima Anari, Shayan Oveis Gharan, and Alireza Rezaei. 2016. Monte Carlo Markov chain algorithms for sampling Strongly Rayleigh distributions and determinantal point processes. In Conference on Computational Learning Theory (COLT). 49, Proceedings of Machine Learning Research, New York, New York. 103–115. http://proceedings.mlr.press/v49/anari16.html

2. A Bunched Logic for Conditional Independence

3. A separation logic for negative dependence

4. Probabilistic Relational Hoare Logics for Computer-Aided Security Proofs

5. A probabilistic separation logic

Cited by 8 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Error Credits: Resourceful Reasoning about Error Bounds for Higher-Order Probabilistic Programs;Proceedings of the ACM on Programming Languages;2024-08-15

2. A Nominal Approach to Probabilistic Separation Logic;Proceedings of the 39th Annual ACM/IEEE Symposium on Logic in Computer Science;2024-07-08

3. Outcome Separation Logic: Local Reasoning for Correctness and Incorrectness with Computational Effects;Proceedings of the ACM on Programming Languages;2024-04-29

4. Asynchronous Probabilistic Couplings in Higher-Order Separation Logic;Proceedings of the ACM on Programming Languages;2024-01-05

5. Lilac: A Modal Separation Logic for Conditional Probability;Proceedings of the ACM on Programming Languages;2023-06-06

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3