Mathematical models of learning and what can be learned from them