Language, like algebra, operates usefully only within certain limits. It’s a tool for making representations of the world, which, unfortunately, we then go on to mistake for the world itself. Gogol is not making a ridiculous world; he’s showing us that we ourselves make a ridiculous world in every instant, by our thinking.