Equivalence of tuple relational calculus expression












0














A. $forall t in r left(Pleft(tright)right)$



B. $exists t notin r left(neg Pleft(tright)right)$



solving B,



$negforall tin r left(neg Pleft(tright)right)$



$negforall tnotin r left(Pleft(tright)right)$



$neg neg forall t in r left(Pleft(tright)right)$



$forall t in r left(Pleft(tright)right)$



which tells us A and B are equivalent, but I'm not sure that negation propagates through $in$ like the way I did above. Please explain how $neg$ propagates through $in$.










share|cite|improve this question





























    0














    A. $forall t in r left(Pleft(tright)right)$



    B. $exists t notin r left(neg Pleft(tright)right)$



    solving B,



    $negforall tin r left(neg Pleft(tright)right)$



    $negforall tnotin r left(Pleft(tright)right)$



    $neg neg forall t in r left(Pleft(tright)right)$



    $forall t in r left(Pleft(tright)right)$



    which tells us A and B are equivalent, but I'm not sure that negation propagates through $in$ like the way I did above. Please explain how $neg$ propagates through $in$.










    share|cite|improve this question



























      0












      0








      0







      A. $forall t in r left(Pleft(tright)right)$



      B. $exists t notin r left(neg Pleft(tright)right)$



      solving B,



      $negforall tin r left(neg Pleft(tright)right)$



      $negforall tnotin r left(Pleft(tright)right)$



      $neg neg forall t in r left(Pleft(tright)right)$



      $forall t in r left(Pleft(tright)right)$



      which tells us A and B are equivalent, but I'm not sure that negation propagates through $in$ like the way I did above. Please explain how $neg$ propagates through $in$.










      share|cite|improve this question















      A. $forall t in r left(Pleft(tright)right)$



      B. $exists t notin r left(neg Pleft(tright)right)$



      solving B,



      $negforall tin r left(neg Pleft(tright)right)$



      $negforall tnotin r left(Pleft(tright)right)$



      $neg neg forall t in r left(Pleft(tright)right)$



      $forall t in r left(Pleft(tright)right)$



      which tells us A and B are equivalent, but I'm not sure that negation propagates through $in$ like the way I did above. Please explain how $neg$ propagates through $in$.







      first-order-logic quantifiers






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 1 '18 at 11:03









      Martin Sleziak

      44.7k8115271




      44.7k8115271










      asked Dec 1 '18 at 5:07









      Mk UtkarshMk Utkarsh

      89110




      89110






















          1 Answer
          1






          active

          oldest

          votes


















          0














          First of all the syntax is incorrect: either choose lower-case for sets and upper-case for element, or vise-verse. It is not grammatical to say $xin t$ or $tin r$. That is nit-picky, but it helps in rigor.



          That said, Your very first step after solving B is wrong, refer to the what was shown above.



          Semantic Equivalence:



          To say $forall t in r(P(t))$ is to say every $t$ in $r$ is $P$ or generally symbolized $P(t)$



          Similarly, to say $exists t notin r(lnot P(t))$ is to say there is a $t$ not in $r$ such that it is not $P$ or $P(t)$.



          The two are not equivalent: One is saying every $t$ in $r$ is $P$, the other is saying there is a $t$ not in $r$ which is not $P$.



          Syntactic Equivalence between $forall x(xin Y)$ and $exists x(xin Y)$:



          Let $Q(x):xin Y$; therefore, $forall x(Q(x))equiv lnot exists x(lnot Q(x))$, but $lnot Q(x)equivlnot(xin Y)equiv xnotin Y$; therefore, $forall x(Q(x))equivlnot exists x(xnotin Y)$.



          Let $Q(x):xin Y$; therefore, $exists x Q(x)equiv lnot forall x(lnot Q(x))$, but $lnot Q(x)equiv lnot (xin Y)equiv xnotin Y$; therefore, $exists x(xin Y)equivlnot forall x(xnotin Y)$



          These are the only ways negation can propogate through $in$



          Keeping that in mind: $forall t in r(P(t))equiv lnot exists tin r(lnot P(t))$ and not $forall t in r(P(t))not equiv exists tnotin r(lnot P(t))$






          share|cite|improve this answer























            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',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            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%2f3021012%2fequivalence-of-tuple-relational-calculus-expression%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            First of all the syntax is incorrect: either choose lower-case for sets and upper-case for element, or vise-verse. It is not grammatical to say $xin t$ or $tin r$. That is nit-picky, but it helps in rigor.



            That said, Your very first step after solving B is wrong, refer to the what was shown above.



            Semantic Equivalence:



            To say $forall t in r(P(t))$ is to say every $t$ in $r$ is $P$ or generally symbolized $P(t)$



            Similarly, to say $exists t notin r(lnot P(t))$ is to say there is a $t$ not in $r$ such that it is not $P$ or $P(t)$.



            The two are not equivalent: One is saying every $t$ in $r$ is $P$, the other is saying there is a $t$ not in $r$ which is not $P$.



            Syntactic Equivalence between $forall x(xin Y)$ and $exists x(xin Y)$:



            Let $Q(x):xin Y$; therefore, $forall x(Q(x))equiv lnot exists x(lnot Q(x))$, but $lnot Q(x)equivlnot(xin Y)equiv xnotin Y$; therefore, $forall x(Q(x))equivlnot exists x(xnotin Y)$.



            Let $Q(x):xin Y$; therefore, $exists x Q(x)equiv lnot forall x(lnot Q(x))$, but $lnot Q(x)equiv lnot (xin Y)equiv xnotin Y$; therefore, $exists x(xin Y)equivlnot forall x(xnotin Y)$



            These are the only ways negation can propogate through $in$



            Keeping that in mind: $forall t in r(P(t))equiv lnot exists tin r(lnot P(t))$ and not $forall t in r(P(t))not equiv exists tnotin r(lnot P(t))$






            share|cite|improve this answer




























              0














              First of all the syntax is incorrect: either choose lower-case for sets and upper-case for element, or vise-verse. It is not grammatical to say $xin t$ or $tin r$. That is nit-picky, but it helps in rigor.



              That said, Your very first step after solving B is wrong, refer to the what was shown above.



              Semantic Equivalence:



              To say $forall t in r(P(t))$ is to say every $t$ in $r$ is $P$ or generally symbolized $P(t)$



              Similarly, to say $exists t notin r(lnot P(t))$ is to say there is a $t$ not in $r$ such that it is not $P$ or $P(t)$.



              The two are not equivalent: One is saying every $t$ in $r$ is $P$, the other is saying there is a $t$ not in $r$ which is not $P$.



              Syntactic Equivalence between $forall x(xin Y)$ and $exists x(xin Y)$:



              Let $Q(x):xin Y$; therefore, $forall x(Q(x))equiv lnot exists x(lnot Q(x))$, but $lnot Q(x)equivlnot(xin Y)equiv xnotin Y$; therefore, $forall x(Q(x))equivlnot exists x(xnotin Y)$.



              Let $Q(x):xin Y$; therefore, $exists x Q(x)equiv lnot forall x(lnot Q(x))$, but $lnot Q(x)equiv lnot (xin Y)equiv xnotin Y$; therefore, $exists x(xin Y)equivlnot forall x(xnotin Y)$



              These are the only ways negation can propogate through $in$



              Keeping that in mind: $forall t in r(P(t))equiv lnot exists tin r(lnot P(t))$ and not $forall t in r(P(t))not equiv exists tnotin r(lnot P(t))$






              share|cite|improve this answer


























                0












                0








                0






                First of all the syntax is incorrect: either choose lower-case for sets and upper-case for element, or vise-verse. It is not grammatical to say $xin t$ or $tin r$. That is nit-picky, but it helps in rigor.



                That said, Your very first step after solving B is wrong, refer to the what was shown above.



                Semantic Equivalence:



                To say $forall t in r(P(t))$ is to say every $t$ in $r$ is $P$ or generally symbolized $P(t)$



                Similarly, to say $exists t notin r(lnot P(t))$ is to say there is a $t$ not in $r$ such that it is not $P$ or $P(t)$.



                The two are not equivalent: One is saying every $t$ in $r$ is $P$, the other is saying there is a $t$ not in $r$ which is not $P$.



                Syntactic Equivalence between $forall x(xin Y)$ and $exists x(xin Y)$:



                Let $Q(x):xin Y$; therefore, $forall x(Q(x))equiv lnot exists x(lnot Q(x))$, but $lnot Q(x)equivlnot(xin Y)equiv xnotin Y$; therefore, $forall x(Q(x))equivlnot exists x(xnotin Y)$.



                Let $Q(x):xin Y$; therefore, $exists x Q(x)equiv lnot forall x(lnot Q(x))$, but $lnot Q(x)equiv lnot (xin Y)equiv xnotin Y$; therefore, $exists x(xin Y)equivlnot forall x(xnotin Y)$



                These are the only ways negation can propogate through $in$



                Keeping that in mind: $forall t in r(P(t))equiv lnot exists tin r(lnot P(t))$ and not $forall t in r(P(t))not equiv exists tnotin r(lnot P(t))$






                share|cite|improve this answer














                First of all the syntax is incorrect: either choose lower-case for sets and upper-case for element, or vise-verse. It is not grammatical to say $xin t$ or $tin r$. That is nit-picky, but it helps in rigor.



                That said, Your very first step after solving B is wrong, refer to the what was shown above.



                Semantic Equivalence:



                To say $forall t in r(P(t))$ is to say every $t$ in $r$ is $P$ or generally symbolized $P(t)$



                Similarly, to say $exists t notin r(lnot P(t))$ is to say there is a $t$ not in $r$ such that it is not $P$ or $P(t)$.



                The two are not equivalent: One is saying every $t$ in $r$ is $P$, the other is saying there is a $t$ not in $r$ which is not $P$.



                Syntactic Equivalence between $forall x(xin Y)$ and $exists x(xin Y)$:



                Let $Q(x):xin Y$; therefore, $forall x(Q(x))equiv lnot exists x(lnot Q(x))$, but $lnot Q(x)equivlnot(xin Y)equiv xnotin Y$; therefore, $forall x(Q(x))equivlnot exists x(xnotin Y)$.



                Let $Q(x):xin Y$; therefore, $exists x Q(x)equiv lnot forall x(lnot Q(x))$, but $lnot Q(x)equiv lnot (xin Y)equiv xnotin Y$; therefore, $exists x(xin Y)equivlnot forall x(xnotin Y)$



                These are the only ways negation can propogate through $in$



                Keeping that in mind: $forall t in r(P(t))equiv lnot exists tin r(lnot P(t))$ and not $forall t in r(P(t))not equiv exists tnotin r(lnot P(t))$







                share|cite|improve this answer














                share|cite|improve this answer



                share|cite|improve this answer








                edited Dec 1 '18 at 9:25

























                answered Dec 1 '18 at 7:18









                Bertrand Wittgenstein's GhostBertrand Wittgenstein's Ghost

                354114




                354114






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Mathematics Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    Use MathJax to format equations. MathJax reference.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3021012%2fequivalence-of-tuple-relational-calculus-expression%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    How do I know what Microsoft account the skydrive app is syncing to?

                    When does type information flow backwards in C++?

                    Grease: Live!