|
Organizers |
Modular exponential in recursive and weak arithmetic complexity classes
by
Henri-Alex Esbelin
llaic1
Some known algorithms are devoted to the problem of comparing big integers using only small integers, through modular arithmetic. This paper is devoted to the problem of comparing exponentially defined numbers using number of size less than the exponents. The main result is the following:
The binary relation on \naturel
with x and y as variables defined by ax < by is in
the least class of the Grzegorczyck's hierarchy.
We will then discuss some easy natural generalizations of this result,
and the following conjecture
Does the binary relation on N with x and y as variables defined by ax < by lies in the least class of relations on N containing sum and product relations and quaternary modular exponentiation, and is closed under explicit transformations, boolean operations, variable bounded quantifications and counting schema?
Sketch of the proof of the main result.
Let us denote
(pi)0 <= i <= n
a finite sequence of prime integers.
Suppose that
X < \prodi=0i=npi and Y < \prodi=0i=npi.
Let us denote
\prodi=ki=npi=Pk ad Pn+1=1.
Let us recursively define the following two sequences
(Xk)0 <= i <= n
and
(Yk)0 <= i <= n
by X0=X and Xk+1 = Xkmod(Pk+1),
resp. by Y0=Y and Yk+1 = Ykmod(Pk+1).
Then we have the following lemma:
X < Y if and only if
some integer i exists such that
for all integer j strictly less than i, we have
\lfloorXj/Pj+1\rfloor = \lfloorYj/Pj+1\rfloor
and
\lfloorXi/Pi+1\rfloor < \lfloorYi/Pi+1\rfloor.
Let us denote
((a/b))mod(c)
the unique integer d in {0, ..., c-1}
such that a \equiv bdmod(c).
Then we prove the following lemma
Let us define the following sequence (depending of the (pi)1 <= i <= n sequence)
U(X, k, 1)=X mod(pk) and
|
Then \lfloorXk/Pk+1\rfloor = U(X, k+1, n-k-1) mod(pk).
Date received: April 12, 2002
Copyright © 2002 by the author(s). The author(s) of this document and the organizers of the conference have granted their consent to include this abstract in Atlas Conferences Inc. Document # cail-16.