Combinatorial sketching for finite programs
The DOI matches its Crossref record; 2 of the 2 references it cites were found in a registry or an index.
Abstract
Sketching is a software synthesis approach where the programmer develops a partial implementation - a sketch - and a separate specification of the desired functionality. The synthesizer then completes the sketch to behave like the specification. The correctness of the synthesized implementation is guaranteed by the compiler, which allows, among other benefits, rapid development of highly tuned implementations without the fear of introducing bugs.We develop SKETCH, a language for finite programs with linguistic support for sketching. Finite programs include many highperformance kernels, including cryptocodes. In contrast to prior synthesizers, which had to be equipped with domain-specific rules, SKETCH completes sketches by means of a combinatorial search based on generalized boolean satisfiability. Consequently, our combinatorial synthesizer is complete for the class of finite programs: it is guaranteed to complete any sketch in theory, and in practice has scaled to realistic programming problems.Freed from domain rules, we can now write sketches as simpleto-understand partial programs, which are regular programs in which difficult code fragments are replaced with holes to be filled by the synthesizer. Holes may stand for index expressions, lookup tables, or bitmasks, but the programmer can easily define new kinds of holes using a single versatile synthesis operator.We have used SKETCH to synthesize an efficient implementation of the AES cipher standard. The synthesizer produces the most complex part of the implementation and runs in about 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
“Program-synthesized world models, written as source code by LLMs and refined through counterexample-guided inductive synthesis (CEGIS), are instead data-efficient and reusable, yet they have been demonstrated mainly on structured-state worlds with a given object vocabulary, and a single program search does not scale to pixel-rendered environments whose object structure must be hypothesized flexib”
From OPINE-World: Programmatic World Modeling with Ontology-error-Prioritized Interactive Exploration for ARC-AGI-3 (2026) · cites this paper as Solar-Lezama et al., 2006
In the citing paper
“A mispredicted transition is a counterexample [Solar-Lezama et al., 2006, Jha et al., 2010], and it serves both as a constraint for the next program and as a real observation that updates the diagnostics.”
From OPINE-World: Programmatic World Modeling with Ontology-error-Prioritized Interactive Exploration for ARC-AGI-3 (2026) · cites this paper as Solar-Lezama et al., 2006
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
Toward automatic program synthesis
Manna, Z., & Waldinger, R. J. (1971) · Communications of the ACM · doi:10.1145/362566.362568 · Cited by 285
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-citation
Research works printed but not linked: 14
- 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/321992.321996 · DOI · Paper page
- 10.1145/775832.775928 · DOI · Paper page
- N. Eézn and N. Sörensson . An extensible SAT-solver . In E. Giunchiglia and A. Tacchella editors SAT volume 2919 of Lecture Notes in Computer Science pages 502 -- 518 . Springer 2003 . N. Eézn and N. Sörensson. An extensible SAT-solver. In E. Giunchiglia and A. Tacchella editors SAT volume 2919 of Lecture Notes in Computer Science pages 502--518. Springer 2003. · DOI · Paper page
- 10.1017/S0956796802004562 · DOI
- 10.1145/242223.242279 · DOI · Paper page
- 10.1145/512529.512566 · DOI · Paper page
- 10.1145/1146909.1147048 · DOI · Paper page
- D.P. Ranjan , D. Tang , and S. Malik . A comparative study of 2qbf algorithms . In The Seventh International Conference on Theory and Applications of Satisfiability Testing (SAT 2004) , May 2004 . D.P. Ranjan, D. Tang, and S. Malik. A comparative study of 2qbf algorithms. In The Seventh International Conference on Theory and Applications of Satisfiability Testing (SAT 2004), May 2004.
- E.M. Reingold , J. Nievergelt , and N. Deo . Combinatorial Algorithms - Theory and Practice . Prentice-Hall , 1977 . E.M. Reingold, J. Nievergelt, and N. Deo. Combinatorial Algorithms - Theory and Practice. Prentice-Hall, 1977.
- 10.5555/647478.727935 · doi:10.5555/647478.727935
- H.S. Warren . Hacker's Delight . Addison-Wesley Longman Publishing Co ., Inc. , Boston, MA, USA , 2002 . H.S. Warren. Hacker's Delight. Addison-Wesley Longman Publishing Co., Inc., Boston, MA, USA, 2002.
- 10.1145/367236.367286 · doi:10.1145/367236.367286
- 10.1145/1040305.1040334 · DOI · Paper page
Cited by
Alur, R., Bodik, R., Juniwal, G., Martin, M. M. K., Raghothaman, M., Seshia, S. A., Singh, R., Solar-Lezama, A., Torlak, E., & Udupa, A. (2013) · 2013 Formal Methods in Computer-Aided Design · doi:10.1109/fmcad.2013.6679385 · Cited by 656
Self-citationEvans, R., Hernández-Orallo, J., Welbl, J., Kohli, P., & Sergot, M. (2021) · Artificial Intelligence · doi:10.1016/j.artint.2020.103438 · Cited by 58
Evans, R., Hernandez-Orallo, J., Welbl, J., Kohli, P., & Sergot, M. (2019) · arXiv · doi:10.48550/arxiv.1910.02227 · Cited by 58
Wang, Y., Wang, X., & Dillig, I. (2018) · Proceedings of the ACM on Programming Languages · doi:10.1145/3276525 · Cited by 17
Counterexample Guided Program Repair Using Zero-Shot Learning and MaxSAT-based Fault Localization
Orvalho, P., Janota, M., & Manquinho, V. (2025) · arXiv · doi:10.48550/arxiv.2502.07786 · Cited by 4
Metadata
- Authors
- Solar-Lezama, A., Tancau, L., Bodik, R., Seshia, S., & Saraswat, V.
- Affiliations
- UC Berkeley
- IBM T.J. Watson Research Center
- Venue
- ACM SIGPLAN Notices
- Published
- 2006-10-20
- Volume
- 41
- Issue
- 11
- Pages
- 404-415
- ISSN
- 0362-1340
- 1558-1160
- Cited by
- 76
- 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
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: Combinatorial sketching for finite programs. https://app.cochat.ai/papers/10.1145/1168918.1168907
- The paper
- Solar-Lezama, A., Tancau, L., Bodik, R., Seshia, S., & Saraswat, V. (2006). Combinatorial sketching for finite programs. ACM SIGPLAN Notices. https://doi.org/10.1145/1168918.1168907
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.