Peircean epistmology of learning and the function of abduction as the logic of discovery