Inferred functions of performance and learning