I'm a beginner in proof assistents, can you give some examples of many kinds of math ruled out? And what is UIP?
Now, UIP is valid if the only way of proving an equality is to show that the two terms are definitionally equal. However, there are various type theories, such as Homotopy Type Theory, in which this axiom does not hold because propositional equality can have other proofs.