First order logic: Difference between sentences The 2019 Stack Overflow Developer Survey Results Are InTranslate the following sentences into predicate logic language.What is the difference between interpretations of the following predicates?Equivalence of first order logic formulasFirst order logic equivalence proofTranslate to First Order LogicHelp with converting sentences into predicate logicDifferentiating First/Second order logicUsing only logical symbols and “$+, cdot$” translate into a first-order logic: “$c$ is not the greatest common factor of $a$ and $b$”.Verification of the translation of English sentences into predicate logic.Language, Proof & Logic (LPL) Exercise 11.21 - Sentences 7, 9

What do hard-Brexiteers want with respect to the Irish border?

Have you ever entered Singapore using a different passport or name?

How to manage monthly salary

What is the motivation for a law requiring 2 parties to consent for recording a conversation

For what reasons would an animal species NOT cross a *horizontal* land bridge?

Is an up-to-date browser secure on an out-of-date OS?

The difference between dialogue marks

What does ひと匙 mean in this manga and has it been used colloquially?

Can a flute soloist sit?

Write faster on AT24C32

Can someone be penalized for an "unlawful" act if no penalty is specified?

Landlord wants to switch my lease to a "Land contract" to "get back at the city"

How technical should a Scrum Master be to effectively remove impediments?

Multiply Two Integer Polynomials

Earliest use of the term "Galois extension"?

Shouldn't "much" here be used instead of "more"?

Output the Arecibo Message

What is the closest word meaning "respect for time / mindful"

How to type this arrow in math mode?

What could be the right powersource for 15 seconds lifespan disposable giant chainsaw?

Can a rogue use sneak attack with weapons that have the thrown property even if they are not thrown?

Is flight data recorder erased after every flight?

How to save as into a customized destination on macOS?

How to notate time signature switching consistently every measure



First order logic: Difference between sentences



The 2019 Stack Overflow Developer Survey Results Are InTranslate the following sentences into predicate logic language.What is the difference between interpretations of the following predicates?Equivalence of first order logic formulasFirst order logic equivalence proofTranslate to First Order LogicHelp with converting sentences into predicate logicDifferentiating First/Second order logicUsing only logical symbols and “$+, cdot$” translate into a first-order logic: “$c$ is not the greatest common factor of $a$ and $b$”.Verification of the translation of English sentences into predicate logic.Language, Proof & Logic (LPL) Exercise 11.21 - Sentences 7, 9










2












$begingroup$


My task is to translate the following 2 sentences to first-order logic.
I can't figure if my proposed solution is also correct even though it doesn't match the professor's solution.



$1$. No student attended every lecture.



  • S(x): isStudent(x),

  • L(y): isLecture(y),

  • B(x,y): x attended y?

My solution 1:
$$ negexists x forall y S(x) implies (L(y) land B(x,y)) $$



My solution 2:
$$ negexists x forall y (S(x) land L(y)) implies B(x,y) $$



Correct solution:
$$negexists xforall y S(x) land (L(y) implies B(x, y))$$



Are they equivalent?










share|cite|improve this question











$endgroup$











  • $begingroup$
    Solution 1 is not correct: it would only be true if everything were a lecture. Solution 2 is correct and equivalent to the given solution.
    $endgroup$
    – Berci
    Apr 6 at 9:21






  • 1




    $begingroup$
    @Berci - Are you sure they're equivalent? It does seem that 2 implies 3, but if we have a universe with no students, it looks like 3 can be true and 2 false by having a non-student attend a lecture.
    $endgroup$
    – Malice Vidrine
    Apr 6 at 15:11










  • $begingroup$
    I am not sure either.
    $endgroup$
    – siva
    Apr 6 at 15:58















2












$begingroup$


My task is to translate the following 2 sentences to first-order logic.
I can't figure if my proposed solution is also correct even though it doesn't match the professor's solution.



$1$. No student attended every lecture.



  • S(x): isStudent(x),

  • L(y): isLecture(y),

  • B(x,y): x attended y?

My solution 1:
$$ negexists x forall y S(x) implies (L(y) land B(x,y)) $$



My solution 2:
$$ negexists x forall y (S(x) land L(y)) implies B(x,y) $$



Correct solution:
$$negexists xforall y S(x) land (L(y) implies B(x, y))$$



Are they equivalent?










share|cite|improve this question











$endgroup$











  • $begingroup$
    Solution 1 is not correct: it would only be true if everything were a lecture. Solution 2 is correct and equivalent to the given solution.
    $endgroup$
    – Berci
    Apr 6 at 9:21






  • 1




    $begingroup$
    @Berci - Are you sure they're equivalent? It does seem that 2 implies 3, but if we have a universe with no students, it looks like 3 can be true and 2 false by having a non-student attend a lecture.
    $endgroup$
    – Malice Vidrine
    Apr 6 at 15:11










  • $begingroup$
    I am not sure either.
    $endgroup$
    – siva
    Apr 6 at 15:58













2












2








2





$begingroup$


My task is to translate the following 2 sentences to first-order logic.
I can't figure if my proposed solution is also correct even though it doesn't match the professor's solution.



$1$. No student attended every lecture.



  • S(x): isStudent(x),

  • L(y): isLecture(y),

  • B(x,y): x attended y?

My solution 1:
$$ negexists x forall y S(x) implies (L(y) land B(x,y)) $$



My solution 2:
$$ negexists x forall y (S(x) land L(y)) implies B(x,y) $$



Correct solution:
$$negexists xforall y S(x) land (L(y) implies B(x, y))$$



Are they equivalent?










share|cite|improve this question











$endgroup$




My task is to translate the following 2 sentences to first-order logic.
I can't figure if my proposed solution is also correct even though it doesn't match the professor's solution.



$1$. No student attended every lecture.



  • S(x): isStudent(x),

  • L(y): isLecture(y),

  • B(x,y): x attended y?

My solution 1:
$$ negexists x forall y S(x) implies (L(y) land B(x,y)) $$



My solution 2:
$$ negexists x forall y (S(x) land L(y)) implies B(x,y) $$



Correct solution:
$$negexists xforall y S(x) land (L(y) implies B(x, y))$$



Are they equivalent?







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






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Apr 6 at 19:45









Bram28

64.4k44793




64.4k44793










asked Apr 6 at 8:41









sivasiva

384




384











  • $begingroup$
    Solution 1 is not correct: it would only be true if everything were a lecture. Solution 2 is correct and equivalent to the given solution.
    $endgroup$
    – Berci
    Apr 6 at 9:21






  • 1




    $begingroup$
    @Berci - Are you sure they're equivalent? It does seem that 2 implies 3, but if we have a universe with no students, it looks like 3 can be true and 2 false by having a non-student attend a lecture.
    $endgroup$
    – Malice Vidrine
    Apr 6 at 15:11










  • $begingroup$
    I am not sure either.
    $endgroup$
    – siva
    Apr 6 at 15:58
















  • $begingroup$
    Solution 1 is not correct: it would only be true if everything were a lecture. Solution 2 is correct and equivalent to the given solution.
    $endgroup$
    – Berci
    Apr 6 at 9:21






  • 1




    $begingroup$
    @Berci - Are you sure they're equivalent? It does seem that 2 implies 3, but if we have a universe with no students, it looks like 3 can be true and 2 false by having a non-student attend a lecture.
    $endgroup$
    – Malice Vidrine
    Apr 6 at 15:11










  • $begingroup$
    I am not sure either.
    $endgroup$
    – siva
    Apr 6 at 15:58















$begingroup$
Solution 1 is not correct: it would only be true if everything were a lecture. Solution 2 is correct and equivalent to the given solution.
$endgroup$
– Berci
Apr 6 at 9:21




$begingroup$
Solution 1 is not correct: it would only be true if everything were a lecture. Solution 2 is correct and equivalent to the given solution.
$endgroup$
– Berci
Apr 6 at 9:21




1




1




$begingroup$
@Berci - Are you sure they're equivalent? It does seem that 2 implies 3, but if we have a universe with no students, it looks like 3 can be true and 2 false by having a non-student attend a lecture.
$endgroup$
– Malice Vidrine
Apr 6 at 15:11




$begingroup$
@Berci - Are you sure they're equivalent? It does seem that 2 implies 3, but if we have a universe with no students, it looks like 3 can be true and 2 false by having a non-student attend a lecture.
$endgroup$
– Malice Vidrine
Apr 6 at 15:11












$begingroup$
I am not sure either.
$endgroup$
– siva
Apr 6 at 15:58




$begingroup$
I am not sure either.
$endgroup$
– siva
Apr 6 at 15:58










1 Answer
1






active

oldest

votes


















1












$begingroup$


My solution 1:
$$ negexists x forall y S(x) implies (L(y) land B(x,y)) $$




First, please allow me to add some parentheses to properly indicate the scope of the quantifiers. Also, I cannot stand to see the symbol $Rightarrow$ being used for the material conditional, since that is more often used for logical implication ... for material implication please use the $to$. OK, so we have:



$$ negexists x forall y (S(x) to (L(y) land B(x,y))) $$



Well, this is not correct. If you bring the negation inside, you see that this is equivalent to:



$$ forall x exists y neg (S(x) to (L(y) land B(x,y))) $$



and thus to:



$$ forall x exists y (S(x) land neg (L(y) land B(x,y))) $$



and, bringing in the $exists y$:



$$ forall x (S(x) land exists y neg (L(y) land B(x,y))) $$



... meaning (among other things) that everything in the universe is a student!



OK, so how about your:




My solution 2:
$$ negexists x forall y (S(x) land L(y)) implies B(x,y) $$




Again, I'll rewrite this as:



$$ negexists x forall y ((S(x) land L(y)) to B(x,y)) $$



Now, once again, let's bring in the negation:



$$ forall x exists y neg ((S(x) land L(y)) to B(x,y)) $$



and thus:



$$ forall x exists y ((S(x) land L(y)) land neg B(x,y)) $$



or simply:



$$ forall x exists y (S(x) land L(y) land neg B(x,y)) $$



and thus:



$$ forall x (S(x) land exists y (L(y) land neg B(x,y))) $$



So, once again this can only be true if (among other things) everything in the universe is a student! OK, so that's not right either.



However, the given answer:




Correct solution:
$$negexists xforall y S(x) land (L(y) implies B(x, y))$$




is indeed correct. If we bring in the $forall y$, we get:



$$neg exists x (S(x) land forall y(L(y) to B(x,y))$$



which is now a bit more easily seen as saying that there is no student such that for every lecture, the student attended that lecture.



In fact, if we start with the original and bring in the negation, we get:



$$forall xexists y neg (S(x) land (L(y) to B(x, y))$$



which is equivalent to:



$$forall xexists y (S(x) to neg (L(y) to B(x, y))$$



thus to:



$$forall xexists y (S(x) to (L(y) land neg B(x, y))$$



and thus to:



$$forall x (S(x) to exists y (L(y) land neg B(x, y))$$



which translates back as: 'for every student there is a lecture that they did not attend' ... which is exactly what we want!



(By the way: do you see the advantage of not always having all quantifiers on the outside when doing translation? You often get a much more natural reading of the sentence. Thus, while having all quantifiers on the outside has some practical and theoretical importance for formal logic, when it comes to symbolization, I much prefer to place the quantifiers in the 'proper' place)



Notice how you can clearly see the difference between your Solution 2 and the Given solution at the very end of their transformation. Again, your Solution 2 is equivalent to:



$$ forall x (S(x) land exists y (L(y) land neg B(x,y))) $$



which says: 'Everything is a student and ...'



while the correct solution is equivalent to:



$$forall x (S(x) to exists y (L(y) land neg B(x, y))$$



which says: 'if something is a student, then ...'



This is how the Correct solution is a claim about all students, while your solution 2 (and 1) is a claim about everything (and forces everything to be a student!)






share|cite|improve this answer











$endgroup$













    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%2f3176770%2ffirst-order-logic-difference-between-sentences%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









    1












    $begingroup$


    My solution 1:
    $$ negexists x forall y S(x) implies (L(y) land B(x,y)) $$




    First, please allow me to add some parentheses to properly indicate the scope of the quantifiers. Also, I cannot stand to see the symbol $Rightarrow$ being used for the material conditional, since that is more often used for logical implication ... for material implication please use the $to$. OK, so we have:



    $$ negexists x forall y (S(x) to (L(y) land B(x,y))) $$



    Well, this is not correct. If you bring the negation inside, you see that this is equivalent to:



    $$ forall x exists y neg (S(x) to (L(y) land B(x,y))) $$



    and thus to:



    $$ forall x exists y (S(x) land neg (L(y) land B(x,y))) $$



    and, bringing in the $exists y$:



    $$ forall x (S(x) land exists y neg (L(y) land B(x,y))) $$



    ... meaning (among other things) that everything in the universe is a student!



    OK, so how about your:




    My solution 2:
    $$ negexists x forall y (S(x) land L(y)) implies B(x,y) $$




    Again, I'll rewrite this as:



    $$ negexists x forall y ((S(x) land L(y)) to B(x,y)) $$



    Now, once again, let's bring in the negation:



    $$ forall x exists y neg ((S(x) land L(y)) to B(x,y)) $$



    and thus:



    $$ forall x exists y ((S(x) land L(y)) land neg B(x,y)) $$



    or simply:



    $$ forall x exists y (S(x) land L(y) land neg B(x,y)) $$



    and thus:



    $$ forall x (S(x) land exists y (L(y) land neg B(x,y))) $$



    So, once again this can only be true if (among other things) everything in the universe is a student! OK, so that's not right either.



    However, the given answer:




    Correct solution:
    $$negexists xforall y S(x) land (L(y) implies B(x, y))$$




    is indeed correct. If we bring in the $forall y$, we get:



    $$neg exists x (S(x) land forall y(L(y) to B(x,y))$$



    which is now a bit more easily seen as saying that there is no student such that for every lecture, the student attended that lecture.



    In fact, if we start with the original and bring in the negation, we get:



    $$forall xexists y neg (S(x) land (L(y) to B(x, y))$$



    which is equivalent to:



    $$forall xexists y (S(x) to neg (L(y) to B(x, y))$$



    thus to:



    $$forall xexists y (S(x) to (L(y) land neg B(x, y))$$



    and thus to:



    $$forall x (S(x) to exists y (L(y) land neg B(x, y))$$



    which translates back as: 'for every student there is a lecture that they did not attend' ... which is exactly what we want!



    (By the way: do you see the advantage of not always having all quantifiers on the outside when doing translation? You often get a much more natural reading of the sentence. Thus, while having all quantifiers on the outside has some practical and theoretical importance for formal logic, when it comes to symbolization, I much prefer to place the quantifiers in the 'proper' place)



    Notice how you can clearly see the difference between your Solution 2 and the Given solution at the very end of their transformation. Again, your Solution 2 is equivalent to:



    $$ forall x (S(x) land exists y (L(y) land neg B(x,y))) $$



    which says: 'Everything is a student and ...'



    while the correct solution is equivalent to:



    $$forall x (S(x) to exists y (L(y) land neg B(x, y))$$



    which says: 'if something is a student, then ...'



    This is how the Correct solution is a claim about all students, while your solution 2 (and 1) is a claim about everything (and forces everything to be a student!)






    share|cite|improve this answer











    $endgroup$

















      1












      $begingroup$


      My solution 1:
      $$ negexists x forall y S(x) implies (L(y) land B(x,y)) $$




      First, please allow me to add some parentheses to properly indicate the scope of the quantifiers. Also, I cannot stand to see the symbol $Rightarrow$ being used for the material conditional, since that is more often used for logical implication ... for material implication please use the $to$. OK, so we have:



      $$ negexists x forall y (S(x) to (L(y) land B(x,y))) $$



      Well, this is not correct. If you bring the negation inside, you see that this is equivalent to:



      $$ forall x exists y neg (S(x) to (L(y) land B(x,y))) $$



      and thus to:



      $$ forall x exists y (S(x) land neg (L(y) land B(x,y))) $$



      and, bringing in the $exists y$:



      $$ forall x (S(x) land exists y neg (L(y) land B(x,y))) $$



      ... meaning (among other things) that everything in the universe is a student!



      OK, so how about your:




      My solution 2:
      $$ negexists x forall y (S(x) land L(y)) implies B(x,y) $$




      Again, I'll rewrite this as:



      $$ negexists x forall y ((S(x) land L(y)) to B(x,y)) $$



      Now, once again, let's bring in the negation:



      $$ forall x exists y neg ((S(x) land L(y)) to B(x,y)) $$



      and thus:



      $$ forall x exists y ((S(x) land L(y)) land neg B(x,y)) $$



      or simply:



      $$ forall x exists y (S(x) land L(y) land neg B(x,y)) $$



      and thus:



      $$ forall x (S(x) land exists y (L(y) land neg B(x,y))) $$



      So, once again this can only be true if (among other things) everything in the universe is a student! OK, so that's not right either.



      However, the given answer:




      Correct solution:
      $$negexists xforall y S(x) land (L(y) implies B(x, y))$$




      is indeed correct. If we bring in the $forall y$, we get:



      $$neg exists x (S(x) land forall y(L(y) to B(x,y))$$



      which is now a bit more easily seen as saying that there is no student such that for every lecture, the student attended that lecture.



      In fact, if we start with the original and bring in the negation, we get:



      $$forall xexists y neg (S(x) land (L(y) to B(x, y))$$



      which is equivalent to:



      $$forall xexists y (S(x) to neg (L(y) to B(x, y))$$



      thus to:



      $$forall xexists y (S(x) to (L(y) land neg B(x, y))$$



      and thus to:



      $$forall x (S(x) to exists y (L(y) land neg B(x, y))$$



      which translates back as: 'for every student there is a lecture that they did not attend' ... which is exactly what we want!



      (By the way: do you see the advantage of not always having all quantifiers on the outside when doing translation? You often get a much more natural reading of the sentence. Thus, while having all quantifiers on the outside has some practical and theoretical importance for formal logic, when it comes to symbolization, I much prefer to place the quantifiers in the 'proper' place)



      Notice how you can clearly see the difference between your Solution 2 and the Given solution at the very end of their transformation. Again, your Solution 2 is equivalent to:



      $$ forall x (S(x) land exists y (L(y) land neg B(x,y))) $$



      which says: 'Everything is a student and ...'



      while the correct solution is equivalent to:



      $$forall x (S(x) to exists y (L(y) land neg B(x, y))$$



      which says: 'if something is a student, then ...'



      This is how the Correct solution is a claim about all students, while your solution 2 (and 1) is a claim about everything (and forces everything to be a student!)






      share|cite|improve this answer











      $endgroup$















        1












        1








        1





        $begingroup$


        My solution 1:
        $$ negexists x forall y S(x) implies (L(y) land B(x,y)) $$




        First, please allow me to add some parentheses to properly indicate the scope of the quantifiers. Also, I cannot stand to see the symbol $Rightarrow$ being used for the material conditional, since that is more often used for logical implication ... for material implication please use the $to$. OK, so we have:



        $$ negexists x forall y (S(x) to (L(y) land B(x,y))) $$



        Well, this is not correct. If you bring the negation inside, you see that this is equivalent to:



        $$ forall x exists y neg (S(x) to (L(y) land B(x,y))) $$



        and thus to:



        $$ forall x exists y (S(x) land neg (L(y) land B(x,y))) $$



        and, bringing in the $exists y$:



        $$ forall x (S(x) land exists y neg (L(y) land B(x,y))) $$



        ... meaning (among other things) that everything in the universe is a student!



        OK, so how about your:




        My solution 2:
        $$ negexists x forall y (S(x) land L(y)) implies B(x,y) $$




        Again, I'll rewrite this as:



        $$ negexists x forall y ((S(x) land L(y)) to B(x,y)) $$



        Now, once again, let's bring in the negation:



        $$ forall x exists y neg ((S(x) land L(y)) to B(x,y)) $$



        and thus:



        $$ forall x exists y ((S(x) land L(y)) land neg B(x,y)) $$



        or simply:



        $$ forall x exists y (S(x) land L(y) land neg B(x,y)) $$



        and thus:



        $$ forall x (S(x) land exists y (L(y) land neg B(x,y))) $$



        So, once again this can only be true if (among other things) everything in the universe is a student! OK, so that's not right either.



        However, the given answer:




        Correct solution:
        $$negexists xforall y S(x) land (L(y) implies B(x, y))$$




        is indeed correct. If we bring in the $forall y$, we get:



        $$neg exists x (S(x) land forall y(L(y) to B(x,y))$$



        which is now a bit more easily seen as saying that there is no student such that for every lecture, the student attended that lecture.



        In fact, if we start with the original and bring in the negation, we get:



        $$forall xexists y neg (S(x) land (L(y) to B(x, y))$$



        which is equivalent to:



        $$forall xexists y (S(x) to neg (L(y) to B(x, y))$$



        thus to:



        $$forall xexists y (S(x) to (L(y) land neg B(x, y))$$



        and thus to:



        $$forall x (S(x) to exists y (L(y) land neg B(x, y))$$



        which translates back as: 'for every student there is a lecture that they did not attend' ... which is exactly what we want!



        (By the way: do you see the advantage of not always having all quantifiers on the outside when doing translation? You often get a much more natural reading of the sentence. Thus, while having all quantifiers on the outside has some practical and theoretical importance for formal logic, when it comes to symbolization, I much prefer to place the quantifiers in the 'proper' place)



        Notice how you can clearly see the difference between your Solution 2 and the Given solution at the very end of their transformation. Again, your Solution 2 is equivalent to:



        $$ forall x (S(x) land exists y (L(y) land neg B(x,y))) $$



        which says: 'Everything is a student and ...'



        while the correct solution is equivalent to:



        $$forall x (S(x) to exists y (L(y) land neg B(x, y))$$



        which says: 'if something is a student, then ...'



        This is how the Correct solution is a claim about all students, while your solution 2 (and 1) is a claim about everything (and forces everything to be a student!)






        share|cite|improve this answer











        $endgroup$




        My solution 1:
        $$ negexists x forall y S(x) implies (L(y) land B(x,y)) $$




        First, please allow me to add some parentheses to properly indicate the scope of the quantifiers. Also, I cannot stand to see the symbol $Rightarrow$ being used for the material conditional, since that is more often used for logical implication ... for material implication please use the $to$. OK, so we have:



        $$ negexists x forall y (S(x) to (L(y) land B(x,y))) $$



        Well, this is not correct. If you bring the negation inside, you see that this is equivalent to:



        $$ forall x exists y neg (S(x) to (L(y) land B(x,y))) $$



        and thus to:



        $$ forall x exists y (S(x) land neg (L(y) land B(x,y))) $$



        and, bringing in the $exists y$:



        $$ forall x (S(x) land exists y neg (L(y) land B(x,y))) $$



        ... meaning (among other things) that everything in the universe is a student!



        OK, so how about your:




        My solution 2:
        $$ negexists x forall y (S(x) land L(y)) implies B(x,y) $$




        Again, I'll rewrite this as:



        $$ negexists x forall y ((S(x) land L(y)) to B(x,y)) $$



        Now, once again, let's bring in the negation:



        $$ forall x exists y neg ((S(x) land L(y)) to B(x,y)) $$



        and thus:



        $$ forall x exists y ((S(x) land L(y)) land neg B(x,y)) $$



        or simply:



        $$ forall x exists y (S(x) land L(y) land neg B(x,y)) $$



        and thus:



        $$ forall x (S(x) land exists y (L(y) land neg B(x,y))) $$



        So, once again this can only be true if (among other things) everything in the universe is a student! OK, so that's not right either.



        However, the given answer:




        Correct solution:
        $$negexists xforall y S(x) land (L(y) implies B(x, y))$$




        is indeed correct. If we bring in the $forall y$, we get:



        $$neg exists x (S(x) land forall y(L(y) to B(x,y))$$



        which is now a bit more easily seen as saying that there is no student such that for every lecture, the student attended that lecture.



        In fact, if we start with the original and bring in the negation, we get:



        $$forall xexists y neg (S(x) land (L(y) to B(x, y))$$



        which is equivalent to:



        $$forall xexists y (S(x) to neg (L(y) to B(x, y))$$



        thus to:



        $$forall xexists y (S(x) to (L(y) land neg B(x, y))$$



        and thus to:



        $$forall x (S(x) to exists y (L(y) land neg B(x, y))$$



        which translates back as: 'for every student there is a lecture that they did not attend' ... which is exactly what we want!



        (By the way: do you see the advantage of not always having all quantifiers on the outside when doing translation? You often get a much more natural reading of the sentence. Thus, while having all quantifiers on the outside has some practical and theoretical importance for formal logic, when it comes to symbolization, I much prefer to place the quantifiers in the 'proper' place)



        Notice how you can clearly see the difference between your Solution 2 and the Given solution at the very end of their transformation. Again, your Solution 2 is equivalent to:



        $$ forall x (S(x) land exists y (L(y) land neg B(x,y))) $$



        which says: 'Everything is a student and ...'



        while the correct solution is equivalent to:



        $$forall x (S(x) to exists y (L(y) land neg B(x, y))$$



        which says: 'if something is a student, then ...'



        This is how the Correct solution is a claim about all students, while your solution 2 (and 1) is a claim about everything (and forces everything to be a student!)







        share|cite|improve this answer














        share|cite|improve this answer



        share|cite|improve this answer








        edited Apr 7 at 11:42

























        answered Apr 6 at 19:45









        Bram28Bram28

        64.4k44793




        64.4k44793



























            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%2f3176770%2ffirst-order-logic-difference-between-sentences%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

            Hidroelektrana Sadržaj Povijest | Podjela hidroelektrana | Snaga dobivena u hidroelektranama | Dijelovi hidroelektrane | Uloga hidroelektrana u suvremenom svijetu | Prednosti hidroelektrana | Nedostaci hidroelektrana | Države s najvećom proizvodnjom hidro-električne energije | Deset najvećih hidroelektrana u svijetu | Hidroelektrane u Hrvatskoj | Izvori | Poveznice | Vanjske poveznice | Navigacijski izbornikTechnical Report, Version 2Zajedničkom poslužiteljuHidroelektranaHEP Proizvodnja d.o.o. - Hidroelektrane u Hrvatskoj

            Bosc Connection Yimello Approaching Angry The produce zaps the market. 구성 기록되다 변경...

            WordPress Information needed