How can I prove that $(a \text{ NAND } b) \text{ NAND } (a \text{ NAND } b ) \equiv a \text{ AND } b $?
So far I came up with a truth table for all the possibility combinations for the left side of the equation and the right side of the equation. I can see that if the a's and b's were all the same on the left side then I could prove the right side, but I don't know what happens when one of the a's or b's on the left side is different, what happens to the right side?
How can I use De Morgan's law to prove this or any other methods? Thanks.
Using De Morgan's law ($\,\overline{xy}\equiv \overline x+\overline y$), we have $$ \overline{\overline{ab}\cdot\overline{ab}} \equiv \overline{\overline{ab}}+\overline{\overline{ab}} \equiv ab. $$