Extended Euclidean Algorithm and CRT Algorithm
Hiroyuki Okazaki ; Yosiki Aoki ; Yasunari Shidama
Formalized Mathematics, Tome 20 (2012), p. 175-179 / Harvested from The Polish Digital Mathematics Library

In this article we formalize some number theoretical algorithms, Euclidean Algorithm and Extended Euclidean Algorithm [9]. Besides the a gcd b, Extended Euclidean Algorithm can calculate a pair of two integers (x, y) that holds ax + by = a gcd b. In addition, we formalize an algorithm that can compute a solution of the Chinese remainder theorem by using Extended Euclidean Algorithm. Our aim is to support the implementation of number theoretic tools. Our formalization of those algorithms is based on the source code of the NZMATH, a number theory oriented calculation system developed by Tokyo Metropolitan University [8].

Publié le : 2012-01-01
EUDML-ID : urn:eudml:doc:268049
@article{bwmeta1.element.doi-10_2478_v10037-012-0020-2,
     author = {Hiroyuki Okazaki and Yosiki Aoki and Yasunari Shidama},
     title = {Extended Euclidean Algorithm and CRT Algorithm},
     journal = {Formalized Mathematics},
     volume = {20},
     year = {2012},
     pages = {175-179},
     zbl = {1288.11117},
     language = {en},
     url = {http://dml.mathdoc.fr/item/bwmeta1.element.doi-10_2478_v10037-012-0020-2}
}
Hiroyuki Okazaki; Yosiki Aoki; Yasunari Shidama. Extended Euclidean Algorithm and CRT Algorithm. Formalized Mathematics, Tome 20 (2012) pp. 175-179. http://gdmltest.u-ga.fr/item/bwmeta1.element.doi-10_2478_v10037-012-0020-2/

[1] Grzegorz Bancerek. The fundamental properties of natural numbers. Formalized Mathematics, 1(1):41-46, 1990. | Zbl 06213858

[2] Grzegorz Bancerek. The ordinal numbers. Formalized Mathematics, 1(1):91-96, 1990.

[3] Grzegorz Bancerek and Krzysztof Hryniewiecki. Segments of natural numbers and finite sequences. Formalized Mathematics, 1(1):107-114, 1990.

[4] Czesław Bylinski. Functions and their basic properties. Formalized Mathematics, 1(1):55-65, 1990.

[5] Czesław Bylinski. Functions from a set to a set. Formalized Mathematics, 1(1):153-164, 1990.

[6] Czesław Bylinski. Some basic properties of sets. Formalized Mathematics, 1(1):47-53, 1990.

[7] Czesław Bylinski. The sum and product of finite sequences of real numbers. FormalizedMathematics, 1(4):661-668, 1990.

[8] NZMATH development Group. http://tnt.math.se.tmu.ac.jp/nzmath/.

[9] Donald E. Knuth. Art of Computer Programming. Volume 2: Seminumerical Algorithms, 3rd Edition, Addison-Wesley Professional, 1997. | Zbl 0895.68055

[10] Rafał Kwiatek and Grzegorz Zwara. The divisibility of integers and integer relative primes. Formalized Mathematics, 1(5):829-832, 1990.

[11] Andrzej Trybulec. Tuples, projections and Cartesian products. Formalized Mathematics, 1(1):97-105, 1990.

[12] Michał J. Trybulec. Integers. Formalized Mathematics, 1(3):501-505, 1990.

[13] Zinaida Trybulec. Properties of subsets. Formalized Mathematics, 1(1):67-71, 1990.