Those areas aren't part of mainstream mathematics. More like "theoretical computer science".
Mathematics (in the mainstream sense) is the study of space and quantity.
Mathematics (in the mainstream sense) is the study of space and quantity.
Stuff like type theory is rarely done in maths departments (though it sometimes is).
That's a rather narrow view even of mainstream mathematics IMO.
[Edit] Sorry, I originally said "you said" when it was OP who said.