Next Article in Journal
Two-Sided Ostrowski-Type Inequalities on Time Scales Under Integrable Derivative Bounds
Previous Article in Journal
A Stochastic Model Predictive Control Strategy for Vehicle Routing with Correlated Stochastic Service Times
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Constructive Realization of the Rational, Real, and Complex Numbers via Sequences over Finite Fields of Increasing Order

by
Carmine Castaldo
1,2
1
Consorzio RFX, Corso Stati Uniti 4, 35127 Padova, Italy
2
Fusion and Nuclear Safety Department, ENEA, Via Enrico Fermi 45, 00044 Frascati, Italy
Mathematics 2026, 14(6), 1033; https://doi.org/10.3390/math14061033
Submission received: 28 November 2025 / Revised: 4 February 2026 / Accepted: 3 March 2026 / Published: 19 March 2026
(This article belongs to the Section A: Algebra and Logic)

Abstract

Based on the representation of finite field elements by fractions, an algorithmic procedure is introduced to define a field Q ( p ) = Q p , + , of discrete rational numbers. The set Q p consists of fractions m / n with m and n Z such that m < p and 0 < n < p , where p is a prime number. An isomorphism with the Galois field F p is established. Sequences q n such that n N , q n Q p ( n ) , and p ( n ) denotes the increasing sequence of primes, which are constant or convergent under suitable definitions, are used to construct fields isomorphic to Q and R , respectively. Suitable addition and multiplication operations are defined on Q p 2 with p , a non-Pythagorean prime, such that C p = Q p 2 + , is a field. Sequences z n such that n N and z n Q p n 2 , together with a suitably defined convergence criterion, are then used to construct a field isomorphic to C .
MSC:
12E20; 11Axx; 12Dxx; 12J05

1. Introduction

In computational algebra, rational reconstruction is used to recover exact rational values after performing computations in modular arithmetic. The method exploits the fact that when attention is restricted to rational numbers with bounded numerators and denominators, sufficiently, many modular images combined uniquely determine each rational number [1] (Chapter 5, Section 10) [2]. Further developments and robustness aspects of rational reconstruction have been investigated in the modern literature (see, for instance, [3,4,5]). The absolute Galois group of Q is a profinite group, realized as the inverse limit of the Galois groups of finite Galois extensions of Q , and provides a natural link between arithmetic over Q and finite algebraic data (see [6] (Chapter I, Sections 1–3, Chapter II, Section 1.1), [7] (Chapters I, VI, and VIII), and [8] (Chapters 1–2); see also, for example, the recent literature on structural and cohomological aspects of absolute Galois groups [9,10]). This perspective extends to the adelic setting: Q embeds diagonally into the adele ring A Q . For each prime p ,   the corresponding integral structure, is given by the p-adic integers Z p , which arise as the inverse limits of finite rings Z / p n Z [11] (Chapters II and IV) (see also, for instance, Ref. [12] for the role of adeles in the modern theory of Galois representations). In Robinson’s nonstandard analysis, every finite hyperreal has a standard part in R , i.e., it is infinitesimally close to a unique real number [13] (Chapter I) (see also the survey on infinitesimals and modern approaches to nonstandard analysis [14]). Taken together, these constructions illustrate an interplay between rational and real numbers and finite algebraic structures. This observation motivates the constructive realization of rational, real, and complex numbers, introduced in this work, based on sequences of elements over finite fields of increasing order.
Background on finite fields can be found in [15], Chapters 1–2. Compared with previous approaches, the present framework provides an explicit link between finite-cardinality number sets and the classical fields Q , R , and C . The starting point of the constructive approach is the observation that the elements of Galois fields F p , where p is a prime number, can be interpreted in terms of fractions m / n with m , n Z , such that m < p and 0 < n < p , defining a set Q - p . The basis of such interpretation is provided by the field property stating that any linear equation with a non-zero coefficient admits a unique solution. Therefore, there exists a unique element x of F p such that
n · x m = 0   m o d   p .
The following definitions are then introduced:
Definition 1.
A pair m , n   Q - p is called a fractional representation of an element x   F p if Equation (1) holds. It is also denoted as m / n .
Definition 2.
Two fractional representations, a , b   and   c , d ,   of the same element of F p are said to be p-equivalent. The notation a , b   ~ p   c , d is used to indicate this relation.
Definition 3.
The function
Ψ - p : m , n   Q - p   x   F p   : n · x m = 0   m o d   p  
 is said to be a complete representation of  F p .
The function Ψ - p is obviously surjective, since F p is the image of the set of pairs m , 1 , with 0 m < p , and is not injective for any p > 2 since the finite set Q - p has more elements than the finite set F p . As an illustrative example, the function Ψ - 3 is reported in Table 1.
The following theorem provides a criterion for determining equivalent representations of elements of F p :
Theorem 1.
a , b   ~ p   c , d holds if and only if
a · d b · c = 0   m o d   p .      
Theorem 2.
The relation  ~ p  is an equivalence relation in  Q - p .
The proofs of these theorems are straightforward.
Following the study by Louboutin and Murchio [16], a minimal representation of F p is obtained by restricting the complete representation to a suitable subset of Q - p . In Section 2, a specific subset Q p of this kind is constructed by means of an induction method and an algorithmic procedure.
By introducing on Q p suitable binary operations of addition and multiplication, denoted by + and , it is shown that the restriction to Q p of Q - p yields an isomorphism between Q ( p ) = Q p , + ,   and F p . The field Q ( p ) is referred to as the field of discrete rational numbers of order p . The notation Q ( p ) is adopted to avoid confusion with the field of p-adic numbers Q p .
Owing to the isomorphism with F p , the field Q ( p ) does not constitute a new algebraic structure but rather a new representation of F p . The algorithmic construction ensures that the sequence Q p ( n ) is increasing in the sense that for any positive integer n , Q p ( n ) Q p ( n + 1 ) , where p ( n ) is the increasing sequence of prime numbers. In Section 3, the sequences of discrete rational numbers q n , with q n Q p ( n ) , which are constant after a certain index, are introduced as the basic objects for the construction of rational numbers. An equivalence relation ~ K is defined on the set K of such sequences. Suitable addition ( + ) and multiplication ( ) operations are defined in Q G = K / ~ K , such that Q G = ( Q G , + , · ) is a field isomorphic to the classical field Q [17] (Chapter I). In Section 4, a set H K of convergent sequences of discrete rational numbers is introduced by adopting a suitable definition of convergence. These sequences are the basic objects used to construct the real field R [17] (Chapter V). An equivalence relation ~ H is defined in H and suitable addition ( + ) and multiplication ( ) operations are defined in R G = H / ~ H , such that R G = R G , + ,   is a field isomorphic to R . In Section 5, suitable operations of addition and multiplication are defined in Q p 2 ,   where p is a non-Pythagorean prime, in order to obtain finite fields of discrete complex numbers  C p ( n ) = Q p ( n ) 2 , + ,   . Sequences of elements of Q p ( n ) 2 , where p ( n ) is the increasing sequence of non-Pythagorean primes, together with an appropriate convergence criterion, are used to define a field ( C G ) isomorphic to the complex field C [17] (Chapter VII). Suitable distance functions are defined in Q G and R G ,   such that the corresponding isomorphisms with Q and R are also isometries, with respect to the standard distance d x , y = x y [18] (Chapter 2, Section 2.1). The isomorphism between C G and C preserves the Euclidean distance. A summary and discussion of the results, together with the possible future developments, are presented in Section 6.

2. The Field Q p : Algorithmic Procedure

Specific bijective functions Ψ p   are introduced here, as obtained from Ψ - p by restriction of its domain to a suitable subset Q p   Q - p , which is defined by the following induction and algorithmic procedure. As a prerequisite, a bijective function Ψ 3 is defined in the Table 2.
Using an inductive construction, it is assumed that a bijective function Ψ p is defined by the restriction of the domain Q - p of Ψ - p to a subset Q p   Q - p , such that if m , n Q p , then also m , n Q p . This property is fulfilled by the function Ψ 3 defined above. The following relation on elements of the subset Q p is defined.
Definition 4.
The relation  a , b p c , d  between two elements  a , b   a n d   ( c , d )  of the set  Q p  is defined by the condition that the following ordering occurs in  Z :
a · d b · c .  
It can be shown that p defines a total order relation. However, since Q p is finite, the order is not compatible with the operations of addition and multiplication. Algorithm 1 is used to construct Q s , where s is the next prime greater than the prime p .
Algorithm 1
Step 1. Set Q c = Q p .
Step 2. Iterate a loop in the ascending order (within the relation p ) among the couples a , b Q c , with a > 0 , and remove both a , b and a , b from Q c if any of them is s-equivalent to any couple c , d or c , d such that c > 0 , a , b p c , d , and a , b c , d .
Step 3. Find the pair n x , 1 Q c with the largest value of n x .
Step 4. Perform a double loop in ascending order of n, such that 0 < n n x , and in ascending order of m, such that 0 < m < n , and check if the couples m , n and m , n are not s-equivalent to any element of Q c . In that case, add them to the set Q c . If Q c contains s elements, then set Q s = Q c and stop. Otherwise, continue the iteration.
Step 5. Perform a double loop in ascending order of m, such that 0 < m n x and in ascending order of n, such that 0 < n < m , and check if the couples m , n and m , n are not s-equivalent to any element of Q c . In that case, add them to the set Q c . If Q c contains s elements, then set Q s = Q c and stop. Otherwise, continue the iteration.
Step 6. Add to Q c   the elements n x , 1 and n x , 1 , where n x = n x + 1 . If Q c has s elements, then set Q s = Q c and stop. Otherwise, set n x = n x and continue from Step 4.
The inductive construction therefore allows one to determine Q r for any prime number r ; Q 3 has been defined and, given Q p for any prime number p , Algorithm 1 allows for defining Q s for the next prime s greater than p . Note that Step 4 and Step 5 may add an even number of additional elements to the initial set Q c , as obtained by Step 2. If no additional elements have been provided by Step 4 and Step 5, then Step 6 will add in any case two elements to Q c . Due to the iteration adopted in Step 6, Q c is thus filled by an increasing odd number of elements until it has s elements. Hence, Algorithm 1 terminates after a finite number of steps. Moreover, it provides the set Q s with the required property that the function Ψ s obtained from Ψ - s by restriction of its domain to Q s is bijective. The following result holds:
Theorem 3.
If n x < s , where n x is the maximum integer such that n x , 1 Q s , Ψ s is injective.
Proof. 
The couples m , n   Q - s and m , n   Q - s are not s -equivalent if m 0 . Their equivalence, from Theorem 1, would indeed imply that:
2 · n · m = 0   m o d   s .
Therefore, by the field properties of F s , it follows that n = 0   m o d   s or m = 0   m o d   s . This leads to a contradiction since both m and n are non-zero. Moreover, the two elements n x , 1 and n x , 1 , where n x = n x + 1 , as generated by Step 6, are not s -equivalent to any element of the current set Q c if n x < s . If m , n ~ s n x , 1 by Theorem 1, it is indeed
m = n ·   n x m o d   s .  
If m 0 , this is impossible, since m n x and n x < n ·   n x   < s .
If m < 0 , Equation (5) and n   · n x   < s gives
m = n · n x s .
The largest value of the right-hand side of Equation (6) is:
max n ·   n x s = s ε 1 · s ε s .  
The first factor in parentheses maximizes n , the second factor maximizes n x , and ε is defined as ε = s I n t s , where I n t x is the largest integer such that I n t x x so that 0 < ε < 1 .
Consequently,
max n   · n x s g = 1 + 2 ε · s + ε 2 + ε < s .
Therefore, Equation (6) cannot hold, since m < s while the absolute value of the r.h.s. of Equation (6) is larger than s . If n x < s , where n x is the maximum integer such that n x , 1 Q c , then the above observations and the tests provided in both Steps 4 and 5 guarantee that Ψ s is injective. □
In addition, the following theorem has been demonstrated in [16]:
Theorem 4.
If p 3 is prime, f o r   a n y   x N   s u c h   t h a t   x   p 1 , there exists a pair m ,   n   such that m < p ,   0 < n < p and m = n ·   x   m o d   p   .
Therefore, since all the couples m ,   n :   m < s ,   0 < n < s are considered in Algorithm 1 to determine Q s , the following theorem is derived:
Theorem 5.
If n x < s , where n x is the maximum integer such that n x , 1 Q s , Algorithm 1 determines Q s   Q - s such that the restriction Ψ s of Ψ - s   to the domain Q s is surjective.
Therefore, Algorithm 1 terminates with n x < s , providing a bijective restriction Ψ s of Ψ - s   to the domain Q s . Based on Algorithm 1, a numerical implementation of the inductive procedure to determine Q p for any prime p less than an input integer value has been carried out. The values obtained for the maximum integer n x ( p ) such that n x , 1 Q p are shown in Figure 1. For comparison, the real function x is also shown as a reference curve. In the left-hand side plot of Figure 1, p ranges over the prime numbers in the interval [2, 9973], while x varies over [2, 9973]; in the right-hand side plot, p ranges over the primes in [2, 997], and x varies over [2, 997]. The points ( p , n x ( p ) ) and ( p , n x ( p ) ) , where p is the next prime greater than p , are joined by straight line segments, thus displaying the graph of n x ( p ) as a broken line for visualization purposes. The numerical results used in Figure 1 suggest the conjecture that the values n x ( p ) , as determined by Algorithm 1, are close to the limiting value p indicated by Theorem 4. More precisely, they are equal to I n t p or I n t p   1 , as occurs in the interval [2, 9973] explored. It would be interesting to prove this conjecture. The graph of n x ( p ) exhibits an overall increasing behavior, with occasional downward jumps, as shown in Figure 1, more clearly in the right-hand plot. The downward jumps are a consequence of Step 2 of Algorithm 1, which may remove ( n x p , 1 ) from the set Q c = Q p when the set Q s is generated, where s is the next prime number greater than the prime p .
As an example, the functions Ψ 47 and Ψ 199   are shown, respectively, in Table 3 and Table 4.
In Figure 2, the inverse functions Ψ 997 1 ( x ) and Ψ 9973 1 ( x ) are plotted using the representation of the discrete rational numbers ( m , n ) in terms of the fractions m / n . Figure 2 illustrates the progressive filling of the set of the fractions. This is due to the Aufbau principle embedded in Algorithm 1, producing an increasing sequence of sets Q p . The functions Ψ 997 1 ( x ) and Ψ 9973 1 ( x ) exhibit a similar characteristic pattern. The points of the graphs x , Ψ 997 1 ( x ) and x , Ψ 9973 1 ( x ) are denser near the axis of the abscissae. The numerical results shown in Figure 2 suggest the conjecture that the density of the points is larger near the axis of the abscissae and increases with p . This appears to be a direct consequence of the ordering of Step 4 and Step 5 in Algorithm 1, so that the pairs ( m , n ) with m < n are selected for the set of discrete rational numbers before selecting the pairs ( m , n ) with m > n . It would be interesting to confirm this conjecture. Even more interesting would be to calculate in closed form the set Q p instead of deriving it via an algorithmic procedure, providing the bijective mapping Ψ p . A closed-form expression for Ψ p might also characterize quantitatively the pattern shown in Figure 2.
To define the algebra of the sets Q p , the following binary operations of addition and multiplication, denoted by + and , respectively, are defined:
Definition 5.
For any a , b Q p and c , d Q p ,
a , b + c , d = Ψ p 1 Ψ p a , b + Ψ p c , d   ( m o d   p ) ;  
a , b   c , d = Ψ p 1 Ψ p a , b Ψ p c , d   m o d   p .
This definition ensures that Ψ p is an isomorphism, and Q p = Q p , + ,   is a field isomorphic to the Galois field F p . The following definitions are introduced:
Definition 6.
Any element of Q p is defined as a discrete rational number.
Definition 7.
Q ( p ) is defined as the field of discrete rational numbers of order p .
The term discrete rational number is not standard in the mathematical literature; it is used here to convey the idea of the fractional representation of the field F p provided by Q ( p ) .
As observed in the introduction, Q ( p ) is not a new field, being merely a different representation of its isomorphic field F p .
A link with the ordinary operations of addition and multiplication in Q is provided, respectively, by the following Theorems 7 and 8, which will be used in the next section devoted to the construction of Q based on the fields Q ( p ) . To this end, the equivalence relation, denoted as ~ , is defined between pairs of integer numbers, with Z o = Z 0 :
Definition 8.
a , b   Z × Z o ~   c , d   Z × Z o   a · d = b · c .
Theorem 6.
F o r   a n y   a , b Q p and c , d Q p ,   s u c h   t h a t   e , f Q p ,   w i t h
e , f   ~   a · d + b · c , b · d ,    
it follows that:
a , b + c , d = e , f .    
Proof. 
a , b Q p and c , d Q p   a = m · b + α · p , c = n · d + β · p , so that it is also Ψ p a , b = m ,   Ψ p c , d = n . Therefore,
a , b + c , d = Ψ p 1 m + n   ( m o d   p ) = Ψ p 1 a α · p b + c β · p d ( m o d   p ) = Ψ p 1 a α · p b + c β · p d · b · d b · d   ( m o d   p ) = Ψ p 1 a α · p · d b · d + c β · p · b b · d   ( m o d   p ) = Ψ p 1 a α · p · d + c β · p · b b · d   ( m o d   p ) .
The above equalities hold in Z , since a α · p · d / b · d and c β · p · b / b · d are divisions with zero remainder and b · d 0 . It is then obtained from Equation (14), being f 0 :
a , b +   c , d = Ψ p 1 a · d + b · c α · p β · p b · d   ( m o d   p ) = Ψ p 1 a · d + b · c α · p β · p b · d · f f   ( m o d   p ) = Ψ p 1 a · d + b · c · f α · p · f β · p · f b · d · f   ( m o d   p ) = Ψ p 1 e · b · d α · p · f β · p · f b · d · f   ( m o d   p ) .  
The last equality holds due to the equivalence 12 . If the quantity in the curly brackets is indicated as q , one obtains:
e · b · d α · p · f β · p · f b · d · f = q + γ · p .  
Hence, since b · d 0 has an inverse in F p , one obtains:
e = q · f   m o d   p .  
In conclusion, since e , f Q p
a , b + c , d = Ψ p 1 q = Ψ p 1 Ψ p e , f = e , f .  
Theorem 7.
F o r   a n y   a , b Q p and   c , d Q p ,   s u c h   t h a t   g , h Q p   a n d
g , h ~ a · c , b · d ,  
 it is also:
a , b ·   c , d = g , h .
Proof. 
a , b Q p and   c , d Q p   a = m · b + α · p , c = n · d + β · p , so that it is also Ψ p a , b = m ,   Ψ p c , d = n . Therefore,
a , b ·   c , d = Ψ p 1 m · n   m o d   p = Ψ p 1 a α · p b · c β · p d m o d   p = Ψ p 1 a · c α · p β · p b · d   m o d   p .
The final equality holds in Z only since a α · p / b and c β · p / d are divisions with zero remainder. It is then obtained from Equation (14) since h 0 :
a , b +   c , d = Ψ p 1 a · c α · p β · p b · d · h h   ( m o d   p ) = Ψ p 1 a · c · h α · p · h β · p · h b · d · h   ( m o d   p ) = Ψ p 1 b · d · g α · p · h β · p · h b · d · h   ( m o d   p ) .
The last equality holds due to the equivalence 18 . If the quantity in the curly brackets is indicated as r , one obtains:
b · d · g α · p · h β · p · h b · d · h = r + γ · p .    
Hence, since b · d 0 , it has an inverse in F p , so that one obtains:
g = r · h   m o d   p .      
In conclusion, since g , h Q p , it is:
a , b ·   c , d = Ψ p 1 r = Ψ p 1 Ψ p g , h = g , h .
Owing to the properties of Algorithm 1, the following theorem follows (the proof is straightforward):
Theorem 8.
If ( a ,   b ) Q p , then a and b are coprime.
A sufficient condition for ( a ,   b ) Q p is provided by the following theorem:
Theorem 9.
If a , b   a r e   c o p r i m e   a n d   l e s s   t h a n   p / 2 , then ( a ,   b ) Q p .
Proof. 
If a , b < p / 2 and ( a ,   b ) Q p by Theorem 1, there exists ( c ,   d ) Q p such that Equation (2) is fulfilled and a ,   b ( c ,   d ) . This condition follows from the fact that the set of couples with elements less than p / 2 in absolute value cannot provide a surjective mapping in F p , as its cardinality is less than p . Therefore, Algorithm 1 cannot stop before checking if ( a ,   b ) Q p so that the above condition must be verified to have that ( a ,   b ) Q p . Moreover, since all the elements of the couple of integer numbers belonging to Q p have absolute values less than p , Equation (2) can be fulfilled only if the products a b and c d have opposite signs and
a · d = b · c ± p .      
If a , b < p / 2 , the last equation is impossible since the products a · d and b · c both have absolute values less than p / 2 . □
The field Q ( p ) can be endowed with the following definition of local distance function  d p :
Definition 9.
The local distance function  d p  is given by
d p : ( x , y ) Q p 2   d p x , y = x y Q p .      
The local distance function d p does not satisfy the triangle inequality so that Q ( p ) is not a metric space with respect to it. However, the triangle inequality for x , y , z Q p holds in subsets of Q p 3 .   In this sense, Q ( p ) is a locally metric space with respect to d p .

3. Rational Numbers

The basic objects for defining the set Q are the constant sequences of discrete rational numbers. These are defined by:
Definition 10.
A sequence of discrete rational numbers  q n  such that q n Q p n ,  where  p ( n )  is the increasing sequence of primes, is called a constant sequence if there exists  m N  such that q k =   q m  for   k m . The constant value  q m  is said to be the limit of the sequence  q n , indicated by the symbol  l i m q n .
An equivalence relation ~ K is introduced on the set K of the constant sequences of discrete rational numbers by the following:
Definition 11.
Two sequences q n K and r n K are said to be K - e q u i v a l e n t ,   and the relation q n   ~ K r n holds if t h e r e   e x i s t s   m N such that q s = r s   f o r   s m .
It is straightforward to verify that two sequences of discrete rational numbers are K - e q u i v a l e n t if and only if they have the same limit value.
A set of Galois rational numbers is now introduced:
Definition 12.
The quotient set Q G = K / ~ K is called the set of Galois rational numbers.
Addition and multiplication, denoted, respectively, by + and , are defined on Q G :
Definition 13.
Given   x , y Q G , let  x n x  and  y n y  and define the constant sequences
a n = x n + y n ;  
b n = x n y n ,      
 where  +  and   denote the addition and multiplication in  Q p ( n )  as provided by Definition 5.
The addition and multiplication on Q G are defined, respectively, as:
x + y = a ;    
x y = b ,      
where a Q G , a n a , b Q G , and b n b .
To show that the operations defined above descend to the quotient, let us define x m = α , β and y m = γ , δ . Here, m is such that x n = x m and y n = y m     n m . The pairs α , β and γ , δ do not depend on the specific elements x n and y n of the respective classes x and y . Concerning the addition, let e Z and f Z such that e and f > 0 are coprime and
e f ~ α · δ + γ · β β · δ .  
By Theorem 9, f o r   a n y   n s such that e < p ( s ) / 2 and f < p ( s ) / 2 , e , f Q p ( n ) . Due to Theorem 6, it follows that x n + y n = e , f     n s . Therefore, the result of the addition x + y does not depend on the choice of representatives of the classes x and y used in Definition 13.
Concerning multiplication, define g Z and h Z such that g and h > 0 are coprime and
g h ~ α · γ β · δ .    
Due to Theorem 9, f o r   a n y   n s such that g < p ( s ) / 2 and h < p ( s ) / 2 , g , h Q p ( n ) . Due to Theorem 7, it is then x n y n = g , h     n s . Therefore, the result of the multiplication x y does not depend on the choice of representatives of the classes x and y used in Definition 13. The above-defined addition and multiplication inherit the properties of the addition and multiplication of the fields Q ( p ) . The proof that Q G = Q G , + ,   is a field is straightforward. The additive identity is the class denoted as 0 , which contains the sequence o n , o n = ( 0,1 ) for any n . The multiplicative identity is the class denoted as 1 , which contains the sequence u n , where u n = ( 1,1 ) for any n . As noted above, the elements of any equivalence class x have the same limit, which is denoted by lim x . The following order is defined on the field Q G :
Definition 14.
For  x , y Q G , the order  x G y  holds if said  α , β = l i m ( x )  and  γ , δ = l i m ( y )
α · δ β · γ .
It can be shown that the order is a total order and compatible with the addition and multiplication. Moreover, it is straightforward to prove that the field Q G is a metric space, endowed with the distance d G :
Definition 15.
For  x , y Q G , the distance  d G  is defined as  d G x , y = l i m x n y n , where  x n x  and  y n x .
One readily verifies that the definition of the distance d G is meaningful, i.e., it descends to the quotient. An ordering between the distances is established by the following:
Definition 16.
If d G x , y = α , β and d G x , y = α , β , the order d G x , y d G x , y holds if α · β β ·   α .
To compare the field Q G with the field of rational numbers Q , the latter can be defined as Q , + , , where Q = ( Z × Z o ) / ~ . The equivalence relation ~ is defined by:
a , b   Z × Z o ~   c , d   Z × Z o   a d = b c .
Given x , y Q and any pairs x 1 , x 2 x   and y 1 , y 2 y , the binary operations of addition +   and multiplication are defined as:
x + y = z   x 1 · y 2 + x 2 · y 1 , x 2 · y 2 ,
x · y = w   x 1 · y 1 , x 2 · y 2
A detailed definition and discussion of the properties of the rational numbers can be found in classical textbooks, e.g., [17] (Chapter I). The following theorem is stated:
Theorem 10.
The function Ψ : Q G Q defined by:
Ψ : x Q G : x n x ,   w i t h   m :   x n = a , b   f o r   a n y   n m   Ψ x Q :   a , b Ψ x ,
is an isomorphism, and Q G = Q G , + ,   is a field isomorphic to the field Q .
Proof. 
First, observe that the function Ψ is well defined, i.e., it descends to the quotient since all representatives of the class x have an identical constant value above a certain index. The function Ψ is injective. If x , y   Q G and Ψ x = Ψ y , then there exist two sequences ( x n x and y n y ) such that there exists an index m   w i t h   x n = a , b   a n d   y n = ( c , d )     n m and a , b Ψ x ,   c , d Ψ y =   Ψ x . The two pairs a , b and c , d are thus equivalent with respect to the equivalence relation ~ . Moreover, by Theorem 9, a and b are coprime, and c and d are coprime. Therefore a , b = c , d , so that x = y . The function Ψ is surjective. Let q Q be arbitrary and a representative a , b q such that a and b are coprime. Consider a prime p q such that a , b < p q / 2 ; hence, by Theorem 9, a , b Q p ( n ) for any n larger or equal to n q , where p q = p ( n q ) . The class x Q G that has the element x n defined by
x n = 0,1   f o r   n < n q ,   x n = a , b   f o r   n n q ,
is such that Ψ x = q .
The function Ψ preserves addition. Let x , y   Q G and two sequences x n x and y n y . There exists an index m   w i t h   x n = a , b   a n d   y n = ( c , d )     n m . Consider the integer numbers e , f > 0 such that e and f are coprime and
e , f ~ a · d + b · c , b · d .
Consider the prime number p + such that e , f < p + / 2 , so that ( e ,   f ) Q p ( n ) for n n + , where p + = p ( n + ) . Owing to Theorem 6, x n + y n = ( e ,   f ) for n n + . Hence, ( e ,   f ) Ψ ( x + y ) . Moreover, a , b Ψ ( x ) and ( c , d ) Ψ ( y ) . Consequently, it is also a · d + b · c , b · d Ψ x + Ψ ( y ) . The classes Ψ ( x + y ) and Ψ x + Ψ ( y ) are thus identical since they contain, respectively, the elements ( e ,   f ) and a · d + b · c , b · d which are equivalent with respect to ~ . □
The function Ψ preserves multiplication. Let x , y   Q G and two sequences x n x and y n y . There exists an index m   w i t h   x n = a , b   a n d   y n = ( c , d )     n m . Let us consider the integer numbers g , h > 0 such that g and h are coprime and
g , h ~ a · c , b · d .
Consider the prime number p × such that g , h < p × / 2 , so that ( g ,   h ) Q p ( n ) for n n × , where p × = p ( n × ) . Owing to Theorem 7, x n · y n = ( g ,   h ) for n n × .
Therefore, it follows that ( g ,   h ) Ψ ( x · y ) . Moreover, a , b Ψ ( x ) , ( c , d ) Ψ ( y ) , and a · c , b · d Ψ x + Ψ ( y ) . The classes Ψ ( x · y ) and Ψ x · Ψ ( y ) are thus identical since they contain, respectively, the elements ( g ,   h ) and a · c , b · d , which are equivalent with respect to the relation ~ .
It is easy to show that Ψ preserves the order and provides an isometry between d G and the distance d Q defined in Q as d Q x , y = x y . By abuse of notation, it might be indicated as Ψ 1 x the pair a , b Q p ( m ) if the sequence x n Ψ 1 x is such that x n = a , b     n m , and the element Ψ x Q such that x n x might be indicated as Ψ x n .

4. Real Numbers

The basic objects for defining the set R are the convergent sequences of discrete rational numbers. To define them, a preliminary definition is introduced:
Definition 17.
Given a sequence of discrete rational numbers q n such that n N and q n Q p n , any sequence q n m K such that q s m = q m for s m is said to be m - a s s o c i a t e d to q n .
Definition 18.
A sequence of discrete rational numbers  q n  such that  n N , q n Q p n , and  p ( n )  is the increasing sequence of primes is said to be a convergent sequence if for any positive discrete rational number   ε , there exists an index m  such that  ε Q p m  and
ε d G ( q n s , q n t ) for   all   s , t m .
The sequences q n s and q n t are, respectively, s-associated and t-associated with q n . The set H of the convergent sequences includes the set K . An equivalence relation ~ H is introduced on the set H of the convergent sequences of discrete rational numbers:
Definition 19.
Two sequences q n , r n H are said to be H - e q u i v a l e n t ,   and the relation q n   ~ H   r n holds if for any discrete rational number ε   there exists a m ε N such that
ε > d G ( q n s , r n t ) for   any   s , t m ε .
Note that the sequences q n s and r n t are, respectively, s-associated and t-associated with q n and r n . The following Lemma 1 and Lemma 2 allow one to prove that, introducing the binary operations of addition +   and multiplication · of convergent sequences, as defined in the following, one obtains a field R G = H , + , · , which is isomorphic to the field R of the real numbers.
Lemma 1.
For any convergent sequence q n , there exists an H - e q u i v a l e n t convergent sequence q ˙ n and m k N such that if a n , b n = q ˙ n , both a n   and b n are bounded by p ( n ) / 2 k   f o r   n m k .
Proof. 
For any convergent sequence q n , let q m = α m , β m Q p ( m ) and denote as S m k the set of the discrete rational numbers r = α ,   β Q p ( m ) ,   with α , β   less than p ( m ) / 2 k . Choose in S m k the element q ˙ m such that:
d G ( q ˙ n m , q n m ) = min r S m k d G r n m , q n m .
Here, q ˙ n m is a constant sequence of discrete rational numbers such that q ˙ n m = q ˙ m for n m ; q n m is a constant sequence m - a s s o c i a t e d with q n ; r n m is a constant sequence such that r n m = r for n m . For any discrete rational number ε = a ε , b ε > 0 , let m such that ε = a ε , 4 · b ε Q p ( m ) and ε d G q n m , q n t   i f   m , t m . Since the set K is dense, there exists x n K such that ε d G q n m , x n . Let l i m ( x ) = a / b with a and b > 0 coprime integer numbers and σ such that they are both less than p ( σ ) / 2 k . Therefore, a , b S j k   i f   j σ and d G ( x n , q n t ) ε   i f t m . Indeed,
d G x n , q n t d G x n , q n m + d G q n m , q n t 2 · ε = ε / 2 .
Therefore, d G q ˙ n s , q n t d G q ˙ n s , q n s + d G q n s , q n t ε   if s , t max ( σ , m ) , owing to Equation (33). This shows that q ˙ n   is a convergent sequence and q ˙ n   ~ H   q n . □
Lemma 1 leads to the following definition:
Definition 20.
For any convergent sequence q n , any convergent sequence q ˙ n   ~ H   q n such that q ˙ n = a n , b n , where a n   and b n are less than p ( n ) / 2 k for n m , is said to be a k n o r m a l   s e q u e n c e associated with q n .
Lemma 2.
For any convergent sequence q n , there exists a constant sequence q - n and m N such that q n q - n for n m .
The proof is straightforward. Lemma 2 leads to the following definition:
Definition 21.
For any convergent sequence q n , the limit of a constant sequence ( q - n ) such that q n q - n for   n m is said to be an absolute bound of q n .
The following definitions allow for the constructive realization of the field of real numbers.
Definition 22.
The quotient R G = H / ~ H is said to be the set of Galois real numbers.
Definition 23.
For any x R G and y R G , with x n x and y n y , the operations of addition and multiplication are defined, respectively, as
x + y = a ;
x y = b ,  
with x n + y n a and x n · y n b .
Definition 23 descends to the quotient. Concerning the addition, note that x n + y n is a convergent sequence since
d G x n s + y n s , x n t + y n t d G x n s , x n t + d G y n s , y n t .    
Moreover, if x ˙ n ~ H x n and y ˙ n ~ H y n , it is true that x ˙ n + y ˙ n ~ H x n + y n since
d Q x ˙ n s + y ˙ n s , x n t + y n t d G x ˙ n s , x n t + d Q y ˙ n s , y n t .  
Concerning the multiplication, x n · y n is a convergent sequence since
d G x n s · y n s , x n t · y n t = lim x n s · y n s x n t · y n t = lim x n s x n t · y n s + x n t · y n s y n t lim x n s x n t · y n s + lim x n t · y n s y n t lim x n s x n t · lim y n s + h x · lim y n s y n t = d G x n s , x n t · h y + h x · d G y n s , y n t .
Here, h x and h y are, respectively, an absolute bound of x n and y n . Moreover, if x ˙ n ~ H x n and y ˙ n ~ H y n , then x ˙ n · y ˙ n ~ H x n · y n since
d G x ˙ n s · y ˙ n s , x n t · y n t = lim x ˙ n s · y ˙ n s x n t · y n t = lim x ˙ n s x n t · y ˙ n s + x n t · y ˙ n s y n t lim x ˙ n s x n t · y ˙ n s + lim x n t · y ˙ n s y n t lim x ˙ n s x n t · lim y ˙ n s + h x · lim y ˙ n s y n t = d G x ˙ n s , x n t · h y ˙ + h x · d G y ˙ n s , y n t .    
Here, h x and h y ˙ denote, respectively, the absolute bound of x n and y ˙ n . It is easy to show that both the equivalences x ˙ n + y ˙ n ~ H x n + y n and x ˙ n · y ˙ n ~ H x n · y n hold, based on the inequalities provided, respectively, by Equations (38) and (39).
The addition and multiplication defined above inherit the properties of the addition and multiplication of the fields Q ( p ) and the proof that R G = R G , + ,   is a field is straightforward. The additive identity is the class denoted as 0 , which contains the sequence o n , where o n = ( 0,1 ) for any n . The multiplicative identity is the class denoted as 1 , which contains the sequence u n , where u n = ( 1,1 ) for any n . A comprehensive definition and discussion of the properties of the field R of the real numbers is provided in classical textbooks, e.g., [17] (Chapter V). A brief summary is now given for a comparison with the field R G defined above. First, the following definitions are introduced:
Definition 24.
A sequence q n of rational numbers is said to be a Cauchy sequence if, for any positive ε Q , there exists m N such that q s q t   ε   f o r   s , t m .
Definition 25.
Two Cauchy sequences   a n , b n are said to be equivalent, with the notation a n ~ c b n , if for any ε > 0 Q , there exists m N such that a n b n   ε   f o r   n m .
The field of the real numbers R can be defined as R , + , , where R = S c / ~ c , S c is the set of the Cauchy sequences, and the binary operations of addition and multiplication of two elements   a , b R   are defined, respectively, as:
a + b = c ;    
a b = d ,      
where a n a , b n b , a n + b n c , and a n b n d .
The following theorem is stated:
Theorem 11.
The function Ψ ~ : R G R defined by
Ψ ~ : x R G : x m x Ψ ~ x R :   Ψ x m n Ψ ~ x ,
 is an isomorphism, and R G = R G , + ,   is a field isomorphic to the field R .
For clarity, it should be noted that the function Ψ ~ is defined by the following steps:
(1)
For x R G , a representative of x is chosen as the convergent sequence x m
(2)
For each integer n 1 , consider the sequence x m n K , such that x m n = x n for m n
(3)
For each integer n 1 , q n Q is obtained given q n = Ψ x m n
(4)
The sequence q n is a Cauchy sequence, which is an element of the equivalence class, with respect to the relation ~ c , denoted as Ψ ~ x R
(5)
The function Ψ ~ maps x R G to Ψ ~ x R .
Proof. 
It is first proved that q n is a Cauchy sequence. For any positive ε Q , there are two positive coprime integer numbers a ε , b ε and a positive integer l such that a ε , b ε   are less than p ( l ) / 2 and ε = ( a ε , b ε ) . Therefore, ε Q p ( l ) is also a discrete rational number. Since x m is a convergent sequence, there exists l l such that d x m s , x m t ε for s , t l . The definition of the distance implies that l i m x m s x m t ε for s , t l . The definition of the isomorphism Ψ thus implies q s q t ε for s , t l . It is then proved that Ψ ~ descends to the quotient of its domain. Let x ˙ m x and q ˙ n = ( Ψ x ˙ m n ) . Since x ˙ m ~ H x m , there exists l l such that d x ˙ m s , x m t ε for s , t l . The definition of the distance implies that l i m x ˙ m s x m t ε for s , t l . The definition of the isomorphism Ψ thus implies q ˙ s q t ε for s , t l . Hence, q n and q ˙ n are elements of the same equivalence class Ψ ~ x . The function Ψ ~ is surjective. Let us consider a Cauchy sequence q n and a positive ε Q such that ε = ( 1 , m ) with positive integer m . There exists a positive integer number μ ( m ) such that both ( a m , b m ) q μ ( m )   a n d   ε Q p μ ( m ) and q s q t   ε   f o r   s , t μ ( m ) . Consider the sequence of rational numbers x n such that it is x n = ( a n , b n ) if μ ( n ) n μ ( n + 1 ) . The sequence x n is convergent. For any positive discrete rational number δ , there exists a positive integer number m such that δ ε and ε = ( 1 , m ) Q p μ ( m ) . Therefore, it is δ ε d ( x n s , x n t )   f o r   s , t μ ( m ) . The function Ψ ~ maps x x n to Ψ x m n q ˙ n = ( a n , b n ) if μ ( n ) n μ ( n + 1 ) . It can then be verified that q ˙ n   ~ c   q n . The function Ψ ~ preserves the addition and multiplication. Let us consider x , y   R G and, based on Lemma 1, two representative elements x ˙ l x and y ˙ l x as 8 n o r m a l sequences. This implies that there exists m N such that if a n , b n = x ˙ n and c n , d n = y ˙ n , being x ˙ n , y ˙ n Q p n , the integer numbers   a n , b n , c n , d n are less than p ( n ) / 2 8 for n m . Hence, within Q p n , by Theorems 6 and 7, for n m 12 ,
x ˙ n + y ˙ n = a n , b n + c n , d n = a n · d n + b n · c n , b n · d n ;
x ˙ n · y ˙ n = a n , b n · c n , d n = a n · c n , b n · d n .      
Indeed, a n · d n , a n · c n , b n · c n , b n · d n p ( n ) / 2 4 < p ( n ) / 2 for n m . Therefore, by Theorem 9, they are elements of Q p n . In addition, for n m and if m 12 ,
a n · d n + b n · c n a n · d n + b n · c n 2 · p ( n ) / 2 4 < p ( n ) / 2 .
The last inequality follows from the condition m 12 so that p n 37 > 2 5 . It ensures, by Theorem 9, that a n · d n + b n · c n   Q p n . In conclusion, for n m 12 , it is:
Ψ x l n + y l n = Ψ x l n + Ψ y l n ;
Ψ x l n · y l n = Ψ x l n · Ψ y l n .      
Hence, Ψ ~ x + y = Ψ ~ x + Ψ ~ y and Ψ ~ x · y = Ψ ~ x · Ψ ~ y . □
The order and the distance function d G ~ on R G are defined, respectively, as:
Definition 26.
For x , y R G the order x G ~ y holds if, for x n x and y n x , there exists m N such that x n s G y n s for s m .
Definition 27.
The distance function d G ~   is defined on R G by:
( x , y ) R G 2 d G ~ x , y = x y R G .
It can be verified that Ψ ~ preserves the order and is an isometry between d G ~ and the distance function d R defined in R by d R x , y = x y . With respect to these metrics, the fields R G and R are complete.

5. Complex Numbers

In this section, non-Pythagorean primes p are used to define the field of discrete complex numbers  C p = Q p 2 ,   + ,   . The addition and multiplication are defined by algebraic rules analogous to those of the complex numbers, as follows:
Definition 28.
For any x = ( a , b ) Q p 2 and y = ( c , d ) Q p 2 , the operations of addition and multiplication are defined, respectively, as:
a , b + c , d = a + c , b + d ;
a , b c , d = a c b d ,   a d + b c .      
The operations on the right-hand side in Equations (46) and (47) are performed in Q p . It can be shown that C p is a field. The additive and multiplicative identities are 0,0 = ( 0,1 , 0,1 )   and 1,0 = ( 1,1 , 0,1 ) , respectively. It is worth noting that the need of non-Pythagorean primes p emerges when considering the solutions of the linear system in the field Q p , which arises in the computation of the inverse of a , b 0 ,   0 with respect to the multiplication defined in Q p 2 by Equation (47), namely:
a , b x , y = 1,0 .    
This equation can also be written in matrix form:
  a b b a       x y   =   1 0   .
It has a unique solution provided that a 2 + b 2 0   m o d ( p ) , which implies that p must be a non-Pythagorean prime to ensure that C p is a field, since the inverse with respect to the multiplication for any element a , b 0 ,   0 must exist and be unique. If z = a , b Q p 2 , the elements a , b are said, respectively, to be the real part and the imaginary part of z , indicated as R e ( z ) and I m ( z ) . It should be emphasized that this is an abuse of notation, as it concerns elements of Q p 2 and not the real and imaginary parts of complex numbers. The discrete complex number i = 0,1   Q p 2 is called the imaginary unit of C p , such that i · i = 1,0 .
Owing to Dirichlet’s theorem [19] (Chapter 4), the set of non-Pythagorean prime numbers is infinite, so that sequences of discrete complex numbers can be defined. In particular, constant sequences are introduced by the following:
Definition 29.
A sequence of discrete complex numbers z n , such that z n Q p ( n ) 2 and p ( n ) is the increasing sequence of non-Pythagorean prime numbers, is said to be a constant sequence if there exists a positive integer number m such that z k =   z m for   k m . The constant value z m is said to be the limit value of the sequence z n , indicated by the symbol l i m z n .
Moreover, an equivalence relation ~ K 2 is introduced in the set K 2 of the constant sequences of discrete complex numbers by the following:
Definition 30.
Two sequences z n K 2 and w n K 2 are said to be K 2 - e q u i v a l e n t ,   and the relation z n   ~ K 2 w n holds if t h e r e   e x i s t s   m N such that z s = w s   f o r   s m .
One readily verifies that two sequences of discrete complex numbers are K 2 - e q u i v a l e n t if and only if they have the same limit value.
This allows one to introduce a set of Galois r-complex numbers:
Definition 31.
The quotient set C r G = K 2 / ~ K 2 is said to be the set of Galois r-complex numbers.
Binary operations of addition and multiplication are defined on C r G , denoted, respectively, as + and , namely:
Definition 32.
Given   x , y C r G , let x n x and y n y and define the constant sequences:
a n = x n + y n ;    
b n = x n y n ,      
 where + and denote, respectively, the addition and multiplication in C p . The addition and multiplication in C r G are thus defined, respectively, as:
x + y = a ;    
x y = b ,      
 where a , b C r G , a n a , and b n b .
The operations defined above descend to the quotient. The proof is analogous to that provided concerning the addition and multiplication in Q G . The addition and multiplication defined above inherit the properties of the addition and multiplication of the fields C p , and the proof that C r G = C r G , + ,   is a field is straightforward.
The additive identity is the class denoted as 0 - , which contains the sequence o - n , and o - n = 0,1 , ( 0,1 ) for any n . The multiplicative identity is the class denoted as 1 - , which contains the sequence u - n , with u - n = 1,1 , ( 0,1 ) for any n . All the elements of an equivalence class x have the same limit value, which is denoted as lim x .
It is easy to show that the field C r G is a metric space, endowed with the distance function d r G :
Definition 33.
For x , y C r G , a n , b n x , and c n , d n y , the distance function d r G is defined as
d r G x , y = lim a n c n + l i m b n d n .      
One readily verifies that the definition of the distance d r G is meaningful, i.e., it descends to the quotient. From a formal point of view, to avoid any reference to the field Q G and the relevant notion of limit, one might define identically:
d r G x , y = R e ( l i m x y ) + I m ( l i m x y ) .  
The adoption of this distance [20] (Chapter 1) is useful in the present context. The Euclidean distance is not suitable since the square root cannot be performed as an internal operation. An ordering between the distances is established by the following:
Definition 34.
If d r G x , y = α , β and d r G x , y = α , β , the order d r G x , y d r G x , y holds if α · β β ·   α .
The field C r G is not a new field; rather, it is a different representation of the complex quadratic field Q ( i ) [21] (Chapter 1). The latter is defined as Q 2 , + , · , with addition and multiplication given by:
Definition 35.
For any x = ( a , b ) Q 2 and y = ( c , d ) Q 2 , the operations of addition and multiplication are defined, respectively, as:
a , b + c , d = a + c ,   b + d ,      
a , b c , d = a c b d ,   a d + b c .  
The operations on the right-hand side in Equations (56) and (57) are performed in Q .
Consider the following function:
Ψ 2 : x C r G , ( a n , b n ) x Ψ 2 x = Ψ a n , Ψ b n Q 2 .
It is well defined in the sense that it descends to the quotient. Based on analog proofs performed in previous sections, it is easy to prove that Ψ 2 is an isomorphism, and C r G is a field isomorphic to Q ( i ) . Moreover, one can define in Q ( i ) the distance function:
d 1 : x , y Q 2 ,   w i t h   x = a , b , y = c , d     d 1 x , y = a c + b d .
It can be shown that Ψ 2 is also an isometry, with respect to d r G and d 1 .
The basic objects used to obtain a field that is isomorphic to the field C of the complex numbers are the convergent sequences of discrete complex numbers. These are introduced by the following definitions:
Definition 36.
Given a sequence of discrete complex numbers z n such that n N and z n Q p ( n ) 2 , any sequence z n m K 2 such that z s m = q m for s m is said to be m a s s o c i a t e d with z n .
Definition 37.
A sequence of discrete complex numbers z n such that n N and z n Q p ( n ) 2 is said to be a convergent sequence if for any positive discrete rational number   ε there exists m N such that ε Q p m and
ε d r G ( z n s , z n t ) if   s , t m .
The sequences z n s and z n t are, respectively, s-associated and t-associated with z n . The set H 2 of the convergent sequences includes the set K 2 . An equivalence relation ~ H 2 is introduced in the set H 2 of the convergent sequences of discrete complex numbers:
Definition 38.
Two sequences z n , w n H 2 are said to be H 2 - e q u i v a l e n t ,   and the relation z n   ~ H 2   w n holds if for any discrete rational number ε   there exists m ε N such that
ε d r G ( z n s , w n t ) for   any   s , t m ε .
Note that the sequences z n s and w n t are, respectively, s-associated and t-associated with z n and w n . The following Lemma 3 and Lemma 4 allow one to prove that, introducing the binary operations of addition +   and multiplication · of convergent sequences, as defined in the following, one obtains a field C G = H 2 , + , · , which is isomorphic to the field C .
Lemma 3.
For any convergent sequence z n , there exists an H 2 - e q u i v a l e n t convergent sequence z ˙ n and m k N such that letting a n , b n , ( c n , d n ) = z ˙ n , where a n , b n , c n , d n are less than p ( n ) / 2 k   f o r   n m k .
The proof can be easily obtained by adopting the method used for the proof of Lemma 1. Lemma 3 leads to the following:
Definition 39.
For any convergent sequence of discrete complex numbers z n , any convergent sequence z ˙ n   ~ H 2   z n such that z ˙ n = a n , b n , ( c n , d n ) , with a n , b n , c n , d n less than p ( n ) / 2 k for n m , is said to be a k n o r m a l   s e q u e n c e associated with z n .
Lemma 4.
For any convergent sequence z n , there exists a constant sequence z - n and m N such that
R e ( z n ) + | I m ( z n ) | | R e ( z - n ) | + | I m ( z - n ) | for     n m .
The proof is straightforward. Lemma 4 leads to the following:
Definition 40.
For any convergent sequence z n , a constant sequence z - n , such that
R e ( z n ) + I m ( z n ) R e ( z - n ) + I m ( z - n ) for     n m ,
is said to be a bounding sequence of z n , and l i m R e ( z - n ) + I m ( z - n ) is called an absolute bound of z n .
The following definitions allow for the constructive realization of a field isomorphic to C :
Definition 41.
The quotient C G = H 2 / ~ H 2 is said to be the set of Galois complex numbers.
Definition 42.
For any x C G and y C G , letting x n x and y n y , the operations of addition and multiplication are defined, respectively, as:
x + y = a ;      
x y = b ,  
with x n + y n a and x n · y n b .
Definition 42 is meaningful, i.e., it descends to the quotient. The relevant proof can be easily obtained, based on Lemma 4 and Definition 40, by the same method used above to prove that Definition 23 descends to the quotient. The addition and multiplication defined above inherit the properties of the addition and multiplication of the fields C p , and the proof that C G = C G , + ,   is a field is straightforward. The additive identity is the class denoted as 0 - , which contains the sequence ( o - n ) . The multiplicative identity is the class denoted as 1 - , which contains the sequence ( u - n ) . The field C G is now compared with the field of complex numbers C . A comprehensive definition and discussion of the properties of the field C of the complex numbers is provided in classical textbooks, e.g., [17] (Chapter VII). Here, a less common definition is adopted, which is based on Cauchy sequences of pairs of rational numbers within the metric d 1 defined above. However, this is equivalent to the standard definition based on pairs of Cauchy sequences of rational numbers, i.e., on pairs of real numbers. As a preliminary step, the following definitions are introduced:
Definition 43.
A sequence z n of elements of Q 2 is said to be a Cauchy sequence in Q 2 if, given any ε > 0 Q , there exists m N such that d 1 z s , z t   ε   f o r   s , t m .
Definition 44.
Two Cauchy sequences z n , w n   are said to be equivalent, with the notation z n ~ c 1 w n , if for any positive ε Q there exists m N such that d 1 z n , w n   ε   f o r   n m .
The field of the complex numbers C can be defined as C , + , , where C = S c 1 / ~ c 1 , with S c 1 being the set of the Cauchy sequences in Q 2 , and the binary operation of addition and multiplication of two elements   a , b C   are defined, respectively, as:
a + b = c ;      
a b = d .      
Here, a n a , b n b , a n + b n c , and a n b n d , and the relevant operations are defined as in Q ( i ) .
The following theorem is now stated:
Theorem 12.
The function Ψ ^ : C G C defined by:
Ψ ^ : z C G : z m z Ψ ^ z C :   Ψ 2 z m n Ψ ^ x ,
is an isomorphism, and C G is a field isomorphic to the field C .
For clarity, it should be noted that the function Ψ ^ is defined by means of the following steps:
(1)
For z C G , a representative of z is chosen as the convergent sequence z m
(2)
For each integer n 1 , consider the sequence z m n K 2 , such that z m n = z n for m n
(3)
For each integer n 1 , z n Q 2 is obtained given z n = Ψ 2 z m n
(4)
The sequence z n is a Cauchy sequence in Q 2 , which is an element of the equivalence class Ψ ^ z C , with respect to the relation ~ c 2
(5)
The function Ψ ^ maps z C G to Ψ ^ z C .
The proof of Theorem 12 can be obtained adopting the same method used to prove Theorem 11. After having established that C G and C are isomorphic via Ψ ^ , the Euclidean distance is now introduced:
Definition 45.
For x , y C G , their Euclidean distance is defined as:
d G 2 x , y = R e x y 2 + I m x y 2 .
One readily verifies that Ψ ^ is an isometry between d G 2 and the Euclidean distance defined in C :
d 2 x , y = R e x y 2 + I m x y 2 ,
for x , y C . With respect to these metrics, the fields C G and C are complete.

6. Summary and Discussion

An algorithmic procedure (Algorithm 1) has been introduced as the basis for an explicit realization of a finite field Q ( p ) = ( Q p , + , · ) , which is isomorphic to the Galois field F p = F p , + , · , for any prime number p . Its elements, called discrete rational numbers, are given as a set Q p of fractions a / b , such that a , b > 0 Z , and a , b are coprime. Q ( p ) is not a new field, being merely a different representation in terms of fractions of the isomorphic field F p . This representation was made possible thanks to the theorem due to Laboutin and Murchio [1], here reported as Theorem 4, which allows for a minimal representation of the elements of F p in terms of fractions of integer numbers with absolute values less than p . Actually, numerical results, as shown in Figure 1, suggest that the specific representation obtained by Algorithm 1 is achieved with integer numbers with maximum absolute values equal to I n t p or I n t p   1 . An interesting direction for future work is to confirm this conjecture. Even more interesting would be to calculate the set Q p and the relevant bijective mapping into F p in closed form instead of deriving it via an algorithmic procedure. Discrete rational numbers are used as basic objects to construct fields isomorphic to the classical fields of the rational, real, and complex numbers. Sequences q n of discrete rational numbers such that q n Q p ( n ) , where q n = q m for n m N , are introduced, considering the increasing sequence p ( n ) of the prime numbers. Such constant sequences, provided with an equivalence relation, naturally based on the equality of the limit values, and with addition and multiplication term by term, define a field Q G isomorphic to Q . The isomorphism established between Q G and Q is also an isometry between the distance functions, defined on Q G as the limit value of the absolute value of the differences term by term and on Q as the absolute value of the difference of rational numbers. The definition of distance on Q G also allows one to introduce a suitable definition of Cauchy sequences q n of discrete rational numbers and the relevant equivalence relation. To this end, the constant sequences q n m , derived from q n by the condition q n m = q n for n m N , have been used.
A field R G is obtained by defining the addition and multiplication term by term within the equivalence class R G of the Cauchy sequences of discrete rational numbers. It is proven that R G is isomorphic to R . The isomorphism established in Theorem 11 is also an isometry with respect to the function distance defined in R G 2 and in R 2 by the absolute value of the difference x y for any given pair x , y . The fields R G and R are complete with respect to such a metric. An analogous method is used to define a field C p of pairs of discrete rational numbers, provided with the definitions of addition and multiplication algebraically equivalent to those adopted in C , and then to define a field C r G , based on constant sequences, which is isomorphic to Q ( i ) . An important point is that the prime numbers involved must be non-Pythagorean. This is required to ensure that any non-zero pair in the set of pairs of discrete rational numbers has a unique inverse with respect to the multiplication. The isomorphism between C r G and Q ( i ) is also an isometry with respect to distance functions defined on C r G and Q ( i ) as d r G x , y = R e ( l i m x y ) + I m ( l i m x y ) and d 1 x , y = R e x y + I m x y , respectively. Here, R e z and I m z give, respectively, the first and second elements of the pair z = ( a , b ) . The distance d r G is then used to define Cauchy sequences of pairs of discrete rational numbers, the relevant equivalence relation, and, adopting addition and multiplication term by term, a field C G   isomorphic to C . The isomorphism, as defined in Theorem 12, is also an isometry with respect to the Euclidean metric in C G and C , which are complete metric spaces with respect to it. In summary, a constructive realization of rational, real, and complex numbers based solely on finite fields has been obtained. The construction provides an explicit link between finite cardinality number sets and the classical fields Q , R , and C . The applications of the field Q ( p ) , briefly discussed in the following, represent potential avenues of research rather than a concrete plan of work. Q ( p ) might have applications in the framework of computational physics. Modeling of physical systems can be performed by means of approximations of differential and integral operators in terms of finite differences and sums. By appropriate normalization, the spectrum of values of the physical quantities involved might be limited to a suitably small range, such that the discrete rational numbers are sufficiently dense to capture the essential physical values. In this vein, it should be noted that the mappings Ψ p 1 are concentrated around small fractions, as shown in Figure 2. Therefore, a computation based on Q ( p )   might benefit from modular arithmetic combined with a rich spectral coverage, possibly leading to efficient calculations. However, this requires controlling the effects of aliasing and discretization arising from the adoption of finite fields, in analogy with signal processing based on the discrete Fourier transform (see [22] (Chapters 2, 4, and 8)). It should be noted that operational definitions of the measure of a physical quantity do not in practice require the use of infinitesimal or infinite numbers. Measurement outcomes are conventionally described by a pair of quantities expressed in a given unit of measure: an expected value and an experimental uncertainty. Both quantities can be represented as elements of discrete subsets of rational numbers. This observation suggests that physical measurements may be consistently modeled within discrete rational numbers, opening the possibility for applications of the fields Q ( p ) in physical theories. In this vein, a finite structure of space–time with coordinates in Q ( p ) 4 might be considered, following the framework of general or special relativity [23] (Chapters 2 and 8–11). Within this approach, owing to the adoption of finite fields, no global causal structure is allowed. Consequently, the assumptions required to formulate Bell inequalities [24] cannot be applied globally. This allows for a classical-like formulation of quantized fields that would otherwise be forbidden by Bell’s theorem, based on finite space–time. This possibility has been explored in previous approaches such as causal set theory [25] and causal dynamical triangulation [26], which formulate a consistent quantum field theory on discrete or finite space–times.
A further possible application of the fields Q ( p ) and C p concerns the approximation of real or complex functions by sequences of functions (see [18] (Chapter 7)). It is known that every mapping in a finite field can be expressed by a polynomial, as reminded by Paul Moritz Cohn in his preface to [15]. However, rational functions might be used to extend the spectrum of functions defined in C p to approximate analytic functions. This appears to be a promising direction, since Runge’s theorem ensures that any function analytic on a domain can be uniformly approximated on compact subsets by rational functions with poles outside the domain [27] (Chapter VIII).

Funding

This research received no external funding.

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Acknowledgments

The author sincerely thanks Lorenzo Della Volpe for carefully reading the manuscript and for providing several insightful comments that improved both the technical accuracy and the English quality of the paper.

Conflicts of Interest

The author declares no conflict of interest.

References

  1. von zur Gathen, J.; Gerhard, J. Modern Computer Algebra; Cambridge University Press: Cambridge, UK, 1999. [Google Scholar]
  2. Wang, P.S.; Guy, M.J.T.; Davenport, J.H. P-adic reconstruction of rational numbers. ACM SIGSAM Bull. 1982, 16, 2–3. [Google Scholar] [CrossRef]
  3. Bohm, J.; Decker, W.; Fieker, C.; Pfister, G. The use of bad primes in rational reconstruction. Math. Comp. 2015, 84, 3013–3027. [Google Scholar] [CrossRef]
  4. Abbott, J. Fault-tolerant modular reconstruction of rational numbers. J. Symb. Comput. 2017, 80, 707–718. [Google Scholar] [CrossRef]
  5. Abbondati, M.; Guerrini, E.; Lebreton, R. Simultaneous rational number codes: Decoding beyond half the minimum distance with multiplicities and bad primes. J. Symb. Comput. 2026, 132, 102481. [Google Scholar] [CrossRef]
  6. Serre, J.P. Galois Cohomology, 1st ed.; Springer: Berlin/Heidelberg, Germany, 1997. [Google Scholar]
  7. Neukirch, J.; Schmidt, A.; Wingberg, K. Cohomology of Number Fields, 2nd ed.; Springer: Berlin/Heidelberg, Germany, 2008. [Google Scholar]
  8. Ribes, L.; Zalesskii, P. Profinite Groups, 2nd ed.; Springer: Berlin/Heidelberg, Germany, 2010. [Google Scholar]
  9. Efrat, I. The Zassenhaus filtration, Massey products, and representations of profinite groups. Adv. Math. 2014, 263, 389–411. [Google Scholar] [CrossRef]
  10. Mináč, J.; Tân, N.D. Triple Massey products and Galois theory. J. Eur. Math. Soc. 2017, 19, 255–284. [Google Scholar] [CrossRef]
  11. Weil, A. Basic Number Theory; Springer: Berlin/Heidelberg, Germany, 1973. [Google Scholar]
  12. Taylor, R. Galois representations. Ann. Fac. Sci. Toulouse Math. 2004, 13, 73–119. [Google Scholar] [CrossRef]
  13. Robinson, A. Non-Standard Analysis, Revised ed.; North-Holland Publishing Co.: Amsterdam, The Netherlands, 1974. [Google Scholar]
  14. Fletcher, P.; Hrbáček, K.; Kanovei, V.; Katz, M.G.; Lobry, C.; Sanders, S. Approaches to analysis with infinitesimals following Robinson, Nelson, and others, in Nonstandard Analysis: Theory and Applications. Springer Proc. Math. Stat. 2019, 298, 79–136. [Google Scholar]
  15. Lidl, R.; Niederreiter, H. Finite Fields, 2nd ed.; Cambridge University Press: Cambridge, UK, 1997. [Google Scholar]
  16. Louboutin, S.; Murchio, A. Representation of the elements of the finite field F p by fractions. Period. Math. Hung. 2019, 79, 218–220. [Google Scholar] [CrossRef]
  17. Bourbaki. Éléments de Mathématique–Algèbre; Springer: Berlin/Heidelberg, Germany, 2004. [Google Scholar]
  18. Rudin, W. Principles of Mathematical Analysis, 3rd ed.; McGraw-Hill: Columbus, OH, USA, 1976. [Google Scholar]
  19. Apostol, T.M. Introduction to Analytic Number Theory; Springer: Berlin/Heidelberg, Germany, 2010. [Google Scholar]
  20. Kreyszig, E. Introductory Functional Analysis with Applications; John Wiley & Sons: Hoboken, NJ, USA, 1989. [Google Scholar]
  21. Marcus, D.A. Number Theory, 2nd ed.; Springer: Berlin/Heidelberg, Germany, 2018. [Google Scholar]
  22. Oppenheim, A.V.; Shafer, R.W. Discrete-Time Signal Processing, 3rd ed.; Prentice Hall/Pearson: Paramus, NJ, USA, 2013. [Google Scholar]
  23. Misner, C.W.; Thorne, K.S.; Wheeler, J.A. Gravitation; Princeton University Press: Princeton, NJ, USA, 2017. [Google Scholar]
  24. Brunner, N.; Cavalcanti, D.; Pironio, S.; Scarani, V.; Wehner, S. Bell nonlocality. Rev. Mod. Phys. 2014, 86, 419–478. [Google Scholar] [CrossRef]
  25. Bombelli, L.; Lee, J.; Meyer, D.; Sorkin, R.D. Space-time as a causal set. Phys. Rev. Lett. 1987, 59, 521–524. [Google Scholar] [CrossRef] [PubMed]
  26. Ambjørn, J.; Jurkiewicz, J.; Loll, R. Emergence of a 4D world from causal quantum gravity. Phys. Rev. Lett. 2004, 93, 131301. [Google Scholar] [CrossRef] [PubMed]
  27. Conway, J.B. Functions of One Complex Variable I, 2nd ed.; Springer: Berlin/Heidelberg, Germany, 1978. [Google Scholar]
Figure 1. In the left plot, the maximum integer n x ( p ) such that n x , 1 Q p is plotted versus p 9973 (black, step line, joining by a straight line segment the points ( p , n x ( p ) ) and ( p , n x ( p ) ) , where p is the next prime greater than p ) and compared to the function x with x 9973 (red line). In the right plot, smaller values of p   and x are considered.
Figure 1. In the left plot, the maximum integer n x ( p ) such that n x , 1 Q p is plotted versus p 9973 (black, step line, joining by a straight line segment the points ( p , n x ( p ) ) and ( p , n x ( p ) ) , where p is the next prime greater than p ) and compared to the function x with x 9973 (red line). In the right plot, smaller values of p   and x are considered.
Mathematics 14 01033 g001
Figure 2. Plot of the functions Ψ 997 1 ( x ) (left) and (right) Ψ 9973 1 ( x ) vs. the integer x . The image pairs ( m , n ) are shown as rational numbers m / n . Most points are located near the horizontal axis m / n = 0 owing to the structure of Algorithm 1.
Figure 2. Plot of the functions Ψ 997 1 ( x ) (left) and (right) Ψ 9973 1 ( x ) vs. the integer x . The image pairs ( m , n ) are shown as rational numbers m / n . Most points are located near the horizontal axis m / n = 0 owing to the structure of Algorithm 1.
Mathematics 14 01033 g002
Table 1. The values of the function Ψ - 3 ( m , n ) are indicated in the cells identified by the column with the label m and by the row with the label n
Table 1. The values of the function Ψ - 3 ( m , n ) are indicated in the cells identified by the column with the label m and by the row with the label n
m = −2m = −1m = 0m = 1m = 2
n = 112012
n = 221021
Table 2. The bijective function Ψ 3 defined in Q 3 = 1,1 , 0,1 , 1,1   Q - 3 .
Table 2. The bijective function Ψ 3 defined in Q 3 = 1,1 , 0,1 , 1,1   Q - 3 .
(m, n)(−1,1)(0,1)(1,1)
Ψ 3 201
Table 3. The table shows the bijective function Ψ 47 : ( m , n ) Q 47 Ψ 47 ( m , n ) F 47 . Bold elements are the additive and multiplicative identities.
Table 3. The table shows the bijective function Ψ 47 : ( m , n ) Q 47 Ψ 47 ( m , n ) F 47 . Bold elements are the additive and multiplicative identities.
m / n Ψ47 (m,n) m / n Ψ47 (m,n)
−6/1411/68
−5/1421/519
−4/1431/412
−3/1441/316
−5/2212/538
−2/1451/224
−5/3143/510
−3/2222/332
−4/3303/436
−5/4344/529
−6/5275/640
−1/1461/11
−5/676/520
−4/5185/413
−3/4114/317
−2/3153/225
−3/5375/333
−1/2232/12
−2/595/226
−1/3313/13
−1/4354/14
−1/5285/15
−1/6396/16
0/10
Table 4. The table shows the bijective function Ψ 199 : ( m , n ) Q 199 Ψ 199 ( m , n ) F 199 . Bold elements are the additive and multiplicative identities.
Table 4. The table shows the bijective function Ψ 199 : ( m , n ) Q 199 Ψ 199 ( m , n ) F 199 . Bold elements are the additive and multiplicative identities.
m / n Ψ199 (m,n) m / n Ψ199 (m,n) m / n Ψ199 (m,n) m / n Ψ199 (m,n) m / n Ψ199 (m,n)
−14/1185−7/632−4/13155/14436/541
−13/1186−8/7141−3/101394/111275/451
−12/1187−9/8173−2/7853/8759/7115
−11/1188−11/10178−3/11545/13314/3134
−10/1189−1/1198−1/41492/5807/581
−9/1190−11/1282−3/13615/121710/7172
−8/1191−9/1019−2/9443/71713/2101
−7/1192−8/9176−1/51594/91118/5121
−13/293−7/824−2/11365/111095/368
−6/1193−6/756−1/6336/137712/787
−11/294−5/6165−2/131071/21007/4151
−5/1194−9/11162−1/71427/131239/5161
−9/295−4/539−1/81746/11912/12
−13/362−7/9154−1/9225/98911/542
−4/1195−3/449−1/101794/7299/452
−11/3129−8/11144−1/11187/121837/3135
−7/296−5/7113−1/121163/51205/2102
−10/363−7/1059−1/131538/131698/369
−13/4146−2/3132−1/14715/812511/4152
−3/1196−7/111260/107/11733/13
−11/447−5/8741/141282/36713/453
−8/3130−8/13301/13467/1014010/3136
−5/297−3/5791/12835/7867/2103
−7/364−7/12161/111818/115511/370
−9/4147−4/71701/10203/41504/14
−11/5157−5/91101/91777/94513/3137
−2/1197−6/111081/8254/51609/2104
−9/538−7/13761/7579/11375/15
−7/448−1/2992/13925/63411/2105
−12/7112−6/131221/61666/71436/16
−5/3131−5/11902/111637/817513/2106
−8/578−4/9881/5408/9237/17
−3/298−3/7282/91559/101808/18
−10/727−5/121823/1313811/121179/19
−7/5118−2/51191/4501/1110/110
−4/365−5/131683/1114511/102111/111
−9/784−3/81242/71149/82612/112
−5/4148−4/11723/10608/75813/113
−6/5158−5/141564/131847/616714/114
−13/1135−1/3661/313313/11164
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Castaldo, C. A Constructive Realization of the Rational, Real, and Complex Numbers via Sequences over Finite Fields of Increasing Order. Mathematics 2026, 14, 1033. https://doi.org/10.3390/math14061033

AMA Style

Castaldo C. A Constructive Realization of the Rational, Real, and Complex Numbers via Sequences over Finite Fields of Increasing Order. Mathematics. 2026; 14(6):1033. https://doi.org/10.3390/math14061033

Chicago/Turabian Style

Castaldo, Carmine. 2026. "A Constructive Realization of the Rational, Real, and Complex Numbers via Sequences over Finite Fields of Increasing Order" Mathematics 14, no. 6: 1033. https://doi.org/10.3390/math14061033

APA Style

Castaldo, C. (2026). A Constructive Realization of the Rational, Real, and Complex Numbers via Sequences over Finite Fields of Increasing Order. Mathematics, 14(6), 1033. https://doi.org/10.3390/math14061033

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop