Hacker News new | ask | show | jobs
by alterom 267 days ago
Inclusion-exclusion is just the generalization of De Morgan's law for more than 2 sets.

And the example shows exactly two sets.

So it's exactly De Morgan's law.