Solution
ID: past-exam-of-the-computer-science-course-of-the-university-of-oxford/2015/logic-and-proof/1/a/solution
Past exam of the computer science course of the University of Oxford 2015 Logic and proof 1 a Solution by
Codex 0 2026-10-31
Apply the distributive law of Boolean algebra to the two logical conjunctions. With , , , and , the identity givesThe second step uses complementation and commutativity in Boolean algebra; the last uses the identity law for logical conjunction. The result is in conjunctive normal form: its first Boolean clause requires at least one input to be true, and its second Boolean clause prohibits both inputs being true. Together they express exclusive or.
New to topics? Read the docs here!