Title
Maximum Number of Steps Taken by Modular Exponentiation and Euclidean Algorithm.
Abstract
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), AlgoBPow(a, n, m) := a(b) 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 + [log(2) n ] and for "Euclidean algorithm", we formalize the Lame's theorem [6], which says the required number of the divisions in this algorithm is at most 5 log(10) min(vertical bar a vertical bar, vertical bar b vertical bar). Our aim is to support the implementation of number theoretic tools and evaluating computational complexities of algorithms to prove the security of cryptographic systems.
Year
DOI
Venue
2019
10.2478/forma-2019-0009
FORMALIZED MATHEMATICS
Keywords
Field
DocType
algorithms,power residues,Euclidean algorithm
Discrete mathematics,Algebra,Euclidean algorithm,Mathematics,Modular exponentiation
Journal
Volume
Issue
ISSN
27
1
1898-9934
Citations 
PageRank 
References 
0
0.34
0
Authors
3
Name
Order
Citations
PageRank
Hiroyuki Okazaki125.31
Koh-Ichi Nagao2366.17
Yuichi Futa32315.08