Transforming an English Sentence Into Predicate Logic












0












$begingroup$



"Not Everybody likes everybody."




I have the problem that everybody is both the subject and object of that sentence.



I am not sure if that is correct: $exists x lnot text l(x, x)$,



where x = everybody and $text l(x, x) =$ "x likes x".



UPDATE 1: Second attempt



$lnot forall y in x forall z in x text l(y,z)$



UPDATE 2:
There exists some person y that does not like every z:



$exists y lnot forall z text l(y,z)$










share|cite|improve this question











$endgroup$












  • $begingroup$
    I'd define l(x,y) as x likes y, but otherwise this is correct.
    $endgroup$
    – user458276
    Dec 13 '18 at 23:27










  • $begingroup$
    "everybody likes everybody" is "for all people x, for all people y, x likes y:. Now negate that.un English first. It begins "there is some person x ..."
    $endgroup$
    – Ethan Bolker
    Dec 13 '18 at 23:57
















0












$begingroup$



"Not Everybody likes everybody."




I have the problem that everybody is both the subject and object of that sentence.



I am not sure if that is correct: $exists x lnot text l(x, x)$,



where x = everybody and $text l(x, x) =$ "x likes x".



UPDATE 1: Second attempt



$lnot forall y in x forall z in x text l(y,z)$



UPDATE 2:
There exists some person y that does not like every z:



$exists y lnot forall z text l(y,z)$










share|cite|improve this question











$endgroup$












  • $begingroup$
    I'd define l(x,y) as x likes y, but otherwise this is correct.
    $endgroup$
    – user458276
    Dec 13 '18 at 23:27










  • $begingroup$
    "everybody likes everybody" is "for all people x, for all people y, x likes y:. Now negate that.un English first. It begins "there is some person x ..."
    $endgroup$
    – Ethan Bolker
    Dec 13 '18 at 23:57














0












0








0





$begingroup$



"Not Everybody likes everybody."




I have the problem that everybody is both the subject and object of that sentence.



I am not sure if that is correct: $exists x lnot text l(x, x)$,



where x = everybody and $text l(x, x) =$ "x likes x".



UPDATE 1: Second attempt



$lnot forall y in x forall z in x text l(y,z)$



UPDATE 2:
There exists some person y that does not like every z:



$exists y lnot forall z text l(y,z)$










share|cite|improve this question











$endgroup$





"Not Everybody likes everybody."




I have the problem that everybody is both the subject and object of that sentence.



I am not sure if that is correct: $exists x lnot text l(x, x)$,



where x = everybody and $text l(x, x) =$ "x likes x".



UPDATE 1: Second attempt



$lnot forall y in x forall z in x text l(y,z)$



UPDATE 2:
There exists some person y that does not like every z:



$exists y lnot forall z text l(y,z)$







logic predicate-logic






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 14 '18 at 8:59









Mauro ALLEGRANZA

66.8k449115




66.8k449115










asked Dec 13 '18 at 23:15









WilliWilli

285




285












  • $begingroup$
    I'd define l(x,y) as x likes y, but otherwise this is correct.
    $endgroup$
    – user458276
    Dec 13 '18 at 23:27










  • $begingroup$
    "everybody likes everybody" is "for all people x, for all people y, x likes y:. Now negate that.un English first. It begins "there is some person x ..."
    $endgroup$
    – Ethan Bolker
    Dec 13 '18 at 23:57


















  • $begingroup$
    I'd define l(x,y) as x likes y, but otherwise this is correct.
    $endgroup$
    – user458276
    Dec 13 '18 at 23:27










  • $begingroup$
    "everybody likes everybody" is "for all people x, for all people y, x likes y:. Now negate that.un English first. It begins "there is some person x ..."
    $endgroup$
    – Ethan Bolker
    Dec 13 '18 at 23:57
















$begingroup$
I'd define l(x,y) as x likes y, but otherwise this is correct.
$endgroup$
– user458276
Dec 13 '18 at 23:27




$begingroup$
I'd define l(x,y) as x likes y, but otherwise this is correct.
$endgroup$
– user458276
Dec 13 '18 at 23:27












$begingroup$
"everybody likes everybody" is "for all people x, for all people y, x likes y:. Now negate that.un English first. It begins "there is some person x ..."
$endgroup$
– Ethan Bolker
Dec 13 '18 at 23:57




$begingroup$
"everybody likes everybody" is "for all people x, for all people y, x likes y:. Now negate that.un English first. It begins "there is some person x ..."
$endgroup$
– Ethan Bolker
Dec 13 '18 at 23:57










1 Answer
1






active

oldest

votes


















1












$begingroup$

I disagree with user458276’s comment. You can’t say what $x$ is at the same time you use it as the variable for $exists$. The variable after $exists$ is “bound” and represents a particular but arbitrary element of a set (which you didn’t identify). For $x$ to take on a specific value, it must be “free” and able to be substituted with a value. You are also avoiding dealing with what “everybody” means by trying to let it be the value of a variable. If you had to write “Everybody likes cheese.” in propositional logic, would you let $C(x)$ mean “$x$ likes cheese” and write the sentence as $C(everybody)$?






share|cite|improve this answer









$endgroup$













  • $begingroup$
    I made an update to my question inspired by your comment.
    $endgroup$
    – Willi
    Dec 13 '18 at 23:55






  • 1




    $begingroup$
    Your update is good! Note: You could also move the $lnot$ through the $forall$ to get a version with only $exists$, and it would also be helpful to specify the set (of all people) that is the domain of quantification here.
    $endgroup$
    – Steve Kass
    Dec 14 '18 at 1:51











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%2f3038717%2ftransforming-an-english-sentence-into-predicate-logic%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$

I disagree with user458276’s comment. You can’t say what $x$ is at the same time you use it as the variable for $exists$. The variable after $exists$ is “bound” and represents a particular but arbitrary element of a set (which you didn’t identify). For $x$ to take on a specific value, it must be “free” and able to be substituted with a value. You are also avoiding dealing with what “everybody” means by trying to let it be the value of a variable. If you had to write “Everybody likes cheese.” in propositional logic, would you let $C(x)$ mean “$x$ likes cheese” and write the sentence as $C(everybody)$?






share|cite|improve this answer









$endgroup$













  • $begingroup$
    I made an update to my question inspired by your comment.
    $endgroup$
    – Willi
    Dec 13 '18 at 23:55






  • 1




    $begingroup$
    Your update is good! Note: You could also move the $lnot$ through the $forall$ to get a version with only $exists$, and it would also be helpful to specify the set (of all people) that is the domain of quantification here.
    $endgroup$
    – Steve Kass
    Dec 14 '18 at 1:51
















1












$begingroup$

I disagree with user458276’s comment. You can’t say what $x$ is at the same time you use it as the variable for $exists$. The variable after $exists$ is “bound” and represents a particular but arbitrary element of a set (which you didn’t identify). For $x$ to take on a specific value, it must be “free” and able to be substituted with a value. You are also avoiding dealing with what “everybody” means by trying to let it be the value of a variable. If you had to write “Everybody likes cheese.” in propositional logic, would you let $C(x)$ mean “$x$ likes cheese” and write the sentence as $C(everybody)$?






share|cite|improve this answer









$endgroup$













  • $begingroup$
    I made an update to my question inspired by your comment.
    $endgroup$
    – Willi
    Dec 13 '18 at 23:55






  • 1




    $begingroup$
    Your update is good! Note: You could also move the $lnot$ through the $forall$ to get a version with only $exists$, and it would also be helpful to specify the set (of all people) that is the domain of quantification here.
    $endgroup$
    – Steve Kass
    Dec 14 '18 at 1:51














1












1








1





$begingroup$

I disagree with user458276’s comment. You can’t say what $x$ is at the same time you use it as the variable for $exists$. The variable after $exists$ is “bound” and represents a particular but arbitrary element of a set (which you didn’t identify). For $x$ to take on a specific value, it must be “free” and able to be substituted with a value. You are also avoiding dealing with what “everybody” means by trying to let it be the value of a variable. If you had to write “Everybody likes cheese.” in propositional logic, would you let $C(x)$ mean “$x$ likes cheese” and write the sentence as $C(everybody)$?






share|cite|improve this answer









$endgroup$



I disagree with user458276’s comment. You can’t say what $x$ is at the same time you use it as the variable for $exists$. The variable after $exists$ is “bound” and represents a particular but arbitrary element of a set (which you didn’t identify). For $x$ to take on a specific value, it must be “free” and able to be substituted with a value. You are also avoiding dealing with what “everybody” means by trying to let it be the value of a variable. If you had to write “Everybody likes cheese.” in propositional logic, would you let $C(x)$ mean “$x$ likes cheese” and write the sentence as $C(everybody)$?







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Dec 13 '18 at 23:32









Steve KassSteve Kass

11.4k11530




11.4k11530












  • $begingroup$
    I made an update to my question inspired by your comment.
    $endgroup$
    – Willi
    Dec 13 '18 at 23:55






  • 1




    $begingroup$
    Your update is good! Note: You could also move the $lnot$ through the $forall$ to get a version with only $exists$, and it would also be helpful to specify the set (of all people) that is the domain of quantification here.
    $endgroup$
    – Steve Kass
    Dec 14 '18 at 1:51


















  • $begingroup$
    I made an update to my question inspired by your comment.
    $endgroup$
    – Willi
    Dec 13 '18 at 23:55






  • 1




    $begingroup$
    Your update is good! Note: You could also move the $lnot$ through the $forall$ to get a version with only $exists$, and it would also be helpful to specify the set (of all people) that is the domain of quantification here.
    $endgroup$
    – Steve Kass
    Dec 14 '18 at 1:51
















$begingroup$
I made an update to my question inspired by your comment.
$endgroup$
– Willi
Dec 13 '18 at 23:55




$begingroup$
I made an update to my question inspired by your comment.
$endgroup$
– Willi
Dec 13 '18 at 23:55




1




1




$begingroup$
Your update is good! Note: You could also move the $lnot$ through the $forall$ to get a version with only $exists$, and it would also be helpful to specify the set (of all people) that is the domain of quantification here.
$endgroup$
– Steve Kass
Dec 14 '18 at 1:51




$begingroup$
Your update is good! Note: You could also move the $lnot$ through the $forall$ to get a version with only $exists$, and it would also be helpful to specify the set (of all people) that is the domain of quantification here.
$endgroup$
– Steve Kass
Dec 14 '18 at 1:51


















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%2f3038717%2ftransforming-an-english-sentence-into-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

Plaza Victoria

In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...