The scope of logic: deduction, abduction, analogy