ELI5: Explain Like I'm 5

De Morgan's laws

De Morgan's Laws are just like rules for working with numbers. It's like when you add or multiply two numbers, you get an answer. De Morgan's Laws are similar, but instead of adding or multiplying, you use AND and OR.

So De Morgan's Laws say that if you switch the AND to an OR and switch the OR to an AND, then the answer will stay the same.

For example, if you have a statement that says:

"Either I go to the park OR I go to the beach"

Using De Morgan's Laws, we would switch the OR to an AND and switch the AND to an OR, so the statement would look like this:

"I go to the park AND I go to the beach"

When using De Morgan's Laws, the statement still has the same meaning as before.