{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,15]],"date-time":"2026-11-15T22:33:40Z","timestamp":1794782020105,"version":"4.9.1"},"publisher-location":"Cham","reference-count":31,"publisher":"Springer Nature Switzerland","isbn-type":[{"value":"9783031656262","type":"print"},{"value":"9783031656279","type":"electronic"}],"license":[{"start":{"date-parts":[[2024,1,1]],"date-time":"2024-01-01T00:00:00Z","timestamp":1704067200000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2024,7,26]],"date-time":"2024-07-26T00:00:00Z","timestamp":1721952000000},"content-version":"vor","delay-in-days":207,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2024]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>The top-down solver (TD) is a local fixpoint algorithm for arbitrary equation systems. It considers the right-hand sides as black boxes and detects dependencies between unknowns on the fly\u2014features that significantly increase both its usability and practical efficiency. At the same time, the recursive evaluation strategy of the TD, combined with the non-local destabilization mechanism, obfuscates the correctness of the computed solution. To strengthen the confidence in tools relying on the TD as their fixpoint engine, we provide a first machine-checked proof of the partial correctness of the TD. Our proof builds on the observation that the TD can be obtained from a considerably simpler recursive fixpoint algorithm, the plain TD, by applying an optimization that neither affects the termination behavior nor the computed result. Accordingly, we break down the proof into a partial correctness proof of the plain TD, which is only then extended to include the optimization. The backbone of our proof is a mutual induction following the solver\u2019s computation trace. We establish sufficient invariants about the solver state to conclude the correctness of its optimization, i.e., the plain TD terminates if and only if the TD terminates, and they return the identical result. The proof is written using Isabelle\/HOL and is available in the archive of formal proofs.<\/jats:p>","DOI":"10.1007\/978-3-031-65627-9_15","type":"book-chapter","created":{"date-parts":[[2024,7,25]],"date-time":"2024-07-25T15:01:31Z","timestamp":1721919691000},"page":"303-324","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":4,"title":["The Top-Down Solver Verified: Building Confidence in\u00a0Static Analyzers"],"prefix":"10.1007","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-5785-2528","authenticated-orcid":false,"given":"Yannick","family":"Stade","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0009-9644-7475","authenticated-orcid":false,"given":"Sarah","family":"Tilscher","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-2135-1593","authenticated-orcid":false,"given":"Helmut","family":"Seidl","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2024,7,26]]},"reference":[{"key":"15_CR1","unstructured":"Akhin, M., Belyaev, M.: Variable initialization analysis (2020). https:\/\/kotlinlang.org\/spec\/control--and-data-flow-analysis.html#variable-initialization-analysis"},{"key":"15_CR2","doi-asserted-by":"publisher","unstructured":"Apinis, K., Seidl, H., Vojdani, V.: Side-effecting constraint systems: a Swiss army knife for program analysis. In: Jhala, R., Igarashi, A. (eds.) Programming Languages and Systems - 10th Asian Symposium, APLAS 2012, Kyoto, Japan, 11\u201313 December 2012. Proceedings. LNCS, vol. 7705, pp. 157\u2013172. Springer, Cham (2012). https:\/\/doi.org\/10.1007\/978-3-642-35182-2_12","DOI":"10.1007\/978-3-642-35182-2_12"},{"key":"15_CR3","doi-asserted-by":"publisher","unstructured":"Apinis, K., Seidl, H., Vojdani, V.: How to combine widening and narrowing for non-monotonic systems of equations. In: Boehm, H., Flanagan, C. (eds.) ACM SIGPLAN Conference on Programming Language Design and Implementation, PLDI 2013, Seattle, WA, USA, 16\u201319 June 2013, pp. 377\u2013386. ACM (2013). https:\/\/doi.org\/10.1145\/2491956.2462190","DOI":"10.1145\/2491956.2462190"},{"key":"15_CR4","doi-asserted-by":"publisher","unstructured":"Apinis, K., Seidl, H., Vojdani, V.: Enhancing top-down solving with widening and narrowing. In: Probst, C.W., Hankin, C., Hansen, R.R. (eds.) Semantics, Logics, and Calculi - Essays Dedicated to Hanne Riis Nielson and Flemming Nielson on the Occasion of Their 60th Birthdays. LNCS, vol. 9560, pp. 272\u2013288. Springer, Cham (2016). https:\/\/doi.org\/10.1007\/978-3-319-27810-0_14","DOI":"10.1007\/978-3-319-27810-0_14"},{"key":"15_CR5","doi-asserted-by":"publisher","unstructured":"Bertot, Y., Gr\u00e9goire, B., Leroy, X.: A structured approach to proving compiler optimizations based on dataflow analysis. In: Filli\u00e2tre, J., Paulin-Mohring, C., Werner, B. (eds.) Types for Proofs and Programs, International Workshop, TYPES 2004, Jouy-en-Josas, France, 15\u201318 December 2004, Revised Selected Papers. LNCS, vol. 3839, pp. 66\u201381. Springer, Cham (2004). https:\/\/doi.org\/10.1007\/11617990_5","DOI":"10.1007\/11617990_5"},{"key":"15_CR6","doi-asserted-by":"publisher","unstructured":"Cachera, D., Jensen, T.P., Pichardie, D., Rusu, V.: Extracting a data flow analyser in constructive logic. In: Schmidt, D.A. (ed.) Programming Languages and Systems, 13th European Symposium on Programming, ESOP 2004, Held as Part of the Joint European Conferences on Theory and Practice of Software, ETAPS 2004, Barcelona, Spain, 29 March\u20132 April 2004, Proceedings. LNCS, vol. 2986, pp. 385\u2013400. Springer, Cham (2004). https:\/\/doi.org\/10.1007\/978-3-540-24725-8_27","DOI":"10.1007\/978-3-540-24725-8_27"},{"key":"15_CR7","doi-asserted-by":"publisher","unstructured":"Cachera, D., Pichardie, D.: A certified denotational abstract interpreter. In: Kaufmann, M., Paulson, L.C. (eds.) Interactive Theorem Proving, First International Conference, ITP 2010, Edinburgh, UK, 11\u201314 July 2010, Proceedings. LNCS, vol. 6172, pp. 9\u201324. Springer, Cham (2010). https:\/\/doi.org\/10.1007\/978-3-642-14052-5_3","DOI":"10.1007\/978-3-642-14052-5_3"},{"key":"15_CR8","doi-asserted-by":"publisher","unstructured":"Coupet-Grimal, S., Delobel, W.: A uniform and certified approach for two static analyses. In: Filli\u00e2tre, J., Paulin-Mohring, C., Werner, B. (eds.) Types for Proofs and Programs, International Workshop, TYPES 2004, Jouy-en-Josas, France, 15\u201318 December 2004, Revised Selected Papers. LNCS, vol. 3839, pp. 115\u2013137. Springer, Cham (2004). https:\/\/doi.org\/10.1007\/11617990_8","DOI":"10.1007\/11617990_8"},{"key":"15_CR9","doi-asserted-by":"publisher","unstructured":"Cousot, P., Cousot, R.: Abstract interpretation: a unified lattice model for static analysis of programs by construction or approximation of fixpoints. In: Graham, R.M., Harrison, M.A., Sethi, R. (eds.) Conference Record of the Fourth ACM Symposium on Principles of Programming Languages, Los Angeles, California, USA, January 1977, pp. 238\u2013252. ACM (1977). https:\/\/doi.org\/10.1145\/512950.512973","DOI":"10.1145\/512950.512973"},{"issue":"4","key":"15_CR10","doi-asserted-by":"publisher","first-page":"511","DOI":"10.1093\/LOGCOM\/2.4.511","volume":"2","author":"P Cousot","year":"1992","unstructured":"Cousot, P., Cousot, R.: Abstract interpretation frameworks. J. Log. Comput. 2(4), 511\u2013547 (1992). https:\/\/doi.org\/10.1093\/LOGCOM\/2.4.511","journal-title":"J. Log. Comput."},{"issue":"2","key":"15_CR11","doi-asserted-by":"publisher","first-page":"137","DOI":"10.1016\/S0167-6423(99)00009-X","volume":"35","author":"C Fecht","year":"1999","unstructured":"Fecht, C., Seidl, H.: A faster solver for general systems of equations. Sci. Comput. Program. 35(2), 137\u2013161 (1999). https:\/\/doi.org\/10.1016\/S0167-6423(99)00009-X","journal-title":"Sci. Comput. Program."},{"key":"15_CR12","doi-asserted-by":"publisher","unstructured":"Franceschino, L., Pichardie, D., Talpin, J.: Verified functional programming of an abstract interpreter. In: Dragoi, C., Mukherjee, S., Namjoshi, K.S. (eds.) Static Analysis - 28th International Symposium, SAS 2021, Chicago, IL, USA, 17\u201319 October 2021, Proceedings. LNCS, vol. 12913, pp. 124\u2013143. Springer, Cham (2021). https:\/\/doi.org\/10.1007\/978-3-030-88806-0_6","DOI":"10.1007\/978-3-030-88806-0_6"},{"key":"15_CR13","unstructured":"Gosling, J., et al.: Chapter 16. Definite Assignment, September 2023. https:\/\/docs.oracle.com\/javase\/specs\/jls\/se21\/html\/jls-16.html"},{"key":"15_CR14","doi-asserted-by":"publisher","unstructured":"Hecht, M.S., Ullman, J.D.: Analysis of a simple algorithm for global data flow problems. In: Proceedings of the 1st Annual ACM SIGACT-SIGPLAN Symposium on Principles of Programming Languages, pp. 207\u2013217, POPL 1973. Association for Computing Machinery, New York, NY, USA (1973). https:\/\/doi.org\/10.1145\/512927.512946","DOI":"10.1145\/512927.512946"},{"key":"15_CR15","doi-asserted-by":"publisher","unstructured":"Hermenegildo, M.V., et al.: An overview of the Ciao system. In: Bassiliades, N., Governatori, G., Paschke, A. (eds.) Rule-Based Reasoning, Programming, and Applications - 5th International Symposium, RuleML 2011 - Europe, Barcelona, Spain, 19\u201321 July 2011. Proceedings. LNCS, vol. 6826, p.\u00a02. Springer, Cham (2011). https:\/\/doi.org\/10.1007\/978-3-642-22546-8_2","DOI":"10.1007\/978-3-642-22546-8_2"},{"key":"15_CR16","doi-asserted-by":"publisher","unstructured":"Hofmann, M., Karbyshev, A., Seidl, H.: Verifying a local generic solver in Coq. In: Cousot, R., Martel, M. (eds.) Static Analysis - 17th International Symposium, SAS 2010, Perpignan, France, 14\u201316 September, 2010. Proceedings. LNCS, vol. 6337, pp. 340\u2013355. Springer, Cham (2010). https:\/\/doi.org\/10.1007\/978-3-642-15769-1_21","DOI":"10.1007\/978-3-642-15769-1_21"},{"key":"15_CR17","doi-asserted-by":"publisher","unstructured":"Hofmann, M., Karbyshev, A., Seidl, H.: What is a pure functional? In: Abramsky, S., Gavoille, C., Kirchner, C., auf\u00a0der Heide, F.M., Spirakis, P.G. (eds.) Automata, Languages and Programming, 37th International Colloquium, ICALP 2010, Bordeaux, France, 6\u201310 July 2010, Proceedings, Part II. LNCS, vol. 6199, pp. 199\u2013210. Springer, Cham (2010). https:\/\/doi.org\/10.1007\/978-3-642-14162-1_17","DOI":"10.1007\/978-3-642-14162-1_17"},{"key":"15_CR18","unstructured":"Jourdan, J.: Verasco: a formally verified C static analyzer. (Verasco: un analyseur statique pour C formellement v\u00e9rifi\u00e9). Ph.D. thesis, Paris Diderot University, France (2016). https:\/\/tel.archives-ouvertes.fr\/tel-01327023"},{"key":"15_CR19","unstructured":"Karbyshev, A.: Monadic parametricity of second-order functionals. Ph.D. thesis, Technische Universit\u00e4t M\u00fcnchen (2013). https:\/\/mediatum.ub.tum.de\/1144371"},{"key":"15_CR20","doi-asserted-by":"publisher","unstructured":"Kildall, G.A.: A unified approach to global program optimization. In: Fischer, P.C., Ullman, J.D. (eds.) Conference Record of the ACM Symposium on Principles of Programming Languages, Boston, Massachusetts, USA, October 1973, pp. 194\u2013206. ACM Press (1973). https:\/\/doi.org\/10.1145\/512927.512945","DOI":"10.1145\/512927.512945"},{"key":"15_CR21","unstructured":"Le\u00a0Charlier, B., Van\u00a0Hentenryck, P.: A universal top-down fixpoint algorithm. Technical report CS-92-25, University of Namur and Brown University, May 1992"},{"issue":"2 &3","key":"15_CR22","doi-asserted-by":"publisher","first-page":"315","DOI":"10.1016\/0743-1066(92)90035-2","volume":"13","author":"K Muthukumar","year":"1992","unstructured":"Muthukumar, K., Hermenegildo, M.V.: Compile-time derivation of variable dependency using abstract interpretation. J. Log. Program. 13(2 &3), 315\u2013347 (1992). https:\/\/doi.org\/10.1016\/0743-1066(92)90035-2","journal-title":"J. Log. Program."},{"key":"15_CR23","doi-asserted-by":"publisher","unstructured":"Nipkow, T.: Verified bytecode verifiers. In: Honsell, F., Miculan, M. (eds.) Foundations of Software Science and Computation Structures, 4th International Conference, FOSSACS 2001 Held as Part of the Joint European Conferences on Theory and Practice of Software, ETAPS 2001 Genova, Italy, 2\u20136 April 2001, Proceedings. LNCS, vol. 2030, pp. 347\u2013363. Springer, Cham (2001). https:\/\/doi.org\/10.1007\/3-540-45315-6_23","DOI":"10.1007\/3-540-45315-6_23"},{"key":"15_CR24","doi-asserted-by":"publisher","unstructured":"Nipkow, T., Klein, G.: Concrete Semantics - With Isabelle\/HOL. Springer, Cham (2014). ISBN 978-3-319-10541, https:\/\/doi.org\/10.1007\/978-3-319-10542-0","DOI":"10.1007\/978-3-319-10542-0"},{"key":"15_CR25","doi-asserted-by":"publisher","unstructured":"Nipkow, T., Paulson, L.C., Wenzel, M.: Isabelle\/HOL - A Proof Assistant for Higher-Order Logic. LNCS, vol. 2283. Springer, Cham (2002). ISBN 3-540-43376, https:\/\/doi.org\/10.1007\/3-540-45949-9","DOI":"10.1007\/3-540-45949-9"},{"issue":"9","key":"15_CR26","doi-asserted-by":"publisher","first-page":"1090","DOI":"10.1017\/S0960129521000499","volume":"31","author":"H Seidl","year":"2021","unstructured":"Seidl, H., Vogler, R.: Three improvements to the top-down solver. Math. Struct. Comput. Sci. 31(9), 1090\u20131134 (2021). https:\/\/doi.org\/10.1017\/S0960129521000499","journal-title":"Math. Struct. Comput. Sci."},{"key":"15_CR27","unstructured":"Stade, Y., Tilscher, S., Seidl, H.: Partial correctness of the top-down solver. Archive of Formal Proofs, May 2024. ISSN 2150-914x. https:\/\/isa-afp.org\/entries\/Top_Down_Solver.html. Formal proof development"},{"key":"15_CR28","doi-asserted-by":"publisher","unstructured":"Tilscher, S., Stade, Y., Schwarz, M., Vogler, R., Seidl, H.: The top-down solver\u2014an exercise in A2I. In: Arceri, V., Cortesi, A., Ferrara, P., Olliaro, M. (eds.) Challenges of Software Verification, vol. 238, pp. 157\u2013179. Springer, Singapore (2023). https:\/\/doi.org\/10.1007\/978-981-19-9601-6_9","DOI":"10.1007\/978-981-19-9601-6_9"},{"key":"15_CR29","doi-asserted-by":"publisher","unstructured":"Vergauwen, B., Wauman, J., Lewi, J.: Efficient fixpoint computation. In: Charlier, B.L. (ed.) Static Analysis, First International Static Analysis Symposium, SAS 1994, Namur, Belgium, 28\u201330 September 1994, Proceedings. LNCS, vol. 864, pp. 314\u2013328. Springer, Cham (1994). https:\/\/doi.org\/10.1007\/3-540-58485-4_49","DOI":"10.1007\/3-540-58485-4_49"},{"key":"15_CR30","doi-asserted-by":"publisher","unstructured":"de\u00a0Vilhena, P.E., Pottier, F., Jourdan, J.: Spy game: verifying a local generic solver in Iris. Proc. ACM Program. Lang. 4(POPL), 33:1\u201333:28 (2020). https:\/\/doi.org\/10.1145\/3371101","DOI":"10.1145\/3371101"},{"key":"15_CR31","doi-asserted-by":"publisher","unstructured":"Vojdani, V., Apinis, K., R\u00f5tov, V., Seidl, H., Vene, V., Vogler, R.: Static race detection for device drivers: the Goblint approach. In: Lo, D., Apel, S., Khurshid, S. (eds.) Proceedings of the 31st IEEE\/ACM International Conference on Automated Software Engineering, ASE 2016, Singapore, 3\u20137 September 2016, pp. 391\u2013402. ACM (2016). https:\/\/doi.org\/10.1145\/2970276.2970337","DOI":"10.1145\/2970276.2970337"}],"container-title":["Lecture Notes in Computer Science","Computer Aided Verification"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/978-3-031-65627-9_15","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,7,25]],"date-time":"2024-07-25T15:03:41Z","timestamp":1721919821000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/978-3-031-65627-9_15"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024]]},"ISBN":["9783031656262","9783031656279"],"references-count":31,"URL":"https:\/\/doi.org\/10.1007\/978-3-031-65627-9_15","relation":{"is-part-of":[{"id-type":"doi","id":"https:\/\/doi.org\/10.1007\/978-3-031-65627-9","asserted-by":"object"}]},"ISSN":["0302-9743","1611-3349"],"issn-type":[{"value":"0302-9743","type":"print"},{"value":"1611-3349","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024]]},"assertion":[{"value":"26 July 2024","order":1,"name":"first_online","label":"First Online","group":{"name":"ChapterHistory","label":"Chapter History"}},{"value":"CAV","order":1,"name":"conference_acronym","label":"Conference Acronym","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"International Conference on Computer Aided Verification","order":2,"name":"conference_name","label":"Conference Name","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Montreal, QC","order":3,"name":"conference_city","label":"Conference City","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Canada","order":4,"name":"conference_country","label":"Conference Country","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"2024","order":5,"name":"conference_year","label":"Conference Year","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"24 July 2024","order":7,"name":"conference_start_date","label":"Conference Start Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"27 July 2024","order":8,"name":"conference_end_date","label":"Conference End Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"36","order":9,"name":"conference_number","label":"Conference Number","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"cav2024","order":10,"name":"conference_id","label":"Conference ID","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"http:\/\/i-cav.org\/2024\/","order":11,"name":"conference_url","label":"Conference URL","group":{"name":"ConferenceInfo","label":"Conference Information"}}]}}