Lean: Foundations