{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,2,4]],"date-time":"2026-02-04T20:53:32Z","timestamp":1770238412816,"version":"3.49.0"},"reference-count":37,"publisher":"Association for Computing Machinery (ACM)","issue":"ICFP","license":[{"start":{"date-parts":[[2024,8,15]],"date-time":"2024-08-15T00:00:00Z","timestamp":1723680000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2024,8,15]]},"abstract":"<jats:p>Parametricity states that polymorphic functions behave the same regardless of how they are instantiated. When developing polymorphic programs, Wadler\u2019s free theorems can serve as free specifications, which can turn otherwise partial specifications into total ones, and can make otherwise realizable specifications unrealizable. This is of particular interest to the field of program synthesis, where the unrealizability of a specification can be used to prune the search space. In this paper, we focus on the interaction between parametricity, input-output examples, and sketches. Unfortunately, free theorems introduce universally quantified functions that make automated reasoning difficult. Container morphisms provide an alternative representation for polymorphic functions that captures parametricity in a more manageable way. By using a translation to the container setting, we show how reasoning about the realizability of polymorphic programs with input-output examples can be automated.<\/jats:p>","DOI":"10.1145\/3674636","type":"journal-article","created":{"date-parts":[[2024,8,15]],"date-time":"2024-08-15T12:49:04Z","timestamp":1723726144000},"page":"317-337","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":1,"title":["Example-Based Reasoning about the Realizability of Polymorphic Programs"],"prefix":"10.1145","volume":"8","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-7934-6834","authenticated-orcid":false,"given":"Niek","family":"Mulleners","sequence":"first","affiliation":[{"name":"Utrecht University, Utrecht, Netherlands"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5645-7681","authenticated-orcid":false,"given":"Johan","family":"Jeuring","sequence":"additional","affiliation":[{"name":"Utrecht University, Utrecht, Netherlands"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-6647-6130","authenticated-orcid":false,"given":"Bastiaan","family":"Heeren","sequence":"additional","affiliation":[{"name":"Open University of the Netherlands, Heerlen, Netherlands"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","published-online":{"date-parts":[[2024,8,15]]},"reference":[{"key":"e_1_3_1_2_1","doi-asserted-by":"publisher","unstructured":"Michael Abbott Thorsten Altenkirch and Neil Ghani. 2003. Categories of Containers. In Proceedings of the 6th International Conference on Foundations of Software Science and Computation Structures and foint European Conference on Theory and Practice of Software (Warsaw Poland) (FOSSACS\u201903\/ETAPS\u201903). 23-38. https:\/\/doi.org\/10.1007\/3-540-36576-1_2 10.1007\/3-540-36576-1_2","DOI":"10.1007\/3-540-36576-1_2"},{"key":"e_1_3_1_3_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.tcs.2005.06.002"},{"key":"e_1_3_1_4_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-11957-6_8"},{"key":"e_1_3_1_5_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-78800-3_24"},{"key":"e_1_3_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/3519939.3523726"},{"key":"e_1_3_1_7_1","volume-title":"How to Design Programs: An Introduction to Programming and Computing","author":"Felleisen Matthias","year":"2018","unstructured":"Matthias Felleisen, Robert Bruce Findler, Matthew Flatt, and Shriram Krishnamurthi. 2018. How to Design Programs: An Introduction to Programming and Computing. The MIT Press."},{"key":"e_1_3_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/2813885.2737977"},{"key":"e_1_3_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/2914770.2837629"},{"key":"e_1_3_1_10_1","unstructured":"GHC Team. 2023. GHC 9.8.1 User\u2019s Guide. https:\/\/downloads.haskell.org\/~ghc\/9.8.1\/docs\/users_guide\/exts\/typed_holes.html"},{"key":"e_1_3_1_11_1","doi-asserted-by":"publisher","DOI":"10.1016\/S1571-0661(04)80906-X"},{"key":"e_1_3_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/3299711.3242760"},{"key":"e_1_3_1_13_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICST57152.2023.00035"},{"key":"e_1_3_1_14_1","unstructured":"Martin Hofmann. 2010. Data-Driven Detection of Catamorphisms -Towards Problem Specific Use of Program Schemes for Inductive Program Synthesis. In Preproceedings of the 22nd Symposium on Implementation and Application of Functional Languages (IFL 2010) ; Alphen aan den Rijn 1. - 3. Sept. 2010 Jurriaan Hage (Ed.). Utrecht 25-39. https:\/\/fis.unibamberg.de\/handle\/uniba\/3953."},{"key":"e_1_3_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/1706356.1706375"},{"key":"e_1_3_1_16_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-25540-4_18"},{"key":"e_1_3_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/3385412.3385979"},{"key":"e_1_3_1_18_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-96145-3_21"},{"key":"e_1_3_1_19_1","unstructured":"Jeevana Priya Inala Xiaokang Qiu Benjamin S. Lerner and Armando Solar-Lezama. 2015. Type Assisted Synthesis of Recursive Transformers on Algebraic Data Types. CoRR abs\/1507.05527 (2015). arXiv:1507.05527 http:\/\/arxiv.org\/abs\/1507.05527"},{"key":"e_1_3_1_20_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-89197-0_21"},{"key":"e_1_3_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/3571216"},{"key":"e_1_3_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/3434311"},{"key":"e_1_3_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/3547622"},{"key":"e_1_3_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/3571263"},{"key":"e_1_3_1_25_1","doi-asserted-by":"publisher","DOI":"10.1145\/3408991"},{"key":"e_1_3_1_26_1","doi-asserted-by":"publisher","unstructured":"Niek Mulleners. 2024. Reproduction Package for the ICFP 2024 Article \u2018Example-Based Reasoning about the Realizability of Polymorphic Programs\u2019. Zenodo. https:\/\/doi.org\/10.5281\/zenodo.11470781 10.5281\/zenodo.11470781","DOI":"10.5281\/zenodo.11470781"},{"key":"e_1_3_1_27_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-24841-2_2"},{"key":"e_1_3_1_28_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-04652-0_5"},{"key":"e_1_3_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/3290327"},{"key":"e_1_3_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/3331554.3342608"},{"key":"e_1_3_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/2737924.2738007"},{"key":"e_1_3_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/2908080.2908093"},{"key":"e_1_3_1_33_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-78969-7_9"},{"key":"e_1_3_1_34_1","unstructured":"John C. Reynolds. 1983. Types Abstraction and Parametric Polymorphism. In IFIP Congress."},{"key":"e_1_3_1_35_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-28412-0_17"},{"key":"e_1_3_1_36_1","doi-asserted-by":"publisher","unstructured":"Finn Teegen Kai-Oliver Prott and Niels Bunkenburg. 2021. Haskell\u22121 : Automatic Function Inversion in Haskell. In Proceedings of the 14th ACM SIGPLAN International Symposium on Haskell (Virtual Republic of Korea) (Haskell 2021). Association for Computing Machinery New York NY USA 41-55. https:\/\/doi.org\/10.1145\/3471874.3472982 10.1145\/3471874.3472982","DOI":"10.1145\/3471874.3472982"},{"key":"e_1_3_1_37_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-62688-3_47"},{"key":"e_1_3_1_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/99370.99404"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3674636","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3674636","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,2,4]],"date-time":"2026-02-04T07:50:33Z","timestamp":1770191433000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3674636"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,8,15]]},"references-count":37,"journal-issue":{"issue":"ICFP","published-print":{"date-parts":[[2024,8,15]]}},"alternative-id":["10.1145\/3674636"],"URL":"https:\/\/doi.org\/10.1145\/3674636","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,8,15]]},"assertion":[{"value":"2024-02-28","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2024-06-18","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2024-08-15","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}