{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,16]],"date-time":"2026-11-16T19:05:48Z","timestamp":1794855948295,"version":"4.9.1"},"publisher-location":"Cham","reference-count":24,"publisher":"Springer Nature Switzerland","isbn-type":[{"value":"9783032401175","type":"print"},{"value":"9783032401182","type":"electronic"}],"license":[{"start":{"date-parts":[[2026,10,22]],"date-time":"2026-10-22T00:00:00Z","timestamp":1792627200000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2026,10,22]],"date-time":"2026-10-22T00:00:00Z","timestamp":1792627200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2027]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>In many modern software systems, programs are written in multiple languages to balance performance and productivity. For the CPython runtime, modules are frequently implemented in C to enhance execution speed or interface with existing libraries. To ensure the correctness of such modules, developers must not only implement the intended functionality and maintain memory safety but also adhere to API rules and preserve runtime invariants.<\/jats:p>\n                  <jats:p>In this paper, we present the first cross-language deductive verification technique for Python modules written in C. We define high-level semantic specification constructs and use them to bridge the abstraction gap between the two languages, translating Python contracts for the Nagini verifier into corresponding C contracts for VeriFast. We further provide a formal specification of a subset of the Python C API to ensure safety and the preservation of critical invariants, such as correct reference counting. We evaluate our implementation through a case study, demonstrating that our approach can successfully verify realistic \u201cglue code\u201d used in multi-language applications.<\/jats:p>","DOI":"10.1007\/978-3-032-40118-2_4","type":"book-chapter","created":{"date-parts":[[2026,10,22]],"date-time":"2026-10-22T15:29:47Z","timestamp":1792682987000},"page":"53-75","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["Towards Cross-Language Verification Between Python and\u00a0C"],"prefix":"10.1007","author":[{"given":"Etienne","family":"Birling","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-4891-6950","authenticated-orcid":false,"given":"Marco","family":"Eilers","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2026,10,22]]},"reference":[{"key":"4_CR1","doi-asserted-by":"publisher","unstructured":"Armborst, L., Lathouwers, S., Huisman, M.: Joining forces! Reusing contracts for deductive verifiers through automatic translation. In: Herber, P., Wijs, A. (eds.) iFM 2023 - 18th International Conference, iFM 2023, Leiden, The Netherlands, 13\u201315 November 2023, Proceedings, pp. 153\u2013171. Lecture Notes in Computer Science. Springer (2023). https:\/\/doi.org\/10.1007\/978-3-031-47705-8_9","DOI":"10.1007\/978-3-031-47705-8_9"},{"key":"4_CR2","doi-asserted-by":"crossref","unstructured":"Barnett, M., Chang, B.E., DeLine, R., Jacobs, B., Leino, K.R.M.: Boogie: a modular reusable verifier for object-oriented programs. In: FMCO. LNCS, vol.\u00a04111, pp. 364\u2013387. Springer (2005)","DOI":"10.1007\/11804192_17"},{"key":"4_CR3","doi-asserted-by":"publisher","unstructured":"Blom, S., Huisman, M.: The VerCors tool for verification of concurrent programs. In: Jones, C., Pihlajasaari, P., Sun, J. (eds.) FM 2014: Formal Methods, pp. 127\u2013131. Springer, Cham (2014). https:\/\/doi.org\/10.1007\/978-3-319-06410-9_9","DOI":"10.1007\/978-3-319-06410-9_9"},{"key":"4_CR4","doi-asserted-by":"crossref","unstructured":"Boyland, J.: Checking interference with fractional permissions. In: Cousot, R. (ed.) SAS. Lecture Notes in Computer Science, pp. 55\u201372. Springer (2003)","DOI":"10.1007\/3-540-44898-5_4"},{"key":"4_CR5","doi-asserted-by":"publisher","unstructured":"Chen, P., et al.: Polyver: a compositional approach for polyglot system modeling and verification. In: Irfan, A., Kaufmann, D. (eds.) Proceedings of the 25th Conference on Formal Methods in Computer-Aided Design, FMCAD 2025, Menlo Park, CA, USA, 6\u201310 October 2025. TU Wien Academic Press (2025). https:\/\/doi.org\/10.34727\/2025\/ISBN.978-3-85448-084-6_10","DOI":"10.34727\/2025\/ISBN.978-3-85448-084-6_10"},{"key":"4_CR6","doi-asserted-by":"crossref","unstructured":"Cohen, E., et al.: VCC: a practical system for verifying concurrent C. In: Theorem Proving in Higher Order Logics (TPHOLs). Lecture Notes in Computer Science, vol.\u00a05674 (2009)","DOI":"10.1007\/978-3-642-03359-9_2"},{"key":"4_CR7","doi-asserted-by":"publisher","unstructured":"Eilers, M., M\u00fcller, P.: Nagini: a static verifier for Python. In: Chockler, H., Weissenbacher, G. (eds.) Computer Aided Verification - 30th International Conference, CAV 2018, Held as Part of the Federated Logic Conference, FloC 2018, Oxford, UK, 14\u201317 July 2018, Proceedings, Part I, pp. 596\u2013603. Lecture Notes in Computer Science. Springer (2018). https:\/\/doi.org\/10.1007\/978-3-319-96145-3_33","DOI":"10.1007\/978-3-319-96145-3_33"},{"key":"4_CR8","doi-asserted-by":"publisher","unstructured":"Ernst, G., Murray, T.: SecCSL: security concurrent separation logic. In: Dillig, I., Tasiran, S. (eds.) Computer Aided Verification - 31st International Conference, CAV 2019, New York City, NY, USA, 15\u201318 July 2019, Proceedings, Part II, pp. 208\u2013230. Lecture Notes in Computer Science. Springer (2019). https:\/\/doi.org\/10.1007\/978-3-030-25543-5_13","DOI":"10.1007\/978-3-030-25543-5_13"},{"key":"4_CR9","doi-asserted-by":"publisher","unstructured":"Ernst, G., Pfeifer, W., Ulbrich, M.: Contract-LIB: a proposal for a common interchange format for software system specification. In: Margaria, T., Steffen, B. (eds.) Leveraging Applications of Formal Methods, Verification and Validation. Specification and Verification - 12th International Symposium, ISoLA 2024, Crete, Greece, 27\u201331 October 2024, Proceedings, Part III, pp. 79\u2013105. Lecture Notes in Computer Science. Springer (2024). https:\/\/doi.org\/10.1007\/978-3-031-75380-0_6","DOI":"10.1007\/978-3-031-75380-0_6"},{"key":"4_CR10","doi-asserted-by":"crossref","unstructured":"Filli\u00e2tre, J., Paskevich, A.: Why3 - where programs meet provers. In: ESOP. LNCS, vol. 7792, pp. 125\u2013128. Springer (2013)","DOI":"10.1007\/978-3-642-37036-6_8"},{"key":"4_CR11","doi-asserted-by":"publisher","unstructured":"Fonseca, P., Zhang, K., Wang, X., Krishnamurthy, A.: An empirical study on the correctness of formally verified distributed systems. In: Alonso, G., Bianchini, R., Vukolic, M. (eds.) Proceedings of the Twelfth European Conference on Computer Systems, EuroSys 2017, Belgrade, Serbia, 23\u201326 April 2017, pp. 328\u2013343. ACM (2017). https:\/\/doi.org\/10.1145\/3064176.3064183","DOI":"10.1145\/3064176.3064183"},{"key":"4_CR12","unstructured":"Python Software Foundation: Python\/C API reference manual. https:\/\/docs.python.org\/3\/c-api\/index.html. Accessed 18 Apr 2026"},{"key":"4_CR13","doi-asserted-by":"publisher","unstructured":"Furia, C.A., Tiwari, A.: Challenges of multilingual program specification and analysis. In: Margaria, T., Steffen, B. (eds.) Leveraging Applications of Formal Methods, Verification and Validation. Specification and Verification - 12th International Symposium, ISoLA 2024, Crete, Greece, 27\u201331 October 2024, Proceedings, Part III, pp. 124\u2013143. Lecture Notes in Computer Science. Springer (2024). https:\/\/doi.org\/10.1007\/978-3-031-75380-0_8","DOI":"10.1007\/978-3-031-75380-0_8"},{"issue":"OOPSLA2","key":"4_CR14","doi-asserted-by":"publisher","first-page":"716","DOI":"10.1145\/3622823","volume":"7","author":"A Gu\u00e9neau","year":"2023","unstructured":"Gu\u00e9neau, A., Hostert, J., Spies, S., Sammler, M., Birkedal, L., Dreyer, D.: Melocoton: a program logic for verified interoperability between OCaml and C. Proc. ACM Program. Lang. 7(OOPSLA2), 716\u2013744 (2023). https:\/\/doi.org\/10.1145\/3622823","journal-title":"Proc. ACM Program. Lang."},{"key":"4_CR15","doi-asserted-by":"publisher","unstructured":"Jacobs, B., Smans, J., Philippaerts, P., Vogels, F., Penninckx, W., Piessens, F.: VeriFast: a powerful, sound, predictable, fast verifier for C and Java. In: Bobaru, M.G., Havelund, K., Holzmann, G.J., Joshi, R. (eds.) NASA Formal Methods - Third International Symposium, NFM 2011, Pasadena, CA, USA, 18\u201320 April 2011. Proceedings, pp. 41\u201355. Lecture Notes in Computer Science. Springer (2011). https:\/\/doi.org\/10.1007\/978-3-642-20398-5_4","DOI":"10.1007\/978-3-642-20398-5_4"},{"issue":"3","key":"4_CR16","doi-asserted-by":"publisher","first-page":"573","DOI":"10.1007\/s00165-014-0326-7","volume":"27","author":"F Kirchner","year":"2015","unstructured":"Kirchner, F., Kosmatov, N., Prevosto, V., Signoles, J., Yakobowski, B.: Frama-C: a software analysis perspective. Formal Asp. Comput. 27(3), 573\u2013609 (2015)","journal-title":"Formal Asp. Comput."},{"key":"4_CR17","unstructured":"Liang, S.: The Java Native Interface: Programmer\u2019s Guide and Specification. Addison-Wesley Professional (1999)"},{"key":"4_CR18","doi-asserted-by":"publisher","unstructured":"Monat, R., Ouadjaout, A., Min\u00e9, A.: A multilanguage static analysis of Python programs with native C extensions. In: Dragoi, C., Mukherjee, S., Namjoshi, K.S. (eds.) Static Analysis - 28th International Symposium, SAS 2021, Chicago, IL, USA, 17\u201319 October 2021, Proceedings, pp. 323\u2013345. Lecture Notes in Computer Science. Springer (2021). https:\/\/doi.org\/10.1007\/978-3-030-88806-0_16","DOI":"10.1007\/978-3-030-88806-0_16"},{"key":"4_CR19","doi-asserted-by":"publisher","unstructured":"M\u00fcller, P., Schwerhoff, M., Summers, A.J.: Viper: a verification infrastructure for permission-based reasoning. In: Jobstmann, B., Leino, K.R.M. (eds.) Verification, Model Checking, and Abstract Interpretation - 17th International Conference, VMCAI 2016, St. Petersburg, FL, USA, 17\u201319 January 2016, Proceedings, pp. 41\u201362. Lecture Notes in Computer Science. Springer (2016). https:\/\/doi.org\/10.1007\/978-3-662-49122-5_2","DOI":"10.1007\/978-3-662-49122-5_2"},{"key":"4_CR20","doi-asserted-by":"publisher","unstructured":"Reynolds, J.C.: Separation logic: a logic for shared mutable data structures. In: 17th IEEE Symposium on Logic in Computer Science (LICS 2002), 22\u201325 July 2002, Copenhagen, Denmark, Proceedings, pp. 55\u201374. IEEE Computer Society (2002). https:\/\/doi.org\/10.1109\/LICS.2002.1029817","DOI":"10.1109\/LICS.2002.1029817"},{"key":"4_CR21","unstructured":"van Rossum, G., Lehtosalo, J., Langa, \u0141.: Type Hints (2014). https:\/\/www.python.org\/dev\/peps\/pep-0484\/"},{"key":"4_CR22","doi-asserted-by":"publisher","unstructured":"Sammler, M., et al.: DimSum: a decentralized approach to multi-language semantics and verification. Proc. ACM Program. Lang. 7(POPL), 775\u2013805 (2023). https:\/\/doi.org\/10.1145\/3571220","DOI":"10.1145\/3571220"},{"key":"4_CR23","doi-asserted-by":"publisher","unstructured":"Smans, J., Jacobs, B., Piessens, F.: Implicit dynamic frames. ACM Trans. Program. Lang. Syst. 34(1), 2:1\u20132:58 (2012). https:\/\/doi.org\/10.1145\/2160910.2160911","DOI":"10.1145\/2160910.2160911"},{"issue":"3","key":"4_CR24","doi-asserted-by":"publisher","first-page":"512","DOI":"10.1109\/TSE.2024.3358258","volume":"50","author":"H Yang","year":"2024","unstructured":"Yang, H., Nong, Y., Wang, S., Cai, H.: Multi-language software development: issues, challenges, and solutions. IEEE Trans. Software Eng. 50(3), 512\u2013533 (2024). https:\/\/doi.org\/10.1109\/TSE.2024.3358258","journal-title":"IEEE Trans. Software Eng."}],"container-title":["Lecture Notes in Computer Science","Leveraging Applications of Formal Methods, Verification and Validation. Bridging Gaps between Software and System Contracts"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/978-3-032-40118-2_4","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,10,22]],"date-time":"2026-10-22T15:29:49Z","timestamp":1792682989000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/chapter\/10.1007\/978-3-032-40118-2_4"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,10,22]]},"ISBN":["9783032401175","9783032401182"],"references-count":24,"URL":"https:\/\/doi.org\/10.1007\/978-3-032-40118-2_4","relation":{"is-part-of":[{"id-type":"doi","id":"https:\/\/doi.org\/10.1007\/978-3-032-40118-2","asserted-by":"object"}]},"ISSN":["0302-9743","1611-3349"],"issn-type":[{"value":"0302-9743","type":"print"},{"value":"1611-3349","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,10,22]]},"assertion":[{"value":"22 October 2026","order":1,"name":"first_online","label":"First Online","group":{"name":"ChapterHistory","label":"Chapter History"}},{"value":"ISoLA","order":1,"name":"conference_acronym","label":"Conference Acronym","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"International Symposium on Leveraging Applications of Formal Methods","order":2,"name":"conference_name","label":"Conference Name","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Kos","order":3,"name":"conference_city","label":"Conference City","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"Greece","order":4,"name":"conference_country","label":"Conference Country","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"2026","order":5,"name":"conference_year","label":"Conference Year","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"24 October 2026","order":7,"name":"conference_start_date","label":"Conference Start Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"28 October 2026","order":8,"name":"conference_end_date","label":"Conference End Date","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"13","order":9,"name":"conference_number","label":"Conference Number","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"isola2026","order":10,"name":"conference_id","label":"Conference ID","group":{"name":"ConferenceInfo","label":"Conference Information"}},{"value":"https:\/\/2026-isola.isola-conference.org\/","order":11,"name":"conference_url","label":"Conference URL","group":{"name":"ConferenceInfo","label":"Conference Information"}}]}}