English

Arithmetic in Metamath, Case Study: Bertrand's Postulate

Logic 2015-05-05 v2 Logic in Computer Science

Abstract

Unlike some other formal systems, the proof system Metamath has no built-in concept of "decimal number" in the sense that arbitrary digit strings are not recognized by the system without prior definition. We present a system of theorems and definitions and an algorithm to apply these as basic operations to perform arithmetic calculations with a number of steps proportional to an arbitrary-precision arithmetic calculation. We consider as case study the formal proof of Bertrand's postulate, which required the calculation of many small primes. Using a Mathematica implementation, we were able to complete the first formal proof in Metamath using numbers larger than 10. Applications to the mechanization of Metamath proofs are discussed, and a heuristic argument for the feasability of large proofs such as Tom Hales' proof of the Kepler conjecture is presented.

Keywords

Cite

@article{arxiv.1503.02349,
  title  = {Arithmetic in Metamath, Case Study: Bertrand's Postulate},
  author = {Mario Carneiro},
  journal= {arXiv preprint arXiv:1503.02349},
  year   = {2015}
}

Comments

16 pages, 0 figures; submitted to CICM 2015

R2 v1 2026-06-22T08:47:09.241Z