Prove that nand is functionally complete

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
3
down vote

favorite












Can anyone explain to me how to




Prove that nand is functionally complete.



(To wit: if we let $p ∗ q$ mean $¬(p ∧ q)$, show that the other connectives, $∧$, $∨$, $¬$ and $→$ are expressible in terms of $∗$.)




I understand that logical function on a fixed set of inputs has a finite number of cases, but unsure how to put that into context.







share|cite|improve this question

























    up vote
    3
    down vote

    favorite












    Can anyone explain to me how to




    Prove that nand is functionally complete.



    (To wit: if we let $p ∗ q$ mean $¬(p ∧ q)$, show that the other connectives, $∧$, $∨$, $¬$ and $→$ are expressible in terms of $∗$.)




    I understand that logical function on a fixed set of inputs has a finite number of cases, but unsure how to put that into context.







    share|cite|improve this question























      up vote
      3
      down vote

      favorite









      up vote
      3
      down vote

      favorite











      Can anyone explain to me how to




      Prove that nand is functionally complete.



      (To wit: if we let $p ∗ q$ mean $¬(p ∧ q)$, show that the other connectives, $∧$, $∨$, $¬$ and $→$ are expressible in terms of $∗$.)




      I understand that logical function on a fixed set of inputs has a finite number of cases, but unsure how to put that into context.







      share|cite|improve this question













      Can anyone explain to me how to




      Prove that nand is functionally complete.



      (To wit: if we let $p ∗ q$ mean $¬(p ∧ q)$, show that the other connectives, $∧$, $∨$, $¬$ and $→$ are expressible in terms of $∗$.)




      I understand that logical function on a fixed set of inputs has a finite number of cases, but unsure how to put that into context.









      share|cite|improve this question












      share|cite|improve this question




      share|cite|improve this question








      edited Aug 2 at 5:10









      user529760

      509216




      509216









      asked Aug 2 at 4:47









      user10168997

      434




      434




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          5
          down vote



          accepted










          $¬pequiv¬(p ∧ p)$



          $p ∧ qequiv¬(¬(p ∧ q))$



          $p∨qequiv¬(¬p ∧ ¬q)$



          $p→qequiv¬p∨q$



          Therefore nand is functionally complete.






          share|cite|improve this answer























          • Forgive me for being pedantic but shouldn't those equality signs be equivalence signs (ie. $equiv$ ) instead?
            – Daniel Mak
            Aug 2 at 6:18







          • 1




            @DanielMak OK, I edited my post. Thanks!
            – user529760
            Aug 2 at 6:31







          • 1




            @DanielMak: That depends on context. In logic one usually keeps the $=$ sign reserved for equality between terms such that there won't be any confusion when we get to predicate logic -- but if one is doing Boolean algebra (or digital circuits or whatever) there's nothing wrong with using $=$ to assert equality between truth values as well.
            – Henning Makholm
            Aug 2 at 8:38






          • 4




            However, I would point out that this answer tacitly assumes that we already know $neg,land,lor,to$ to be a functionally complete set. Hopefully the OP does already know that in his context.
            – Henning Makholm
            Aug 2 at 8:41










          Your Answer




          StackExchange.ifUsing("editor", function ()
          return StackExchange.using("mathjaxEditing", function ()
          StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
          StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
          );
          );
          , "mathjax-editing");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "69"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2869724%2fprove-that-nand-is-functionally-complete%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          5
          down vote



          accepted










          $¬pequiv¬(p ∧ p)$



          $p ∧ qequiv¬(¬(p ∧ q))$



          $p∨qequiv¬(¬p ∧ ¬q)$



          $p→qequiv¬p∨q$



          Therefore nand is functionally complete.






          share|cite|improve this answer























          • Forgive me for being pedantic but shouldn't those equality signs be equivalence signs (ie. $equiv$ ) instead?
            – Daniel Mak
            Aug 2 at 6:18







          • 1




            @DanielMak OK, I edited my post. Thanks!
            – user529760
            Aug 2 at 6:31







          • 1




            @DanielMak: That depends on context. In logic one usually keeps the $=$ sign reserved for equality between terms such that there won't be any confusion when we get to predicate logic -- but if one is doing Boolean algebra (or digital circuits or whatever) there's nothing wrong with using $=$ to assert equality between truth values as well.
            – Henning Makholm
            Aug 2 at 8:38






          • 4




            However, I would point out that this answer tacitly assumes that we already know $neg,land,lor,to$ to be a functionally complete set. Hopefully the OP does already know that in his context.
            – Henning Makholm
            Aug 2 at 8:41














          up vote
          5
          down vote



          accepted










          $¬pequiv¬(p ∧ p)$



          $p ∧ qequiv¬(¬(p ∧ q))$



          $p∨qequiv¬(¬p ∧ ¬q)$



          $p→qequiv¬p∨q$



          Therefore nand is functionally complete.






          share|cite|improve this answer























          • Forgive me for being pedantic but shouldn't those equality signs be equivalence signs (ie. $equiv$ ) instead?
            – Daniel Mak
            Aug 2 at 6:18







          • 1




            @DanielMak OK, I edited my post. Thanks!
            – user529760
            Aug 2 at 6:31







          • 1




            @DanielMak: That depends on context. In logic one usually keeps the $=$ sign reserved for equality between terms such that there won't be any confusion when we get to predicate logic -- but if one is doing Boolean algebra (or digital circuits or whatever) there's nothing wrong with using $=$ to assert equality between truth values as well.
            – Henning Makholm
            Aug 2 at 8:38






          • 4




            However, I would point out that this answer tacitly assumes that we already know $neg,land,lor,to$ to be a functionally complete set. Hopefully the OP does already know that in his context.
            – Henning Makholm
            Aug 2 at 8:41












          up vote
          5
          down vote



          accepted







          up vote
          5
          down vote



          accepted






          $¬pequiv¬(p ∧ p)$



          $p ∧ qequiv¬(¬(p ∧ q))$



          $p∨qequiv¬(¬p ∧ ¬q)$



          $p→qequiv¬p∨q$



          Therefore nand is functionally complete.






          share|cite|improve this answer















          $¬pequiv¬(p ∧ p)$



          $p ∧ qequiv¬(¬(p ∧ q))$



          $p∨qequiv¬(¬p ∧ ¬q)$



          $p→qequiv¬p∨q$



          Therefore nand is functionally complete.







          share|cite|improve this answer















          share|cite|improve this answer



          share|cite|improve this answer








          edited Aug 2 at 6:23


























          answered Aug 2 at 5:12









          user529760

          509216




          509216











          • Forgive me for being pedantic but shouldn't those equality signs be equivalence signs (ie. $equiv$ ) instead?
            – Daniel Mak
            Aug 2 at 6:18







          • 1




            @DanielMak OK, I edited my post. Thanks!
            – user529760
            Aug 2 at 6:31







          • 1




            @DanielMak: That depends on context. In logic one usually keeps the $=$ sign reserved for equality between terms such that there won't be any confusion when we get to predicate logic -- but if one is doing Boolean algebra (or digital circuits or whatever) there's nothing wrong with using $=$ to assert equality between truth values as well.
            – Henning Makholm
            Aug 2 at 8:38






          • 4




            However, I would point out that this answer tacitly assumes that we already know $neg,land,lor,to$ to be a functionally complete set. Hopefully the OP does already know that in his context.
            – Henning Makholm
            Aug 2 at 8:41
















          • Forgive me for being pedantic but shouldn't those equality signs be equivalence signs (ie. $equiv$ ) instead?
            – Daniel Mak
            Aug 2 at 6:18







          • 1




            @DanielMak OK, I edited my post. Thanks!
            – user529760
            Aug 2 at 6:31







          • 1




            @DanielMak: That depends on context. In logic one usually keeps the $=$ sign reserved for equality between terms such that there won't be any confusion when we get to predicate logic -- but if one is doing Boolean algebra (or digital circuits or whatever) there's nothing wrong with using $=$ to assert equality between truth values as well.
            – Henning Makholm
            Aug 2 at 8:38






          • 4




            However, I would point out that this answer tacitly assumes that we already know $neg,land,lor,to$ to be a functionally complete set. Hopefully the OP does already know that in his context.
            – Henning Makholm
            Aug 2 at 8:41















          Forgive me for being pedantic but shouldn't those equality signs be equivalence signs (ie. $equiv$ ) instead?
          – Daniel Mak
          Aug 2 at 6:18





          Forgive me for being pedantic but shouldn't those equality signs be equivalence signs (ie. $equiv$ ) instead?
          – Daniel Mak
          Aug 2 at 6:18





          1




          1




          @DanielMak OK, I edited my post. Thanks!
          – user529760
          Aug 2 at 6:31





          @DanielMak OK, I edited my post. Thanks!
          – user529760
          Aug 2 at 6:31





          1




          1




          @DanielMak: That depends on context. In logic one usually keeps the $=$ sign reserved for equality between terms such that there won't be any confusion when we get to predicate logic -- but if one is doing Boolean algebra (or digital circuits or whatever) there's nothing wrong with using $=$ to assert equality between truth values as well.
          – Henning Makholm
          Aug 2 at 8:38




          @DanielMak: That depends on context. In logic one usually keeps the $=$ sign reserved for equality between terms such that there won't be any confusion when we get to predicate logic -- but if one is doing Boolean algebra (or digital circuits or whatever) there's nothing wrong with using $=$ to assert equality between truth values as well.
          – Henning Makholm
          Aug 2 at 8:38




          4




          4




          However, I would point out that this answer tacitly assumes that we already know $neg,land,lor,to$ to be a functionally complete set. Hopefully the OP does already know that in his context.
          – Henning Makholm
          Aug 2 at 8:41




          However, I would point out that this answer tacitly assumes that we already know $neg,land,lor,to$ to be a functionally complete set. Hopefully the OP does already know that in his context.
          – Henning Makholm
          Aug 2 at 8:41












           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2869724%2fprove-that-nand-is-functionally-complete%23new-answer', 'question_page');

          );

          Post as a guest













































































          Comments

          Popular posts from this blog

          Color the edges and diagonals of a regular polygon

          Relationship between determinant of matrix and determinant of adjoint?

          What is the equation of a 3D cone with generalised tilt?