Lune

OOPSLA2020Top-tier venue

Proving highly-concurrent traversals correct

Yotam M. Y. Feldman, Artem Khyzha, Constantin Enea, Adam Morrison, Aleksandar Nanevski, Noam Rinetzky, Sharon Shoham

Abstract

Modern highly-concurrent search data structures, such as search trees, obtain multi-core scalability and performance by having operations traverse the data structure without any synchronization. As a result, however, these algorithms are notoriously difficult to prove linearizable, which requires identifying a point in time in which the traversal's result is correct. The problem is that traversing the data structure as it undergoes modifications leads to complex behaviors, necessitating intricate reasoning about all interleavings of reads by traversals and writes mutating the data structure.

In this paper, we present a general proof technique for proving unsynchronized traversals correct in a significantly simpler manner, compared to typical concurrent reasoning and prior proof techniques. Our framework relies only on sequential properties of traversals and on a conceptually simple and widely-applicable condition about the ways an algorithm's writes mutate the data structure. Establishing that a target data structure satisfies our condition requires only simple concurrent reasoning, without considering interactions of writes and reads. This reasoning can be further simplified by using our framework.

To demonstrate our technique, we apply it to prove several interesting and challenging concurrent binary search trees: the logical-ordering AVL tree, the Citrus tree, and the full contention-friendly tree. Both the logical-ordering tree and the full contention-friendly tree are beyond the reach of previous approaches targeted at simplifying linearizability proofs.

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

  • Embedding Hindsight Reasoning in Separation Logic cites A concurrent program logic with a future and history
  • Embedding Hindsight Reasoning in Separation Logic cites Verifying concurrent search structure templates
  • Embedding Hindsight Reasoning in Separation Logic cites The future is ours: prophecy variables in separation logic
  • Occualizer: Optimistic Concurrent Search Trees From Sequential Code cites Verifying concurrent search structure templates
  • A concurrent program logic with a future and history cites Verifying concurrent search structure templates
  • A concurrent program logic with a future and history cites Verifying concurrent multicopy search structures
  • A concurrent program logic with a future and history cites The future is ours: prophecy variables in separation logic
  • Verifying concurrent search structure templates cites The future is ours: prophecy variables in separation logic
  • Verifying concurrent multicopy search structures cites Verifying concurrent search structure templates
  • Verifying concurrent multicopy search structures cites The future is ours: prophecy variables in separation logic
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers11

  1. Bundling linked data structures for linearizable range queriesJacob Nelson-Slivon, Ahmed Hassan, Roberto PalmieriPPoPP 2022 · 11 citations
  2. Occualizer: Optimistic Concurrent Search Trees From Sequential CodeTomer Shanny, Adam MorrisonOSDI 2022 · 9 citations
  3. A concurrent program logic with a future and historyRoland Meyer, Thomas Wies, Sebastian WolffOOPSLA 2022 · 9 citations
  4. Verifying concurrent multicopy search structuresNisarg Patel, Siddharth Krishna, Dennis E. Shasha, Thomas WiesOOPSLA 2021 · 8 citations
  5. Embedding Hindsight Reasoning in Separation LogicRoland Meyer, Thomas Wies, Sebastian WolffPLDI 2023 · 6 citations

Builds on3

  1. The future is ours: prophecy variables in separation logicRalf Jung, Rodolphe Lepigre, Gaurav Parthasarathy, Marianna Rapoport et al.POPL 2020 · 62 citations
  2. Verifying concurrent search structure templatesSiddharth Krishna, Nisarg Patel, Dennis E. Shasha, Thomas WiesPLDI 2020 · 19 citations
  3. Embedding Hindsight Reasoning in Separation LogicRoland Meyer, Thomas Wies, Sebastian WolffPLDI 2023 · 6 citations

Related papers

  1. The Path to Durable LinearizabilityEmanuele D'Osualdo, Azalea Raad, Viktor VafeiadisPOPL 2023 · 6 citations
  2. NVTraverse: in NVRAM data structures, the destination is more important than the journeyMichal Friedman, Naama Ben-David, Yuanhao Wei, Guy E. Blelloch et al.PLDI 2020 · 52 citations
  3. PathCAS: an efficient middle ground for concurrent search data structuresTrevor Brown, William Sigouin, Dan AlistarhPPoPP 2022 · 4 citations
  4. Ghost Signals: Verifying Termination of Busy Waiting - Verifying Termination of Busy WaitingTobias Reinhard, Bart JacobsCAV 2021 · 3 citations
  5. Scenario-Based Proofs for Concurrent ObjectsConstantin Enea, Eric KoskinenOOPSLA 2024 · 2 citations
Dusk over the sea between two cliffs drawn in fine vertical lines