Mathematical Formulations of Learning: Based on Ten Learning Principles