{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,8]],"date-time":"2026-10-08T11:34:11Z","timestamp":1791459251100,"version":"4.3.4"},"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":[{"DOI":"10.13039\/501100000781","name":"European Research Council","doi-asserted-by":"publisher","award":["101117232"],"award-info":[{"award-number":["101117232"]}],"id":[{"id":"10.13039\/501100000781","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100000001","name":"National Science Foundation","doi-asserted-by":"publisher","award":["2402449"],"award-info":[{"award-number":["2402449"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100000001","name":"National Science Foundation","doi-asserted-by":"publisher","award":["2313998"],"award-info":[{"award-number":["2313998"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100000001","name":"National Science Foundation","doi-asserted-by":"publisher","award":["2145649"],"award-info":[{"award-number":["2145649"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]}],"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                    Among the biggest challenges in property-based testing (PBT) is the\n                    <jats:italic toggle=\"yes\">constrained random generation problem<\/jats:italic>\n                    : given a predicate on program values, randomly sample from the set of all values, and only values, satisfying that predicate. Efficient solutions to this problem are critical, since the executable specifications used by PBT often have preconditions that input values must satisfy in order to be valid test cases, and satisfying values are often sparsely distributed.\n                  <\/jats:p>\n                  <jats:p>We propose a novel approach to this problem using deductive program synthesis. We present a set of synthesis rules, based on a denotational semantics of generators, that give rise to an automatic procedure for synthesizing correct generators. Our system handles recursive predicates by rewriting them as catamorphisms and then matching with appropriate anamorphisms; this is theoretically simpler than other approaches to synthesis for recursive functions, yet still extremely expressive.<\/jats:p>\n                  <jats:p>\n                    Our implementation,\n                    <jats:sc>Palamedes<\/jats:sc>\n                    , is an extensible library for the Lean theorem prover. The synthesis algorithm itself is built out of standard proof-search tactics, reducing implementation burden and allowing the algorithm to benefit from further advances in Lean proof automation\n                  <\/jats:p>","DOI":"10.1145\/3808329","type":"journal-article","created":{"date-parts":[[2026,6,8]],"date-time":"2026-06-08T18:04:09Z","timestamp":1780941849000},"page":"2060-2084","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":2,"title":["The Search for Constrained Random Generators"],"prefix":"10.1145","volume":"10","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-9631-1169","authenticated-orcid":false,"given":"Harrison","family":"Goldstein","sequence":"first","affiliation":[{"name":"University at Buffalo, SUNY, Buffalo, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0107-5659","authenticated-orcid":false,"given":"Hila","family":"Peleg","sequence":"additional","affiliation":[{"name":"Technion, Haifa, Israel"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0003-6717-9586","authenticated-orcid":false,"given":"Cassia","family":"Torczon","sequence":"additional","affiliation":[{"name":"University of Pennsylvania, Philadelphia, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0003-4738-8524","authenticated-orcid":false,"given":"Daniel","family":"Sainati","sequence":"additional","affiliation":[{"name":"University of Pennsylvania, Philadelphia, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0269-9815","authenticated-orcid":false,"given":"Leonidas","family":"Lampropoulos","sequence":"additional","affiliation":[{"name":"University of Maryland, College Park, College Park, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7839-1636","authenticated-orcid":false,"given":"Benjamin C.","family":"Pierce","sequence":"additional","affiliation":[{"name":"University of Pennsylvania, Pennsylvania, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,6,8]]},"reference":[{"key":"e_1_3_2_2_2","unstructured":"2023. How We Built Cedar with Automated Reasoning and Differential Testing. https:\/\/www.amazon.science\/blog\/how-we-built-cedar-with-automated-reasoning-and-differential-testing."},{"key":"e_1_3_2_3_2","doi-asserted-by":"publisher","DOI":"10.1145\/1159789.1159792"},{"key":"e_1_3_2_4_2","doi-asserted-by":"publisher","unstructured":"Thomas Arts John Hughes Ulf Norell and Hans Svensson. 2015. Testing AUTOSAR Software with QuickCheck. In 2015 IEEE Eighth International Conference on Software Testing Verification and Validation Workshops (ICSTW). 1\u20134. doi:10.1109\/ICSTW.2015.7107466","DOI":"10.1109\/ICSTW.2015.7107466"},{"key":"e_1_3_2_5_2","doi-asserted-by":"publisher","DOI":"10.4230\/LIPIcs.ITP.2019.6"},{"key":"e_1_3_2_6_2","doi-asserted-by":"publisher","DOI":"10.1007\/BF00264249"},{"key":"e_1_3_2_7_2","doi-asserted-by":"publisher","DOI":"10.1145\/3477132.3483540"},{"key":"e_1_3_2_8_2","first-page":"92","volume-title":"2nd International Conference on Certified Programs and Proofs (CPP) (Lecture Notes in Computer Science, Vol. 7679).","author":"Bulwahn Lukas","year":"2012","unstructured":"Lukas Bulwahn. 2012. The New Quickcheck for Isabelle - Random, Exhaustive and Symbolic Testing under One Roof. In 2nd International Conference on Certified Programs and Proofs (CPP) (Lecture Notes in Computer Science, Vol. 7679). Springer, 92\u2013108. https:\/\/www.irisa.fr\/celtique\/genet\/ACF\/BiblioIsabelle\/quickcheckNew.pdf"},{"key":"e_1_3_2_9_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-28717-6_14"},{"key":"e_1_3_2_10_2","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796815000143"},{"key":"e_1_3_2_11_2","doi-asserted-by":"publisher","DOI":"10.1145\/351240.351266"},{"key":"e_1_3_2_12_2","doi-asserted-by":"publisher","DOI":"10.1145\/2676726.2677006"},{"key":"e_1_3_2_13_2","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE.2015.26"},{"key":"e_1_3_2_14_2","doi-asserted-by":"publisher","DOI":"10.1145\/3591278"},{"key":"e_1_3_2_15_2","doi-asserted-by":"publisher","unstructured":"Emily First Markus N. Rabe Talia Ringer and Yuriy Brun. 2023. Baldur: Whole-Proof Generation and Repair with Large Language Models. doi:10.48550\/arXiv.2303.04910 arXiv:2303.04910 [cs].","DOI":"10.48550\/arXiv.2303.04910"},{"key":"e_1_3_2_16_2","doi-asserted-by":"publisher","DOI":"10.1145\/2837614.2837629"},{"key":"e_1_3_2_17_2","doi-asserted-by":"publisher","DOI":"10.1145\/3597503.3639581"},{"key":"e_1_3_2_18_2","doi-asserted-by":"publisher","DOI":"10.1145\/3563291"},{"key":"e_1_3_2_19_2","doi-asserted-by":"publisher","DOI":"10.1145\/3519939.3523450"},{"key":"e_1_3_2_20_2","doi-asserted-by":"publisher","DOI":"10.1145\/2491956.2462192"},{"key":"e_1_3_2_21_2","doi-asserted-by":"publisher","unstructured":"Qiantan Hong and Alex Aiken. 2024. Recursive Program Synthesis using Paramorphisms. Proc. ACM Program. Lang. 8 PLDI (June 2024) 151:102\u2013151:125. doi:10.1145\/3656381","DOI":"10.1145\/3656381"},{"key":"e_1_3_2_22_2","doi-asserted-by":"publisher","DOI":"10.1145\/2544174.2500574"},{"key":"e_1_3_2_23_2","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796899003500"},{"key":"e_1_3_2_24_2","doi-asserted-by":"publisher","DOI":"10.1145\/3453483.3454087"},{"key":"e_1_3_2_25_2","doi-asserted-by":"publisher","unstructured":"Saketh Ram Kasibatla Arpan Agarwal Yuriy Brun Sorin Lerner Talia Ringer and Emily First. 2024. Cobblestone: Iterative Automation for Formal Verification. doi:10.48550\/arXiv.2410.19940 arXiv:2410.19940 [cs].","DOI":"10.48550\/arXiv.2410.19940"},{"key":"e_1_3_2_26_2","doi-asserted-by":"publisher","DOI":"10.1145\/2509136.2509555"},{"key":"e_1_3_2_27_2","doi-asserted-by":"publisher","unstructured":"Patrick LaFontaine Zhe Zhou Ashish Mishra Suresh Jagannathan and Benjamin Delaware. 2025. We've Got You Covered: Type-Guided Repair of Incomplete Input Generators. doi:10.48550\/arXiv.2504.06421 arXiv:2504.06421 [cs].","DOI":"10.48550\/arXiv.2504.06421"},{"key":"e_1_3_2_28_2","doi-asserted-by":"publisher","unstructured":"Patrick LaFontaine Zhe Zhou Ashish Mishra Suresh Jagannathan and Benjamin Delaware. 2025. We've Got You Covered: Type-Guided Repair of Incomplete Input Generators. doi:doi:10.5281\/zenodo.16599071","DOI":"10.5281\/zenodo.16599071"},{"key":"e_1_3_2_29_2","doi-asserted-by":"crossref","unstructured":"Leonidas Lampropoulos Diane Gallois-Wong Catalin Hritcu John Hughes Benjamin C. Pierce and Li-yao Xia. 2017. Beginner's Luck: A Language for Property-Based Generators. Proceedings of the 44th ACM SIGPLAN Symposium on Principles of Programming Languages POPL 2017 Paris France January 18-20 2017 (2017) 114\u2013129.","DOI":"10.1145\/3009837.3009868"},{"key":"e_1_3_2_30_2","doi-asserted-by":"publisher","DOI":"10.1145\/3158133"},{"key":"e_1_3_2_31_2","doi-asserted-by":"publisher","unstructured":"Zhaoyu Li Jialiang Sun Logan Murphy Qidong Su Zenan Li Xian Zhang Kaiyu Yang and Xujie Si. 2024. A Survey on Deep Learning for Theorem Proving. doi:10.48550\/arXiv.2404.09939 arXiv:2404.09939 [cs].","DOI":"10.48550\/arXiv.2404.09939"},{"key":"e_1_3_2_32_2","doi-asserted-by":"publisher","DOI":"10.1145\/3573105.3575671"},{"key":"e_1_3_2_33_2","doi-asserted-by":"publisher","DOI":"10.21105\/joss.01891"},{"key":"e_1_3_2_34_2","unstructured":"Grant Reynold Malcolm. 1990. Algebraic data types and program transformation. (1990)."},{"key":"e_1_3_2_35_2","doi-asserted-by":"publisher","DOI":"10.1145\/3412932.3412943"},{"key":"e_1_3_2_36_2","doi-asserted-by":"publisher","unstructured":"Abdalrhman Mohamed Tomaz Mascarenhas Harun Khan Haniel Barbosa Andrew Reynolds Yicheng Qian Cesare Tinelli and Clark Barrett. 2025. Lean-SMT:An SMT tactic for discharging proof goals in Lean. doi:10.48550\/arXiv.2505.15796 arXiv:2505.15796 [cs].","DOI":"10.48550\/arXiv.2505.15796"},{"key":"e_1_3_2_37_2","doi-asserted-by":"publisher","DOI":"10.1145\/3331554.3342608"},{"key":"e_1_3_2_38_2","doi-asserted-by":"publisher","unstructured":"Peter-Michael Osera and Steve Zdancewic. 2015. Type-and-Example-Directed Program Synthesis. ACM SIGPLAN Notices 50 6 (June 2015) 619\u2013630. doi:10.1145\/2813885.2738007","DOI":"10.1145\/2813885.2738007"},{"key":"e_1_3_2_39_2","doi-asserted-by":"publisher","DOI":"10.1145\/1982595.1982615"},{"key":"e_1_3_2_40_2","doi-asserted-by":"publisher","DOI":"10.1145\/3519939.3523707"},{"key":"e_1_3_2_41_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-22102-1_22"},{"key":"e_1_3_2_42_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-0-387-35672-3_3"},{"key":"e_1_3_2_43_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-0-585-27330-3_4"},{"key":"e_1_3_2_44_2","doi-asserted-by":"publisher","DOI":"10.1145\/2980983.2908093"},{"key":"e_1_3_2_45_2","doi-asserted-by":"publisher","DOI":"10.1145\/3290385"},{"key":"e_1_3_2_46_2","doi-asserted-by":"publisher","DOI":"10.1145\/3591292"},{"key":"e_1_3_2_47_2","doi-asserted-by":"publisher","DOI":"10.1145\/3133889"},{"key":"e_1_3_2_48_2","doi-asserted-by":"publisher","DOI":"10.1145\/3377811.3380399"},{"key":"e_1_3_2_49_2","doi-asserted-by":"publisher","unstructured":"Marcus Rossel and Andr\u00e9s Goens. 2024. Bridging Syntax and Semantics of Lean Expressions in E-Graphs. doi: 10.48550\/arXiv.2405.10188 arXiv:2405.10188 [cs].","DOI":"10.48550\/arXiv.2405.10188"},{"key":"e_1_3_2_50_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-46669-8_33"},{"key":"e_1_3_2_51_2","doi-asserted-by":"publisher","DOI":"10.1145\/3540250.3549139"},{"key":"e_1_3_2_52_2","doi-asserted-by":"publisher","unstructured":"Kyle Thompson Nuno Saavedra Pedro Carrott Kevin Fisher Alex Sanchez-Stern Yuriy Brun Jo\u00e3o F. Ferreira Sorin Lerner and Emily First. 2025. Rango: Adaptive Retrieval-Augmented Proving for Automated Software Verification. doi:10.48550\/arXiv.2412.14063 arXiv:2412.14063 [cs].","DOI":"10.48550\/arXiv.2412.14063"},{"key":"e_1_3_2_53_2","unstructured":"Ryan Tjoa Poorva Garg Harrison Goldstein Todd Millstein Benjamin C. Pierce and Guy Van Den Broeck. 2025. Tuning Random Generators. https:\/\/rtjoa.com\/papers\/draft-tuning.pdf"},{"key":"e_1_3_2_54_2","doi-asserted-by":"publisher","DOI":"10.1145\/3473589"},{"key":"e_1_3_2_55_2","doi-asserted-by":"publisher","DOI":"10.22152\/programming-journal.org\/2021\/5\/9"},{"key":"e_1_3_2_56_2","doi-asserted-by":"publisher","unstructured":"Chunqiu Steven Xia Matteo Paltenghi JiaLe Tian Michael Pradel and Lingming Zhang. 2024. Fuzz4All:Universal Fuzzing with Large Language Models. In Proceedings of the IEEE\/ACM 46th International Conference on Software Engineering. 1\u201313. doi:10.1145\/3597503.3639121 arXiv:2308.04748 [cs].","DOI":"10.1145\/3597503.3639121"},{"key":"e_1_3_2_57_2","unstructured":"Li-yao Xia. 2021. generic-random. \/\/hackage.haskell.org\/package\/generic-random"},{"key":"e_1_3_2_58_2","doi-asserted-by":"publisher","unstructured":"Huajian Xin Z. Z. Ren Junxiao Song Zhihong Shao Wanjia Zhao Haocheng Wang Bo Liu Liyue Zhang Xuan Lu Qiushi Du Wenjun Gao Qihao Zhu Dejian Yang Zhibin Gou Z. F. Wu Fuli Luo and Chong Ruan. 2024. DeepSeek-Prover-V1.5: Harnessing Proof Assistant Feedback for Reinforcement Learning and Monte-Carlo Tree Search. doi:10.48550\/arXiv.2408.08152 arXiv:2408.08152 [cs].","DOI":"10.48550\/arXiv.2408.08152"},{"key":"e_1_3_2_59_2","doi-asserted-by":"publisher","unstructured":"Kaiyu Yang Aidan M. Swope Alex Gu Rahul Chalamala Peiyang Song Shixing Yu Saad Godil Ryan Prenger and Anima Anandkumar. 2023. LeanDojo: Theorem Proving with Retrieval-Augmented Language Models. doi:10.48550\/arXiv.2306.15626 arXiv:2306.15626 [cs].","DOI":"10.48550\/arXiv.2306.15626"},{"key":"e_1_3_2_60_2","doi-asserted-by":"publisher","unstructured":"Zhixuan Yang and Nicolas Wu. 2022. Fantastic Morphisms and Where to Find Them: A Guide to Recursion Schemes. doi:10.48550\/arXiv.2202.13633 arXiv:2202.13633 [cs].","DOI":"10.48550\/arXiv.2202.13633"},{"key":"e_1_3_2_61_2","unstructured":"Francille Zhuang. 2026. Ariadne: Automatically Tuning Generator Weights Using Dynamic Sampling. Poster presented ACM SIGPLAN Symposium on Principles of Programming Languages (POPL)."}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3808329","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3808329","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,9,22]],"date-time":"2026-09-22T10:52:42Z","timestamp":1790074362000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3808329"}},"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\/3808329"],"URL":"https:\/\/doi.org\/10.1145\/3808329","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"}}]}}