From learning processes to cognitive processes