{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,2]],"date-time":"2026-10-02T07:57:18Z","timestamp":1790927838847,"version":"4.1.0"},"reference-count":29,"publisher":"Association for Computing Machinery (ACM)","issue":"PLDI","license":[{"start":{"date-parts":[[2023,6,6]],"date-time":"2023-06-06T00:00:00Z","timestamp":1686009600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/100000001","name":"National Science Foundation","doi-asserted-by":"publisher","award":["2145649,2107206"],"award-info":[{"award-number":["2145649,2107206"]}],"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":[[2023,6,6]]},"abstract":"<jats:p>Inductive relations offer a powerful and expressive way of writing  \n program specifications while facilitating compositional reasoning.  \n Their widespread use by proof assistant users has made them a  \n particularly attractive target for proof engineering tools such as  \n QuickChick, a property-based testing tool for Coq which can  \n automatically derive generators for values satisfying an inductive  \n relation.  \n However, while such generators are generally efficient, there is  \n an infrequent yet seemingly inevitable situation where their  \n performance greatly degrades: when multiple inductive relations  \n constrain the same piece of data.<\/jats:p>\n          <jats:p>In this paper, we introduce an algorithm for merging two such  \n inductively defined properties that share an index. The algorithm  \n finds shared structure between the two relations, and creates a  \n single merged relation that is provably equivalent to the  \n conjunction of the two.  \n We demonstrate, through a series of case studies,  \n that the merged relations can improve the performance of automatic  \n generation by orders of magnitude, as well as simplify mechanized  \n proofs by getting rid of the need for nested induction and tedious  \n low-level book-keeping.<\/jats:p>","DOI":"10.1145\/3591292","type":"journal-article","created":{"date-parts":[[2023,6,6]],"date-time":"2023-06-06T20:06:24Z","timestamp":1686081984000},"page":"1759-1778","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":4,"title":["Merging Inductive Relations"],"prefix":"10.1145","volume":"7","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-2702-9319","authenticated-orcid":false,"given":"Jacob","family":"Prinz","sequence":"first","affiliation":[{"name":"University of Maryland, College Park, 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, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2023,6,6]]},"reference":[{"key":"e_1_2_1_1_1","unstructured":"Andrew W. Appel. 2022. Verified Functional Algorithms (Software Foundations Vol. 3). Electronic textbook. \t\t\t\t  Andrew W. Appel. 2022. Verified Functional Algorithms (Software Foundations Vol. 3). Electronic textbook."},{"key":"e_1_2_1_2_1","volume-title":"2nd International Conference on Certified Programs and Proofs (CPP) (Lecture Notes in Computer Science","volume":"108","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\u2013 108 . https:\/\/www.irisa.fr\/celtique\/genet\/ACF\/BiblioIsabelle\/quickcheckNew.pdf 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_2_1_3_1","volume-title":"Smart Testing of Functional Programs in Isabelle. In 18th International Conference on Logic for Programming, Artificial Intelligence, and Reasoning (LPAR) (Lecture Notes in Computer Science","volume":"167","author":"Bulwahn Lukas","year":"2012","unstructured":"Lukas Bulwahn . 2012 . Smart Testing of Functional Programs in Isabelle. In 18th International Conference on Logic for Programming, Artificial Intelligence, and Reasoning (LPAR) (Lecture Notes in Computer Science , Vol. 7180). Springer, 153\u2013 167 . isbn:978-3-642-28716-9 http:\/\/citeseerx.ist.psu.edu\/viewdoc\/download?doi=10.1.1.229.1307&rep=rep1&type=pdf Lukas Bulwahn. 2012. Smart Testing of Functional Programs in Isabelle. In 18th International Conference on Logic for Programming, Artificial Intelligence, and Reasoning (LPAR) (Lecture Notes in Computer Science, Vol. 7180). Springer, 153\u2013167. isbn:978-3-642-28716-9 http:\/\/citeseerx.ist.psu.edu\/viewdoc\/download?doi=10.1.1.229.1307&rep=rep1&type=pdf"},{"key":"e_1_2_1_4_1","volume-title":"Integrating Testing and Interactive Theorem Proving. In 10th International Workshop on the ACL2 Theorem Prover and its Applications (EPTCS","volume":"19","author":"Chamarthi Harsh Raju","year":"2011","unstructured":"Harsh Raju Chamarthi , Peter C. Dillinger , Matt Kaufmann , and Panagiotis Manolios . 2011 . Integrating Testing and Interactive Theorem Proving. In 10th International Workshop on the ACL2 Theorem Prover and its Applications (EPTCS , Vol. 70). 4\u2013 19 . arxiv:1105.4394 Harsh Raju Chamarthi, Peter C. Dillinger, Matt Kaufmann, and Panagiotis Manolios. 2011. Integrating Testing and Interactive Theorem Proving. In 10th International Workshop on the ACL2 Theorem Prover and its Applications (EPTCS, Vol. 70). 4\u201319. arxiv:1105.4394"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796815000143"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/351240.351266"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.5281\/zenodo.4501022"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796814000069"},{"key":"e_1_2_1_9_1","doi-asserted-by":"crossref","unstructured":"Carl Eastlund. 2009. DoubleCheck Your Theorems. In ACL2. http:\/\/www.ccs.neu.edu\/scheme\/pubs\/acl209-e.pdf \t\t\t\t  Carl Eastlund. 2009. DoubleCheck Your Theorems. In ACL2. http:\/\/www.ccs.neu.edu\/scheme\/pubs\/acl209-e.pdf","DOI":"10.1145\/1637837.1637844"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-46669-8_16"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796816000058"},{"key":"e_1_2_1_12_1","volume-title":"20th International Symposium on Trends in Functional Programming.","author":"Hughes John","year":"2019","unstructured":"John Hughes . 2019 . How to Specify It! . 20th International Symposium on Trends in Functional Programming. John Hughes. 2019. How to Specify It!. 20th International Symposium on Trends in Functional Programming."},{"key":"e_1_2_1_13_1","unstructured":"Hsiang-Shang Ko and Jeremy Gibbons. 2011. Modularising inductive families. In WGP@ICFP. \t\t\t\t  Hsiang-Shang Ko and Jeremy Gibbons. 2011. Modularising inductive families. In WGP@ICFP."},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796816000307"},{"key":"e_1_2_1_15_1","volume-title":"Random Testing for Language Design. Ph. D. Dissertation","author":"Lampropoulos Leonidas","unstructured":"Leonidas Lampropoulos . 2018. Random Testing for Language Design. Ph. D. Dissertation . University of Pennsylvania . Leonidas Lampropoulos. 2018. Random Testing for Language Design. Ph. D. Dissertation. University of Pennsylvania."},{"key":"e_1_2_1_16_1","unstructured":"Leonidas Lampropoulos. 2023. QuickChick 2.0 release. Github. https:\/\/github.com\/QuickChick\/QuickChick\/releases\/tag\/v.2.0+beta.16 \t\t\t\t  Leonidas Lampropoulos. 2023. QuickChick 2.0 release. Github. https:\/\/github.com\/QuickChick\/QuickChick\/releases\/tag\/v.2.0+beta.16"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/3009837.3009868"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/3158133"},{"key":"e_1_2_1_19_1","volume-title":"Pierce","author":"Lampropoulos Leonidas","year":"2018","unstructured":"Leonidas Lampropoulos and Benjamin C . Pierce . 2018 . QuickChick: Property- Based Testing In Coq. Electronic textbook. http:\/\/www.cis.upenn.edu\/~bcpierce\/sf Leonidas Lampropoulos and Benjamin C. Pierce. 2018. QuickChick: Property-Based Testing In Coq. Electronic textbook. http:\/\/www.cis.upenn.edu\/~bcpierce\/sf"},{"key":"e_1_2_1_20_1","volume-title":"Property Directed Generation of First-Order Test Data. In 8th Symposium on Trends in Functional Programming (Trends in Functional Programming","volume":"123","author":"Lindblad Fredrik","year":"2007","unstructured":"Fredrik Lindblad . 2007 . Property Directed Generation of First-Order Test Data. In 8th Symposium on Trends in Functional Programming (Trends in Functional Programming , Vol. 8). Intellect, 105\u2013 123 . isbn:978-1-84150-196-3 http:\/\/citeseerx.ist.psu.edu\/viewdoc\/download?doi=10.1.1.116.2439&rep=rep1&type=pdf Fredrik Lindblad. 2007. Property Directed Generation of First-Order Test Data. In 8th Symposium on Trends in Functional Programming (Trends in Functional Programming, Vol. 8). Intellect, 105\u2013123. isbn:978-1-84150-196-3 http:\/\/citeseerx.ist.psu.edu\/viewdoc\/download?doi=10.1.1.116.2439&rep=rep1&type=pdf"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/3110259"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/1481861.1481862"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/1982595.1982615"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/3519939.3523707"},{"key":"e_1_2_1_25_1","volume-title":"Chris Casinghino, Marco Gaboardi, Michael Greenberg, C\u01cet\u01celin Hri\u0163cu, Vilhelm Sj\u00f6berg, and Brent Yorgey.","author":"Pierce Benjamin C.","year":"2018","unstructured":"Benjamin C. Pierce , Arthur Azevedo de Amorim , Chris Casinghino, Marco Gaboardi, Michael Greenberg, C\u01cet\u01celin Hri\u0163cu, Vilhelm Sj\u00f6berg, and Brent Yorgey. 2018 . Logical Foundations. Electronic textbook, Version 5.5. http:\/\/www.cis.upenn.edu\/~bcpierce\/sf Benjamin C. Pierce, Arthur Azevedo de Amorim, Chris Casinghino, Marco Gaboardi, Michael Greenberg, C\u01cet\u01celin Hri\u0163cu, Vilhelm Sj\u00f6berg, and Brent Yorgey. 2018. Logical Foundations. Electronic textbook, Version 5.5. http:\/\/www.cis.upenn.edu\/~bcpierce\/sf"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1007\/BFb0054170"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.5281\/zenodo.7709704"},{"key":"e_1_2_1_28_1","unstructured":"Philip Wadler. 1990. Linear Types can Change the World!. In Programming Concepts and Methods. \t\t\t\t  Philip Wadler. 1990. Linear Types can Change the World!. In Programming Concepts and Methods."},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/1993498.1993532"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3591292","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3591292","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T16:47:20Z","timestamp":1750178840000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3591292"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,6,6]]},"references-count":29,"journal-issue":{"issue":"PLDI","published-print":{"date-parts":[[2023,6,6]]}},"alternative-id":["10.1145\/3591292"],"URL":"https:\/\/doi.org\/10.1145\/3591292","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,6,6]]},"assertion":[{"value":"2023-06-06","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}