{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,16]],"date-time":"2026-07-16T11:03:53Z","timestamp":1784199833724,"version":"3.55.0"},"reference-count":58,"publisher":"Association for Computing Machinery (ACM)","issue":"OOPSLA2","funder":[{"DOI":"10.13039\/501100020884","name":"Agencia Nacional de Investigaci\u00f3n y Desarrollo","doi-asserted-by":"publisher","award":["ANID\/Doctorado Nacional\/2022-21221100"],"award-info":[{"award-number":["ANID\/Doctorado Nacional\/2022-21221100"]}],"id":[{"id":"10.13039\/501100020884","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/100012950","name":"Institut national de recherche en informatique et en automatique","doi-asserted-by":"publisher","award":["GRAPA"],"award-info":[{"award-number":["GRAPA"]}],"id":[{"id":"10.13039\/100012950","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2025,10,9]]},"abstract":"<jats:p>\n                    Certified programming, as carried out in proof assistants and dependently-typed programming languages, ensures that a software meets its requirements by supporting the definition of both specifications and proofs. However, proofs easily break with partial definitions and incremental changes because specifications are not designed to account for the intermediate incomplete states of programs. We advocate for proper support for incremental certified programming by analyzing its objectives and inherent challenges, and propose a formal framework for achieving incremental certified programming in a principled manner. The key idea is to define appropriate notions of\n                    <jats:italic toggle=\"yes\">completion refinement<\/jats:italic>\n                    and\n                    <jats:italic toggle=\"yes\">completeness<\/jats:italic>\n                    to capture incrementality, and to systematically produce specifications that are valid at every stage of development while preserving the intent of the original statements. We provide a prototype implementation in the Rocq Prover, called IncRease, which exploits typeclasses for automation and extensibility, and is independent of any specific mechanism used to handle incompleteness. We illustrate its use with both an incremental textbook formalization of the simply-typed \ud835\udf06-calculus, and a more complex case study of incremental certified programming for an existing dead-code elimination optimization pass of the CompCert project. We show that the approach is compatible with randomized property-based testing as provided by QuickChick. Finally we study how to combine incremental certified programming with deductive synthesis, using a novel incrementality-friendly adaptation of the Fiat library. This work provides theoretical and practical foundations towards systematic support for incremental certified programming, highlighting challenges and perspectives for future developments.\n                  <\/jats:p>","DOI":"10.1145\/3763068","type":"journal-article","created":{"date-parts":[[2025,10,9]],"date-time":"2025-10-09T08:49:50Z","timestamp":1759999790000},"page":"499-526","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":0,"title":["Incremental Certified Programming"],"prefix":"10.1145","volume":"9","author":[{"ORCID":"https:\/\/orcid.org\/0009-0000-4140-1351","authenticated-orcid":false,"given":"Tom\u00e1s","family":"D\u00edaz","sequence":"first","affiliation":[{"name":"University of Chile, Santiago, Chile"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-5554-3203","authenticated-orcid":false,"given":"Kenji","family":"Maillard","sequence":"additional","affiliation":[{"name":"Inria, Nantes, France"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-3366-2273","authenticated-orcid":false,"given":"Nicolas","family":"Tabareau","sequence":"additional","affiliation":[{"name":"Inria, Nantes, France"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-7359-890X","authenticated-orcid":false,"given":"\u00c9ric","family":"Tanter","sequence":"additional","affiliation":[{"name":"University of Chile, Santiago, Chile"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2025,10,9]]},"reference":[{"key":"e_1_3_1_2_1","doi-asserted-by":"publisher","unstructured":"Arpan Agrawal Emily First Zhanna Kaufman Tom Reichel Shuizo Zhang Timothy Zhu Alex Sanchez-Stern Talia Ringer and Junru Yang. 2023. Prosterro: Automated formal verification. In Proceedings of the 2023 IEEE\/ACM 45th International Conference on Software Engineering: Companion Proceedings (ICSE-Companion \u201923). IEEE 26\u201330. doi:10.1109\/ICSE-Companion58688.2023.00008","DOI":"10.1109\/ICSE-Companion58688.2023.00008"},{"key":"e_1_3_1_3_1","doi-asserted-by":"publisher","unstructured":"Martin Bodin Arthur Chargueraud Daniel FilipeJr Philippa Gardner Sergio Maffeis Daina Naudziuniene and Alan Smith. 2014. A Trusted Mechanised JavaScript Specification. In Proceedings of the 41st ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL \u201914). Association for Computing Machinery 87\u2013100. doi:10.1145\/2535838.2535876","DOI":"10.1145\/2535838.2535876"},{"key":"e_1_3_1_4_1","doi-asserted-by":"publisher","unstructured":"Martin Bodin Tomas Dias and Eric Tanter. 2018. A Trustworthy Mechanized Formalization of R. In Proceedings of the 14th ACM Dynamic Languages Symposium (DLS \u201918). Association for Computing Machinery 13\u201324. doi:10.1145\/3276946.3276946","DOI":"10.1145\/3276946.3276946"},{"key":"e_1_3_1_5_1","doi-asserted-by":"publisher","unstructured":"Olivier Boeve. 2004. Proof reuse with extended inductive types. In Proceedings of the Theorem Proving in Higher Order Logics. doi:10.1007\/3-540-30284-4","DOI":"10.1007\/3-540-30284-4"},{"key":"e_1_3_1_6_1","doi-asserted-by":"publisher","unstructured":"Simon Boulier Pierre-Marie Pedrot and Nicolas Tabareau. 2017. The next 700 syntactical models of type theory. In Certified Programs and Proofs (CPP 2017). doi:10.1145\/3018610","DOI":"10.1145\/3018610"},{"key":"e_1_3_1_7_1","doi-asserted-by":"publisher","unstructured":"Sylvain Boulme. 2007. Intuitionistic Refinement Calculus. In Typed Lambda Calculi and Applications. 8th International Conference (TLCA 2007). Springer 54\u201369. doi:10.1007\/978-3-540-73228-6","DOI":"10.1007\/978-3-540-73228-6"},{"key":"e_1_3_1_8_1","doi-asserted-by":"publisher","unstructured":"Ana Bove Peter Dybjer and Ulf Norell. 2009. A Brief Overview of Agda \u2013 A Functional Language with Dependent Types. In Theorem Proving in Higher Order Logics (TPHOLs 2009). Springer. doi:10.1007\/978-3-642-03359-6_9","DOI":"10.1007\/978-3-642-03359-6_9"},{"key":"e_1_3_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/2500365.2500581"},{"key":"e_1_3_1_10_1","doi-asserted-by":"publisher","unstructured":"Edwinc. Brady. 2021. Quantitative Type Theory in Practice. In ECOOP 2021. Leibniz International Proceedings in Informatics (LIPIcs). Schloss Dagstuhl\u2013Leibniz-Zentrum fuer Informatik. doi:10.4230\/LIPIcs.ECOOP.2021.9","DOI":"10.4230\/LIPIcs.ECOOP.2021.9"},{"key":"e_1_3_1_11_1","doi-asserted-by":"publisher","DOI":"10.7551\/mitpress\/9153.001.0001"},{"key":"e_1_3_1_12_1","doi-asserted-by":"publisher","unstructured":"Michael R. Clarkson and Fred B. Schneider. 2008. Hyperproperties. In Proceedings of the 21st IEEE Computer Security Foundations Symposium (CSF 2008). IEEE Computer Society 51\u201365. doi:10.1109\/CSF.2008.7","DOI":"10.1109\/CSF.2008.7"},{"key":"e_1_3_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/343431"},{"key":"e_1_3_1_14_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10817-018-9485-4"},{"key":"e_1_3_1_15_1","doi-asserted-by":"publisher","unstructured":"Benjamin Delaware Bruno C. d. S. Oliveira and Tom Schrijvers. 2013. Meta-theory \u00e0 la carte. In POPL \u201913: Proceedings of the 40th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (Rome Italy Jan. 23\u201325 2013). Association for Computing Machinery 207\u2013218. doi:10.1145\/2429069","DOI":"10.1145\/2429069"},{"key":"e_1_3_1_16_1","doi-asserted-by":"publisher","unstructured":"Benjamin Delaware Cl\u00e9ment Pit-Claudel Jason Gross and Adam Chlipala. 2015. Fiat: Deductive Synthesis of Abstract Data Types in a Proof Assistant. In POPL \u201915: Proceedings of the 42nd ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (Mumbai India Jan. 2015). Association for Computing Machinery 689\u2013700. doi:10.1145\/2676726.2677006","DOI":"10.1145\/2676726.2677006"},{"key":"e_1_3_1_17_1","doi-asserted-by":"publisher","unstructured":"Maxime Denes Catalin Hritcu Leonidas Lampropoulos Zoe Paraskevopoulou and Benjamin C. Pierce. 2014. QuickChick: Property-Based Testing for Coq. In Coq Workshop. doi:10.1145\/2633357.2633438","DOI":"10.1145\/2633357.2633438"},{"key":"e_1_3_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/3434337"},{"key":"e_1_3_1_19_1","volume-title":"Operational Refinement for Compiler Correctness","author":"Dockins Robert","year":"2012","unstructured":"Robert Dockins. 2012. Operational Refinement for Compiler Correctness. Ph.D. Dissertation, Princeton University"},{"key":"e_1_3_1_20_1","doi-asserted-by":"publisher","unstructured":"Tomas Diaz Kenji Maillard Nikolaj Tabareau and Eric Tanter. 2025. Incremental Certified Programming. Archived version of the submitted artifact. doi:10.5281\/zenodo.16913455","DOI":"10.5281\/zenodo.16913455"},{"key":"e_1_3_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/3341692"},{"key":"e_1_3_1_22_1","doi-asserted-by":"publisher","unstructured":"Martin Hotzel Escardo and Cory Knapp. 2017. Partial elements and recursion via Dominance in Univalent Type Theory. In 26th EACSL Annual Conference on Computer Science Logic (CSL 2017) (Stockholm Sweden Aug. 20\u201324 2017). Schloss Dagstuhl\u2013Leibniz-Zentrum fuer Informatik. doi:10.4230\/LIPIcs.CSL.2017.21","DOI":"10.4230\/LIPIcs.CSL.2017.21"},{"key":"e_1_3_1_23_1","volume-title":"Axiomatic domain theory in categories of partial maps","author":"Berger Ulrich","year":"1994","unstructured":"Ulrich Berger. 1994. Axiomatic domain theory in categories of partial maps. Ph.D. Dissertation, University of Edinburgh, UK. [https:\/\/hdl.handle.net\/1842\/406](https:\/\/hdl.handle.net\/1842\/406)"},{"key":"e_1_3_1_24_1","doi-asserted-by":"publisher","unstructured":"Emily First Markus Ringer Talia Ringer and Yuriy Brun. 2023. Baldur: Whole-proof generation and repair with large language models. In Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering. doi:10.1145\/361463.3616243","DOI":"10.1145\/361463.3616243"},{"key":"e_1_3_1_25_1","doi-asserted-by":"publisher","unstructured":"Yannick Forster and Kathrin Stark. 2020. Coq \u00e0 la carte: A practical approach to modular syntax with binders. In Proceedings of the 9th ACM SIGPLAN International Conference on Certified Programs and Proofs (CPP 2020). doi:10.1145\/3372885.3373817","DOI":"10.1145\/3372885.3373817"},{"key":"e_1_3_1_26_1","doi-asserted-by":"publisher","unstructured":"Joseph A. Goguen and Jose Meseguer. 1982. Security Policies and Security Models. In 1982 IEEE Symposium on Security and Privacy (Oakland CA USA April 26\u201328 1982). 11\u201320. doi:10.1109\/SP.1982.10014","DOI":"10.1109\/SP.1982.10014"},{"key":"e_1_3_1_27_1","doi-asserted-by":"publisher","unstructured":"Son Ho and Clement Fouillade. 2024. Incremental Proof Development in Dafny with Module-Based Induction. arXiv preprint arXiv:2401.16233. doi:10.48550\/arXiv.2401.16233","DOI":"10.48550\/arXiv.2401.16233"},{"key":"e_1_3_1_28_1","doi-asserted-by":"publisher","unstructured":"Kush Jain Karl Palmskog Ahmet Celik Emilio Jesus Gallego Arias and Milos Gligoric. 2020. MCoq: Mutation Analysis for Coq Verification Projects. In Proceedings of the ACM\/IEEE 42nd International Conference on Software Engineering: Companion Proceedings. 89\u201392. doi:10.1145\/3377812.3382156","DOI":"10.1145\/3377812.3382156"},{"key":"e_1_3_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/3591286"},{"key":"e_1_3_1_30_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796818000151"},{"key":"e_1_3_1_31_1","doi-asserted-by":"publisher","unstructured":"Gerwin Klein Kevin Elphinstone Gernot Heiser June Andronick David Cock Philip Derrin Dhammika Elkaduwe Kai Engelhardt Rafal Kolanski Michael Norrish and Thomas Sewell. 2009. seL4: Formal Verification of an OS Kernel. In Proceedings of the ACM SIGOPS 22nd Symposium on Operating Systems Principles (SOSP \u201909). Association for Computing Machinery 207\u2013220. doi:10.1145\/1629575.1629596","DOI":"10.1145\/1629575.1629596"},{"key":"e_1_3_1_32_1","doi-asserted-by":"publisher","unstructured":"K. Rustan M. Leino. 2010. Dafny: An Automatic Program Verifier for Functional Correctness. In International Conference on Logic for Programming Artificial Intelligence and Reasoning. Springer 348\u2013370. doi:10.1007\/978-3-642-17511-4_20","DOI":"10.1007\/978-3-642-17511-4_20"},{"key":"e_1_3_1_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/3495528"},{"key":"e_1_3_1_34_1","doi-asserted-by":"publisher","unstructured":"Yann Leray Gaetan Gilbert Nicolas Tabareau and Theo Winterhalter. 2024. The Rewster: Type Preserving Rewrite Rules for the Coq Proof Assistant. In Leibniz International Proceedings in Informatics (LIPIcs). 15th International Conference on Interactive Theorem Proving (ITP 2024). doi:10.4230\/LIPIcs.ITP.2024.26","DOI":"10.4230\/LIPIcs.ITP.2024.26"},{"key":"e_1_3_1_35_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10817-009-9155-4"},{"key":"e_1_3_1_36_1","doi-asserted-by":"publisher","DOI":"10.1145\/3547655"},{"key":"e_1_3_1_37_1","volume-title":"Programming from Specifications","author":"Morgan Carroll","year":"1994","unstructured":"Carroll Morgan. 1994. Programming from Specifications. 2nd Edition. Prentice Hall, Hemel Hempstead, Oxford, United Kingdom","edition":"2"},{"key":"e_1_3_1_38_1","doi-asserted-by":"publisher","unstructured":"Leonardo de Moura and Sebastian Ullrich. 2021. The Lean 4 Theorem Prover and Programming Language. In Automated Deduction \u2013 CADE 28. 28th International Conference on Automated Deduction. Springer. doi:10.1007\/978-3-030-79876-5_37","DOI":"10.1007\/978-3-030-79876-5_37"},{"key":"e_1_3_1_39_1","doi-asserted-by":"publisher","unstructured":"Max S. New and Amal Ahmed. 2018. Graduality from Embedding-Projection Pairs. 73 1\u201330. doi:10.1145\/3236768","DOI":"10.1145\/3236768"},{"key":"e_1_3_1_40_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-45949-9"},{"key":"e_1_3_1_41_1","doi-asserted-by":"publisher","unstructured":"Cyrus Omar Ian Voysey Michael Hilton Jonathan Aldrich and Matthew A. Hammer. 2017. Hazelnut: A Bidirectionally Typed Structure Editor Calculus. In Proceedings of the 44th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL 2017). Association for Computing Machinery 86\u201399. doi:10.1145\/3009837.3009900","DOI":"10.1145\/3009837.3009900"},{"key":"e_1_3_1_42_1","doi-asserted-by":"publisher","unstructured":"Pierre-Marie Pedrot and Nicolas Tabareau. 2018. Failure is Not an Option: An Exceptional Type Theory. In Programming Languages and Systems \u2013 ESOP 2018. Springer-Verlag. doi:10.1007\/978-3-319-89884-1_9","DOI":"10.1007\/978-3-319-89884-1_9"},{"key":"e_1_3_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/3341712"},{"key":"e_1_3_1_44_1","volume-title":"Software Foundations","author":"Pierce Benjamin C.","year":"2015","unstructured":"Benjamin C. Pierce, Chris Casinghino, Marco Gaboardi, Michael Greenberg, Catalin Hritcu, Vilhelm Sjoberg, and Brent Yorgey. 2015. Software Foundations. Electronic textbook. [http:\/\/www.cis.upenn.edu\/~bcpierce\/sf\/](http:\/\/www.cis.upenn.edu\/~bcpierce\/sf\/)"},{"key":"e_1_3_1_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/3704912"},{"key":"e_1_3_1_46_1","first-page":"513","article-title":"Types, Abstraction, and Parametric Polymorphism","volume":"83","author":"Reynolds John C.","year":"1983","unstructured":"John C. Reynolds. 1983. Types, Abstraction, and Parametric Polymorphism. Information Processing. 83, Elsevier, 513\u2013523","journal-title":"Information Processing"},{"key":"e_1_3_1_47_1","doi-asserted-by":"publisher","DOI":"10.1561\/2500000045"},{"key":"e_1_3_1_48_1","doi-asserted-by":"publisher","unstructured":"Talia Ringer Randair Porter Nathaniel Yazdani John Leo and Dan Grossman. 2021. Proof Repair Across Type Equivalences. In Proceedings of the 42nd ACM SIGPLAN International Conference on Programming Language Design and Implementation. 112\u2013127. doi:10.1145\/3453483.3454033","DOI":"10.1145\/3453483.3454033"},{"key":"e_1_3_1_49_1","doi-asserted-by":"publisher","unstructured":"Talia Ringer Nathaniel Yazdani John Leo and Dan Grossman. 2019. Ornaments for Proof Reuse in Coq. In 10th International Conference on Interactive Theorem Proving (ITP 2019). Schloss Dagstuhl\u2013Leibniz-Zentrum fuer Informatik. doi:10.4230\/LIPIcs.ITP.2019.26","DOI":"10.4230\/LIPIcs.ITP.2019.26"},{"key":"e_1_3_1_50_1","doi-asserted-by":"publisher","DOI":"10.1007\/s10817-019-09544-0"},{"key":"e_1_3_1_51_1","doi-asserted-by":"publisher","unstructured":"Matthieu Sozeau and Nicolas Oury. 2008. First-Class Type Classes. In Proceedings of the 21st International Conference on Theorem Proving in Higher-Order Logics (Montreal Canada) 278\u2013293. doi:10.1007\/978-3-540-71067-7_23","DOI":"10.1007\/978-3-540-71067-7_23"},{"key":"e_1_3_1_52_1","unstructured":"Enrico Tassi. 2018. Elpi: A Higher-Order Logic Programming Language for Coq (Metaprogramming Coq in the Elpi \u03bbProlog Dialect). In International Workshop on Coq for Programming Languages. Los Angeles (CA) United States"},{"key":"e_1_3_1_53_1","unstructured":"The Coq Development Team. 2024. The Coq Proof Assistant Reference Manual. [https:\/\/coq.inria.fr\/refman](https:\/\/coq.inria.fr\/refman) Version 8.20"},{"key":"e_1_3_1_54_1","doi-asserted-by":"publisher","DOI":"10.1145\/3563335"},{"key":"e_1_3_1_55_1","unstructured":"Philip Wadler. 1998. Home Page. [https:\/\/homepages.inf.ed.ac.uk\/wadler\/](https:\/\/homepages.inf.ed.ac.uk\/wadler\/)"},{"key":"e_1_3_1_56_1","doi-asserted-by":"publisher","DOI":"10.1145\/362575.362577"},{"key":"e_1_3_1_57_1","doi-asserted-by":"publisher","unstructured":"Doug Woos James R. Wilcox Steve Antons Zachary Tatlock Michael D. Ernst and Thomas Anderson. 2016. Planning for Change in a Formal Verification of the Raft Consensus Protocol. In Proceedings of the 5th ACM SIGPLAN Conference on Certified Programs and Proofs. 154\u2013165. doi:10.1145\/2854065.2854081","DOI":"10.1145\/2854065.2854081"},{"key":"e_1_3_1_58_1","doi-asserted-by":"publisher","DOI":"10.1145\/3586048"},{"key":"e_1_3_1_59_1","doi-asserted-by":"publisher","DOI":"10.1145\/3632910"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3763068","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,7,16]],"date-time":"2026-07-16T10:04:09Z","timestamp":1784196249000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3763068"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,10,9]]},"references-count":58,"journal-issue":{"issue":"OOPSLA2","published-print":{"date-parts":[[2025,10,9]]}},"alternative-id":["10.1145\/3763068"],"URL":"https:\/\/doi.org\/10.1145\/3763068","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,10,9]]},"assertion":[{"value":"2025-03-25","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-08-12","order":2,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2025-10-09","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}