Practice question · Multiple choice
De Morgan’s laws appear in set theory as and in logic as . Why is one proof enough for both?
Hints
- Ask what "" says as a sentence about .
- The element-level statement is the logical one.
Show the answer
C. Because both are statements in the same Boolean algebra
Why
One structure, two notations. This is why a database query optimiser, a circuit simplifier and a proof assistant can all apply the same rewrite rule.
Practise Sets and Set Operations
The app has 5 more questions on this lesson, and keeps your place in the course. Computer Science I is free to start.
More questions on Sets and Set Operations
- A database JOIN, a Venn diagram and a bitwise AND on two bit-vectors all compute the same thing. What is the…
- Set operations mirror boolean logic exactly. Sort each description under the connective it behaves like.
- The universe is {1, 2, ..., 10}, A = {1, 2, 3, 4} and B = {3, 4, 5, 6}. Select every number that lies in the…