logic and automated reasoning lecture 15 equality 9650597