Skip to content
/ thesis Public

A Replication of the AKS Primality Decision Algorithm

License

Notifications You must be signed in to change notification settings

aljce/thesis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Alice McKean's Undergraduate Thesis

Abstract

In this thesis we explore formalizing the AKS primality decision algorithm in the Agda proof assistant. We begin with a discussion of the AKS algorithm, an algorithm that determines if a given input is prime or composite. This algorithm will guide the development of basic number theory in the Agda programming language. This language is a dependently typed formal logic capable of ensuring the correctness of mathematical statements. In this mathematical assembly we prove the correctness of the exponentiation by squaring algorithm. Then we explore the nature of recursive algorithms by convincing Agda that their recursion is well founded and terminating. Lastly we provide a fully formalized brute force primality decision procedure.

About

A Replication of the AKS Primality Decision Algorithm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages