{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,1,12]],"date-time":"2026-01-12T14:14:36Z","timestamp":1768227276486,"version":"3.49.0"},"reference-count":66,"publisher":"Cambridge University Press (CUP)","issue":"5","license":[{"start":{"date-parts":[[2025,7,22]],"date-time":"2025-07-22T00:00:00Z","timestamp":1753142400000},"content-version":"unspecified","delay-in-days":0,"URL":"https:\/\/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,9]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>\n                    Static analysis is an essential component of many modern software development tools. Unfortunately, the ever-increasing complexity of static analyzers makes their coding error-prone. Even analysis tools based on rigorous mathematical techniques, such as abstract interpretation, are not immune to bugs. Ensuring the correctness and reliability of software analyzers is critical if they are to be inserted in production compilers and development environments. While compiler validation has seen notable success, formal validation of static analysis tools remains relatively unexplored. In this paper we present\n                    <jats:italic>checkification<\/jats:italic>\n                    , a simple, automatic method for testing static analyzers. Broadly, it consists in checking, over a suite of benchmarks, that the properties inferred statically are satisfied dynamically. The main advantage of our approach lies in its simplicity, which stems directly from framing it within the\n                    <jats:monospace>Ciao<\/jats:monospace>\n                    assertion-based validation framework, and its blended static\/dynamic assertion checking approach. We demonstrate that in this setting, the analysis can be tested with little effort by combining the following components already present in the framework: 1) the\n                    <jats:italic>static analyzer<\/jats:italic>\n                    , which outputs its results as the original program source with assertions interspersed; 2) the assertion\n                    <jats:italic>run-time checking<\/jats:italic>\n                    mechanism, which instruments a program to ensure that no assertion is violated at run time; 3) the\n                    <jats:italic>random test case generator<\/jats:italic>\n                    , which generates random test cases satisfying the properties present in assertion preconditions; and 4) the\n                    <jats:italic>unit-test framework<\/jats:italic>\n                    , which executes those test cases. We have applied our approach to the\n                    <jats:monospace>CiaoPP<\/jats:monospace>\n                    static analyzer, resulting in the identification of many bugs with reasonable overhead. Most of these bugs have been either fixed or confirmed, helping us detect a range of errors not only related to analysis soundness but also within other aspects of the framework.\n                  <\/jats:p>","DOI":"10.1017\/s1471068425100069","type":"journal-article","created":{"date-parts":[[2025,7,22]],"date-time":"2025-07-22T05:43:07Z","timestamp":1753162987000},"page":"829-866","update-policy":"https:\/\/doi.org\/10.1017\/policypage","source":"Crossref","is-referenced-by-count":1,"title":["Checkification: A Practical Approach for Testing Static Analysis Truths"],"prefix":"10.1017","volume":"25","author":[{"ORCID":"https:\/\/orcid.org\/0009-0002-1072-8989","authenticated-orcid":false,"given":"DANIELA","family":"FERREIRO","sequence":"first","affiliation":[{"name":"Universidad Polit\u00e9cnica de Madrid (UPM) IMDEA Software Institute"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"IGNACIO","family":"CASSO","sequence":"additional","affiliation":[{"name":"Universidad Polit\u00e9cnica de Madrid (UPM) IMDEA Software Institute"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9782-8135","authenticated-orcid":false,"given":"JOSE F.","family":"MORALES","sequence":"additional","affiliation":[{"name":"Universidad Polit\u00e9cnica de Madrid (UPM) IMDEA Software Institute"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-1092-2071","authenticated-orcid":false,"given":"PEDRO","family":"L\u00d3PEZ-GARC\u00cdA","sequence":"additional","affiliation":[{"name":"Spanish Council for Scientific Research (CSIC) IMDEA Software Institute"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7583-323X","authenticated-orcid":false,"given":"MANUEL V.","family":"HERMENEGILDO","sequence":"additional","affiliation":[{"name":"Universidad Polit\u00e9cnica de Madrid (UPM) IMDEA Software Institute"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"56","published-online":{"date-parts":[[2025,7,22]]},"reference":[{"key":"S1471068425100069_ref62","first-page":"102","volume-title":"9th International Static Analysis Symposium (SAS\u201902) 2002","volume":"2477","author":"Vaucheret","year":"2002"},{"key":"S1471068425100069_ref56","doi-asserted-by":"publisher","DOI":"10.1145\/565816.503293"},{"key":"S1471068425100069_ref5","first-page":"1","volume-title":"Proceedings of the 7th International Workshop on Satisfiability Modulo Theories 2009, SMT \u201909","author":"Brummayer","year":"2009"},{"key":"S1471068425100069_ref39","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-11164-3_22"},{"key":"S1471068425100069_ref28","doi-asserted-by":"publisher","DOI":"10.1016\/S1571-0661(05)01129-1"},{"key":"S1471068425100069_ref64","first-page":"279","volume-title":"Proceedings of the 2013 9th Joint Meeting on Foundations of Software Engineering 2013, ESEC\/FSE 2013","author":"Wu","year":"2013"},{"key":"S1471068425100069_ref57","doi-asserted-by":"crossref","unstructured":"S\u00f8ndergaard, H. 1986. An application of abstract interpretation of logic programs: occur check reduction. In European Symposium on Programming, LNCS 123\u00a01986, Springer, 327\u2013338.","DOI":"10.1007\/3-540-16442-1_25"},{"key":"S1471068425100069_ref40","first-page":"216","volume-title":"Proceedings of the 35th ACM SIGPLAN Conference on Programming Language Design and Implementation 2014, PLDI \u201914","author":"Le","year":"2014"},{"key":"S1471068425100069_ref20","first-page":"215","volume-title":"Functional and Logic Programming - 15th International Symposium, FLOPS 2020","volume":"12073","author":"Fortz","year":"2020"},{"key":"S1471068425100069_ref50","doi-asserted-by":"publisher","DOI":"10.1016\/0743-1066(92)90035-2"},{"key":"S1471068425100069_ref18","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-44659-1_9"},{"key":"S1471068425100069_ref45","first-page":"281","volume-title":"25th Int\u2019l. Conference on Logic Programming (ICLP\u201909) 2009","volume":"5649","author":"Mera","year":"2009"},{"key":"S1471068425100069_ref4","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-38856-9_18"},{"key":"S1471068425100069_ref8","first-page":"768","volume-title":"Proceedings of the 33rd ACM\/IEEE International Conference on Automated Software Engineering 2018, ASE 2018","author":"Bugariu","year":"2018"},{"key":"S1471068425100069_ref42","first-page":"65","volume-title":"Proceedings of the 36th ACM SIGPLAN Conference on Programming Language Design and Implementation 2015, PLDI \u201915","author":"Lidbury","year":"2015"},{"key":"S1471068425100069_ref54","first-page":"335","volume-title":"Proceedings of the 33rd ACM SIGPLAN Conference on Programming Language Design and Implementation 2012, PLDI \u201912","author":"Regehr","year":"2012"},{"key":"S1471068425100069_ref59","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068415000344"},{"key":"S1471068425100069_ref52","first-page":"361","volume-title":"Isabelle: The next 700 theorem provers","author":"Paulson","year":"1990"},{"key":"S1471068425100069_ref19","doi-asserted-by":"publisher","DOI":"10.4204\/EPTCS.385.33"},{"key":"S1471068425100069_ref47","volume-title":"Determination of variable dependence information at compile-time through abstract interpretation","author":"Muthukumar","year":"1989"},{"key":"S1471068425100069_ref7","unstructured":"Bueno, F. , Lopez-Garcia, P. , Puebla, G. and Hermenegildo, M. V. (2006). A Tutorial on Program Development and Optimization using the Ciao Preprocessor. Technical Report CLIP2\/06, Technical University of Madrid (UPM), Facultad de Inform\u00e1tica, 28660 Boadilla del Monte, Madrid, Spain."},{"key":"S1471068425100069_ref29","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068411000457"},{"key":"S1471068425100069_ref22","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068416000417"},{"key":"S1471068425100069_ref24","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-13838-7_11"},{"key":"S1471068425100069_ref43","first-page":"19","volume-title":"Proceedings of the 14th International Symposium on Logic-based Program Synthesis and Transformation (LOPSTR\u201904) 2005","volume":"3573","author":"Lopez-Garcia","year":"2005"},{"key":"S1471068425100069_ref12","doi-asserted-by":"publisher","DOI":"10.1145\/154630.154650"},{"key":"S1471068425100069_ref41","first-page":"386","volume-title":"Proceedings of the 2015 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications 2015, OOPSLA 2015","author":"Le","year":"2015"},{"key":"S1471068425100069_ref65","first-page":"283","volume-title":"Proceedings of the 32nd ACM SIGPLAN Conference on Programming Language Design and Implementation 2011, PLDI \u201911","author":"Yang","year":"2011"},{"key":"S1471068425100069_ref17","first-page":"48","volume-title":"1997 International Conference on Logic Programming 1997","author":"Debray","year":"1997"},{"key":"S1471068425100069_ref53","doi-asserted-by":"publisher","DOI":"10.1007\/10722311_2"},{"key":"S1471068425100069_ref14","first-page":"21","volume-title":"14th European Symposium on Programming, ESOP 2005, held as part of the Joint European Conferences on Theory and Practice of Software, ETAPS 2005","volume":"3444","author":"Cousot","year":"2005"},{"key":"S1471068425100069_ref35","first-page":"247","volume-title":"Proceedings of the 42nd Annual ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, 2015, POPL \u201915","author":"Jourdan","year":"2015"},{"key":"S1471068425100069_ref26","doi-asserted-by":"crossref","unstructured":"Guarnieri, M. , K\u00f6pf, B. , Morales, J. F. , Reineke, J. and S\u00e1nchez, A. 2020. Spectector: Principled detection of speculative information flows. In 2020 IEEE Symposium on Security and Privacy (SP) 2020, 1\u201319.","DOI":"10.1109\/SP40000.2020.00011"},{"key":"S1471068425100069_ref66","doi-asserted-by":"crossref","unstructured":"Zhang, C. , Su, T. , Yan, Y. , Zhang, F. , Pu, G. and Su, Z. 2019. Finding and understanding bugs in software model checkers. In Proceedings of the 13th Joint Meeting of the 18th European Software Engineering Conference and the 27th Symposium on the Foundations of Software Engineering 2019, Association for Computing Machinery, 763\u2013773.","DOI":"10.1145\/3338906.3338932"},{"key":"S1471068425100069_ref58","unstructured":"Stade, Y. , Tilscher, S. and Seidl, H. 2024. Partial correctness of the top-down solver. Archive of Formal Proofs, Formal proof development, https:\/\/isa-afp.org\/entries\/Top_Down_Solver.html"},{"key":"S1471068425100069_ref30","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-60085-2_7"},{"key":"S1471068425100069_ref11","first-page":"268","volume-title":"Proceedings of the Fifth ACM SIGPLAN International Conference on Functional Programming 2000, ICFP\u201900","author":"Claessen","year":"2000"},{"key":"S1471068425100069_ref37","doi-asserted-by":"crossref","unstructured":"Kapus, T. and Cadar, C. 2017. Automatic testing of symbolic execution engines via program generation and differential testing. In IEEE\/ACM International Conference on Automated Software Engineering (ASE 2017), \u00a0IEEE Press. 2017, 590\u2013600.","DOI":"10.1109\/ASE.2017.8115669"},{"key":"S1471068425100069_ref25","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-45260-5_3"},{"key":"S1471068425100069_ref3","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-45789-5_17"},{"key":"S1471068425100069_ref46","doi-asserted-by":"publisher","DOI":"10.1002\/stvr.1640"},{"key":"S1471068425100069_ref48","volume-title":"Deriving a fixpoint computation algorithm for top-down abstract interpretation of logic programs","author":"Muthukumar","year":"1990"},{"key":"S1471068425100069_ref33","doi-asserted-by":"publisher","DOI":"10.1145\/349214.349216"},{"key":"S1471068425100069_ref61","first-page":"849","volume-title":"Proceedings of the 2016 ACM SIGPLAN International Conference on Object-Oriented Programming, Systems, Languages, and Applications 2016, OOPSLA 2016","author":"Sun","year":"2016"},{"key":"S1471068425100069_ref27","doi-asserted-by":"crossref","unstructured":"He, W. , Di, P. , Ming, M. , Zhang, C. , Su, T. , Li, S. and Sui, Y. 2024. Finding and understanding defects in static analyzers by constructing automated oracles. In ACM International Conference on the Foundations of Software Engineering, 2024.","DOI":"10.1145\/3660781"},{"key":"S1471068425100069_ref38","first-page":"239","volume-title":"Proceedings of the 28th ACM SIGSOFT International Symposium on Software Testing and Analysis, 2019, ISSTA 2019","author":"Klinger","year":"2019"},{"key":"S1471068425100069_ref44","doi-asserted-by":"publisher","DOI":"10.1007\/s00354-008-0085-1"},{"key":"S1471068425100069_ref34","unstructured":"Hermenegildo, M. V. and CLIP Group, T 1997. An Automatic Documentation Generator for (C)LP \u2013 Reference Manual, The Ciao System Documentation Series\u2013TR CLIP5\/97.3, Facultad de Inform\u00e1tica, UPM. Online at https:\/\/ciao-lang.org"},{"key":"S1471068425100069_ref9","doi-asserted-by":"crossref","unstructured":"Cadar, C. and Donaldson, A. 2016. Analysing the program analyser. In International Conference on Software Engineering, Visions of 2025 and Beyond Track (ICSE V2025), \u00a0Association for Computing Machinery. 2016, 765\u2013768.","DOI":"10.1145\/2889160.2889206"},{"key":"S1471068425100069_ref15","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-28891-3_12"},{"key":"S1471068425100069_ref1","doi-asserted-by":"publisher","DOI":"10.1145\/3088515.3088521"},{"key":"S1471068425100069_ref13","doi-asserted-by":"publisher","DOI":"10.1145\/200994.200998"},{"key":"S1471068425100069_ref21","doi-asserted-by":"publisher","DOI":"10.1145\/232706.232734"},{"key":"S1471068425100069_ref16","first-page":"185","volume-title":"Proceedings of the the 6th Joint Meeting of the European Software Engineering Conference and the ACM SIGSOFT Symposium on The Foundations of Software Engineering 2007, ESEC-FSE \u201907","author":"Daniel","year":"2007"},{"key":"S1471068425100069_ref60","doi-asserted-by":"crossref","unstructured":"Stulova, N. , Morales, J. F. and Hermenegildo, M. V. 2016. Reducing the overhead of assertion run-time checks via static analysis. In 18th Int\u2019l. ACM SIGPLAN Symposium on Principles and Practice of Declarative Programming (PPDP\u201916) 2016, ACM Press, 90\u2013103.","DOI":"10.1145\/2967973.2968597"},{"key":"S1471068425100069_ref63","first-page":"110","article-title":"An efficient, easily adaptable system for interpreting natural language queries","volume":"8","author":"Warren","year":"1982","journal-title":"American Journal of Computational Linguistics"},{"key":"S1471068425100069_ref6","first-page":"100","volume-title":"7th Int\u2019l. Symposium on Functional and Logic Programming 2004","volume":"2998","author":"Bueno","year":"2004"},{"key":"S1471068425100069_ref36","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068424000358"},{"key":"S1471068425100069_ref10","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-030-45260-5_10"},{"key":"S1471068425100069_ref2","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068418000285"},{"key":"S1471068425100069_ref31","first-page":"127","volume-title":"10th International Static Analysis Symposium (SAS\u201903) 2003","volume":"2694","author":"Hermenegildo","year":"2003"},{"key":"S1471068425100069_ref55","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(84)90119-1"},{"key":"S1471068425100069_ref23","doi-asserted-by":"publisher","DOI":"10.1017\/S1471068420000496"},{"key":"S1471068425100069_ref32","doi-asserted-by":"publisher","DOI":"10.1016\/j.scico.2005.02.006"},{"key":"S1471068425100069_ref49","first-page":"49","volume-title":"International Conference on Logic Programming (ICLP 1991) 1991","author":"Muthukumar","year":"1991"},{"key":"S1471068425100069_ref51","first-page":"183","volume-title":"8th International Symposium on Practical Aspects of Declarative Languages (PADL\u201906) 2006","volume":"2819","author":"Navas","year":"2006"}],"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\/S1471068425100069","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,1,12]],"date-time":"2026-01-12T08:00:28Z","timestamp":1768204828000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.cambridge.org\/core\/product\/identifier\/S1471068425100069\/type\/journal_article"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,7,22]]},"references-count":66,"journal-issue":{"issue":"5","published-print":{"date-parts":[[2025,9]]}},"alternative-id":["S1471068425100069"],"URL":"https:\/\/doi.org\/10.1017\/s1471068425100069","relation":{},"ISSN":["1471-0684","1475-3081"],"issn-type":[{"value":"1471-0684","type":"print"},{"value":"1475-3081","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,7,22]]},"assertion":[{"value":"\u00a9 The Author(s), 2025. 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 (https:\/\/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"}]}}