{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,22]],"date-time":"2026-09-22T21:40:20Z","timestamp":1790113220986,"version":"4.0.1"},"reference-count":60,"publisher":"Association for Computing Machinery (ACM)","issue":"PLDI","license":[{"start":{"date-parts":[[2026,6,8]],"date-time":"2026-06-08T00:00:00Z","timestamp":1780876800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"funder":[{"name":"National Science Foundation","award":["CCF-2210832"],"award-info":[{"award-number":["CCF-2210832"]}]},{"name":"National Science Foundation","award":["CCF-2318937"],"award-info":[{"award-number":["CCF-2318937"]}]},{"name":"National Science Foundation","award":["CCF-2236233"],"award-info":[{"award-number":["CCF-2236233"]}]},{"name":"National Science Foundation","award":["CCF-2123654"],"award-info":[{"award-number":["CCF-2123654"]}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2026,6,8]]},"abstract":"<jats:p>\n                    Abstract semantics has proven to be instrumental for accelerating search-based program synthesis, by enabling the sound pruning of a set of incorrect programs (without enumerating them). One may expect\n                    <jats:italic toggle=\"yes\">faster<\/jats:italic>\n                    synthesis with increasingly\n                    <jats:italic toggle=\"yes\">finer-grained<\/jats:italic>\n                    abstract semantics. Unfortunately, to the best of our knowledge, this is not the case, yet. The reason is because, as abstraction granularity increases\u2014while fewer programs are enumerated\u2014pruning becomes more costly. This imposes a fundamental limit on the overall synthesis performance, which we aim to address in this work.\n                  <\/jats:p>\n                  <jats:p>\n                    Our key idea is to introduce an\n                    <jats:italic toggle=\"yes\">offline presynthesis<\/jats:italic>\n                    phase, which consists of two steps. Given a DSL with abstract semantics, the first\n                    <jats:italic toggle=\"yes\">semantics modeling<\/jats:italic>\n                    step constructs a tree automaton\n                    <jats:inline-formula>\n                      <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\" display=\"inline\">\n                        <mml:mi mathvariant=\"script\">A<\/mml:mi>\n                      <\/mml:math>\n                    <\/jats:inline-formula>\n                    for\n                    <jats:italic toggle=\"yes\">a space of inputs<\/jats:italic>\n                    \u2014such that, for any program\n                    <jats:italic toggle=\"yes\">P<\/jats:italic>\n                    and for any considered input\n                    <jats:italic toggle=\"yes\">I<\/jats:italic>\n                    ,\n                    <jats:inline-formula>\n                      <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\" display=\"inline\">\n                        <mml:mi mathvariant=\"script\">A<\/mml:mi>\n                      <\/mml:math>\n                    <\/jats:inline-formula>\n                    has a run that corresponds to\n                    <jats:italic toggle=\"yes\">P<\/jats:italic>\n                    \u2019s execution on\n                    <jats:italic toggle=\"yes\">I<\/jats:italic>\n                    under abstract semantics. Then, the second step builds an oracle\n                    <jats:inline-formula>\n                      <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\" display=\"inline\">\n                        <mml:mi mathvariant=\"script\">O<\/mml:mi>\n                      <\/mml:math>\n                    <\/jats:inline-formula>\n                    for\n                    <jats:inline-formula>\n                      <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\" display=\"inline\">\n                        <mml:mi mathvariant=\"script\">A<\/mml:mi>\n                      <\/mml:math>\n                    <\/jats:inline-formula>\n                    . This\n                    <jats:inline-formula>\n                      <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\" display=\"inline\">\n                        <mml:mi mathvariant=\"script\">O<\/mml:mi>\n                      <\/mml:math>\n                    <\/jats:inline-formula>\n                    enables fast pruning\n                    <jats:italic toggle=\"yes\">during synthesis<\/jats:italic>\n                    , by allowing us to efficiently find exactly those DSL programs that satisfy a given input-output example under abstract semantics.\n                  <\/jats:p>\n                  <jats:p>\n                    We have implemented this\n                    <jats:italic toggle=\"yes\">presynthesis-based synthesis paradigm<\/jats:italic>\n                    in a framework,\n                    <jats:sc>Foresighter<\/jats:sc>\n                    . On top of it, we have developed three instantiations for SQL, string transformation, and matrix manipulation. All of them significantly outperform prior work in the respective domains.\n                  <\/jats:p>","DOI":"10.1145\/3808288","type":"journal-article","created":{"date-parts":[[2026,6,8]],"date-time":"2026-06-08T18:04:09Z","timestamp":1780941849000},"page":"1029-1053","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":1,"title":["Presynthesis: Towards Scaling Up Program Synthesis with Finer-Grained Abstract Semantics"],"prefix":"10.1145","volume":"10","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-2757-2768","authenticated-orcid":false,"given":"Rui","family":"Dong","sequence":"first","affiliation":[{"name":"University of Michigan, Ann Arbor, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0009-2888-6361","authenticated-orcid":false,"given":"Qingyue","family":"Wu","sequence":"additional","affiliation":[{"name":"University of Michigan, Ann Arbor, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0009-3437-8064","authenticated-orcid":false,"given":"Danny","family":"Ding","sequence":"additional","affiliation":[{"name":"University of Texas at Austin, Austin, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0927-4011","authenticated-orcid":false,"given":"Zheng","family":"Guo","sequence":"additional","affiliation":[{"name":"University of Michigan, Ann Arbor, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0150-8629","authenticated-orcid":false,"given":"Ruyi","family":"Ji","sequence":"additional","affiliation":[{"name":"University of Michigan, Ann Arbor, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1836-0202","authenticated-orcid":false,"given":"Xinyu","family":"Wang","sequence":"additional","affiliation":[{"name":"University of Michigan, Ann Arbor, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,6,8]]},"reference":[{"key":"e_1_3_1_2_2","unstructured":"CUBES tool. https:\/\/github.com\/OutSystems\/CUBES."},{"key":"e_1_3_1_3_2","unstructured":"Elliptic curve point multiplication. https:\/\/en.wikipedia.org\/wiki\/Elliptic_curve_point_multiplication."},{"key":"e_1_3_1_4_2","unstructured":"Rainbow table (wiki). https:\/\/en.wikipedia.org\/wiki\/Rainbow_table."},{"key":"e_1_3_1_5_2","unstructured":"Syntax-Guided Synthesis website. https:\/\/sygus-org.github.io\/."},{"key":"e_1_3_1_6_2","doi-asserted-by":"publisher","DOI":"10.1109\/FMCAD.2013.6679385"},{"key":"e_1_3_1_7_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-57259-3_11"},{"key":"e_1_3_1_8_2","doi-asserted-by":"publisher","unstructured":"Ricardo Brancas Miguel Terra-Neves Miguel Ventura Vasco Manquinho and Ruben Martins. 2025. CUBES: A Parallel Synthesizer for SQL Using Examples. Form. Asp. Comput. (Sept. 2025). doi:10.1145\/3768578","DOI":"10.1145\/3768578"},{"key":"e_1_3_1_9_2","doi-asserted-by":"publisher","DOI":"10.14778\/3529337.3529348"},{"key":"e_1_3_1_10_2","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539702403098"},{"key":"e_1_3_1_11_2","unstructured":"Hubert Comon Max Dauchet R\u00e9mi Gilleron Florent Jacquemard Denis Lugiez Christof L\u00f6ding Sophie Tison and Marc Tommasi. 2008. Tree automata techniques and applications."},{"key":"e_1_3_1_12_2","doi-asserted-by":"publisher","DOI":"10.1145\/512950.512973"},{"key":"e_1_3_1_13_2","doi-asserted-by":"publisher","unstructured":"Rui Dong Qingyue Wu Danny Ding Zheng Guo Ruyi Ji and Xinyu Wang. 2026. Foresighter (Presynthesis: Towards Scaling Up Program Synthesis with Finer-Grained Abstract Semantics). doi:10.5281\/zenodo.19078478","DOI":"10.5281\/zenodo.19078478"},{"key":"e_1_3_1_14_2","doi-asserted-by":"crossref","unstructured":"Rui Dong Qingyue Wu Danny Ding Zheng Guo Ruyi Ji and Xinyu Wang. 2026. Presynthesis: Towards scaling up program synthesis with finer-grained abstract semantics. (2026). arXiv:2604.13290 [cs.PL]","DOI":"10.1145\/3808288"},{"key":"e_1_3_1_15_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-81685-8_39"},{"key":"e_1_3_1_16_2","doi-asserted-by":"publisher","DOI":"10.1145\/3140587.3062351"},{"key":"e_1_3_1_17_2","doi-asserted-by":"crossref","unstructured":"Yu Feng Ruben Martins Yuepeng Wang Isil Dillig and Thomas W Reps. 2017. Component-based synthesis for complex APIs. In Proceedings of the 44th ACM SIGPLAN Symposium on Principles of Programming Languages. 599\u2013612.","DOI":"10.1145\/3009837.3009851"},{"key":"e_1_3_1_18_2","doi-asserted-by":"publisher","DOI":"10.1145\/2737924.2737977"},{"key":"e_1_3_1_19_2","doi-asserted-by":"publisher","DOI":"10.1145\/1926385.1926423"},{"key":"e_1_3_1_20_2","doi-asserted-by":"publisher","DOI":"10.1561\/2500000010"},{"key":"e_1_3_1_21_2","doi-asserted-by":"publisher","DOI":"10.1145\/3371080"},{"key":"e_1_3_1_22_2","doi-asserted-by":"publisher","DOI":"10.1145\/3591285"},{"key":"e_1_3_1_23_2","doi-asserted-by":"crossref","unstructured":"Tihomir Gvero Viktor Kuncak Ivan Kuraj and Ruzica Piskac. 2013. Complete completion using types and weights. In Proceedings of the 34th ACM SIGPLAN conference on Programming language design and implementation. 27\u201338.","DOI":"10.1145\/2491956.2462192"},{"key":"e_1_3_1_24_2","doi-asserted-by":"crossref","unstructured":"William J Huggins and Jarrod R McClean. 2023. Accelerating Quantum Algorithms with Precomputation. arXiv preprint arXiv:2305.09638 (2023).","DOI":"10.22331\/q-2024-02-22-1264"},{"key":"e_1_3_1_25_2","doi-asserted-by":"crossref","unstructured":"Ruoming Jin Yang Xiang Ning Ruan and Haixun Wang. 2008. Efficiently answering reachability queries on very large directed graphs. In Proceedings of the 2008 ACM SIGMOD international conference on Management of data. 595\u2013608.","DOI":"10.1145\/1376616.1376677"},{"key":"e_1_3_1_26_2","doi-asserted-by":"publisher","DOI":"10.1145\/3689744"},{"key":"e_1_3_1_27_2","doi-asserted-by":"publisher","DOI":"10.1145\/543552.512566"},{"key":"e_1_3_1_28_2","article-title":"Scaling laws for neural language models","author":"Kaplan Jared","year":"2020","unstructured":"Jared Kaplan, Sam McCandlish, Tom Henighan, Tom B Brown, Benjamin Chess, Rewon Child, Scott Gray, Alec Radford, Jeffrey Wu, and Dario Amodei. 2020. Scaling laws for neural language models. arXiv preprint arXiv:2001.08361 (2020).","journal-title":"arXiv preprint arXiv:2001.08361"},{"key":"e_1_3_1_29_2","doi-asserted-by":"publisher","DOI":"10.1145\/3547622"},{"key":"e_1_3_1_30_2","doi-asserted-by":"publisher","DOI":"10.1145\/3434335"},{"key":"e_1_3_1_31_2","doi-asserted-by":"publisher","DOI":"10.1145\/3632894"},{"key":"e_1_3_1_32_2","doi-asserted-by":"publisher","DOI":"10.1145\/3498724"},{"key":"e_1_3_1_33_2","doi-asserted-by":"publisher","DOI":"10.1145\/3434340"},{"key":"e_1_3_1_34_2","doi-asserted-by":"publisher","DOI":"10.1145\/3492428"},{"key":"e_1_3_1_35_2","doi-asserted-by":"publisher","DOI":"10.1145\/1064978.1065018"},{"key":"e_1_3_1_36_2","doi-asserted-by":"publisher","DOI":"10.1145\/3632858"},{"key":"e_1_3_1_37_2","doi-asserted-by":"publisher","DOI":"10.1145\/3498682"},{"key":"e_1_3_1_38_2","doi-asserted-by":"publisher","DOI":"10.14778\/3415478.3415492"},{"key":"e_1_3_1_39_2","doi-asserted-by":"publisher","DOI":"10.1109\/FOCS.2010.83"},{"key":"e_1_3_1_40_2","doi-asserted-by":"publisher","DOI":"10.14778\/3380750.3380753"},{"key":"e_1_3_1_41_2","doi-asserted-by":"publisher","DOI":"10.1145\/2980983.2908093"},{"key":"e_1_3_1_42_2","doi-asserted-by":"publisher","DOI":"10.1145\/2814270.2814310"},{"key":"e_1_3_1_43_2","first-page":"15","article-title":"CAFQA: A classical simulation bootstrap for variational quantum algorithms","volume":"1","author":"Ravi Gokul Subramanian","year":"2022","unstructured":"Gokul Subramanian Ravi, Pranav Gokhale, Yi Ding, William Kirby, Kaitlin Smith, Jonathan M Baker, Peter J Love, Henry Hoffmann, Kenneth R Brown, and Frederic T Chong. 2022. CAFQA: A classical simulation bootstrap for variational quantum algorithms. In Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 1. 15\u201329.","journal-title":"Proceedings of the 28th ACM International Conference on Architectural Support for Programming Languages and Operating Systems"},{"key":"e_1_3_1_44_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-21690-4_35"},{"key":"e_1_3_1_45_2","doi-asserted-by":"publisher","DOI":"10.4018\/978-1-61350-053-8.ch004"},{"key":"e_1_3_1_46_2","unstructured":"Armando Solar-Lezama. 2008. Program synthesis by sketching. University of California Berkeley."},{"key":"e_1_3_1_47_2","doi-asserted-by":"crossref","unstructured":"Armando Solar-Lezama Liviu Tancau Rastislav Bodik Sanjit Seshia and Vijay Saraswat. 2006. Combinatorial sketching for finite programs. In Proceedings of the 12th international conference on Architectural support for programming languages and operating systems. 404\u2013415.","DOI":"10.1145\/1168857.1168907"},{"key":"e_1_3_1_48_2","doi-asserted-by":"crossref","unstructured":"Saurabh Srivastava Sumit Gulwani and Jeffrey S Foster. 2010. From program verification to program synthesis. In Proceedings of the 37th annual ACM SIGPLAN-SIGACT symposium on Principles of programming languages. 313\u2013326.","DOI":"10.1145\/1706299.1706337"},{"key":"e_1_3_1_49_2","doi-asserted-by":"publisher","DOI":"10.14778\/3476249.3476253"},{"key":"e_1_3_1_50_2","doi-asserted-by":"publisher","DOI":"10.1145\/1039488.1039493"},{"key":"e_1_3_1_51_2","doi-asserted-by":"publisher","DOI":"10.1145\/1044731.1044732"},{"key":"e_1_3_1_52_2","doi-asserted-by":"publisher","DOI":"10.1145\/1559845.1559902"},{"key":"e_1_3_1_53_2","doi-asserted-by":"publisher","DOI":"10.1145\/3035918.3035955"},{"key":"e_1_3_1_54_2","doi-asserted-by":"publisher","DOI":"10.1145\/3062341.3062365"},{"key":"e_1_3_1_55_2","unstructured":"Xinyu Wang. 2019. An efficient programming-by-example framework. Ph. D. Dissertation."},{"key":"e_1_3_1_56_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-96145-3_22"},{"key":"e_1_3_1_57_2","doi-asserted-by":"publisher","DOI":"10.1145\/3158151"},{"key":"e_1_3_1_58_2","doi-asserted-by":"publisher","DOI":"10.1145\/3133886"},{"key":"e_1_3_1_59_2","doi-asserted-by":"publisher","DOI":"10.1145\/3276525"},{"key":"e_1_3_1_60_2","doi-asserted-by":"publisher","DOI":"10.1145\/3187009.3177735"},{"key":"e_1_3_1_61_2","doi-asserted-by":"publisher","DOI":"10.1145\/3591288"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3808288","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3808288","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,9,22]],"date-time":"2026-09-22T10:51:47Z","timestamp":1790074307000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3808288"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,6,8]]},"references-count":60,"journal-issue":{"issue":"PLDI","published-print":{"date-parts":[[2026,6,8]]}},"alternative-id":["10.1145\/3808288"],"URL":"https:\/\/doi.org\/10.1145\/3808288","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,6,8]]},"assertion":[{"value":"2025-11-13","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-04-03","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2026-06-08","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}