Thierry Coquand showed in constructive type theory that the Burali-Forti and Russell paradoxes arise...