Published Online: Jul 09, 2022
Page range: 221 - 228
Accepted: Nov 30, 2021
DOI: https://doi.org/10.2478/forma-2021-0020
Keywords
© 2022 Karol Pąk, published by Sciendo
This work is licensed under the Creative Commons Attribution-ShareAlike 4.0 International License.
The main purpose of formalization is to prove that the set of prime numbers is diophantine, i.e., is representable by a polynomial formula. We formalize this problem, using the Mizar system [1], [2], in two independent ways, proving the existence of a polynomial without formulating it explicitly as well as with its indication.
First, we reuse nearly all the techniques invented to prove the MRDP-theorem [11]. Applying a trick with Mizar schemes that go beyond first-order logic we give a short sophisticated proof for the existence of such a polynomial but without formulating it explicitly. Then we formulate the polynomial proposed in [6] that has 26 variables in the Mizar language as follows (