logic and automated reasoning lecture notes set 4 2604738