{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,16]],"date-time":"2026-11-16T07:54:37Z","timestamp":1794815677497,"version":"4.9.1"},"publisher-location":"Cham","reference-count":34,"publisher":"Springer Nature Switzerland","isbn-type":[{"value":"9783031986819","type":"print"},{"value":"9783031986826","type":"electronic"}],"license":[{"start":{"date-parts":[[2025,1,1]],"date-time":"2025-01-01T00:00:00Z","timestamp":1735689600000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2025,7,23]],"date-time":"2025-07-23T00:00:00Z","timestamp":1753228800000},"content-version":"vor","delay-in-days":203,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2025]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>\n                    Automated program verifiers such as Dafny, F\n                    <jats:inline-formula>\n                      <jats:alternatives>\n                        <jats:tex-math>$$^{\\star}$$<\/jats:tex-math>\n                        <mml:math xmlns:mml=\"http:\/\/www.w3.org\/1998\/Math\/MathML\">\n                          <mml:msup>\n                            <mml:mrow\/>\n                            <mml:mo>\u22c6<\/mml:mo>\n                          <\/mml:msup>\n                        <\/mml:math>\n                      <\/jats:alternatives>\n                    <\/jats:inline-formula>\n                    , Verus, and Viper are now routinely used to verify real-world software. Unfortunately, the performance of the SMT solvers employed by these tools is not always able to keep up with the increasing size and complexity of verification problems, resulting in long verification times and verification failures due to time-outs. This performance degradation occurs because large SMT queries increase the search space for the SMT solver, in particular, the number of possible quantifier instantiations. Most existing attempts to mitigate this problem require substantial manual effort to reduce the size of the search space, for instance, by decomposing proofs.\n                  <\/jats:p>\n                  <jats:p>\n                    In this paper, we present an automatic technique to significantly improve the performance of SMT-based program proofs by drastically reducing the proof search space for each assertion, in particular, the performed quantifier instantiations. Starting from a successful verification, we automatically extract for each assertion the quantified axioms used by the SMT solver to show that the assertion is valid. Crucially, these include\n                    <jats:italic>lurking axioms<\/jats:italic>\n                    , which are logically irrelevant, but needed to trigger the instantiation of other, relevant axioms. We describe a novel\n                    <jats:italic>proof localization<\/jats:italic>\n                    algorithm that implements a semantics-preserving source-to-source translation of a program such that re-verifying an assertion in the optimized program uses only the axioms in its proof essence. This rewriting greatly reduces the possible quantifier instantiations and, thereby, the search space for the SMT solver, such that all future runs of the verifier, for instance as part of continuous integration, are substantially faster. We implemented our algorithm for the Boogie verifier and demonstrated its effectiveness on examples from Dafny and Viper. Specifically, for files with verification times over a minute, we show significant speedups of up to 100\u20131000 times and no slowdowns. We also provide some evidence that these improvements persist as projects evolve.\n                  <\/jats:p>","DOI":"10.1007\/978-3-031-98682-6_9","type":"book-chapter","created":{"date-parts":[[2025,7,22]],"date-time":"2025-07-22T03:15:06Z","timestamp":1753154106000},"page":"153-174","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":1,"title":["Accelerating Automated Program Verifiers by\u00a0Automatic Proof Localization"],"prefix":"10.1007","author":[{"given":"Kiran","family":"Gopinathan","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Dionysios","family":"Spiliopoulos","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Vikram","family":"Goyal","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Peter","family":"M\u00fcller","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Markus","family":"P\u00fcschel","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ilya","family":"Sergey","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2025,7,23]]},"reference":[{"key":"9_CR1","unstructured":"AWS: AWS Cryptographic Material Providers Library (2024). https:\/\/github.com\/aws\/aws-cryptographic-material-providers-library. Accessed 8 Sept 2024"},{"key":"9_CR2","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"publisher","first-page":"415","DOI":"10.1007\/978-3-030-99524-9_24","volume-title":"Tools and Algorithms for the Construction and Analysis of Systems","author":"H Barbosa","year":"2022","unstructured":"Barbosa, H., et al.: cvc5: a versatile and industrial-strength SMT solver. In: Fisman, D., Rosu, G. (eds.) TACAS 2022. LNCS, vol. 13243, pp. 415\u2013442. Springer, Cham (2022). https:\/\/doi.org\/10.1007\/978-3-030-99524-9_24"},{"key":"9_CR3","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"publisher","first-page":"364","DOI":"10.1007\/11804192_17","volume-title":"Formal Methods for Components and Objects","author":"M Barnett","year":"2006","unstructured":"Barnett, M., Chang, B.-Y.E., DeLine, R., Jacobs, B., Leino, K.: Boogie: a modular reusable verifier for object-oriented programs. In: de Boer, F.S., Bonsangue, M.M., Graf, S., de Roever, W.-P. (eds.) FMCO 2005. LNCS, vol. 4111, pp. 364\u2013387. Springer, Heidelberg (2006). https:\/\/doi.org\/10.1007\/11804192_17"},{"key":"9_CR4","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"publisher","first-page":"99","DOI":"10.1007\/978-3-030-17462-0_6","volume-title":"Tools and Algorithms for the Construction and Analysis of Systems","author":"N Becker","year":"2019","unstructured":"Becker, N., M\u00fcller, P., Summers, A.J.: The axiom profiler: understanding and debugging SMT quantifier instantiations. In: Vojnar, T., Zhang, L. (eds.) TACAS 2019. LNCS, vol. 11427, pp. 99\u2013116. Springer, Cham (2019). https:\/\/doi.org\/10.1007\/978-3-030-17462-0_6"},{"key":"9_CR5","doi-asserted-by":"publisher","unstructured":"Bordis, T., Leino, K.R.M.: Free facts: an alternative to inefficient axioms in dafny. In: FM. LNCS, vol. 14933, pp. 151\u2013169. Springer (2024). https:\/\/doi.org\/10.1007\/978-3-031-71162-6_8","DOI":"10.1007\/978-3-031-71162-6_8"},{"key":"9_CR6","unstructured":"Cassez, F.: EVM-dis: an EVM bytecode disassembler\/assembler (2024). https:\/\/github.com\/franck44\/evm-dis. Accessed 1 Nov 2024"},{"key":"9_CR7","doi-asserted-by":"publisher","unstructured":"Chajed, T., Tassarotti, J., Kaashoek, M.F., Zeldovich, N.: Verifying concurrent, crash-safe systems with Perennial. In: SOSP, pp. 243\u2013258. ACM (2019). https:\/\/doi.org\/10.1145\/3341301.3359632","DOI":"10.1145\/3341301.3359632"},{"key":"9_CR8","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"publisher","first-page":"215","DOI":"10.1007\/978-3-319-06200-6_17","volume-title":"NASA Formal Methods","author":"L Correnson","year":"2014","unstructured":"Correnson, L.: Qed. Computing what remains to be proved. In: Badger, J.M., Rozier, K.Y. (eds.) NFM 2014. LNCS, vol. 8430, pp. 215\u2013229. Springer, Cham (2014). https:\/\/doi.org\/10.1007\/978-3-319-06200-6_17"},{"key":"9_CR9","doi-asserted-by":"publisher","unstructured":"Cutler, J.W., et al.: Cedar: a new language for expressive, fast, safe, and analyzable authorization. Proc. ACM Program. Lang. 8(OOPSLA), 670\u2013697 (2024). https:\/\/doi.org\/10.1145\/3649835","DOI":"10.1145\/3649835"},{"key":"9_CR10","unstructured":"Cutler, J.W., Torlak, E., Hicks, M.: Improving the stability of type soundness proofs in Dafny. In: Proceedings of the First Workshop on Dafny (2024)"},{"key":"9_CR11","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"publisher","first-page":"337","DOI":"10.1007\/978-3-540-78800-3_24","volume-title":"Tools and Algorithms for the Construction and Analysis of Systems","author":"L de Moura","year":"2008","unstructured":"de Moura, L., Bj\u00f8rner, N.: Z3: an efficient SMT solver. In: Ramakrishnan, C.R., Rehof, J. (eds.) TACAS 2008. LNCS, vol. 4963, pp. 337\u2013340. Springer, Heidelberg (2008). https:\/\/doi.org\/10.1007\/978-3-540-78800-3_24"},{"issue":"3","key":"9_CR12","doi-asserted-by":"publisher","first-page":"365","DOI":"10.1145\/1066100.1066102","volume":"52","author":"D Detlefs","year":"2005","unstructured":"Detlefs, D., Nelson, G., Saxe, J.B.: Simplify: a theorem prover for program checking. J. ACM 52(3), 365\u2013473 (2005). https:\/\/doi.org\/10.1145\/1066100.1066102","journal-title":"J. ACM"},{"issue":"3","key":"9_CR13","doi-asserted-by":"publisher","first-page":"65","DOI":"10.1109\/MSEC.2022.3153035","volume":"20","author":"M Dodds","year":"2022","unstructured":"Dodds, M.: Formally verifying industry cryptography. IEEE Secur. Priv. 20(3), 65\u201370 (2022). https:\/\/doi.org\/10.1109\/MSEC.2022.3153035","journal-title":"IEEE Secur. Priv."},{"key":"9_CR14","doi-asserted-by":"publisher","unstructured":"Ferraiuolo, A., Baumann, A., Hawblitzel, C., Parno, B.: Komodo: using verification to disentangle secure-enclave hardware from software. In: SOSP, pp. 287\u2013305. ACM (2017). https:\/\/doi.org\/10.1145\/3132747.3132782","DOI":"10.1145\/3132747.3132782"},{"key":"9_CR15","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"publisher","first-page":"125","DOI":"10.1007\/978-3-642-37036-6_8","volume-title":"Programming Languages and Systems","author":"J-C Filli\u00e2tre","year":"2013","unstructured":"Filli\u00e2tre, J.-C., Paskevich, A.: Why3 \u2014 where programs meet provers. In: Felleisen, M., Gardner, P. (eds.) ESOP 2013. LNCS, vol. 7792, pp. 125\u2013128. Springer, Heidelberg (2013). https:\/\/doi.org\/10.1007\/978-3-642-37036-6_8"},{"key":"9_CR16","doi-asserted-by":"publisher","unstructured":"Gopinathan, K., Spiliopoulos, D., Goyal, V., M\u00fcller, P., P\u00fcschel, M., Sergey, I.: Axolocl: accelerating automated program verifiers by automatic proof localization. Software Artifact (2025). https:\/\/doi.org\/10.5281\/zenodo.15201479","DOI":"10.5281\/zenodo.15201479"},{"key":"9_CR17","unstructured":"Hance, T., Lattuada, A., Hawblitzel, C., Howell, J., Johnson, R., Parno, B.: Storage systems are distributed systems (so verify them that way!). In: OSDI, pp. 99\u2013115. USENIX Association (2020). https:\/\/www.usenix.org\/conference\/osdi20\/presentation\/hance"},{"key":"9_CR18","doi-asserted-by":"publisher","unstructured":"Hawblitzel, C., et al.: IronFleet: proving practical distributed systems correct. In: SOSP, pp. 1\u201317. ACM (2015). https:\/\/doi.org\/10.1145\/2815400.2815428","DOI":"10.1145\/2815400.2815428"},{"key":"9_CR19","unstructured":"Ho, S., Pit-Claudel, C.: Incremental Proof Development in Dafny with Module-Based Induction. In: Proceedings of the First Workshop on Dafny (2024)"},{"key":"9_CR20","doi-asserted-by":"publisher","unstructured":"Lattuada, A., et al.: Verus: a practical foundation for systems verification. In: SOSP, pp. 438\u2013454. ACM (2024). https:\/\/doi.org\/10.1145\/3694715.3695952","DOI":"10.1145\/3694715.3695952"},{"key":"9_CR21","series-title":"Lecture Notes in Computer Science (Lecture Notes in Artificial Intelligence)","doi-asserted-by":"publisher","first-page":"348","DOI":"10.1007\/978-3-642-17511-4_20","volume-title":"Logic for Programming, Artificial Intelligence, and Reasoning","author":"K Leino","year":"2010","unstructured":"Leino, K.: Dafny: an automatic program verifier for functional correctness. In: Clarke, E.M., Voronkov, A. (eds.) LPAR 2010. LNCS (LNAI), vol. 6355, pp. 348\u2013370. Springer, Heidelberg (2010). https:\/\/doi.org\/10.1007\/978-3-642-17511-4_20"},{"key":"9_CR22","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"publisher","first-page":"361","DOI":"10.1007\/978-3-319-41528-4_20","volume-title":"Computer Aided Verification","author":"K Leino","year":"2016","unstructured":"Leino, K., Pit-Claudel, C.: Trigger selection strategies to stabilize program verifiers. In: Chaudhuri, S., Farzan, A. (eds.) CAV 2016. LNCS, vol. 9779, pp. 361\u2013381. Springer, Cham (2016). https:\/\/doi.org\/10.1007\/978-3-319-41528-4_20"},{"key":"9_CR23","unstructured":"McLaughlin, S., Jaloyan, G.A., Xiang, T., Rabe, F.: Enhancing proof stability. In: Proceedings of the First Workshop on Dafny (2024)"},{"key":"9_CR24","unstructured":"Mugnier, E., McLaughlin, S., Tomb, A.: Portfolio solving for dafny. In: Proceedings of the First Workshop on Dafny (2024)"},{"key":"9_CR25","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"publisher","first-page":"41","DOI":"10.1007\/978-3-662-49122-5_2","volume-title":"Verification, Model Checking, and Abstract Interpretation","author":"P M\u00fcller","year":"2016","unstructured":"M\u00fcller, P., Schwerhoff, M., Summers, A.J.: Viper: a verification infrastructure for permission-based reasoning. In: Jobstmann, B., Leino, K. (eds.) VMCAI 2016. LNCS, vol. 9583, pp. 41\u201362. Springer, Heidelberg (2016). https:\/\/doi.org\/10.1007\/978-3-662-49122-5_2"},{"key":"9_CR26","doi-asserted-by":"publisher","unstructured":"Padon, O., McMillan, K.L., Panda, A., Sagiv, M., Shoham, S.: Ivy: safety verification by interactive generalization. In: PLDI, pp. 614\u2013630. ACM (2016). https:\/\/doi.org\/10.1145\/2908080.2908118","DOI":"10.1145\/2908080.2908118"},{"key":"9_CR27","unstructured":"Pereira, J.C., et al.: Protocols to code: formal verification of a next-generation internet router (2024). https:\/\/arxiv.org\/abs\/2405.06074"},{"key":"9_CR28","doi-asserted-by":"publisher","unstructured":"Protzenko, J., et al.: EverCrypt: a fast, verified, cross-platform cryptographic provider. In: S &P, pp. 983\u20131002. IEEE (2020). https:\/\/doi.org\/10.1109\/SP40000.2020.00114","DOI":"10.1109\/SP40000.2020.00114"},{"key":"9_CR29","unstructured":"Srinivasan, P., Padon, O., Howell, J., Lattuada, A.: Domesticating automation. In: Proceedings of the First Workshop on Dafny (2024)"},{"key":"9_CR30","doi-asserted-by":"publisher","unstructured":"Swamy, N., et al.: Dependent types and multi-monadic effects in F*. In: POPL, pp. 256\u2013270. ACM (2016). https:\/\/doi.org\/10.1145\/2837614.2837655","DOI":"10.1145\/2837614.2837655"},{"key":"9_CR31","series-title":"Lecture Notes in Computer Science","doi-asserted-by":"publisher","first-page":"367","DOI":"10.1007\/978-3-030-81685-8_17","volume-title":"Computer Aided Verification","author":"FA Wolf","year":"2021","unstructured":"Wolf, F.A., Arquint, L., Clochard, M., Oortwijn, W., Pereira, J.C., M\u00fcller, P.: Gobra: modular specification and\u00a0verification of go programs. In: Silva, A., Leino, K. (eds.) CAV 2021. LNCS, vol. 12759, pp. 367\u2013379. Springer, Cham (2021). https:\/\/doi.org\/10.1007\/978-3-030-81685-8_17"},{"key":"9_CR32","unstructured":"Zaiser, F., Zetzsche, S., Tristan, J.B.: VMC: a dafny library for verified Monte Carlo algorithms. In: Proceedings of the First Workshop on Dafny (2024)"},{"key":"9_CR33","unstructured":"Zhou, Y., Bosamiya, J., Li, J., Heule, M.J., Parno, B.: Context pruning for more robust SMT-based program verification. In: FMCAD, pp. 59\u201369. TU Wien Academic Press, IEEE (2024)"},{"key":"9_CR34","doi-asserted-by":"publisher","unstructured":"Zhou, Y., Bosamiya, J., Takashima, Y., Li, J., Heule, M., Parno, B.: Mariposa: measuring SMT instability in automated program verification. In: FMCAD 2023, pp. 178\u2013188. IEEE (2023). https:\/\/doi.org\/10.34727\/2023\/ISBN.978-3-85448-060-0_26","DOI":"10.34727\/2023\/ISBN.978-3-85448-060-0_26"}],"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-98682-6_9","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,7,8]],"date-time":"2026-07-08T10:31:39Z","timestamp":1783506699000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/978-3-031-98682-6_9"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025]]},"ISBN":["9783031986819","9783031986826"],"references-count":34,"URL":"https:\/\/doi.org\/10.1007\/978-3-031-98682-6_9","relation":{"is-part-of":[{"id-type":"doi","id":"https:\/\/doi.org\/10.1007\/978-3-031-98682-6","asserted-by":"object"}]},"ISSN":["0302-9743","1611-3349"],"issn-type":[{"value":"0302-9743","type":"print"},{"value":"1611-3349","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025]]},"assertion":[{"value":"23 July 2025","order":1,"name":"first_online","label":"First Online","group":{"name":"ChapterHistory","label":"Chapter History"}},{"value":"The authors have no further competing interests to declare that are relevant to the content of this article.","order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Disclosure of Interests"}},{"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":"Zagreb","order":3,"name":"conference_city","label":"Conference City","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Croatia","order":4,"name":"conference_country","label":"Conference Country","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"2025","order":5,"name":"conference_year","label":"Conference Year","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"21 July 2025","order":7,"name":"conference_start_date","label":"Conference Start Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"25 July 2025","order":8,"name":"conference_end_date","label":"Conference End Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"37","order":9,"name":"conference_number","label":"Conference Number","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"cav2025","order":10,"name":"conference_id","label":"Conference ID","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"https:\/\/conferences.i-cav.org\/2025\/","order":11,"name":"conference_url","label":"Conference URL","group":{"name":"ConferenceInfo","label":"Conference Information"}}]}}