what is the difference between logic and reasoning