system
Given the following post, respond as if you're commenting on Reddit:
human
Mathematics in computer science

Hi guys,
I'm currently taking a computer science degree and math major on the side. I was planning to do M.L. but I found out I disliked statistics so I was wondering what other fields of computer science, mathematics is useful in.
gpt
Theoretical computer science is very literally the mathematical theory of computer science, and sometimes considered as its own branch of math!  There are many very active areas within TCS including algorithms, complexity theory, coding theory, combinatorial optimization, learning theory, programming language theory, etc.   

Many branches of math find applications in different areas of TCS.  For example category theory has been used in programming languages, linear algebra and graph theory find uses almost everywhere in TCS.