Is the Euclidean Algorithm Optimal Among its Peers? (Q4678946)
From MaRDI portal
!
This is the item page for this Wikibase entity, intended for internal use and editing purposes. Please use the normal view instead:
scientific article; zbMATH DE number 2171381
| Language | Label | Description | Also known as |
|---|---|---|---|
| default for all languages | No label defined |
||
| English | Is the Euclidean Algorithm Optimal Among its Peers? |
scientific article; zbMATH DE number 2171381 |
Statements
Is the Euclidean Algorithm Optimal Among its Peers? (English)
0 references
24 May 2005
0 references
greatest common divisor
0 references
Euclidean algorithm
0 references
recursive program
0 references
0.8400102853775024
0 references
0.7856109142303467
0 references
0.7789297699928284
0 references
0.7778336405754089
0 references
A recursive program (or: McCarthy program) over some algebra \(\mathcal A\) is a system of recursive equations \(f(\vec{x})=E_0(\vec{x})\), \(f_1(\vec{x})=E_1(\vec{x})\), \dots, \(f_k(\vec{x})=E_k(\vec{x})\), where the \(E_i\) are expressions involving constants and functions in \(\mathcal A\) as well as the functions \(f_1,\dots,f_k\) and a conditional among terms (``if \(E=0\) then \(E_1\) else \(E_2\)''). The function computed by this program is \(f\). A notion of parallel time complexity, denoted by \(c_f(\vec{x})\) is defined that measures the depth of nested ``calls'' to the functions in \(\mathcal A\). Concerning the Euclidean algorithm E over the algebra consisting of the natural numbers and the remainder function (\(\text{rem}(a,b)\) is the remainder of the division of \(a\) by \(b\)), it can be seen that \(c_{\text{E}}(a,b)\leq 3\log_2a\) and it is conjectured that \(c_{\text{E}}(a,b)\geq r\log_2a\) for some constant \(r\) and infinitely many \(a>b\). While this conjecture remains open in the paper, the following lower bounds are shown: (1) For every recursive program P that decides the primality relation over the algebra of the natural numbers with functions equality, less-than, addition, subtraction, multiplication by 2, division by 2, remainder of division by 2, \(c_{\text{P}}(p)>\frac{1}{4}\log_2(p)\) for all primes \(p\). This implies optimality up to a multiplicative constant of the Stein algorithm S that computes the gcd over the same algebra with complexity \(c_{\text{S}}(a,b)\leq c\log_2\max\{a,b\}\) for some constant \(c\) [see \textit{D. E. Knuth}, The art of computer programming. Vol.~2. Seminumerical algorithms. 3rd ed. Bonn: Addison-Wesley (1998; Zbl 0895.65001)]. (2) For every recursive program P that decides the coprimeness relation over the algebra of the natural numbers with functions equality, less-than, addition, subtraction, division, and remainder, \(c_{\text{P}}(a,b)>\frac{1}{10}\log_2\log_2a\) for infinitely many coprime numbers \(a>b>1\). Both lower bounds hold in all inessential extensions of the above algebras; these are enrichments of the algebras by data structures such as arrays or trees but do not include any new non-trivial functions. Examples for these are random access machines over the functions of the above algebras.
0 references