An axiomatic basis for computer programming
Open accessThe DOI matches its Crossref record; 8 of the 8 references it cites were found in a registry or an index.
Abstract
In this paper an attempt is made to explore the logical foundations of computer programming by use of techniques which were first applied in the study of geometry and have later been extended to other branches of mathematics. This involves the elucidation of sets of axioms and rules of inference which can be used in proofs of the properties of computer programs. Examples are given of such axioms and rules, and a formal proof of a simple theorem is displayed. Finally, it is argued that important advantage, both theoretical and practical, may follow from a pursuance of these topics.
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
“When verification is performed by humans, with methods from FloydHoare logic to modern proof kernels [7, 12], formal assurance is costly and impractical. It is affordable for landmark artifacts and little else.”
From AI with Authority, from Application to Silicon (2026) · cites this paper as [12]
In the citing paper
“For six decades - from Floyd and Hoare's program logics forward [7, 12] - formal verification has been priced at a significant multiplier on development cost, with a significant additional cost whenever requirements change: formal development is not practical.”
From AI with Authority, from Application to Silicon (2026) · cites this paper as [12]
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
Assigning meanings to programs
Floyd, R. W. (1967) · Proceedings of Symposia in Applied Mathematics · doi:10.1090/psapm/019/0235771 · Cited by 1,408
Assigning Meanings to Programs
Floyd, R. W. (1993) · Studies in Cognitive Systems · doi:10.1007/978-94-011-1793-7_4 · Cited by 1,079
Proving Properties of Programs by Structural Induction
Burstall, R. M. (1969) · The Computer Journal · doi:10.1093/comjnl/12.1.41 · Cited by 324
Proof of algorithms by general snapshots
Naur, P. (1966) · BIT Numerical Mathematics · doi:10.1007/bf01966091 · Cited by 217
Proof of Algorithms by General Snapshots
Naur, P. (1993) · Studies in cognitive systems · doi:10.1007/978-94-011-1793-7_3 · Cited by 144
Numerical analysis as an independent science
van Wijngaarden, A. (1966) · BIT Numerical Mathematics · doi:10.1007/bf01939551 · Cited by 42
Axiomatics of simple assignment statements
deBakker, J. W. (1968) · Stichting Mathematisch Centrum. Rekenafdeling · Cited by 12
Laski, J. G. (1968) · ALGOL Bulletin · doi:10.5555/1061098.1061107 · Cited by 9
Cited by
Items 101–200 of 1,006
Formal specification: a roadmap
Lamsweerde, A. V. (2000) · Proceedings of the Conference on The Future of Software Engineering · doi:10.1145/336512.336546 · Cited by 249
Review of Distributed Quantum Computing: From single QPU to High Performance Quantum Computing
Barral, D., Cardama, F. J., Díaz-Camacho, G., Faílde, D., Llovo, I. F., Juane, M. M., Vázquez-Pérez, J., Villasuso, J., Piñeiro, C., Costas, N., et al. (2025) · Computer Science Review · doi:10.1016/j.cosrev.2025.100747 · Cited by 247
Mechanizing Programming Logics in Higher Order Logic
Gordon, M. J. C. (1989) · Springer eBooks · doi:10.1007/978-1-4612-3658-0_10 · Cited by 243
O’Hearn, P. W. (2019) · Proceedings of the ACM on Programming Languages · doi:10.1145/3371078 · Cited by 243
Lucid, a nonprocedural language with iteration
Ashcroft, E. A., & Wadge, W. W. (1977) · Communications of the ACM · doi:10.1145/359636.359715 · Cited by 241
Constructive design of a hierarchy of semantics of a transition system by abstract interpretation
Cousot, P. (2002) · Theoretical Computer Science · doi:10.1016/s0304-3975(00)00313-3 · Cited by 238
Formal hardware verification methods: A survey
Gupta, A. (1992) · Formal Methods in System Design · doi:10.1007/bf00121125 · Cited by 238
Correctness preserving program refinements: Proof theory and applications
Back, R. (1980) · Centrum Wiskunde & Informatica (CWI), the national research institute for mathematics and computer science in the Netherlands · Cited by 237
Laws for Communicating Parallel Processes
Baker, H. G., & Hewitt, C. E. (1977) · DSpace@MIT (Massachusetts Institute of Technology) · Cited by 232
A study on exception detecton and handling using aspect-oriented programming
Lippert, M., & Lopes, C. V. (2000) · Proceedings of the 22nd international conference on Software engineering - ICSE '00 · doi:10.1145/337180.337229 · Cited by 230
Proving Pointer Programs in Hoare Logic
Bornat, R. (2000) · Lecture notes in computer science · doi:10.1007/10722010_8 · Cited by 230
Pratt, V. (1979) · Annual Symposium on Foundations of Computer Science · doi:10.1109/sfcs.1979.24 · Cited by 228
Linear and branching structures in the semantics and logics of reactive systems
Pnueli, A. (2005) · Springer eBooks · doi:10.1007/bfb0015727 · Cited by 225
Leavens, G. T., & Cheon, Y. (2006) · Cited by 222
An Overview of Anna, a Specification Language for Ada
Luckham, D. C., & Von Henke, F. W. (1985) · IEEE Software · doi:10.1109/ms.1985.230345 · Cited by 221
Reynolds, J. C. (1997) · Birkhäuser Boston eBooks · doi:10.1007/978-1-4612-4118-8_4 · Cited by 221
Kupferman, O., Vardi, M. Y., & Wolper, P. (2001) · Information and Computation · doi:10.1006/inco.2000.2893 · Cited by 221
Kozen, D. C., & Tiuryn, J. (1990) · Elsevier eBooks · doi:10.1016/b978-0-444-88074-1.50019-6 · Cited by 219
Cousot, P. M. (2005) · Lecture notes in computer science · doi:10.1007/978-3-540-30579-8_1 · Cited by 218
Definitional Interpreters for Higher-Order Programming Languages
Reynolds, J. C. (1998) · Higher-Order and Symbolic Computation · doi:10.1023/a:1010027404223 · Cited by 217
A survey of software reuse libraries
Mili, A., Mili, R. Z., & Mittermeir, R. T. (1998) · Annals of Software Engineering · doi:10.1023/a:1018964121953 · Cited by 216
How the design of JML accommodates both runtime assertion checking and formal verification
Leavens, G. T., Cheon, Y., Clifton, C. C., Ruby, C., & Cok, D. R. (2004) · Science of Computer Programming · doi:10.1016/j.scico.2004.05.015 · Cited by 216
A runtime assertion checker for the Java Modeling Language
Cheon, Y. (2018) · doi:10.31274/rtd-180813-9872 · Cited by 213
The pitfalls of verifying floating-point computations
Monniaux, D. (2008) · ACM Transactions on Programming Languages and Systems · doi:10.1145/1353445.1353446 · Cited by 212
Using Crash Hoare logic for certifying the FSCQ file system
Chen, H., Ziegler, D., Chajed, T., Chlipala, A., Kaashoek, M. F., & Zeldovich, N. (2015) · Proceedings of the 25th Symposium on Operating Systems Principles · doi:10.1145/2815400.2815402 · Cited by 301
Bartetzko, D., Fischer, C., Möller, M., & Wehrheim, H. (2001) · Electronic Notes in Theoretical Computer Science · doi:10.1016/s1571-0661(04)00247-6 · Cited by 211
Secure information flow by self-composition
Barthe, G., D’Argenio, P. R., & Rezk, T. (2004) · doi:10.1109/csfw.2004.17 · Cited by 209
The ?Hoare logic? of concurrent programs
Lamport, L. (1980) · Acta Informatica · doi:10.1007/bf00289062 · Cited by 205
Deep Specifications and Certified Abstraction Layers
Gu, R., Koenig, J., Ramananandro, T., Shao, Z., Wu, X., Weng, S.-C., Zhang, H., & Guo, Y. (2015) · ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL) · doi:10.1145/2676726.2676975 · Cited by 199
A survey of literature on the teaching of introductory programming
Pears, A., Seidman, S., Malmi, L., Mannila, L., Adams, E., Bennedsen, J., Devlin, M., & Paterson, J. (2007) · Working group reports on ITiCSE on Innovation and technology in computer science education · doi:10.1145/1345443.1345441 · Cited by 198
Modal Logics and mu-Calculi: An Introduction
Bradfield, J. C., & Stirling, C. (2001) · Elsevier eBooks · doi:10.1016/b978-044482830-9/50022-9 · Cited by 197
Bates, J. L., & Constable, R. L. (1985) · ACM Transactions on Programming Languages and Systems · doi:10.1145/2363.2528 · Cited by 195
On Hoare logic and Kleene algebra with tests
Kozen, D. C. (2000) · ACM Transactions on Computational Logic · doi:10.1145/343369.343378 · Cited by 194
Often Trusted but Never (Properly) Tested: Evaluating Qualitative Comparative Analysis
Baumgartner, M., & Thiem, A. (2020) · Sociological Methods & Research · doi:10.1177/0049124117701487 · Cited by 193
Protocol Composition Logic (PCL)
Datta, A., Derek, A., Mitchell, J. C., & Roy, A. (2007) · Electronic Notes in Theoretical Computer Science · doi:10.1016/j.entcs.2007.02.012 · Cited by 193
Stenning, N. V. (1976) · Computer Networks (1976) · doi:10.1016/0376-5075(76)90015-5 · Cited by 193
p4v: practical verification for programmable data planes
Liu, J., Hallahan, W. T., Schlesinger, C., Sharif, M., Lee, J., Soulé, R., Wang, H., Caşcaval, C., McKeown, N., & Foster, N. (2018) · ACM SIGCOMM Conference (SIGCOMM) · doi:10.1145/3230543.3230582 · Cited by 191
1 Modal logic: a semantic perspective
Blackburn, P. R., & van Benthem, J. (2007) · Studies in logic and practical reasoning · doi:10.1016/s1570-2464(07)80004-8 · Cited by 191
Concurrent Processes and Their Syntax
Milne, G. J., & Milner, R. (1979) · Journal of the ACM · doi:10.1145/322123.322134 · Cited by 189
A Fast and Usually Linear Algorithm for Global Flow Analysis
Graham, S. L., & Wegman, M. (1976) · Journal of the ACM · doi:10.1145/321921.321939 · Cited by 187
A near-optimal method for reasoning about action
Pratt, V. (1980) · Journal of Computer and System Sciences · doi:10.1016/0022-0000(80)90061-6 · Cited by 187
ICE: A Robust Framework for Learning Invariants
Garg, P., Löding, C., Madhusudan, P., & Neider, D. (2014) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-08867-9_5 · Cited by 186
Manna, Z., & Waldinger, R. J. (1979) · IEEE Transactions on Software Engineering · doi:10.1109/tse.1979.234198 · Cited by 183
InvGen: An Efficient Invariant Generator
Gupta, A., & Rybalchenko, A. (2009) · Lecture notes in computer science · doi:10.1007/978-3-642-02658-4_48 · Cited by 183
Namjoshi, K. S. (2001) · Lecture notes in computer science · doi:10.1007/3-540-44585-4_2 · Cited by 183
Programming Language Constructs for Which It Is Impossible To Obtain Good Hoare Axiom Systems
Clarke, E. M. (1979) · Journal of the ACM · doi:10.1145/322108.322121 · Cited by 182
McConnell, R. M., Mehlhorn, K., Näher, S., & Schweitzer, P. (2011) · Computer Science Review · doi:10.1016/j.cosrev.2010.09.009 · Cited by 181
Automatic program verification I: A logical basis and its implementation
Igarashi, S., London, R. L., & Luckham, D. C. (1975) · Acta Informatica · doi:10.1007/bf00288746 · Cited by 181
Hoare, C. A. R. (1971) · Communications of the ACM · doi:10.1145/362452.362489 · Cited by 180
Self-citationCleanroom Software Development: An Empirical Evaluation
Selby, R. W., Basili, V. R., & Baker, F. T. (1987) · IEEE Transactions on Software Engineering · doi:10.1109/tse.1987.233525 · Cited by 180
Behavioral interface specification languages
Hatcliff, J., Leavens, G. T., Leino, K. R. M., Müller, P., & Parkinson, M. (2012) · ACM Computing Surveys · doi:10.1145/2187671.2187678 · Cited by 178
Propositional modal logic of programs
Fischer, M. J., & Ladner, R. E. (1977) · ACM Symposium on Theory of Computing (STOC) · doi:10.1145/800105.803418 · Cited by 178
Secure information flow by self-composition
Barthe, G., D'Argenio, P. R., & Rezk, T. (2004) · Proceedings. 17th IEEE Computer Security Foundations Workshop, 2004. · doi:10.1109/csfw.2004.1310735 · Cited by 177
Chin, W.-N., David, C., Nguyen, H. H., & Qin, S. (2010) · Science of Computer Programming · doi:10.1016/j.scico.2010.07.004 · Cited by 177
Mathematical modal logic: A view of its evolution
Goldblatt, R. (2003) · Journal of Applied Logic · doi:10.1016/s1570-8683(03)00008-9 · Cited by 177
Propositional Dynamic Logic of looping and converse
Streett, R. S. (1981) · ACM Symposium on Theory of Computing (STOC) · doi:10.1145/800076.802492 · Cited by 174
Herlihy, M. P., & Wing, J. M. (1987) · Proceedings of the 14th ACM SIGACT-SIGPLAN symposium on Principles of programming languages - POPL '87 · doi:10.1145/41625.41627 · Cited by 173
Predicative programming Part I
Hehner, E. C. R. (1984) · Communications of the ACM · doi:10.1145/69610.357988 · Cited by 173
A proof technique for communicating sequential processes
Levin, G. M., & Gries, D. J. (1981) · Acta Informatica · doi:10.1007/bf00289266 · Cited by 172
On the Composition of Well-Structured Programs
Wirth, N. (1974) · ACM Computing Surveys · doi:10.1145/356635.356639 · Cited by 172
A historical perspective on runtime assertion checking in software development
Clarke, L. A., & Rosenblum, D. S. (2006) · ACM SIGSOFT Software Engineering Notes · doi:10.1145/1127878.1127900 · Cited by 171
Deductive Software Verification: From Pen-and-Paper Proofs to Industrial Tools
Hähnle, R., & Huisman, M. (2019) · Lecture notes in computer science · doi:10.1007/978-3-319-91908-9_18 · Cited by 171
Fuzzing: hack, art, and science
Godefroid, P. (2020) · Communications of the ACM · doi:10.1145/3363824 · Cited by 171
Weakest Precondition Reasoning for Expected Run–Times of Probabilistic Programs
Kaminski, B. L., Katoen, J.-P., Matheja, C., & Olmedo, F. (2016) · Lecture notes in computer science · doi:10.1007/978-3-662-49498-1_15 · Cited by 169
Secure information flow by self-composition
BARTHE, G., D'ARGENIO, P. R., & REZK, T. (2011) · Mathematical Structures in Computer Science · doi:10.1017/s0960129511000193 · Cited by 168
Semantic Issues in the Verification of Agent Communication Languages
Wooldridge, M. (2000) · Autonomous Agents and Multi-Agent Systems · doi:10.1023/a:1010090027213 · Cited by 168
Merlin: specification inference for explicit information flow problems
Livshits, B., Nori, A. V., Rajamani, S. K., & Banerjee, A. (2009) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/1542476.1542485 · Cited by 167
A Quick Tour of the VeriFast Program Verifier
Jacobs, B., Smans, J., & Piessens, F. (2010) · Lecture notes in computer science · doi:10.1007/978-3-642-17164-2_21 · Cited by 167
Putting consistency back into eventual consistency
Balegas, V., Duarte, S., Ferreira, C., Rodrigues, R., Preguiça, N., Najafzadeh, M., & Shapiro, M. (2015) · European Conference on Computer Systems · doi:10.1145/2741948.2741972 · Cited by 169
Recurring Dominoes: Making the Highly Undecidable Highly Understandable
Harel, D. (1985) · North-Holland Mathematics Studies · doi:10.1016/s0304-0208(08)73075-5 · Cited by 164
Perspectives in Software Engineering
Zelkowitz, M. V. (1978) · ACM Computing Surveys · doi:10.1145/356725.356731 · Cited by 164
Symbolic Methods for Exploring Infinite State Spaces
Boigelot, B. (1998) · ORBi (University of Liège) · Cited by 164
A Theory of Design-by-Contract for Distributed Multiparty Interactions
Bocchi, L., Honda, K., Tuosto, E., & Yoshida, N. (2010) · Lecture notes in computer science · doi:10.1007/978-3-642-15375-4_12 · Cited by 164
Hobbs, K. L., Mote, M., Abate, M., Coogan, S., & Féron, É. (2023) · IEEE Control Systems · doi:10.1109/mcs.2023.3234380 · Cited by 163
Hoare type theory, polymorphism and separation
Nanevski, A., Morrisett, G., & Birkedal, L. (2008) · Journal of Functional Programming · doi:10.1017/s0956796808006953 · Cited by 162
Ivy: safety verification by interactive generalization
Padon, O., McMillan, K. L., Panda, A., Sagiv, M., & Shoham, S. (2016) · Proceedings of the 37th ACM SIGPLAN Conference on Programming Language Design and Implementation · doi:10.1145/2908080.2908118 · Cited by 161
Consistent and complementary formal theories of the semantics of programming languages
Hoare, C. A. R., & Lauer, P. E. (1974) · Acta Informatica · doi:10.1007/bf00264034 · Cited by 161
Self-citationA Metalanguage for interactive proof in LCF
Gordon, M., Milner, R., Morris, L., Newey, M., & Wadsworth, C. P. (1978) · ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL) · doi:10.1145/512760.512773 · Cited by 161
Beyer, D., Henzinger, T. A., Majumdar, R., & Rybalchenko, A. (2007) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/1250734.1250769 · Cited by 160
Optimizing database-backed applications with query synthesis
Cheung, A., Solar-Lezama, A., & Madden, S. R. (2013) · ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI) · doi:10.1145/2491956.2462180 · Cited by 160
The science of deriving dense linear algebra algorithms
Bientinesi, P., Gunnels, J. A., Myers, M. E., Quintana-Ortí, E. S., & Geijn, R. A. V. D. (2005) · ACM Transactions on Mathematical Software · doi:10.1145/1055531.1055532 · Cited by 159
Polymorphism and separation in hoare type theory
Nanevski, A., Morrisett, G., & Birkedal, L. (2006) · ACM SIGPLAN International Conference on Functional Programming (ICFP) · doi:10.1145/1159803.1159812 · Cited by 159
The new math of computer programming
Mills, H. D. (1975) · Communications of the ACM · doi:10.1145/360569.360659 · Cited by 158
Concurrent Kleene Algebra and its Foundations
Hoare, T., Möller, B., Struth, G., & Wehrman, I. (2011) · The Journal of Logic and Algebraic Programming · doi:10.1016/j.jlap.2011.04.005 · Cited by 158
Operating system verification—An overview
Klein, G. (2009) · Sadhana · doi:10.1007/s12046-009-0002-4 · Cited by 154
Specification and verification of the UCLA Unix security kernel
Walker, B. J., Kemmerer, R. A., & Popek, G. J. (1980) · Communications of the ACM · doi:10.1145/358818.358825 · Cited by 153
Emerson, E. A., & Srinivasan, J. (1989) · Lecture notes in computer science · doi:10.1007/bfb0013022 · Cited by 153
Mathematical modal logic: A view of its evolution
Goldblatt, R. (2006) · Handbook of the history of logic · doi:10.1016/s1874-5857(06)80027-0 · Cited by 152
A new proof rule for almost-sure termination
McIver, A. K., Morgan, C., Kaminski, B. L., & Katoen, J.-P. (2017) · Proceedings of the ACM on Programming Languages · doi:10.1145/3158121 · Cited by 152
Weakest Precondition Reasoning for Expected Runtimes of Randomized Algorithms
Kaminski, B. L., Katoen, J.-P., Matheja, C., & Olmedo, F. (2018) · Journal of the ACM · doi:10.1145/3208102 · Cited by 152
From Start-ups to Scale-ups: Opportunities and Open Problems for Static and Dynamic Program Analysis
Harman, M., & O'Hearn, P. (2018) · 2018 IEEE 18th International Working Conference on Source Code Analysis and Manipulation (SCAM) · doi:10.1109/scam.2018.00009 · Cited by 151
Cyber-physical system design contracts
Derler, P., Lee, E. A., Tripakis, S., & Törngren, M. (2013) · ACM/IEEE International Conference on Cyber-Physical Systems (ICCPS) · doi:10.1145/2502524.2502540 · Cited by 151
A Survey of Machine Learning for Big Code and Naturalness
Allamanis, M., Barr, E. T., Devanbu, P., & Sutton, C. (2019) · ACM Computing Surveys · doi:10.1145/3212695 · Cited by 150
An Axiomatic Approach to Information Flow in Programs
Andrews, G. R., & Reitman, R. P. (1980) · ACM Transactions on Programming Languages and Systems · doi:10.1145/357084.357088 · Cited by 150
The Beginning of Model Checking: A Personal Perspective
Emerson, E. A. (2008) · Lecture notes in computer science · doi:10.1007/978-3-540-69850-0_2 · Cited by 150
Writing Larch interface language specifications
Wing, J. M. (1987) · ACM Transactions on Programming Languages and Systems · doi:10.1145/9758.10500 · Cited by 150
Algorithmics : towards programming as a mathematical activity
Meertens, L. (1986) · Centrum Wiskunde & Informatica (CWI), the national research institute for mathematics and computer science in the Netherlands · Cited by 149
Chapter 24 Multi-Agent Systems
van der Hoek, W., & Wooldridge, M. (2008) · Foundations of artificial intelligence · doi:10.1016/s1574-6526(07)03024-6 · Cited by 148
Tutorial on Static Inference of Numeric Invariants by Abstract Interpretation
Miné, A. (2017) · Foundations and Trends® in Programming Languages · doi:10.1561/2500000034 · Cited by 148
Katz, S. M., & Manna, Z. (1976) · Communications of the ACM · doi:10.1145/360032.360048 · Cited by 148
Metadata
- Authors
- Hoare, C. A. R.
- Venue
- Communications of the ACM
- Published
- 1969-10
- Volume
- 12
- Issue
- 10
- Pages
- 576-580
- ISSN
- 0001-0782 (ISSN-L)
- 1557-7317
- OpenAlex
- W2987907651
- Cited by
- 4,002
- References
- 8
- FWCI
- 10.77
- Type
- journal article
- Language
- en
- Open access
- bronze
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.