Are these 2 equivalent?First-order logic arity defines decidability?Fundamental Boolean FunctionsFirst Order Logic : PredicatesInference rules for deriving invariants in Hoare logicHow do we know $neg neg LEM$ isn't provable in MLTT?How do I determine if this argument is valid?Two questions on MSO
When calculating averages, why can we treat exploding die as if they're independent?
How would two worlds first establish an exchange rate between their currencies
WPF MVVM ColorLister with navigation
How strong is aircraft-grade spruce?
Chandrayaan 2: Why is Vikram Lander's life limited to 14 Days?
Is there a star over my head?
Owner keeps cutting corners and poaching workers for his other company
Infestation of Locust borers on Black locust tree. Too late for it?
Are these 2 equivalent?
Group in the context of elliptic curve crypto
Is it unavoidable taking shortcuts in software development sometimes?
How do I decide when to use MAPE, SMAPE and MASE for time series analysis on stock forecasting
How do I politely hint customers to leave my store, without pretending to need leave store myself?
Isn't that (two voices leaping to C like this) a breaking of the rules of four-part harmony?
Contractor cut joist hangers to make them fit
After a few interviews, What should I do after told to wait?
Determining System Regular Expression Library
How can I protect myself in case of attack in case like this?
What happens when a file that is 100% paged in to the page cache gets modified by another process
Methods and Feasibility of Antimatter Mining?
The meaning of "offing" in "an agreement in the offing"
How to calculate the proper layer height multiples?
Why can't we generate electricity from Earth's electric field?
Sloth and the Hindrances
Are these 2 equivalent?
First-order logic arity defines decidability?Fundamental Boolean FunctionsFirst Order Logic : PredicatesInference rules for deriving invariants in Hoare logicHow do we know $neg neg LEM$ isn't provable in MLTT?How do I determine if this argument is valid?Two questions on MSO
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
$begingroup$
Is ∀x∀y∀z[φ(x,y)∧p(y,z)->p(x,z)] equivalent to ∀x∀y∀z[φ(x,y)∧p(x,z)->p(y,z)] ?
The only thing I can think of is that this question can be answered if we show that p->q
is equals (↔) το q->p
, but that's not true because p->q ↔ ¬p->¬q
, hence p->q
is not equals to q->p
. However, I do not know if my logic is correct and if it can be accepted as an answer.
I also think that the (first) ∀x∀y∀z[φ(x,y)∧ part is irrelevant and that i have to focus only to the last part.
logic discrete-mathematics propositional-logic
New contributor
$endgroup$
add a comment |
$begingroup$
Is ∀x∀y∀z[φ(x,y)∧p(y,z)->p(x,z)] equivalent to ∀x∀y∀z[φ(x,y)∧p(x,z)->p(y,z)] ?
The only thing I can think of is that this question can be answered if we show that p->q
is equals (↔) το q->p
, but that's not true because p->q ↔ ¬p->¬q
, hence p->q
is not equals to q->p
. However, I do not know if my logic is correct and if it can be accepted as an answer.
I also think that the (first) ∀x∀y∀z[φ(x,y)∧ part is irrelevant and that i have to focus only to the last part.
logic discrete-mathematics propositional-logic
New contributor
$endgroup$
add a comment |
$begingroup$
Is ∀x∀y∀z[φ(x,y)∧p(y,z)->p(x,z)] equivalent to ∀x∀y∀z[φ(x,y)∧p(x,z)->p(y,z)] ?
The only thing I can think of is that this question can be answered if we show that p->q
is equals (↔) το q->p
, but that's not true because p->q ↔ ¬p->¬q
, hence p->q
is not equals to q->p
. However, I do not know if my logic is correct and if it can be accepted as an answer.
I also think that the (first) ∀x∀y∀z[φ(x,y)∧ part is irrelevant and that i have to focus only to the last part.
logic discrete-mathematics propositional-logic
New contributor
$endgroup$
Is ∀x∀y∀z[φ(x,y)∧p(y,z)->p(x,z)] equivalent to ∀x∀y∀z[φ(x,y)∧p(x,z)->p(y,z)] ?
The only thing I can think of is that this question can be answered if we show that p->q
is equals (↔) το q->p
, but that's not true because p->q ↔ ¬p->¬q
, hence p->q
is not equals to q->p
. However, I do not know if my logic is correct and if it can be accepted as an answer.
I also think that the (first) ∀x∀y∀z[φ(x,y)∧ part is irrelevant and that i have to focus only to the last part.
logic discrete-mathematics propositional-logic
logic discrete-mathematics propositional-logic
New contributor
New contributor
edited 9 hours ago
George Z.
New contributor
asked 9 hours ago
George Z.George Z.
1135 bronze badges
1135 bronze badges
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
It does hold that
$$
forall x forall y forall z , [p(y,z) to p(x,z)] quad longleftrightarrow quad
forall x forall y forall z , [p(x,z) to p(y,z)],
$$
since $forall x forall y$ is the same thing as $forall y forall x$. So your logic is incorrect.
Similarly, if $varphi$ is promised to be symmetric then the equivalence holds, for similar reasons.
A simple example where the equivalence doesn't hold is $varphi(x,y) = x$, $p(x,y) = x$.
In this case the first statement is
$$
forall x forall y forall z , [x land y to x],
$$
whereas the second statement is
$$
forall x forall y forall z , [x land x to y].
$$
(This assumes that the statements are interpreted as $(varphi land p) to p$ rather than $varphi land (p to p)$.)
$endgroup$
$begingroup$
Is there any explanation why ∀x∀y∀z[x∧y→x] is not equivalent to ∀x∀y∀z[x∧x→y]? .... I mean, how would I prove it?
$endgroup$
– George Z.
8 hours ago
$begingroup$
I'm afraid you'll have to work it out on your own.
$endgroup$
– Yuval Filmus
8 hours ago
$begingroup$
I see... I tried few things but still not something clear. Anyway thanks for your help.
$endgroup$
– George Z.
8 hours ago
$begingroup$
Use the definitions.
$endgroup$
– Yuval Filmus
8 hours ago
$begingroup$
[x∧y→x] => ¬(x∧y)∨x =>¬x∨¬y∨x which is alwaystrue
. But x∧x→y => x->y which can befalse
(if y is false). What about this? :)
$endgroup$
– George Z.
8 hours ago
|
show 1 more comment
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "419"
;
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: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
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/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
George Z. is a new contributor. Be nice, and check out our Code of Conduct.
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%2fcs.stackexchange.com%2fquestions%2f113531%2fare-these-2-equivalent%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
$begingroup$
It does hold that
$$
forall x forall y forall z , [p(y,z) to p(x,z)] quad longleftrightarrow quad
forall x forall y forall z , [p(x,z) to p(y,z)],
$$
since $forall x forall y$ is the same thing as $forall y forall x$. So your logic is incorrect.
Similarly, if $varphi$ is promised to be symmetric then the equivalence holds, for similar reasons.
A simple example where the equivalence doesn't hold is $varphi(x,y) = x$, $p(x,y) = x$.
In this case the first statement is
$$
forall x forall y forall z , [x land y to x],
$$
whereas the second statement is
$$
forall x forall y forall z , [x land x to y].
$$
(This assumes that the statements are interpreted as $(varphi land p) to p$ rather than $varphi land (p to p)$.)
$endgroup$
$begingroup$
Is there any explanation why ∀x∀y∀z[x∧y→x] is not equivalent to ∀x∀y∀z[x∧x→y]? .... I mean, how would I prove it?
$endgroup$
– George Z.
8 hours ago
$begingroup$
I'm afraid you'll have to work it out on your own.
$endgroup$
– Yuval Filmus
8 hours ago
$begingroup$
I see... I tried few things but still not something clear. Anyway thanks for your help.
$endgroup$
– George Z.
8 hours ago
$begingroup$
Use the definitions.
$endgroup$
– Yuval Filmus
8 hours ago
$begingroup$
[x∧y→x] => ¬(x∧y)∨x =>¬x∨¬y∨x which is alwaystrue
. But x∧x→y => x->y which can befalse
(if y is false). What about this? :)
$endgroup$
– George Z.
8 hours ago
|
show 1 more comment
$begingroup$
It does hold that
$$
forall x forall y forall z , [p(y,z) to p(x,z)] quad longleftrightarrow quad
forall x forall y forall z , [p(x,z) to p(y,z)],
$$
since $forall x forall y$ is the same thing as $forall y forall x$. So your logic is incorrect.
Similarly, if $varphi$ is promised to be symmetric then the equivalence holds, for similar reasons.
A simple example where the equivalence doesn't hold is $varphi(x,y) = x$, $p(x,y) = x$.
In this case the first statement is
$$
forall x forall y forall z , [x land y to x],
$$
whereas the second statement is
$$
forall x forall y forall z , [x land x to y].
$$
(This assumes that the statements are interpreted as $(varphi land p) to p$ rather than $varphi land (p to p)$.)
$endgroup$
$begingroup$
Is there any explanation why ∀x∀y∀z[x∧y→x] is not equivalent to ∀x∀y∀z[x∧x→y]? .... I mean, how would I prove it?
$endgroup$
– George Z.
8 hours ago
$begingroup$
I'm afraid you'll have to work it out on your own.
$endgroup$
– Yuval Filmus
8 hours ago
$begingroup$
I see... I tried few things but still not something clear. Anyway thanks for your help.
$endgroup$
– George Z.
8 hours ago
$begingroup$
Use the definitions.
$endgroup$
– Yuval Filmus
8 hours ago
$begingroup$
[x∧y→x] => ¬(x∧y)∨x =>¬x∨¬y∨x which is alwaystrue
. But x∧x→y => x->y which can befalse
(if y is false). What about this? :)
$endgroup$
– George Z.
8 hours ago
|
show 1 more comment
$begingroup$
It does hold that
$$
forall x forall y forall z , [p(y,z) to p(x,z)] quad longleftrightarrow quad
forall x forall y forall z , [p(x,z) to p(y,z)],
$$
since $forall x forall y$ is the same thing as $forall y forall x$. So your logic is incorrect.
Similarly, if $varphi$ is promised to be symmetric then the equivalence holds, for similar reasons.
A simple example where the equivalence doesn't hold is $varphi(x,y) = x$, $p(x,y) = x$.
In this case the first statement is
$$
forall x forall y forall z , [x land y to x],
$$
whereas the second statement is
$$
forall x forall y forall z , [x land x to y].
$$
(This assumes that the statements are interpreted as $(varphi land p) to p$ rather than $varphi land (p to p)$.)
$endgroup$
It does hold that
$$
forall x forall y forall z , [p(y,z) to p(x,z)] quad longleftrightarrow quad
forall x forall y forall z , [p(x,z) to p(y,z)],
$$
since $forall x forall y$ is the same thing as $forall y forall x$. So your logic is incorrect.
Similarly, if $varphi$ is promised to be symmetric then the equivalence holds, for similar reasons.
A simple example where the equivalence doesn't hold is $varphi(x,y) = x$, $p(x,y) = x$.
In this case the first statement is
$$
forall x forall y forall z , [x land y to x],
$$
whereas the second statement is
$$
forall x forall y forall z , [x land x to y].
$$
(This assumes that the statements are interpreted as $(varphi land p) to p$ rather than $varphi land (p to p)$.)
answered 9 hours ago
Yuval FilmusYuval Filmus
207k15 gold badges200 silver badges368 bronze badges
207k15 gold badges200 silver badges368 bronze badges
$begingroup$
Is there any explanation why ∀x∀y∀z[x∧y→x] is not equivalent to ∀x∀y∀z[x∧x→y]? .... I mean, how would I prove it?
$endgroup$
– George Z.
8 hours ago
$begingroup$
I'm afraid you'll have to work it out on your own.
$endgroup$
– Yuval Filmus
8 hours ago
$begingroup$
I see... I tried few things but still not something clear. Anyway thanks for your help.
$endgroup$
– George Z.
8 hours ago
$begingroup$
Use the definitions.
$endgroup$
– Yuval Filmus
8 hours ago
$begingroup$
[x∧y→x] => ¬(x∧y)∨x =>¬x∨¬y∨x which is alwaystrue
. But x∧x→y => x->y which can befalse
(if y is false). What about this? :)
$endgroup$
– George Z.
8 hours ago
|
show 1 more comment
$begingroup$
Is there any explanation why ∀x∀y∀z[x∧y→x] is not equivalent to ∀x∀y∀z[x∧x→y]? .... I mean, how would I prove it?
$endgroup$
– George Z.
8 hours ago
$begingroup$
I'm afraid you'll have to work it out on your own.
$endgroup$
– Yuval Filmus
8 hours ago
$begingroup$
I see... I tried few things but still not something clear. Anyway thanks for your help.
$endgroup$
– George Z.
8 hours ago
$begingroup$
Use the definitions.
$endgroup$
– Yuval Filmus
8 hours ago
$begingroup$
[x∧y→x] => ¬(x∧y)∨x =>¬x∨¬y∨x which is alwaystrue
. But x∧x→y => x->y which can befalse
(if y is false). What about this? :)
$endgroup$
– George Z.
8 hours ago
$begingroup$
Is there any explanation why ∀x∀y∀z[x∧y→x] is not equivalent to ∀x∀y∀z[x∧x→y]? .... I mean, how would I prove it?
$endgroup$
– George Z.
8 hours ago
$begingroup$
Is there any explanation why ∀x∀y∀z[x∧y→x] is not equivalent to ∀x∀y∀z[x∧x→y]? .... I mean, how would I prove it?
$endgroup$
– George Z.
8 hours ago
$begingroup$
I'm afraid you'll have to work it out on your own.
$endgroup$
– Yuval Filmus
8 hours ago
$begingroup$
I'm afraid you'll have to work it out on your own.
$endgroup$
– Yuval Filmus
8 hours ago
$begingroup$
I see... I tried few things but still not something clear. Anyway thanks for your help.
$endgroup$
– George Z.
8 hours ago
$begingroup$
I see... I tried few things but still not something clear. Anyway thanks for your help.
$endgroup$
– George Z.
8 hours ago
$begingroup$
Use the definitions.
$endgroup$
– Yuval Filmus
8 hours ago
$begingroup$
Use the definitions.
$endgroup$
– Yuval Filmus
8 hours ago
$begingroup$
[x∧y→x] => ¬(x∧y)∨x =>¬x∨¬y∨x which is always
true
. But x∧x→y => x->y which can be false
(if y is false). What about this? :)$endgroup$
– George Z.
8 hours ago
$begingroup$
[x∧y→x] => ¬(x∧y)∨x =>¬x∨¬y∨x which is always
true
. But x∧x→y => x->y which can be false
(if y is false). What about this? :)$endgroup$
– George Z.
8 hours ago
|
show 1 more comment
George Z. is a new contributor. Be nice, and check out our Code of Conduct.
George Z. is a new contributor. Be nice, and check out our Code of Conduct.
George Z. is a new contributor. Be nice, and check out our Code of Conduct.
George Z. is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Computer Science 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.
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%2fcs.stackexchange.com%2fquestions%2f113531%2fare-these-2-equivalent%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