Abstract
The AKS algorithm (by Agrawal, Kayal and Saxena) is a significant theoretical result proving “PRIMES in P”, as well as a brilliant application of ideas from finite fields. This paper describes the first step towards the goal of a full mechanisation of this result: a mechanisation of the AKS Main Theorem, which justifies the correctness (but not the complexity) of the AKS algorithm.
M. Norrish—NICTA is funded by the Australian Government through the Department of Communications and the Australian Research Council through the ICT Centre of Excellence Program.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
For example, in \({\mathbb {Z}_{6}}\), \(2\times {3} = 0\), hence \((X - 2)(X - 3) = X^2 - 5X = X(X - 5)\), which shows a polynomial of degree 2 can have more than 2 roots.
- 3.
The characteristic \(\mathsf{{\chi } }\) of a ring \(\mathcal{R}\) is defined as the order of \({{\mathbf {\mathsf{{1}}}}}\) in the additive group of \(\mathcal{R}\), i.e., .
- 4.
- 5.
John was kind enough to share his approach with us via private communication.
References
Agrawal, M.: Primality tests based on Fermat’s Little Theorem, December 2006. http://www.cse.iitk.ac.in/users/manindra/presentations/FLTBasedTests.pdf
Agrawal, M., Kayal, N., Saxena, N.: PRIMES is in P, August 2002. Original paper
Agrawal, M., Kayal, N., Saxena, N.: PRIMES is in P. Ann. Math. 160(2), 781–793 (2004)
Bedodi, A.: Primality tests in polynomial time. Master’s thesis, Universitá Degli Studi Roma TRE, February 2010
Campos, C., Modave, F., Roach, S.: Towards the verification of the AKS primality test in ACL2. In: Fifth International Conference on Intelligent Technologies, November 2004
Chan, H.-L., Norrish, M.: A string of pearls: proofs of Fermat’s Little Theorem. J. Formalized Reason. 6(1), 63–87 (2013)
Crandall, R., Pomerance, C.: Prime Numbers: A Computational Perspective. Springer, New York (2005)
Daleson, G.: Deterministic primality testing in polynomial time. Master’s thesis, Portland State University, December 2006
de Moura, F.L. C., Tadeu, R.: The correctness of the AKS primality test in Coq. July 2008. http://www.cic.unb.br/~flavio/AKS.pdf
Dietzfelbinger, M.: Primality Testing in Polynomial Time: From Randomized Algorithms to ‘PRIMES is in P’. Lecture Notes in Computer Science. Springer, Heidelberg (2004)
Domingues, R.: A polynomial time algorithm for prime recognition. Master’s thesis, University of Pretoria, January 2006
Linowitz, B.: An exposition of the AKS polynomial time primality testing. Master’s thesis, University of Pennsylvania, March 2006
Pomerance, C.: Primality testing, variations on a theme of Lucas (2008). http://cm.bell-labs.com/who/carlp/PS/primalitytalk5.ps
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer International Publishing Switzerland
About this paper
Cite this paper
Chan, HL., Norrish, M. (2015). Mechanisation of AKS Algorithm: Part 1 – The Main Theorem. In: Urban, C., Zhang, X. (eds) Interactive Theorem Proving. ITP 2015. Lecture Notes in Computer Science(), vol 9236. Springer, Cham. https://doi.org/10.1007/978-3-319-22102-1_8
Download citation
DOI: https://doi.org/10.1007/978-3-319-22102-1_8
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-22101-4
Online ISBN: 978-3-319-22102-1
eBook Packages: Computer ScienceComputer Science (R0)