This paper presents a machine verification of a real number theory where real numbers are constructed using concepts related to filters. The theory encompasses a special filter, namely the non-principal arithmetical ultrafilter whose existence can be proven with the Continuum Hypothesis, to establish several non-standard number sets: *N, *Z and *Q. The set of real numbers, R, is subsequently obtained by the equivalence classification of a specific subset of *Q. The entire theory is thoroughly formalized, with each detail verified to ensure rigor and precision. The verification is implemented using the Coq proof assistant and is grounded in the Morse–Kelley axiomatic set theory. This work contributes a new selection of foundational material for the formalization of mathematical theories.
Dou et al. (Fri,) studied this question.