Hacker News new | ask | show | jobs
by alterom 432 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.