The emergence of complexity in Mathematics