{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,17]],"date-time":"2026-08-17T06:39:47Z","timestamp":1786948787270,"version":"build-2736575974"},"reference-count":30,"publisher":"Cambridge University Press (CUP)","issue":"1","license":[{"start":{"date-parts":[[2024,10,29]],"date-time":"2024-10-29T00:00:00Z","timestamp":1730160000000},"content-version":"unspecified","delay-in-days":0,"URL":"http:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["cambridge.org"],"crossmark-restriction":true},"short-container-title":["Theory and Practice of Logic Programming"],"published-print":{"date-parts":[[2025,1]]},"abstract":"<jats:title>Abstract<\/jats:title><jats:p>Catamorphisms are functions that are recursively defined on list and trees and, in general, on algebraic data types (ADTs), and are often used to compute suitable abstractions of programs that manipulate ADTs. Examples of catamorphisms include functions that compute size of lists, orderedness of lists, and height of trees. It is well known that program properties specified through catamorphisms can be proved by showing the satisfiability of suitable sets of constrained Horn clauses (CHCs). We address the problem of checking the satisfiability of those sets of CHCs, and we propose a method for transforming sets of CHCs into equisatisfiable sets where catamorphisms are no longer present. As a consequence, clauses with catamorphisms can be handled without extending the satisfiability algorithms used by existing CHC solvers. Through an experimental evaluation on a nontrivial benchmark consisting of many list and tree processing algorithms expressed as sets of CHCs, we show that our technique is indeed effective and significantly enhances the performance of state-of-the-art CHC solvers.<\/jats:p>","DOI":"10.1017\/s147106842400019x","type":"journal-article","created":{"date-parts":[[2024,10,29]],"date-time":"2024-10-29T11:14:25Z","timestamp":1730200465000},"page":"64-91","update-policy":"https:\/\/doi.org\/10.1017\/policypage","source":"Crossref","is-referenced-by-count":1,"title":["Catamorphic Abstractions for Constrained Horn Clause Satisfiability"],"prefix":"10.1017","volume":"25","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-7319-8439","authenticated-orcid":false,"given":"EMANUELE","family":"DE ANGELIS","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1268-7829","authenticated-orcid":false,"given":"FABIO","family":"FIORAVANTI","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-7858-4032","authenticated-orcid":false,"given":"ALBERTO","family":"PETTOROSSI","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3835-4931","authenticated-orcid":false,"given":"MAURIZIO","family":"PROIETTI","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"56","published-online":{"date-parts":[[2024,10,29]]},"reference":[{"key":"S147106842400019X_ref2","first-page":"825","volume-title":"Handbook of Satisfiability","volume":"185","author":"Barrett","year":"2009"},{"key":"S147106842400019X_ref20","first-page":"1","volume-title":"Formal Methods in Computer Aided Design, FMCAD \u201918","author":"Hojjat","year":"2018"},{"key":"S147106842400019X_ref8","first-page":"568","volume-title":"Tools and Algorithms for the Construction and Analysis of Systems, TACAS \u201914","author":"De Angelis","year":"2014"},{"key":"S147106842400019X_ref14","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(95)00148-4"},{"key":"S147106842400019X_ref17","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-13185-1_2"},{"key":"S147106842400019X_ref30","doi-asserted-by":"crossref","unstructured":"Yang, W. , Fedyukovich, G. and Gupta, A. 2019. Lemma synthesis for automating induction over algebraic data types. In International Conference on Principles and Practice of Constraint Programming , vol. 11802. Lecture Notes in Computer Science. Springer, 600\u2013617.","DOI":"10.1007\/978-3-030-30048-7_35"},{"key":"S147106842400019X_ref21","doi-asserted-by":"publisher","DOI":"10.1016\/0743-1066(94)90033-7"},{"key":"S147106842400019X_ref1","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068419000401"},{"key":"S147106842400019X_ref3","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-23534-9_2"},{"key":"S147106842400019X_ref15","first-page":"351","volume-title":"International Symposium on Logic Programming","author":"Gallagher","year":"1995"},{"key":"S147106842400019X_ref19","doi-asserted-by":"crossref","unstructured":"Hinze, R. , Wu, N. and Gibbons, J. 2013. Unifying structured recursion schemes. In International Conference on Functional Programming, ICFP \u201913. ACM, 209\u2013220.","DOI":"10.1145\/2500365.2500578"},{"key":"S147106842400019X_ref9","doi-asserted-by":"publisher","DOI":"10.1093\/logcom\/exab090"},{"key":"S147106842400019X_ref5","doi-asserted-by":"publisher","DOI":"10.1145\/1216374.1216378"},{"key":"S147106842400019X_ref4","first-page":"524","volume-title":"Tools and Algorithms for the Construction and Analysis of Systems TACAS \u201922, Part I","author":"Blicha","year":"2022"},{"key":"S147106842400019X_ref18","doi-asserted-by":"publisher","DOI":"10.1016\/j.scico.2005.02.006"},{"key":"S147106842400019X_ref6","doi-asserted-by":"crossref","unstructured":"Cousot, P. and Cousot, R. 1977. Abstract interpretation: A unified lattice model for static analysis of programs by construction of approximation of fixpoints. In POPL\u201977: Proceedings of the 4th ACM SIGACT-SIGPLAN Symposium on Principles of Programming Languages, Los Angeles, California, USA, 238\u2013252.","DOI":"10.1145\/512950.512973"},{"key":"S147106842400019X_ref7","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068421000211"},{"key":"S147106842400019X_ref28","unstructured":"Tamaki, H. and Sato, T. 1986. A generalized correctness proof of the unfold\/fold logic program transformation. Technical Report 86-4. Ibaraki University, Japan."},{"key":"S147106842400019X_ref27","first-page":"298","volume-title":"Satisfiability modulo recursive programs","author":"Suter","year":"2011"},{"key":"S147106842400019X_ref10","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-031-24841-2_9"},{"key":"S147106842400019X_ref13","first-page":"337","volume-title":"Tools and Algorithms for the Construction and Analysis of Systems, TACAS \u201908","author":"de Moura","year":"2008"},{"key":"S147106842400019X_ref23","doi-asserted-by":"crossref","unstructured":"Kostyukov, Y. , Mordvinov, D. and Fedyukovich, G. 2021. Beyond the elementary representations of program invariants over algebraic data types. In Conference on Programming Language Design and Implementation, PLDI \u201921. ACM, 451\u2013465.","DOI":"10.1145\/3453483.3454055"},{"key":"S147106842400019X_ref12","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068422000175"},{"key":"S147106842400019X_ref29","first-page":"571","volume-title":"29th CAV \u201917, Part II","author":"Unno","year":"2017."},{"key":"S147106842400019X_ref22","doi-asserted-by":"publisher","DOI":"10.1007\/s10703-016-0249-4"},{"key":"S147106842400019X_ref16","doi-asserted-by":"crossref","unstructured":"Govind, V. K. H. , Shoham, S. and Gurfinkel, A. 2022. Solving constrained Horn clauses modulo algebraic data types and recursive functions. In Proc. of the ACM on Programming Languages, POPL\u201922, Philadelphia, PA, USA, vol. 6, 1\u201329.","DOI":"10.1145\/3498722"},{"key":"S147106842400019X_ref24","first-page":"101","volume-title":"CAV \u201920, Part II","author":"Krishnan","year":"2020"},{"key":"S147106842400019X_ref25","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-83189-8"},{"key":"S147106842400019X_ref26","doi-asserted-by":"publisher","DOI":"10.1007\/3540543961_7"},{"key":"S147106842400019X_ref11","doi-asserted-by":"crossref","unstructured":"De Angelis, E. and Govind, V. K. 2022. CHC-COMP 2022: Competition report. In Proc. 9th Workshop on Horn Clauses for Verification and Synthesis and 10th Int. Workshop on Verification and Program Transformation. EPTCS, vol. 373, Munich, Germany, Open Publishing Association, 44\u201362.","DOI":"10.4204\/EPTCS.373.0"}],"container-title":["Theory and Practice of Logic Programming"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.cambridge.org\/core\/services\/aop-cambridge-core\/content\/view\/S147106842400019X","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,2,14]],"date-time":"2025-02-14T13:25:17Z","timestamp":1739539517000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.cambridge.org\/core\/product\/identifier\/S147106842400019X\/type\/journal_article"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,10,29]]},"references-count":30,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2025,1]]}},"alternative-id":["S147106842400019X"],"URL":"https:\/\/doi.org\/10.1017\/s147106842400019x","relation":{},"ISSN":["1471-0684","1475-3081"],"issn-type":[{"value":"1471-0684","type":"print"},{"value":"1475-3081","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,10,29]]},"assertion":[{"value":"\u00a9 The Author(s), 2024. Published by Cambridge University Press","name":"copyright","label":"Copyright","group":{"name":"copyright_and_licensing","label":"Copyright and Licensing"}},{"value":"This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (http:\/\/creativecommons.org\/licenses\/by\/4.0\/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.","name":"license","label":"License","group":{"name":"copyright_and_licensing","label":"Copyright and Licensing"}},{"value":"This content has been made available to all.","name":"free","label":"Free to read"}]}}