Parentheses for quantifiers in First-Order Logic affect logical operators normally?
I'm sure this is a very simple question, but I cannot manage to find it explictly answered anywhere. Do parentheses used for quantifiers also affect logical operators normally?
For example, if parentheses affect logical operators normally, the following formula:
$forall x(P(x) land exists y(Q(y) rightarrow R(x,y)))$
Would be equivalent, in terms of its structure, to:
$P land (Q rightarrow R)$
Whereas this one:
$forall x(P(x) land exists y(Q(y)) rightarrow R(x,y))$
Would be equivalent to:
$P land Q rightarrow R equiv (P land Q) rightarrow R$
If it turns out that parentheses used for quantifiers do not affect the preference of "non-quantifier" logical operators, then both cases would be the same... So could someone please confirm whether I am right, and parentheses used for quantifiers affect all logical operators normally?
Thanks in advance for your time! :)
first-order-logic predicate-logic quantifiers
|
show 1 more comment
I'm sure this is a very simple question, but I cannot manage to find it explictly answered anywhere. Do parentheses used for quantifiers also affect logical operators normally?
For example, if parentheses affect logical operators normally, the following formula:
$forall x(P(x) land exists y(Q(y) rightarrow R(x,y)))$
Would be equivalent, in terms of its structure, to:
$P land (Q rightarrow R)$
Whereas this one:
$forall x(P(x) land exists y(Q(y)) rightarrow R(x,y))$
Would be equivalent to:
$P land Q rightarrow R equiv (P land Q) rightarrow R$
If it turns out that parentheses used for quantifiers do not affect the preference of "non-quantifier" logical operators, then both cases would be the same... So could someone please confirm whether I am right, and parentheses used for quantifiers affect all logical operators normally?
Thanks in advance for your time! :)
first-order-logic predicate-logic quantifiers
1
$forall x(P(x) land exists y(Q(y)) rightarrow R(x,y))$ Has unmatched parenthesis, and so is ambiguous.
– amWhy
Nov 26 at 12:02
Can you say what " parentheses affect logical operators normally," means?
– ancientmathematician
Nov 26 at 12:03
The formula shouldn't have unmatched parentheses: the outer ones embrace the whole formula from $forall x$ onwards, and, aside from the parentheses for each predicate, the $exists y$ has parentheses only surrounding the Q predicate.
– Johanovski
Nov 26 at 12:08
By that I mean whether they modify the priority of operators: meaning that $P land Q rightarrow R$ would be equivalent to $(P land Q) rightarrow R$, because $land$ has priority over $rightarrow$, but $P land (Q rightarrow R)$ would not be equivalent to the previous formula, as the explicit parentheses would modify the "normal" priority of $land$ over $rightarrow$.
– Johanovski
Nov 26 at 12:10
Yes, parenthesis used for quantifiers affect all logical operators normally.
– Bertrand Wittgenstein's Ghost
Nov 26 at 12:58
|
show 1 more comment
I'm sure this is a very simple question, but I cannot manage to find it explictly answered anywhere. Do parentheses used for quantifiers also affect logical operators normally?
For example, if parentheses affect logical operators normally, the following formula:
$forall x(P(x) land exists y(Q(y) rightarrow R(x,y)))$
Would be equivalent, in terms of its structure, to:
$P land (Q rightarrow R)$
Whereas this one:
$forall x(P(x) land exists y(Q(y)) rightarrow R(x,y))$
Would be equivalent to:
$P land Q rightarrow R equiv (P land Q) rightarrow R$
If it turns out that parentheses used for quantifiers do not affect the preference of "non-quantifier" logical operators, then both cases would be the same... So could someone please confirm whether I am right, and parentheses used for quantifiers affect all logical operators normally?
Thanks in advance for your time! :)
first-order-logic predicate-logic quantifiers
I'm sure this is a very simple question, but I cannot manage to find it explictly answered anywhere. Do parentheses used for quantifiers also affect logical operators normally?
For example, if parentheses affect logical operators normally, the following formula:
$forall x(P(x) land exists y(Q(y) rightarrow R(x,y)))$
Would be equivalent, in terms of its structure, to:
$P land (Q rightarrow R)$
Whereas this one:
$forall x(P(x) land exists y(Q(y)) rightarrow R(x,y))$
Would be equivalent to:
$P land Q rightarrow R equiv (P land Q) rightarrow R$
If it turns out that parentheses used for quantifiers do not affect the preference of "non-quantifier" logical operators, then both cases would be the same... So could someone please confirm whether I am right, and parentheses used for quantifiers affect all logical operators normally?
Thanks in advance for your time! :)
first-order-logic predicate-logic quantifiers
first-order-logic predicate-logic quantifiers
asked Nov 26 at 11:56
Johanovski
1
1
1
$forall x(P(x) land exists y(Q(y)) rightarrow R(x,y))$ Has unmatched parenthesis, and so is ambiguous.
– amWhy
Nov 26 at 12:02
Can you say what " parentheses affect logical operators normally," means?
– ancientmathematician
Nov 26 at 12:03
The formula shouldn't have unmatched parentheses: the outer ones embrace the whole formula from $forall x$ onwards, and, aside from the parentheses for each predicate, the $exists y$ has parentheses only surrounding the Q predicate.
– Johanovski
Nov 26 at 12:08
By that I mean whether they modify the priority of operators: meaning that $P land Q rightarrow R$ would be equivalent to $(P land Q) rightarrow R$, because $land$ has priority over $rightarrow$, but $P land (Q rightarrow R)$ would not be equivalent to the previous formula, as the explicit parentheses would modify the "normal" priority of $land$ over $rightarrow$.
– Johanovski
Nov 26 at 12:10
Yes, parenthesis used for quantifiers affect all logical operators normally.
– Bertrand Wittgenstein's Ghost
Nov 26 at 12:58
|
show 1 more comment
1
$forall x(P(x) land exists y(Q(y)) rightarrow R(x,y))$ Has unmatched parenthesis, and so is ambiguous.
– amWhy
Nov 26 at 12:02
Can you say what " parentheses affect logical operators normally," means?
– ancientmathematician
Nov 26 at 12:03
The formula shouldn't have unmatched parentheses: the outer ones embrace the whole formula from $forall x$ onwards, and, aside from the parentheses for each predicate, the $exists y$ has parentheses only surrounding the Q predicate.
– Johanovski
Nov 26 at 12:08
By that I mean whether they modify the priority of operators: meaning that $P land Q rightarrow R$ would be equivalent to $(P land Q) rightarrow R$, because $land$ has priority over $rightarrow$, but $P land (Q rightarrow R)$ would not be equivalent to the previous formula, as the explicit parentheses would modify the "normal" priority of $land$ over $rightarrow$.
– Johanovski
Nov 26 at 12:10
Yes, parenthesis used for quantifiers affect all logical operators normally.
– Bertrand Wittgenstein's Ghost
Nov 26 at 12:58
1
1
$forall x(P(x) land exists y(Q(y)) rightarrow R(x,y))$ Has unmatched parenthesis, and so is ambiguous.
– amWhy
Nov 26 at 12:02
$forall x(P(x) land exists y(Q(y)) rightarrow R(x,y))$ Has unmatched parenthesis, and so is ambiguous.
– amWhy
Nov 26 at 12:02
Can you say what " parentheses affect logical operators normally," means?
– ancientmathematician
Nov 26 at 12:03
Can you say what " parentheses affect logical operators normally," means?
– ancientmathematician
Nov 26 at 12:03
The formula shouldn't have unmatched parentheses: the outer ones embrace the whole formula from $forall x$ onwards, and, aside from the parentheses for each predicate, the $exists y$ has parentheses only surrounding the Q predicate.
– Johanovski
Nov 26 at 12:08
The formula shouldn't have unmatched parentheses: the outer ones embrace the whole formula from $forall x$ onwards, and, aside from the parentheses for each predicate, the $exists y$ has parentheses only surrounding the Q predicate.
– Johanovski
Nov 26 at 12:08
By that I mean whether they modify the priority of operators: meaning that $P land Q rightarrow R$ would be equivalent to $(P land Q) rightarrow R$, because $land$ has priority over $rightarrow$, but $P land (Q rightarrow R)$ would not be equivalent to the previous formula, as the explicit parentheses would modify the "normal" priority of $land$ over $rightarrow$.
– Johanovski
Nov 26 at 12:10
By that I mean whether they modify the priority of operators: meaning that $P land Q rightarrow R$ would be equivalent to $(P land Q) rightarrow R$, because $land$ has priority over $rightarrow$, but $P land (Q rightarrow R)$ would not be equivalent to the previous formula, as the explicit parentheses would modify the "normal" priority of $land$ over $rightarrow$.
– Johanovski
Nov 26 at 12:10
Yes, parenthesis used for quantifiers affect all logical operators normally.
– Bertrand Wittgenstein's Ghost
Nov 26 at 12:58
Yes, parenthesis used for quantifiers affect all logical operators normally.
– Bertrand Wittgenstein's Ghost
Nov 26 at 12:58
|
show 1 more comment
active
oldest
votes
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3014224%2fparentheses-for-quantifiers-in-first-order-logic-affect-logical-operators-normal%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3014224%2fparentheses-for-quantifiers-in-first-order-logic-affect-logical-operators-normal%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
1
$forall x(P(x) land exists y(Q(y)) rightarrow R(x,y))$ Has unmatched parenthesis, and so is ambiguous.
– amWhy
Nov 26 at 12:02
Can you say what " parentheses affect logical operators normally," means?
– ancientmathematician
Nov 26 at 12:03
The formula shouldn't have unmatched parentheses: the outer ones embrace the whole formula from $forall x$ onwards, and, aside from the parentheses for each predicate, the $exists y$ has parentheses only surrounding the Q predicate.
– Johanovski
Nov 26 at 12:08
By that I mean whether they modify the priority of operators: meaning that $P land Q rightarrow R$ would be equivalent to $(P land Q) rightarrow R$, because $land$ has priority over $rightarrow$, but $P land (Q rightarrow R)$ would not be equivalent to the previous formula, as the explicit parentheses would modify the "normal" priority of $land$ over $rightarrow$.
– Johanovski
Nov 26 at 12:10
Yes, parenthesis used for quantifiers affect all logical operators normally.
– Bertrand Wittgenstein's Ghost
Nov 26 at 12:58