Artículo
Regularity of the Euclid Algorithm; application to the analysis of fast GCD Algorithms
Cesaratto, Eda
; Clément, Julien; Daireaux, Benoit; Lhote, Loick; Maume, Veronique; Vallée, Brigitte
Fecha de publicación:
07/2009
Editorial:
Academic Press Ltd - Elsevier Science Ltd
Revista:
Journal Of Symbolic Computation
ISSN:
0747-7171
Idioma:
Inglés
Tipo de recurso:
Artículo publicado
Clasificación temática:
Resumen
This paper is an extended complete version of ´´Analysis of fast versions of Euclid Algorithm´´ presented in ANALCO´07. Among the differences here we deal with several Fast multiplication algorithms and we give precise estimates of the constants involved. There exist fast variants of the gcd algorithm which are all based on principles due to Knuth and Schönhage. On inputs of size n, these algorithms use a Divide and Conquer approach, perform FFT multiplications with complexity mu(n) and stop the recursion at a depth slightly smaller than log n. A rough estimate of the worst--case complexity of these fast versions provides the bound O ( mu(n)log n). Even the worst-case estimate is partly based on heuristics and is not actually proven. Here, we provide a precise probabilistic analysis of some of these fast variants, and we prove that their average bit--complexity on random inputs of size n is Theta (mu(n) log n , with a precise remainder term, and estimates of the constant in the Theta--term. Our analysis applies to any cases when the cost mu(n) is of order Omega(n log n), and is valid both for the FFT multiplication algorithm of Schönhage--Stassen, but also for the new algorithm introduced quite recently by Fürer . We view such a fast algorithm as a sequence of what we call interrupted algorithms, and we obtain two main results about the (plain) Euclid Algorithm which are of independent interest. We precisely describe the evolution of the distribution of numbers during the execution of the (plain) Euclid Algorithm, and we exhibit an (unexpected) density psi which plays a central rôle since it always appear at the beginning of each recursive call. This strong regularity phenomenon proves that the interrupted algorithms are locally ``similar´´ to the total algorithm. This finally leads to the precise evaluation of the average bit--complexity of these fast algorithms. This work uses various tools, and is based on a precise study of generalised transfer operators related to the dynamical system underlying the Euclid Algorithm.nhage. On inputs of size n, these algorithms use a Divide and Conquer approach, perform FFT multiplications with complexity mu(n) and stop the recursion at a depth slightly smaller than log n. A rough estimate of the worst--case complexity of these fast versions provides the bound O ( mu(n)log n). Even the worst-case estimate is partly based on heuristics and is not actually proven. Here, we provide a precise probabilistic analysis of some of these fast variants, and we prove that their average bit--complexity on random inputs of size n is Theta (mu(n) log n , with a precise remainder term, and estimates of the constant in the Theta--term. Our analysis applies to any cases when the cost mu(n) is of order Omega(n log n), and is valid both for the FFT multiplication algorithm of Schönhage--Stassen, but also for the new algorithm introduced quite recently by Fürer . We view such a fast algorithm as a sequence of what we call interrupted algorithms, and we obtain two main results about the (plain) Euclid Algorithm which are of independent interest. We precisely describe the evolution of the distribution of numbers during the execution of the (plain) Euclid Algorithm, and we exhibit an (unexpected) density psi which plays a central rôle since it always appear at the beginning of each recursive call. This strong regularity phenomenon proves that the interrupted algorithms are locally ``similar´´ to the total algorithm. This finally leads to the precise evaluation of the average bit--complexity of these fast algorithms. This work uses various tools, and is based on a precise study of generalised transfer operators related to the dynamical system underlying the Euclid Algorithm.
Archivos asociados
Licencia
Identificadores
Colecciones
Articulos(SEDE CENTRAL)
Articulos de SEDE CENTRAL
Articulos de SEDE CENTRAL
Citación
Cesaratto, Eda; Clément, Julien; Daireaux, Benoit; Lhote, Loick; Maume, Veronique; et al.; Regularity of the Euclid Algorithm; application to the analysis of fast GCD Algorithms; Academic Press Ltd - Elsevier Science Ltd; Journal Of Symbolic Computation; 44; 7; 7-2009; 726-767
Compartir
Altmétricas
Items relacionados
Mostrando titulos relacionados por título, autor y tema.
-
Messina, Francisco Javier; Marchi, Pablo Gabriel ; Rey Vega, Leonardo Javier ; Galarza, Cecilia Gabriela ; Laiz, Héctor (Institute of Electrical and Electronics Engineers, 2017-06)
-
Frutos, Mariano ; Méndez, M.; Tohme, Fernando Abel ; Broz, Diego Ricardo (Hindawi Publishing Corporation, 2013-12)