Lune

POPL2022Top-tier venue

A separation logic for negative dependence

Jialu Bao, Marco Gaboardi, Justin Hsu, Joseph Tassarotti

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

11 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Asynchronous Probabilistic Couplings in Higher-Order Separation Logic cites A probabilistic separation logic
  • Asynchronous Probabilistic Couplings in Higher-Order Separation Logic cites A Bunched Logic for Conditional Independence
  • Approximate Relational Reasoning for Higher-Order Probabilistic Programs cites A probabilistic separation logic
  • Approximate Relational Reasoning for Higher-Order Probabilistic Programs cites Asynchronous Probabilistic Couplings in Higher-Order Separation Logic
  • Approximate Relational Reasoning for Higher-Order Probabilistic Programs cites Lilac: A Modal Separation Logic for Conditional Probability
  • Approximate Relational Reasoning for Higher-Order Probabilistic Programs cites A Bunched Logic for Conditional Independence
  • Lilac: A Modal Separation Logic for Conditional Probability cites A probabilistic separation logic
  • Lilac: A Modal Separation Logic for Conditional Probability cites A Bunched Logic for Conditional Independence
  • A Nominal Approach to Probabilistic Separation Logic cites A probabilistic separation logic
  • A Nominal Approach to Probabilistic Separation Logic cites Lilac: A Modal Separation Logic for Conditional Probability
  • A Nominal Approach to Probabilistic Separation Logic cites A Bunched Logic for Conditional Independence
  • Outcome Separation Logic: Local Reasoning for Correctness and Incorrectness with Computational Effects cites A probabilistic separation logic
  • Outcome Separation Logic: Local Reasoning for Correctness and Incorrectness with Computational Effects cites Lilac: A Modal Separation Logic for Conditional Probability
  • Outcome Separation Logic: Local Reasoning for Correctness and Incorrectness with Computational Effects cites A Bunched Logic for Conditional Independence
  • A Bunched Logic for Conditional Independence cites A probabilistic separation logic
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers11

  1. Asynchronous Probabilistic Couplings in Higher-Order Separation LogicSimon Oddershede Gregersen, Alejandro Aguirre, Philipp G. Haselwarter, Joseph Tassarotti et al.POPL 2024 · 23 citations
  2. Lilac: A Modal Separation Logic for Conditional ProbabilityJohn M. Li, Amal Ahmed, Steven HoltzenPLDI 2023 · 22 citations
  3. Outcome Separation Logic: Local Reasoning for Correctness and Incorrectness with Computational EffectsNoam Zilberstein, Angelina Saliling, Alexandra SilvaOOPSLA 2024 · 16 citations
  4. Approximate Relational Reasoning for Higher-Order Probabilistic ProgramsPhilipp G. Haselwarter, Kwing Hei Li, Alejandro Aguirre, Simon Oddershede Gregersen et al.POPL 2025 · 8 citations
  5. A Nominal Approach to Probabilistic Separation LogicJohn M. Li, Jon Aytac, Philip Johnson-Freyd, Amal Ahmed et al.LICS 2024 · 8 citations

Builds on4

  1. A probabilistic separation logicGilles Barthe, Justin Hsu, Kevin LiaoPOPL 2020 · 35 citations
  2. Quantitative analysis of assertion violations in probabilistic programsJinyi Wang, Yican Sun, Hongfei Fu, Krishnendu Chatterjee et al.PLDI 2021 · 18 citations
  3. A Bunched Logic for Conditional IndependenceJialu Bao, Simon Docherty, Justin Hsu, Alexandra SilvaLICS 2021 · 15 citations
  4. Certifying Certainty and Uncertainty in Approximate Membership Query StructuresKiran Gopinathan, Ilya SergeyCAV 2020 · 9 citations

Related papers

  1. Probabilistic Concurrent Reasoning in Outcome Logic: Independence, Conditioning, and InvariantsNoam Zilberstein, Alexandra Silva, Joseph TassarottiPOPL 2026 · 4 citations
  2. Bayesian Separation Logic: A Logical Foundation and Axiomatic Semantics for Probabilistic ProgrammingShing Hin Ho, Nicolas Wu, Azalea RaadPOPL 2026 · 2 citations
  3. Bluebell: An Alliance of Relational Lifting and Independence for Probabilistic ReasoningJialu Bao, Emanuele D'Osualdo, Azadeh FarzanPOPL 2025 · 6 citations
  4. Contextual Refinement of Higher-Order Concurrent Probabilistic ProgramsKwing Hei Li, Alejandro Aguirre, Joseph Tassarotti, Lars BirkedalPLDI 2026
  5. Hyper Separation LogicTrayan Gospodinov, Peter Müller, Thibault DardinierPLDI 2026 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines