Diagnosis of mental operations and theory of the intelligence.