The Foundations of Real Analysis