I think you missed my point. The type theory is mathematics. So saying that math in type theory is nonsense.
[1]. https://en.wikipedia.org/wiki/Metamathematics
[2]. https://en.wikipedia.org/wiki/Foundations_of_mathematics
But how they are not mathematics? They are part of mathematical logic and mathematical logic or logic in general is branch of mathematics. Do you want to say they are somehow separated from math?