Foundations for Learning