formalize in predicate logic: All students join some course that they don't like.












0












$begingroup$


I came up with two formulas and have no Idea whether their correct.
1. ∀x(S(x)∧¬C(x))
2. ∀x∃y(S(x)∧C(y)→DoesNotLike(x,y))



And then I have one a bit more complicated, that I can think of multiple ways how to formalize but have no way of knowing if correctly:
Every student attends a class taught by a teacher that they dont like.



P.s. this is not my homework, just preparation for an exam.










share|cite|improve this question









$endgroup$

















    0












    $begingroup$


    I came up with two formulas and have no Idea whether their correct.
    1. ∀x(S(x)∧¬C(x))
    2. ∀x∃y(S(x)∧C(y)→DoesNotLike(x,y))



    And then I have one a bit more complicated, that I can think of multiple ways how to formalize but have no way of knowing if correctly:
    Every student attends a class taught by a teacher that they dont like.



    P.s. this is not my homework, just preparation for an exam.










    share|cite|improve this question









    $endgroup$















      0












      0








      0





      $begingroup$


      I came up with two formulas and have no Idea whether their correct.
      1. ∀x(S(x)∧¬C(x))
      2. ∀x∃y(S(x)∧C(y)→DoesNotLike(x,y))



      And then I have one a bit more complicated, that I can think of multiple ways how to formalize but have no way of knowing if correctly:
      Every student attends a class taught by a teacher that they dont like.



      P.s. this is not my homework, just preparation for an exam.










      share|cite|improve this question









      $endgroup$




      I came up with two formulas and have no Idea whether their correct.
      1. ∀x(S(x)∧¬C(x))
      2. ∀x∃y(S(x)∧C(y)→DoesNotLike(x,y))



      And then I have one a bit more complicated, that I can think of multiple ways how to formalize but have no way of knowing if correctly:
      Every student attends a class taught by a teacher that they dont like.



      P.s. this is not my homework, just preparation for an exam.







      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










      asked Jan 24 at 18:05









      Martin LMartin L

      61




      61






















          1 Answer
          1






          active

          oldest

          votes


















          1












          $begingroup$

          You need to specify carefully what you're taking the predicates $ S $ and $ C $ to mean.



          Presumably, $ Sleft(xright) $ means "$ x $ is a student". I think your first formulation would then be synonymous with the sentence given in the title if $ Cleft(xright) $ were taken to mean "$ x $ likes all courses he or she has ever joined, or will ever join", and the conjunction were to be replaced with implication:$^{mathbf dagger}$
          $$
          forall xleft(Sleft(xright)rightarrow neg Cleft(xright)right)
          $$

          However, I can't think of any interpretation of $ Cleft(yright) $ that would make your second formulation similarly synonymous with that sentence.



          It looks like $ Cleft(yright) $ in the second formulation was intended to mean "$ y $ is a course", but if that were so, there wouldn't appear to be anything in that formulation to specify that the course $ y $ is one that student $ x $ has joined or will join at some time. This could be partly rectified by making $ C $ a two-place predicate for which $ Cleft(x,yright) $ means "$ y $ is a course which $ x $ has joined or will join at some time", but even that's not enough to make the second formulation synonymous with the target sentence.



          A second problem with the second formulation is the placement of the predicate $ C $ before, rather than after, the implication.$^{mathbf *}$ As written, the sentence
          $$
          forall xexists yleft( Sleft(xright) wedge Cleft(x,yright)rightarrowmbox{DoesNotLike}left(x,yright)right)
          $$

          merely says that for every student there is some course that the student wouldn't like if he or she were to join it. It does not assert that every student will, in fact, join such a course at some time. This can be rectified by placing the predicate $ C $ after the $mbox{implication:}^{mathbf *}$
          $$
          forall xleft( Sleft(xright) rightarrowexists yleft( Cleft(x,yright)wedgembox{DoesNotLike}left(x,yright)right)right) .
          $$

          As now formulated the predicate $ C $ represents an existential statement which could be further spelt out by putting $ Cleft(x,yright) = exists t,Jleft(x,y,tright) $, where $ Jleft(x,y,tright) $ is taken to mean "$ y $ is a course which $ x $ joined, or will join, at time $ t $. The last formulation above would then become:
          $$
          forall x left( Sleft(xright) rightarrowexists yexists tleft( Jleft(x,y,tright)wedgembox{DoesNotLike}left(x,yright)right)right) .
          $$



          * Edit: Thanks to Daniel Schepler, in his comment below, for pointing out an error in my original attempt to rectify this deficiency.



          $mathbfdagger$ Further edit: I forgot that the first formulation suffered from the same problem as my first attempted rectification of the second.






          share|cite|improve this answer











          $endgroup$









          • 1




            $begingroup$
            Should you also change $S(x) wedge cdots$ to $S(x) rightarrow cdots$ so the statement doesn't require that everything in the domain of discourse (including also each course - unless you're using a multi-sorted logic) is a student?
            $endgroup$
            – Daniel Schepler
            Jan 24 at 23:59










          • $begingroup$
            Yes, of course you're right. I have now amended the answer.
            $endgroup$
            – lonza leggiera
            Jan 25 at 0:34











          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%2f3086190%2fformalize-in-predicate-logic-all-students-join-some-course-that-they-dont-like%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$

          You need to specify carefully what you're taking the predicates $ S $ and $ C $ to mean.



          Presumably, $ Sleft(xright) $ means "$ x $ is a student". I think your first formulation would then be synonymous with the sentence given in the title if $ Cleft(xright) $ were taken to mean "$ x $ likes all courses he or she has ever joined, or will ever join", and the conjunction were to be replaced with implication:$^{mathbf dagger}$
          $$
          forall xleft(Sleft(xright)rightarrow neg Cleft(xright)right)
          $$

          However, I can't think of any interpretation of $ Cleft(yright) $ that would make your second formulation similarly synonymous with that sentence.



          It looks like $ Cleft(yright) $ in the second formulation was intended to mean "$ y $ is a course", but if that were so, there wouldn't appear to be anything in that formulation to specify that the course $ y $ is one that student $ x $ has joined or will join at some time. This could be partly rectified by making $ C $ a two-place predicate for which $ Cleft(x,yright) $ means "$ y $ is a course which $ x $ has joined or will join at some time", but even that's not enough to make the second formulation synonymous with the target sentence.



          A second problem with the second formulation is the placement of the predicate $ C $ before, rather than after, the implication.$^{mathbf *}$ As written, the sentence
          $$
          forall xexists yleft( Sleft(xright) wedge Cleft(x,yright)rightarrowmbox{DoesNotLike}left(x,yright)right)
          $$

          merely says that for every student there is some course that the student wouldn't like if he or she were to join it. It does not assert that every student will, in fact, join such a course at some time. This can be rectified by placing the predicate $ C $ after the $mbox{implication:}^{mathbf *}$
          $$
          forall xleft( Sleft(xright) rightarrowexists yleft( Cleft(x,yright)wedgembox{DoesNotLike}left(x,yright)right)right) .
          $$

          As now formulated the predicate $ C $ represents an existential statement which could be further spelt out by putting $ Cleft(x,yright) = exists t,Jleft(x,y,tright) $, where $ Jleft(x,y,tright) $ is taken to mean "$ y $ is a course which $ x $ joined, or will join, at time $ t $. The last formulation above would then become:
          $$
          forall x left( Sleft(xright) rightarrowexists yexists tleft( Jleft(x,y,tright)wedgembox{DoesNotLike}left(x,yright)right)right) .
          $$



          * Edit: Thanks to Daniel Schepler, in his comment below, for pointing out an error in my original attempt to rectify this deficiency.



          $mathbfdagger$ Further edit: I forgot that the first formulation suffered from the same problem as my first attempted rectification of the second.






          share|cite|improve this answer











          $endgroup$









          • 1




            $begingroup$
            Should you also change $S(x) wedge cdots$ to $S(x) rightarrow cdots$ so the statement doesn't require that everything in the domain of discourse (including also each course - unless you're using a multi-sorted logic) is a student?
            $endgroup$
            – Daniel Schepler
            Jan 24 at 23:59










          • $begingroup$
            Yes, of course you're right. I have now amended the answer.
            $endgroup$
            – lonza leggiera
            Jan 25 at 0:34
















          1












          $begingroup$

          You need to specify carefully what you're taking the predicates $ S $ and $ C $ to mean.



          Presumably, $ Sleft(xright) $ means "$ x $ is a student". I think your first formulation would then be synonymous with the sentence given in the title if $ Cleft(xright) $ were taken to mean "$ x $ likes all courses he or she has ever joined, or will ever join", and the conjunction were to be replaced with implication:$^{mathbf dagger}$
          $$
          forall xleft(Sleft(xright)rightarrow neg Cleft(xright)right)
          $$

          However, I can't think of any interpretation of $ Cleft(yright) $ that would make your second formulation similarly synonymous with that sentence.



          It looks like $ Cleft(yright) $ in the second formulation was intended to mean "$ y $ is a course", but if that were so, there wouldn't appear to be anything in that formulation to specify that the course $ y $ is one that student $ x $ has joined or will join at some time. This could be partly rectified by making $ C $ a two-place predicate for which $ Cleft(x,yright) $ means "$ y $ is a course which $ x $ has joined or will join at some time", but even that's not enough to make the second formulation synonymous with the target sentence.



          A second problem with the second formulation is the placement of the predicate $ C $ before, rather than after, the implication.$^{mathbf *}$ As written, the sentence
          $$
          forall xexists yleft( Sleft(xright) wedge Cleft(x,yright)rightarrowmbox{DoesNotLike}left(x,yright)right)
          $$

          merely says that for every student there is some course that the student wouldn't like if he or she were to join it. It does not assert that every student will, in fact, join such a course at some time. This can be rectified by placing the predicate $ C $ after the $mbox{implication:}^{mathbf *}$
          $$
          forall xleft( Sleft(xright) rightarrowexists yleft( Cleft(x,yright)wedgembox{DoesNotLike}left(x,yright)right)right) .
          $$

          As now formulated the predicate $ C $ represents an existential statement which could be further spelt out by putting $ Cleft(x,yright) = exists t,Jleft(x,y,tright) $, where $ Jleft(x,y,tright) $ is taken to mean "$ y $ is a course which $ x $ joined, or will join, at time $ t $. The last formulation above would then become:
          $$
          forall x left( Sleft(xright) rightarrowexists yexists tleft( Jleft(x,y,tright)wedgembox{DoesNotLike}left(x,yright)right)right) .
          $$



          * Edit: Thanks to Daniel Schepler, in his comment below, for pointing out an error in my original attempt to rectify this deficiency.



          $mathbfdagger$ Further edit: I forgot that the first formulation suffered from the same problem as my first attempted rectification of the second.






          share|cite|improve this answer











          $endgroup$









          • 1




            $begingroup$
            Should you also change $S(x) wedge cdots$ to $S(x) rightarrow cdots$ so the statement doesn't require that everything in the domain of discourse (including also each course - unless you're using a multi-sorted logic) is a student?
            $endgroup$
            – Daniel Schepler
            Jan 24 at 23:59










          • $begingroup$
            Yes, of course you're right. I have now amended the answer.
            $endgroup$
            – lonza leggiera
            Jan 25 at 0:34














          1












          1








          1





          $begingroup$

          You need to specify carefully what you're taking the predicates $ S $ and $ C $ to mean.



          Presumably, $ Sleft(xright) $ means "$ x $ is a student". I think your first formulation would then be synonymous with the sentence given in the title if $ Cleft(xright) $ were taken to mean "$ x $ likes all courses he or she has ever joined, or will ever join", and the conjunction were to be replaced with implication:$^{mathbf dagger}$
          $$
          forall xleft(Sleft(xright)rightarrow neg Cleft(xright)right)
          $$

          However, I can't think of any interpretation of $ Cleft(yright) $ that would make your second formulation similarly synonymous with that sentence.



          It looks like $ Cleft(yright) $ in the second formulation was intended to mean "$ y $ is a course", but if that were so, there wouldn't appear to be anything in that formulation to specify that the course $ y $ is one that student $ x $ has joined or will join at some time. This could be partly rectified by making $ C $ a two-place predicate for which $ Cleft(x,yright) $ means "$ y $ is a course which $ x $ has joined or will join at some time", but even that's not enough to make the second formulation synonymous with the target sentence.



          A second problem with the second formulation is the placement of the predicate $ C $ before, rather than after, the implication.$^{mathbf *}$ As written, the sentence
          $$
          forall xexists yleft( Sleft(xright) wedge Cleft(x,yright)rightarrowmbox{DoesNotLike}left(x,yright)right)
          $$

          merely says that for every student there is some course that the student wouldn't like if he or she were to join it. It does not assert that every student will, in fact, join such a course at some time. This can be rectified by placing the predicate $ C $ after the $mbox{implication:}^{mathbf *}$
          $$
          forall xleft( Sleft(xright) rightarrowexists yleft( Cleft(x,yright)wedgembox{DoesNotLike}left(x,yright)right)right) .
          $$

          As now formulated the predicate $ C $ represents an existential statement which could be further spelt out by putting $ Cleft(x,yright) = exists t,Jleft(x,y,tright) $, where $ Jleft(x,y,tright) $ is taken to mean "$ y $ is a course which $ x $ joined, or will join, at time $ t $. The last formulation above would then become:
          $$
          forall x left( Sleft(xright) rightarrowexists yexists tleft( Jleft(x,y,tright)wedgembox{DoesNotLike}left(x,yright)right)right) .
          $$



          * Edit: Thanks to Daniel Schepler, in his comment below, for pointing out an error in my original attempt to rectify this deficiency.



          $mathbfdagger$ Further edit: I forgot that the first formulation suffered from the same problem as my first attempted rectification of the second.






          share|cite|improve this answer











          $endgroup$



          You need to specify carefully what you're taking the predicates $ S $ and $ C $ to mean.



          Presumably, $ Sleft(xright) $ means "$ x $ is a student". I think your first formulation would then be synonymous with the sentence given in the title if $ Cleft(xright) $ were taken to mean "$ x $ likes all courses he or she has ever joined, or will ever join", and the conjunction were to be replaced with implication:$^{mathbf dagger}$
          $$
          forall xleft(Sleft(xright)rightarrow neg Cleft(xright)right)
          $$

          However, I can't think of any interpretation of $ Cleft(yright) $ that would make your second formulation similarly synonymous with that sentence.



          It looks like $ Cleft(yright) $ in the second formulation was intended to mean "$ y $ is a course", but if that were so, there wouldn't appear to be anything in that formulation to specify that the course $ y $ is one that student $ x $ has joined or will join at some time. This could be partly rectified by making $ C $ a two-place predicate for which $ Cleft(x,yright) $ means "$ y $ is a course which $ x $ has joined or will join at some time", but even that's not enough to make the second formulation synonymous with the target sentence.



          A second problem with the second formulation is the placement of the predicate $ C $ before, rather than after, the implication.$^{mathbf *}$ As written, the sentence
          $$
          forall xexists yleft( Sleft(xright) wedge Cleft(x,yright)rightarrowmbox{DoesNotLike}left(x,yright)right)
          $$

          merely says that for every student there is some course that the student wouldn't like if he or she were to join it. It does not assert that every student will, in fact, join such a course at some time. This can be rectified by placing the predicate $ C $ after the $mbox{implication:}^{mathbf *}$
          $$
          forall xleft( Sleft(xright) rightarrowexists yleft( Cleft(x,yright)wedgembox{DoesNotLike}left(x,yright)right)right) .
          $$

          As now formulated the predicate $ C $ represents an existential statement which could be further spelt out by putting $ Cleft(x,yright) = exists t,Jleft(x,y,tright) $, where $ Jleft(x,y,tright) $ is taken to mean "$ y $ is a course which $ x $ joined, or will join, at time $ t $. The last formulation above would then become:
          $$
          forall x left( Sleft(xright) rightarrowexists yexists tleft( Jleft(x,y,tright)wedgembox{DoesNotLike}left(x,yright)right)right) .
          $$



          * Edit: Thanks to Daniel Schepler, in his comment below, for pointing out an error in my original attempt to rectify this deficiency.



          $mathbfdagger$ Further edit: I forgot that the first formulation suffered from the same problem as my first attempted rectification of the second.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Jan 25 at 2:02

























          answered Jan 24 at 23:54









          lonza leggieralonza leggiera

          1,07928




          1,07928








          • 1




            $begingroup$
            Should you also change $S(x) wedge cdots$ to $S(x) rightarrow cdots$ so the statement doesn't require that everything in the domain of discourse (including also each course - unless you're using a multi-sorted logic) is a student?
            $endgroup$
            – Daniel Schepler
            Jan 24 at 23:59










          • $begingroup$
            Yes, of course you're right. I have now amended the answer.
            $endgroup$
            – lonza leggiera
            Jan 25 at 0:34














          • 1




            $begingroup$
            Should you also change $S(x) wedge cdots$ to $S(x) rightarrow cdots$ so the statement doesn't require that everything in the domain of discourse (including also each course - unless you're using a multi-sorted logic) is a student?
            $endgroup$
            – Daniel Schepler
            Jan 24 at 23:59










          • $begingroup$
            Yes, of course you're right. I have now amended the answer.
            $endgroup$
            – lonza leggiera
            Jan 25 at 0:34








          1




          1




          $begingroup$
          Should you also change $S(x) wedge cdots$ to $S(x) rightarrow cdots$ so the statement doesn't require that everything in the domain of discourse (including also each course - unless you're using a multi-sorted logic) is a student?
          $endgroup$
          – Daniel Schepler
          Jan 24 at 23:59




          $begingroup$
          Should you also change $S(x) wedge cdots$ to $S(x) rightarrow cdots$ so the statement doesn't require that everything in the domain of discourse (including also each course - unless you're using a multi-sorted logic) is a student?
          $endgroup$
          – Daniel Schepler
          Jan 24 at 23:59












          $begingroup$
          Yes, of course you're right. I have now amended the answer.
          $endgroup$
          – lonza leggiera
          Jan 25 at 0:34




          $begingroup$
          Yes, of course you're right. I have now amended the answer.
          $endgroup$
          – lonza leggiera
          Jan 25 at 0:34


















          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%2f3086190%2fformalize-in-predicate-logic-all-students-join-some-course-that-they-dont-like%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

          Can a sorcerer learn a 5th-level spell early by creating spell slots using the Font of Magic feature?

          Does disintegrating a polymorphed enemy still kill it after the 2018 errata?

          A Topological Invariant for $pi_3(U(n))$