首页> 外文会议>Workshop on Algorithm Engineering and Experiments >Analysis of fast versions of the Euclid Algorithm
【24h】

Analysis of fast versions of the Euclid Algorithm

机译:EuclID算法快速版本分析

获取原文

摘要

There exist fast variants of the gcd algorithm which are all based on principles due to Knuth and Schonhage. On inputs of size n, these algorithms use a Divide and Conquer approach, perform FFT multiplications and stop the recursion at a depth slightly smaller than lg n. A rough estimate of the worst-case complexity of these fast versions provides the bound O(n(log n){sup}2 log log n). However, this estimate is based on some 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 Θ(n(log n){sup}2 log log n), with a precise remainder term. We view such a fast algorithm as a sequence of what we call interrupted algorithms, and we obtain three results about the (plain) Euclid Algorithm which may be of independent interest. We precisely describe the evolution of the distribution during the execution of the (plain) Euclid Algorithm; we obtain a sharp estimate for the probability that all the quotients produced by the (plain) Euclid Algorithm are small enough; we also exhibit a strong regularity phenomenon, which proves that these 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.
机译:GCD算法的快速变体全部基于由于KNUTH和Schonhage导致的原则。在尺寸N的输入上,这些算法使用分割和征服方法,执行FFT乘法并在略小于LG N的深度处停止递归。对这些快速版本的最坏情况复杂度的粗略估计提供了绑定的O(n(log n){sup} 2 log log n)。但是,这种估计是基于一些启发式方法,实际上并未被证明。在这里,我们提供了一些这些快速变体的精确概率分析,并且我们证明了它们在大小n的随机输入上的平均比特复杂度是θ(n(log n){sup} 2 log log log log n),具有精确的余数。我们将这种快速算法视为我们所谓的算法的序列,我们获得了关于(普通)欧几里德算法的三个结果,这可能是独立兴趣的。我们精确地描述了(普通)欧氏算法期间分布的演变;我们获得了(平原)欧氏算法产生的所有商品足够小的概率急剧估计;我们还表现出强烈的规律性现象,证明这些中断算法本地“类似”到总算法。这最终导致对这些快速算法的平均比特复杂度的精确评估。这项工作采用各种工具,基于与QuclID算法底层的动态系统相关的普遍转移运算符的精确研究。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号