Formal verification of a realistic compiler
The DOI matches its Crossref record; 24 of the 24 references it cites were found in a registry or an index.
Abstract
This paper reports on the development and formal verification (proof of semantic preservation) of CompCert, a compiler from Clight (a large subset of the C programming language) to PowerPC assembly code, using the Coq proof assistant both for programming the compiler and for proving its correctness. Such a verified compiler is useful in the context of critical software and its formal verification: the verification of the compiler guarantees that the safety properties proved on the source code hold for the executable compiled code as well.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“the field's landmarks - the CLI verified stack, CompCert, seL4, CakeML [3, 14-16] - were built by expert teams over years; that lineage is our baseline.”
From AI with Authority, from Application to Silicon (2026) · cites this paper as [16]
In the citing paper
“It is tenable for a compiler, a microkernel, or a landmark theorem [9, 14, 16], and for little else.”
From AI with Authority, from Application to Silicon (2026) · cites this paper as [16]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Necula, G. C. (1997) · Proceedings of the 24th ACM SIGPLAN-SIGACT symposium on Principles of programming languages - POPL '97 · doi:10.1145/263699.263712 · Cited by 2,119
Interactive Theorem Proving and Program Development
Bertot, Y., & Castéran, P. (2004) · Texts in Theoretical Computer Science An EATCS Series · doi:10.1007/978-3-662-07964-5 · Cited by 1,353
Castéran, P., & Bertot, Y. (2004) · HAL (Le Centre pour la Communication Scientifique Directe) · Cited by 1,084
CIL: Intermediate Language and Tools for Analysis and Transformation of C Programs
Necula, G. C., McPeak, S., Rahul, S. P., & Weimer, W. (2002) · Lecture Notes in Computer Science · doi:10.1007/3-540-45937-5_16 · Cited by 977
Register allocation & spilling via graph coloring
Chaitin, G. J. (1982) · ACM SIGPLAN Notices · doi:10.1145/872726.806984 · Cited by 767
Register allocation & spilling via graph coloring
Chaitin, G. J. (1982) · Proceedings of the 1982 SIGPLAN symposium on Compiler construction - SIGPLAN '82 · doi:10.1145/800230.806984 · Cited by 666
Formal certification of a compiler back-end or: programming a compiler with a proof assistant
Leroy, X. (2006) · Conference record of the 33rd ACM SIGPLAN-SIGACT symposium on Principles of programming languages · doi:10.1145/1111037.1111042 · Cited by 661
Self-citationFrom system F to typed assembly language
Morrisett, G., Walker, D., Crary, K., & Glew, N. (1999) · ACM Transactions on Programming Languages and Systems · doi:10.1145/319301.319345 · Cited by 584
A Formally Verified Compiler Back-end
Leroy, X. (2009) · Journal of Automated Reasoning · doi:10.1007/s10817-009-9155-4 · Cited by 503
Self-citationPnueli, A., Siegel, M., & Singerman, E. (1998) · Lecture Notes in Computer Science · doi:10.1007/bfb0054170 · Cited by 499
Translation validation for an optimizing compiler
Necula, G. C. (2000) · Proceedings of the ACM SIGPLAN 2000 conference on Programming language design and implementation · doi:10.1145/349299.349314 · Cited by 488
Correctness of a compiler for arithmetic expressions
McCarthy, J., & Painter, J. A. (1967) · Proceedings of symposia in applied mathematics · doi:10.1090/psapm/019/0242403 · Cited by 347
Foundational proof-carrying code
Appel, A. W. (2002) · Proceedings 16th Annual IEEE Symposium on Logic in Computer Science · doi:10.1109/lics.2001.932501 · Cited by 346
Proceedings of Symposia in Applied Mathematics
Clemence, G. M., Birkhoff, G., & Langer, R. E. (1960) · Mathematics of Computation · doi:10.2307/2003930 · Cited by 326
George, L., & Appel, A. W. (1996) · ACM Transactions on Programming Languages and Systems · doi:10.1145/229542.229546 · Cited by 297
Formal Verification of a C Compiler Front-End
Blazy, S., Dargaye, Z., & Leroy, X. (2006) · Lecture notes in computer science · doi:10.1007/11813040_31 · Cited by 188
Self-citationExtraction in Coq: An Overview
Letouzey, P. (2008) · Springer eBooks · doi:10.1007/978-3-540-69407-6_39 · Cited by 166
Mechanized Semantics for the Clight Subset of the C Language
Blazy, S., & Leroy, X. (2009) · Journal of Automated Reasoning · doi:10.1007/s10817-009-9148-3 · Cited by 162
Self-citationFormal Verification of a C-like Memory Model and Its Uses for Verifying Program Transformations
Leroy, X., & Blazy, S. (2008) · Journal of Automated Reasoning · doi:10.1007/s10817-008-9099-0 · Cited by 159
Self-citationFormal verification of translation validators: a case study on instruction scheduling optimizations
Tristan, J.-B., & Leroy, X. (2008) · ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL) · doi:10.1145/1328438.1328444 · Cited by 141
Self-citationCompiler verification: a bibliography
Dave, M. A. (2003) · ACM SIGSOFT Software Engineering Notes · doi:10.1145/966221.966235 · Cited by 129
Separation Logic for Small-Step cminor
Appel, A. W., & Blazy, S. (2007) · Lecture notes in computer science · doi:10.1007/978-3-540-74591-4_3 · Cited by 101
Proving compiler correctness in a mechanised logic
Milner, R., & Weyhrauch, R. W. (1972) · Machine intelligence · Cited by 91
Verified validation of lazy code motion
Tristan, J.-B., & Leroy, X. (2009) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/1542476.1542512 · Cited by 84
Self-citation
Cited by
Finding and understanding bugs in C compilers
Yang, X., Chen, Y., Eide, E., & Regehr, J. (2011) · Proceedings of the 32nd ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/1993498.1993532 · Cited by 825
“Wolfe [30], talk ing about independent software vendors (ISVs) says: An ISV with a complex code can work around correctness, turn off the optimizer in one or two .les, and usually they have to do that for any of the compilers they use (emphasis ours).”
BackgroundFinding and understanding bugs in C compilers
Yang, X., Chen, Y., Eide, E., & Regehr, J. (2011) · ACM SIGPLAN Notices · doi:10.1145/1993316.1993532 · Cited by 586
A Survey of Statistical Model Checking
Agha, G., & Palmskog, K. (2018) · ACM Transactions on Modeling and Computer Simulation · doi:10.1145/3158668 · Cited by 285
Defining the Ethereum Virtual Machine for Interactive Theorem Provers
Hirai, Y. (2017) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-70278-0_33 · Cited by 279
Verdi: a framework for implementing and formally verifying distributed systems
Wilcox, J. R., Woos, D., Panchekha, P., Tatlock, Z., Wang, X., Ernst, M. D., & Anderson, T. (2015) · Proceedings of the 36th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/2737924.2737958 · Cited by 270
Metadata
- Authors
- Leroy, X.
- Venue
- Communications of the ACM
- Published
- 2009-07
- Volume
- 52
- Issue
- 7
- Pages
- 107-115
- ISSN
- 0001-0782 (ISSN-L)
- 1557-7317
- OpenAlex
- W2023035194
- Cited by
- 1,187
- References
- 23
- FWCI
- 40.84
- Type
- journal article
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.