logic and automated reasoning lecture 05 3708522