首页> 外文期刊>Formalized Mathematics >Maximum Number of Steps Taken by Modular Exponentiation and Euclidean Algorithm
【24h】

Maximum Number of Steps Taken by Modular Exponentiation and Euclidean Algorithm

机译:模幂和欧几里得算法的最大步数

获取原文
       

摘要

In this article we formalize in Mizar [1], [2] the maximum number of steps taken by some number theoretical algorithms, “right–to–left binary algorithm” for modular exponentiation and “Euclidean algorithm” [5]. For any natural numbers a, b, n, “right–to–left binary algorithm” can calculate the natural number, see (Def. 2), AlgosubBPow/sub(a, n, m) := asupb/sup mod n and for any integers a, b, “Euclidean algorithm” can calculate the non negative integer gcd(a, b). We have not formalized computational complexity of algorithms yet, though we had already formalize the “Euclidean algorithm” in [7]. For “right-to-left binary algorithm”, we formalize the theorem, which says that the required number of the modular squares and modular products in this algorithms are ?1+logsub2/sub n? and for “Euclidean algorithm”, we formalize the Lamé’s theorem [6], which says the required number of the divisions in this algorithm is at most 5 logsub10/sub min(|a|, |b|). Our aim is to support the implementation of number theoretic tools and evaluating computational complexities of algorithms to prove the security of cryptographic systems.
机译:在本文中,我们在Mizar [1],[2]中正式化了一些理论算法,用于模幂的“从右至左二进制算法”和“欧几里得算法” [5]所采取的最大步骤数。对于任何自然数a,b,n,“从右到左的二进制算法”都可以计算自然数,请参阅(Def.2)Algo BPow (a,n,m):= a b mod n,对于任何整数a,b,“欧几里得算法”都可以计算出非负整数gcd(a,b)。尽管我们已经在[7]中将“欧几里得算法”形式化,但我们还没有形式化算法的计算复杂性。对于“从右到左的二进制算法”,我们将定理形式化,即该算法中模数平方和模积的要求数量为?1 + log 2 n?对于“欧几里得算法”,我们将Lamé定理[6]形式化,表示该算法所需的除法数最多为5 log 10 min(| a |,| b |) 。我们的目的是支持数字理论工具的实施,并评估算法的计算复杂性,以证明密码系统的安全性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号