Foundations of modern analysis