Theoretical computer science is the study of mathematics and computer science related to the theory of computation[1] and formal methods.[2] Topics in theoretical computer science are: