Sketching concurrent data structures
The DOI matches its Crossref record; 2 of the 2 references it cites were found in a registry or an index.
Abstract
We describe PSketch, a program synthesizer that helps programmers implement concurrent data structures. The system is based on the concept of sketching, a form of synthesis that allows programmers to express their insight about an implementation as a partial program: a sketch. The synthesizer automatically completes the sketch to produce an implementation that matches a given correctness criteria. PSketch is based on a new counterexample-guided inductive synthesis algorithm (CEGIS) that generalizes the original sketch synthesis algorithm from Solar-Lezama et.al. to cope efficiently with concurrent programs. The new algorithm produces a correct implementation by iteratively generating candidate implementations, running them through a verifier, and if they fail, learning from the counterexample traces to produce a better candidate; converging to a solution in a handful of iterations. PSketch also extends Sketch with higher-level sketching constructs that allow the programmer to express her insight as a "soup" of ingredients from which complicated code fragments must be assembled. Such sketches can be viewed as syntactic descriptions of huge spaces of candidate programs (over 10 8 candidates for some sketches we resolved). We have used the PSketch system to implement several classes of concurrent data structures, including lock-free queues and concurrent sets with fine-grained locking. We have also sketched some other concurrent objects including a sense-reversing barrier and a protocol for the dining philosophers problem; all these sketches resolved in under an hour.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“Another way of viewing ILASP3 is that it uses a counter-example guided (Solar-Lezama et al. 2008) approach and translates an uncovered example e into a constraint that is satisfied if and only if e is covered.”
From Learning programs by learning from failures (2021) · cites this paper as Solar-Lezama et al. 2008
In the citing paper
“Another way of viewing ILASP3 is that it uses a counter-example guided (Solar-Lezama et al. 2008) approach and translates an uncovered example e into a constraint that is satisfied if and only if e is covered.”
From Learning programs by learning from failures (2021) · cites this paper as Solar-Lezama et al. 2008
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Programming by sketching for bit-streaming programs
Solar-Lezama, A., Rabbah, R., Bodík, R., & Ebcioğlu, K. (2005) · Proceedings of the 2005 ACM SIGPLAN conference on Programming language design and implementation · doi:10.1145/1065010.1065045 · Cited by 195
Self-citationSolar-Lezama, A., Arnold, G., Tancau, L., Bodik, R., Saraswat, V., & Seshia, S. (2007) · Proceedings of the 28th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/1250734.1250754 · Cited by 149
Self-citation
Research works printed but not linked: 22
- 10.1145/567067.567085 · DOI · Paper page
- D. Amit , N. Rinetzky , T. Reps , M. Sagiv , and E. Yahav . Comparison under abstraction for verifying linearizability . In CAV ?07: 19th International Conference on Computer Aided Verification , volume 4590 , pages 477 -- 490 . Springer , 2007 . D. Amit, N. Rinetzky, T. Reps, M. Sagiv, and E. Yahav. Comparison under abstraction for verifying linearizability. In CAV ?07: 19th International Conference on Computer Aided Verification, volume 4590, pages 477--490. Springer, 2007. · doi:10.1007/978-3-540-73368-3_49
- D. Andre and S. Russell . Programmable reinforcement learning agents. Advances in Neural Information Processing Systems, 13 , 2001 . MIT Press . D. Andre and S. Russell. Programmable reinforcement learning agents. Advances in Neural Information Processing Systems, 13, 2001. MIT Press.
- 10.1145/356914.356918 · DOI · Paper page
- 10.1145/872035.872080 · doi:10.1145/872035.872080
- 10.1145/263580.263662 · DOI · Paper page
- 10.1145/1250734.1250737 · DOI · Paper page
- 10.1017/S0956796802004562 · DOI
- 10.1007/11795490_3 · doi:10.1007/11795490_3
- 10.1007/BF01379320 · doi:10.1007/bf01379320
- M. Herlihy and N. Shavit . The art of multiprocessor programming . Morgan Kaufmann , 2008 . M. Herlihy and N. Shavit. The art of multiprocessor programming. Morgan Kaufmann, 2008.
- 10.1145/78969.78972 · DOI · Paper page
- 10.1109/32.588521 · DOI · Paper page
- 10.1145/359131.359136 · DOI · Paper page
- 10.1109/TC.1979.1675439 · DOI · Paper page
- A. Silberschatz and P. B. Galvin . Operating System Concepts . John Wiley & amp; Sons, Inc., New York, NY, USA, 2000 . A. Silberschatz and P. B. Galvin. Operating System Concepts. John Wiley & Sons, Inc., New York, NY, USA, 2000.
- 10.1109/32.58788 · doi:10.1109/32.58788
- 10.1145/1168857.1168907 · DOI · Paper page
- 10.1145/1168857.1168907 · DOI · Paper page
- 10.1145/1122971.1122992 · doi:10.1145/1122971.1122992
- 10.1145/1133981.1134022 · doi:10.1145/1133981.1134022
- 10.1145/1250734.1250787 · DOI
Cited by
Learning programs by learning from failures
Cropper, A., & Morel, R. (2021) · Machine Learning · doi:10.1007/s10994-020-05934-z · Cited by 86
Metadata
- Authors
- Solar-Lezama, A., Jones, C. G., & Bodik, R.
- Affiliations
- UC Berkeley, Berkeley, CA, USA
- Venue
- ACM SIGPLAN Notices
- Published
- 2008-05-30
- Volume
- 43
- Issue
- 6
- Pages
- 136-148
- ISSN
- 0362-1340
- 1558-1160
- Cited by
- 22
- References
- 2
- Language
- en
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.