States that reach only bad states are bad. Predicate Logic












0












$begingroup$


Consider a system of states with a binary relation R. If R(x,y) holds, we say that state x reaches state y. Further, consider two unary predicates I and B where I(x) means that x is an initial state and B(x) means that x is a bad state.



Question: States that reach only bad states are bad.



Answer: ∀x(∀y(R(x,y) → B(y) → B(x)))



However, my question is in regard to "-> B(y)" shouldn't that be an and (∧),



∀x(∀y(R(x,y) ∧ B(y) → B(x)))










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    The two are equivalent. See Exportation (logic).
    $endgroup$
    – Mauro ALLEGRANZA
    Jan 20 at 17:23










  • $begingroup$
    oh yeah, apologies the ∧ just read better in my head
    $endgroup$
    – Octavian
    Jan 20 at 17:24
















0












$begingroup$


Consider a system of states with a binary relation R. If R(x,y) holds, we say that state x reaches state y. Further, consider two unary predicates I and B where I(x) means that x is an initial state and B(x) means that x is a bad state.



Question: States that reach only bad states are bad.



Answer: ∀x(∀y(R(x,y) → B(y) → B(x)))



However, my question is in regard to "-> B(y)" shouldn't that be an and (∧),



∀x(∀y(R(x,y) ∧ B(y) → B(x)))










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    The two are equivalent. See Exportation (logic).
    $endgroup$
    – Mauro ALLEGRANZA
    Jan 20 at 17:23










  • $begingroup$
    oh yeah, apologies the ∧ just read better in my head
    $endgroup$
    – Octavian
    Jan 20 at 17:24














0












0








0





$begingroup$


Consider a system of states with a binary relation R. If R(x,y) holds, we say that state x reaches state y. Further, consider two unary predicates I and B where I(x) means that x is an initial state and B(x) means that x is a bad state.



Question: States that reach only bad states are bad.



Answer: ∀x(∀y(R(x,y) → B(y) → B(x)))



However, my question is in regard to "-> B(y)" shouldn't that be an and (∧),



∀x(∀y(R(x,y) ∧ B(y) → B(x)))










share|cite|improve this question











$endgroup$




Consider a system of states with a binary relation R. If R(x,y) holds, we say that state x reaches state y. Further, consider two unary predicates I and B where I(x) means that x is an initial state and B(x) means that x is a bad state.



Question: States that reach only bad states are bad.



Answer: ∀x(∀y(R(x,y) → B(y) → B(x)))



However, my question is in regard to "-> B(y)" shouldn't that be an and (∧),



∀x(∀y(R(x,y) ∧ B(y) → B(x)))







logic first-order-logic predicate-logic logic-translation






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 21 at 0:12









Bram28

63.2k44793




63.2k44793










asked Jan 20 at 17:18









OctavianOctavian

83




83








  • 1




    $begingroup$
    The two are equivalent. See Exportation (logic).
    $endgroup$
    – Mauro ALLEGRANZA
    Jan 20 at 17:23










  • $begingroup$
    oh yeah, apologies the ∧ just read better in my head
    $endgroup$
    – Octavian
    Jan 20 at 17:24














  • 1




    $begingroup$
    The two are equivalent. See Exportation (logic).
    $endgroup$
    – Mauro ALLEGRANZA
    Jan 20 at 17:23










  • $begingroup$
    oh yeah, apologies the ∧ just read better in my head
    $endgroup$
    – Octavian
    Jan 20 at 17:24








1




1




$begingroup$
The two are equivalent. See Exportation (logic).
$endgroup$
– Mauro ALLEGRANZA
Jan 20 at 17:23




$begingroup$
The two are equivalent. See Exportation (logic).
$endgroup$
– Mauro ALLEGRANZA
Jan 20 at 17:23












$begingroup$
oh yeah, apologies the ∧ just read better in my head
$endgroup$
– Octavian
Jan 20 at 17:24




$begingroup$
oh yeah, apologies the ∧ just read better in my head
$endgroup$
– Octavian
Jan 20 at 17:24










2 Answers
2






active

oldest

votes


















1












$begingroup$

First, you need to add some parentheses, because $P rightarrow (Q rightarrow R)$ is not the same as $(P rightarrow Q) rightarrow R)$



Indeed, I see that you are hoping to use the Exportation equivalence rule, which states that



$$P rightarrow (Q rightarrow R) Leftrightarrow (P land Q) rightarrow R$$



so that means that your intended symbolization must have been:



$$forall x (forall y (R(x,y) rightarrow (B(y) rightarrow B(x))) tag{*}$$



Unfortunately, $(*)$ is not the correct symbolization of the original sentence. $(*)$ translates back as: For any two states that you have, if the first reaches the second, then if the second is bad, then the first is bad. So, that would mean that as soon as the first state reaches any bad state, then the first state is bad. That is not the same as the original sentence, since that is only talking about states that only reach bad states. So, for example, take a state that reaches both good and bad states. Then by $(*)$, it must be a bad state, since it reaches at least one bad state. But the original English sentence has nothing to say about states that each both good and bad states.



OK, so how do you translate the original English sentence? Well, follow this form:



$$forall x (text{"x reaches only bad states"} rightarrow B(x))$$



OK, and the translation of "x reaches only bad states" is:



$$forall y (R(x,y) rightarrow B(y)$$



So, plug this in, and you get:



$$forall x (forall y (R(x,y) rightarrow B(y)) rightarrow B(x))$$






share|cite|improve this answer











$endgroup$





















    0












    $begingroup$

    These two are equivalent due to the exportation rule within logic.



    ((P ∧ Q) -> R)) <=> (P -> (Q -> R))






    share|cite|improve this answer









    $endgroup$













    • $begingroup$
      Nope! Sorry, but your original statement is not of the right form to apply Exportation to. See my Answer.
      $endgroup$
      – Bram28
      Jan 21 at 4:00










    • $begingroup$
      @Bram28 The original statement (or rather a subformula of it) is of the right form to apply that equivalence assuming the OP meant the $to$s to associate to the right. What your answer implicitly points out is that OP's original formula does not correctly capture the intent of the natural language phrase.
      $endgroup$
      – Derek Elkins
      Jan 21 at 5:40










    • $begingroup$
      @DerekElkins Yes, quite right ... if the OP had meant $forall x (forall y (R(x,y) rightarrow (B(y) rightarrow B(x))))$, but in that case the symbolization contains two mistakes: the parentheses should go around the first $rightarrow$, and the scope of the $forall y$ should not extend to include the $B(x)$
      $endgroup$
      – Bram28
      Jan 21 at 15:28











    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%2f3080841%2fstates-that-reach-only-bad-states-are-bad-predicate-logic%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1












    $begingroup$

    First, you need to add some parentheses, because $P rightarrow (Q rightarrow R)$ is not the same as $(P rightarrow Q) rightarrow R)$



    Indeed, I see that you are hoping to use the Exportation equivalence rule, which states that



    $$P rightarrow (Q rightarrow R) Leftrightarrow (P land Q) rightarrow R$$



    so that means that your intended symbolization must have been:



    $$forall x (forall y (R(x,y) rightarrow (B(y) rightarrow B(x))) tag{*}$$



    Unfortunately, $(*)$ is not the correct symbolization of the original sentence. $(*)$ translates back as: For any two states that you have, if the first reaches the second, then if the second is bad, then the first is bad. So, that would mean that as soon as the first state reaches any bad state, then the first state is bad. That is not the same as the original sentence, since that is only talking about states that only reach bad states. So, for example, take a state that reaches both good and bad states. Then by $(*)$, it must be a bad state, since it reaches at least one bad state. But the original English sentence has nothing to say about states that each both good and bad states.



    OK, so how do you translate the original English sentence? Well, follow this form:



    $$forall x (text{"x reaches only bad states"} rightarrow B(x))$$



    OK, and the translation of "x reaches only bad states" is:



    $$forall y (R(x,y) rightarrow B(y)$$



    So, plug this in, and you get:



    $$forall x (forall y (R(x,y) rightarrow B(y)) rightarrow B(x))$$






    share|cite|improve this answer











    $endgroup$


















      1












      $begingroup$

      First, you need to add some parentheses, because $P rightarrow (Q rightarrow R)$ is not the same as $(P rightarrow Q) rightarrow R)$



      Indeed, I see that you are hoping to use the Exportation equivalence rule, which states that



      $$P rightarrow (Q rightarrow R) Leftrightarrow (P land Q) rightarrow R$$



      so that means that your intended symbolization must have been:



      $$forall x (forall y (R(x,y) rightarrow (B(y) rightarrow B(x))) tag{*}$$



      Unfortunately, $(*)$ is not the correct symbolization of the original sentence. $(*)$ translates back as: For any two states that you have, if the first reaches the second, then if the second is bad, then the first is bad. So, that would mean that as soon as the first state reaches any bad state, then the first state is bad. That is not the same as the original sentence, since that is only talking about states that only reach bad states. So, for example, take a state that reaches both good and bad states. Then by $(*)$, it must be a bad state, since it reaches at least one bad state. But the original English sentence has nothing to say about states that each both good and bad states.



      OK, so how do you translate the original English sentence? Well, follow this form:



      $$forall x (text{"x reaches only bad states"} rightarrow B(x))$$



      OK, and the translation of "x reaches only bad states" is:



      $$forall y (R(x,y) rightarrow B(y)$$



      So, plug this in, and you get:



      $$forall x (forall y (R(x,y) rightarrow B(y)) rightarrow B(x))$$






      share|cite|improve this answer











      $endgroup$
















        1












        1








        1





        $begingroup$

        First, you need to add some parentheses, because $P rightarrow (Q rightarrow R)$ is not the same as $(P rightarrow Q) rightarrow R)$



        Indeed, I see that you are hoping to use the Exportation equivalence rule, which states that



        $$P rightarrow (Q rightarrow R) Leftrightarrow (P land Q) rightarrow R$$



        so that means that your intended symbolization must have been:



        $$forall x (forall y (R(x,y) rightarrow (B(y) rightarrow B(x))) tag{*}$$



        Unfortunately, $(*)$ is not the correct symbolization of the original sentence. $(*)$ translates back as: For any two states that you have, if the first reaches the second, then if the second is bad, then the first is bad. So, that would mean that as soon as the first state reaches any bad state, then the first state is bad. That is not the same as the original sentence, since that is only talking about states that only reach bad states. So, for example, take a state that reaches both good and bad states. Then by $(*)$, it must be a bad state, since it reaches at least one bad state. But the original English sentence has nothing to say about states that each both good and bad states.



        OK, so how do you translate the original English sentence? Well, follow this form:



        $$forall x (text{"x reaches only bad states"} rightarrow B(x))$$



        OK, and the translation of "x reaches only bad states" is:



        $$forall y (R(x,y) rightarrow B(y)$$



        So, plug this in, and you get:



        $$forall x (forall y (R(x,y) rightarrow B(y)) rightarrow B(x))$$






        share|cite|improve this answer











        $endgroup$



        First, you need to add some parentheses, because $P rightarrow (Q rightarrow R)$ is not the same as $(P rightarrow Q) rightarrow R)$



        Indeed, I see that you are hoping to use the Exportation equivalence rule, which states that



        $$P rightarrow (Q rightarrow R) Leftrightarrow (P land Q) rightarrow R$$



        so that means that your intended symbolization must have been:



        $$forall x (forall y (R(x,y) rightarrow (B(y) rightarrow B(x))) tag{*}$$



        Unfortunately, $(*)$ is not the correct symbolization of the original sentence. $(*)$ translates back as: For any two states that you have, if the first reaches the second, then if the second is bad, then the first is bad. So, that would mean that as soon as the first state reaches any bad state, then the first state is bad. That is not the same as the original sentence, since that is only talking about states that only reach bad states. So, for example, take a state that reaches both good and bad states. Then by $(*)$, it must be a bad state, since it reaches at least one bad state. But the original English sentence has nothing to say about states that each both good and bad states.



        OK, so how do you translate the original English sentence? Well, follow this form:



        $$forall x (text{"x reaches only bad states"} rightarrow B(x))$$



        OK, and the translation of "x reaches only bad states" is:



        $$forall y (R(x,y) rightarrow B(y)$$



        So, plug this in, and you get:



        $$forall x (forall y (R(x,y) rightarrow B(y)) rightarrow B(x))$$







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Jan 21 at 17:10

























        answered Jan 21 at 0:06









        Bram28Bram28

        63.2k44793




        63.2k44793























            0












            $begingroup$

            These two are equivalent due to the exportation rule within logic.



            ((P ∧ Q) -> R)) <=> (P -> (Q -> R))






            share|cite|improve this answer









            $endgroup$













            • $begingroup$
              Nope! Sorry, but your original statement is not of the right form to apply Exportation to. See my Answer.
              $endgroup$
              – Bram28
              Jan 21 at 4:00










            • $begingroup$
              @Bram28 The original statement (or rather a subformula of it) is of the right form to apply that equivalence assuming the OP meant the $to$s to associate to the right. What your answer implicitly points out is that OP's original formula does not correctly capture the intent of the natural language phrase.
              $endgroup$
              – Derek Elkins
              Jan 21 at 5:40










            • $begingroup$
              @DerekElkins Yes, quite right ... if the OP had meant $forall x (forall y (R(x,y) rightarrow (B(y) rightarrow B(x))))$, but in that case the symbolization contains two mistakes: the parentheses should go around the first $rightarrow$, and the scope of the $forall y$ should not extend to include the $B(x)$
              $endgroup$
              – Bram28
              Jan 21 at 15:28
















            0












            $begingroup$

            These two are equivalent due to the exportation rule within logic.



            ((P ∧ Q) -> R)) <=> (P -> (Q -> R))






            share|cite|improve this answer









            $endgroup$













            • $begingroup$
              Nope! Sorry, but your original statement is not of the right form to apply Exportation to. See my Answer.
              $endgroup$
              – Bram28
              Jan 21 at 4:00










            • $begingroup$
              @Bram28 The original statement (or rather a subformula of it) is of the right form to apply that equivalence assuming the OP meant the $to$s to associate to the right. What your answer implicitly points out is that OP's original formula does not correctly capture the intent of the natural language phrase.
              $endgroup$
              – Derek Elkins
              Jan 21 at 5:40










            • $begingroup$
              @DerekElkins Yes, quite right ... if the OP had meant $forall x (forall y (R(x,y) rightarrow (B(y) rightarrow B(x))))$, but in that case the symbolization contains two mistakes: the parentheses should go around the first $rightarrow$, and the scope of the $forall y$ should not extend to include the $B(x)$
              $endgroup$
              – Bram28
              Jan 21 at 15:28














            0












            0








            0





            $begingroup$

            These two are equivalent due to the exportation rule within logic.



            ((P ∧ Q) -> R)) <=> (P -> (Q -> R))






            share|cite|improve this answer









            $endgroup$



            These two are equivalent due to the exportation rule within logic.



            ((P ∧ Q) -> R)) <=> (P -> (Q -> R))







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered Jan 20 at 17:39









            OctavianOctavian

            83




            83












            • $begingroup$
              Nope! Sorry, but your original statement is not of the right form to apply Exportation to. See my Answer.
              $endgroup$
              – Bram28
              Jan 21 at 4:00










            • $begingroup$
              @Bram28 The original statement (or rather a subformula of it) is of the right form to apply that equivalence assuming the OP meant the $to$s to associate to the right. What your answer implicitly points out is that OP's original formula does not correctly capture the intent of the natural language phrase.
              $endgroup$
              – Derek Elkins
              Jan 21 at 5:40










            • $begingroup$
              @DerekElkins Yes, quite right ... if the OP had meant $forall x (forall y (R(x,y) rightarrow (B(y) rightarrow B(x))))$, but in that case the symbolization contains two mistakes: the parentheses should go around the first $rightarrow$, and the scope of the $forall y$ should not extend to include the $B(x)$
              $endgroup$
              – Bram28
              Jan 21 at 15:28


















            • $begingroup$
              Nope! Sorry, but your original statement is not of the right form to apply Exportation to. See my Answer.
              $endgroup$
              – Bram28
              Jan 21 at 4:00










            • $begingroup$
              @Bram28 The original statement (or rather a subformula of it) is of the right form to apply that equivalence assuming the OP meant the $to$s to associate to the right. What your answer implicitly points out is that OP's original formula does not correctly capture the intent of the natural language phrase.
              $endgroup$
              – Derek Elkins
              Jan 21 at 5:40










            • $begingroup$
              @DerekElkins Yes, quite right ... if the OP had meant $forall x (forall y (R(x,y) rightarrow (B(y) rightarrow B(x))))$, but in that case the symbolization contains two mistakes: the parentheses should go around the first $rightarrow$, and the scope of the $forall y$ should not extend to include the $B(x)$
              $endgroup$
              – Bram28
              Jan 21 at 15:28
















            $begingroup$
            Nope! Sorry, but your original statement is not of the right form to apply Exportation to. See my Answer.
            $endgroup$
            – Bram28
            Jan 21 at 4:00




            $begingroup$
            Nope! Sorry, but your original statement is not of the right form to apply Exportation to. See my Answer.
            $endgroup$
            – Bram28
            Jan 21 at 4:00












            $begingroup$
            @Bram28 The original statement (or rather a subformula of it) is of the right form to apply that equivalence assuming the OP meant the $to$s to associate to the right. What your answer implicitly points out is that OP's original formula does not correctly capture the intent of the natural language phrase.
            $endgroup$
            – Derek Elkins
            Jan 21 at 5:40




            $begingroup$
            @Bram28 The original statement (or rather a subformula of it) is of the right form to apply that equivalence assuming the OP meant the $to$s to associate to the right. What your answer implicitly points out is that OP's original formula does not correctly capture the intent of the natural language phrase.
            $endgroup$
            – Derek Elkins
            Jan 21 at 5:40












            $begingroup$
            @DerekElkins Yes, quite right ... if the OP had meant $forall x (forall y (R(x,y) rightarrow (B(y) rightarrow B(x))))$, but in that case the symbolization contains two mistakes: the parentheses should go around the first $rightarrow$, and the scope of the $forall y$ should not extend to include the $B(x)$
            $endgroup$
            – Bram28
            Jan 21 at 15:28




            $begingroup$
            @DerekElkins Yes, quite right ... if the OP had meant $forall x (forall y (R(x,y) rightarrow (B(y) rightarrow B(x))))$, but in that case the symbolization contains two mistakes: the parentheses should go around the first $rightarrow$, and the scope of the $forall y$ should not extend to include the $B(x)$
            $endgroup$
            – Bram28
            Jan 21 at 15:28


















            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%2f3080841%2fstates-that-reach-only-bad-states-are-bad-predicate-logic%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

            MongoDB - Not Authorized To Execute Command

            How to fix TextFormField cause rebuild widget in Flutter

            in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith