skip to main content
article

A formally verified proof of the prime number theorem

Published: 01 December 2007 Publication History

Abstract

The prime number theorem, established by Hadamard and de la Vallée Poussin independently in 1896, asserts that the density of primes in the positive integers is asymptotic to 1/ln x. Whereas their proofs made serious use of the methods of complex analysis, elementary proofs were provided by Selberg and Erdös in 1948. We describe a formally verified version of Selberg's proof, obtained using the Isabelle proof assistant.

References

[1]
Apostol, T. M. 1976. Introduction to Analytic Number Theory. Springer-Verlag.
[2]
Avigad, J. 2003. Number theory and elementary arithmetic. Philosophia Mathematica 11, 257--284.
[3]
Avigad, J. 2004. Notes on a formalization of the prime number theorem. Tech. rep. CMU-PHIL-163, Carnegie Mellon University.
[4]
Avigad, J. and Donnelly, K. 2004. Formalizing O notation in Isabelle/HOL. In Proceedings of the 2nd International Joint Conference on Automated Reasoning (IJCAR), D. Basin and M. Rusinowitch, Eds. vol. 3097, Lecture Notes in Artificial Intelligence, Springer-Verlag, 357--371.
[5]
Avigad, J. and Friedman, H. 2006. Combining decision procedures for the reals. Logic. Meth. Comput. Sci. 2,(4:4), 1--42.
[6]
Cornaros, C. and Dimitracopoulos, C. 1994. The prime number theorem and fragments of PA. Arch. Math. Logic 33, 4, 265--281.
[7]
Edwards, H. M. 2001. Riemann's Zeta Function. Dover Publications Inc., Mineola, NY.
[8]
Hardy, G. H. and Wright, E. M. 1979. An Introduction to the Theory of Numbers, 5th Ed. Oxford University Press, New York.
[9]
Jameson, G. J. O. 2003. The Prime Number Theorem. London Mathematical Society Student Texts, vol. 53. Cambridge University Press, Cambridge, UK.
[10]
McLaughlin, S. and Harrison, J. 2005. A proof producing decision procedure for real arithmetic. In Proceedings of the Automated Deduction---CADE-20. 20th International Conference on Automated Deduction (CADE '20). Tallinn, Estonia, R. Nieuwenhuis, Ed. Lecture Notes in Artificial Intelligence, vol. 3632, 295--314.
[11]
Nathanson, M. B. 2000. Elementary Methods in Number Theory. Springer-Verlag.
[12]
Nipkow, T., Paulson, L. C., and Wenzel, M. 2002. Isabelle/HOL. A proof assistant for higher-order logic. Lecture Notes in Computer Science, vol. 2283. Springer-Verlag.
[13]
Shapiro, H. N. 1983. Introduction to the Theory of Numbers. Pure and Applied Mathematics. John Wiley & Sons Inc.
[14]
Wenzel, M. 1997. Type classes and overloading in higher-order logic. In Proceedings of the 10th International Conference on Theorem Proving in Higher Order Logics (TPHOLs), E. Gunter and A. Felty, Eds. NJ, 307--322.
[15]
Wenzel, M. 2002. Isabelle/isar---a versatile environment for human-readable formal proof documents. Ph.D. thesis, Institut für Informatik, Technische Universität München.
[16]
Wiedijk, F. 2006. The Seventeen Provers of the World. Springer-Verlag.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Transactions on Computational Logic
ACM Transactions on Computational Logic  Volume 9, Issue 1
December 2007
250 pages
ISSN:1529-3785
EISSN:1557-945X
DOI:10.1145/1297658
Issue’s Table of Contents
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 December 2007
Published in TOCL Volume 9, Issue 1

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Prime number theorem
  2. formal verification

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)17
  • Downloads (Last 6 weeks)2
Reflects downloads up to 01 Mar 2025

Other Metrics

Citations

Cited By

View all

View Options

Login options

Full Access

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media