Why $∀x(P(x)→Q)$ is equivalent to $∃xP(x)→Q$












1












$begingroup$


Given $x$ occurs free in $P$. If $x$ does not occur free in $Q$, then $∀x(P(x)→Q)$ is semantically equivalent with $∃xP(x)→Q$. How to understand this statement. And also, need an example to show that the formula will not necessarily be equivalent if $x$ does occur free in $Q$.



I guess what struggles me is I'm not quite understand what does "free" mean in this case. But it would be better to have answer for the above question.










share|cite|improve this question











$endgroup$












  • $begingroup$
    Do you have a formal language to work with? Semantical equivalences hints towards models, which in turn require a formal language.
    $endgroup$
    – MacRance
    Dec 9 '18 at 7:18






  • 1




    $begingroup$
    An occurance of a variable x is free when it is not in the scope of some "exists x" or "for all x".
    $endgroup$
    – William Elliot
    Dec 9 '18 at 8:02


















1












$begingroup$


Given $x$ occurs free in $P$. If $x$ does not occur free in $Q$, then $∀x(P(x)→Q)$ is semantically equivalent with $∃xP(x)→Q$. How to understand this statement. And also, need an example to show that the formula will not necessarily be equivalent if $x$ does occur free in $Q$.



I guess what struggles me is I'm not quite understand what does "free" mean in this case. But it would be better to have answer for the above question.










share|cite|improve this question











$endgroup$












  • $begingroup$
    Do you have a formal language to work with? Semantical equivalences hints towards models, which in turn require a formal language.
    $endgroup$
    – MacRance
    Dec 9 '18 at 7:18






  • 1




    $begingroup$
    An occurance of a variable x is free when it is not in the scope of some "exists x" or "for all x".
    $endgroup$
    – William Elliot
    Dec 9 '18 at 8:02
















1












1








1





$begingroup$


Given $x$ occurs free in $P$. If $x$ does not occur free in $Q$, then $∀x(P(x)→Q)$ is semantically equivalent with $∃xP(x)→Q$. How to understand this statement. And also, need an example to show that the formula will not necessarily be equivalent if $x$ does occur free in $Q$.



I guess what struggles me is I'm not quite understand what does "free" mean in this case. But it would be better to have answer for the above question.










share|cite|improve this question











$endgroup$




Given $x$ occurs free in $P$. If $x$ does not occur free in $Q$, then $∀x(P(x)→Q)$ is semantically equivalent with $∃xP(x)→Q$. How to understand this statement. And also, need an example to show that the formula will not necessarily be equivalent if $x$ does occur free in $Q$.



I guess what struggles me is I'm not quite understand what does "free" mean in this case. But it would be better to have answer for the above question.







discrete-mathematics logic predicate-logic quantifiers






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 9 '18 at 11:29









Mauro ALLEGRANZA

65.5k448112




65.5k448112










asked Dec 9 '18 at 6:31









keqiao likeqiao li

374




374












  • $begingroup$
    Do you have a formal language to work with? Semantical equivalences hints towards models, which in turn require a formal language.
    $endgroup$
    – MacRance
    Dec 9 '18 at 7:18






  • 1




    $begingroup$
    An occurance of a variable x is free when it is not in the scope of some "exists x" or "for all x".
    $endgroup$
    – William Elliot
    Dec 9 '18 at 8:02




















  • $begingroup$
    Do you have a formal language to work with? Semantical equivalences hints towards models, which in turn require a formal language.
    $endgroup$
    – MacRance
    Dec 9 '18 at 7:18






  • 1




    $begingroup$
    An occurance of a variable x is free when it is not in the scope of some "exists x" or "for all x".
    $endgroup$
    – William Elliot
    Dec 9 '18 at 8:02


















$begingroup$
Do you have a formal language to work with? Semantical equivalences hints towards models, which in turn require a formal language.
$endgroup$
– MacRance
Dec 9 '18 at 7:18




$begingroup$
Do you have a formal language to work with? Semantical equivalences hints towards models, which in turn require a formal language.
$endgroup$
– MacRance
Dec 9 '18 at 7:18




1




1




$begingroup$
An occurance of a variable x is free when it is not in the scope of some "exists x" or "for all x".
$endgroup$
– William Elliot
Dec 9 '18 at 8:02






$begingroup$
An occurance of a variable x is free when it is not in the scope of some "exists x" or "for all x".
$endgroup$
– William Elliot
Dec 9 '18 at 8:02












1 Answer
1






active

oldest

votes


















3












$begingroup$

Let $mathcal M$ a structure whatever, with domain $D$.



Two cases :



(i) $∃xP(x)$ is False.



Thus $∃xP(x) to Q$ is True.



But to say that $∃xP(x)$ is False in $mathcal M$ means that for $a in D$ whatever, we have that $P(x)[a/x]$ is False, and thus $(P(x) to Q)[a/x]$ is True in $mathcal M$.



And this means in turn that $mathcal M vDash ∀x(P(x) to Q)$.



(ii) $∃xP(x)$ is True, i.e. there is an object $a in D$ such that $P(x)[a/x]$ is True.



Two sub-cases :



(a) $Q$ is False. Thus $∃xP(x) to Q$ is False.



But $(P(x) to Q)[a/x]$ is False for the $a in D$ above, and thus $∀x(P(x) to Q)$ is False in $mathcal M$.



(b) $Q$ is True. Thus $∃xP(x) to Q$ is True.



But if $Q$ is True, also $(P(x) to Q)[a/x]$ is True, for $a in D$ whatever.



And this means that $∀x(P(x) to Q)$ is True in $mathcal M$.





Why the condition "$x$ not free in $Q$" is necessary ?



First of all we have to agree on the way to define what does it mean : $mathcal M vDash varphi(x)$ with $x$ free.



One convention is to consider the $text {Closure}$ $forall x varphi(x)$ of the formula, i.e. :




$mathcal M vDash varphi(x) text { iff } mathcal M vDash text {Cl}(varphi(x))$.




Consider now a simple interpretation with domain $D = { 0,1 }$ and interpret both $P(x)$ and $Q(x)$ as $(x=0)$.



The LH formula is : $forall x ((x=0) to (x=0))$ while the RH formula is : $exists x (x=0) to (x=0)$.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Thank you for the response. I think I'm getting understand the logic behind these question. So what would be a proper example for the second part of the statement: the formula will not necessarily be equivalent if $x$ does occur free in $Q$.
    $endgroup$
    – keqiao li
    Dec 9 '18 at 20:46











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%2f3032081%2fwhy-%25e2%2588%2580xpx%25e2%2586%2592q-is-equivalent-to-%25e2%2588%2583xpx%25e2%2586%2592q%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









3












$begingroup$

Let $mathcal M$ a structure whatever, with domain $D$.



Two cases :



(i) $∃xP(x)$ is False.



Thus $∃xP(x) to Q$ is True.



But to say that $∃xP(x)$ is False in $mathcal M$ means that for $a in D$ whatever, we have that $P(x)[a/x]$ is False, and thus $(P(x) to Q)[a/x]$ is True in $mathcal M$.



And this means in turn that $mathcal M vDash ∀x(P(x) to Q)$.



(ii) $∃xP(x)$ is True, i.e. there is an object $a in D$ such that $P(x)[a/x]$ is True.



Two sub-cases :



(a) $Q$ is False. Thus $∃xP(x) to Q$ is False.



But $(P(x) to Q)[a/x]$ is False for the $a in D$ above, and thus $∀x(P(x) to Q)$ is False in $mathcal M$.



(b) $Q$ is True. Thus $∃xP(x) to Q$ is True.



But if $Q$ is True, also $(P(x) to Q)[a/x]$ is True, for $a in D$ whatever.



And this means that $∀x(P(x) to Q)$ is True in $mathcal M$.





Why the condition "$x$ not free in $Q$" is necessary ?



First of all we have to agree on the way to define what does it mean : $mathcal M vDash varphi(x)$ with $x$ free.



One convention is to consider the $text {Closure}$ $forall x varphi(x)$ of the formula, i.e. :




$mathcal M vDash varphi(x) text { iff } mathcal M vDash text {Cl}(varphi(x))$.




Consider now a simple interpretation with domain $D = { 0,1 }$ and interpret both $P(x)$ and $Q(x)$ as $(x=0)$.



The LH formula is : $forall x ((x=0) to (x=0))$ while the RH formula is : $exists x (x=0) to (x=0)$.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Thank you for the response. I think I'm getting understand the logic behind these question. So what would be a proper example for the second part of the statement: the formula will not necessarily be equivalent if $x$ does occur free in $Q$.
    $endgroup$
    – keqiao li
    Dec 9 '18 at 20:46
















3












$begingroup$

Let $mathcal M$ a structure whatever, with domain $D$.



Two cases :



(i) $∃xP(x)$ is False.



Thus $∃xP(x) to Q$ is True.



But to say that $∃xP(x)$ is False in $mathcal M$ means that for $a in D$ whatever, we have that $P(x)[a/x]$ is False, and thus $(P(x) to Q)[a/x]$ is True in $mathcal M$.



And this means in turn that $mathcal M vDash ∀x(P(x) to Q)$.



(ii) $∃xP(x)$ is True, i.e. there is an object $a in D$ such that $P(x)[a/x]$ is True.



Two sub-cases :



(a) $Q$ is False. Thus $∃xP(x) to Q$ is False.



But $(P(x) to Q)[a/x]$ is False for the $a in D$ above, and thus $∀x(P(x) to Q)$ is False in $mathcal M$.



(b) $Q$ is True. Thus $∃xP(x) to Q$ is True.



But if $Q$ is True, also $(P(x) to Q)[a/x]$ is True, for $a in D$ whatever.



And this means that $∀x(P(x) to Q)$ is True in $mathcal M$.





Why the condition "$x$ not free in $Q$" is necessary ?



First of all we have to agree on the way to define what does it mean : $mathcal M vDash varphi(x)$ with $x$ free.



One convention is to consider the $text {Closure}$ $forall x varphi(x)$ of the formula, i.e. :




$mathcal M vDash varphi(x) text { iff } mathcal M vDash text {Cl}(varphi(x))$.




Consider now a simple interpretation with domain $D = { 0,1 }$ and interpret both $P(x)$ and $Q(x)$ as $(x=0)$.



The LH formula is : $forall x ((x=0) to (x=0))$ while the RH formula is : $exists x (x=0) to (x=0)$.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    Thank you for the response. I think I'm getting understand the logic behind these question. So what would be a proper example for the second part of the statement: the formula will not necessarily be equivalent if $x$ does occur free in $Q$.
    $endgroup$
    – keqiao li
    Dec 9 '18 at 20:46














3












3








3





$begingroup$

Let $mathcal M$ a structure whatever, with domain $D$.



Two cases :



(i) $∃xP(x)$ is False.



Thus $∃xP(x) to Q$ is True.



But to say that $∃xP(x)$ is False in $mathcal M$ means that for $a in D$ whatever, we have that $P(x)[a/x]$ is False, and thus $(P(x) to Q)[a/x]$ is True in $mathcal M$.



And this means in turn that $mathcal M vDash ∀x(P(x) to Q)$.



(ii) $∃xP(x)$ is True, i.e. there is an object $a in D$ such that $P(x)[a/x]$ is True.



Two sub-cases :



(a) $Q$ is False. Thus $∃xP(x) to Q$ is False.



But $(P(x) to Q)[a/x]$ is False for the $a in D$ above, and thus $∀x(P(x) to Q)$ is False in $mathcal M$.



(b) $Q$ is True. Thus $∃xP(x) to Q$ is True.



But if $Q$ is True, also $(P(x) to Q)[a/x]$ is True, for $a in D$ whatever.



And this means that $∀x(P(x) to Q)$ is True in $mathcal M$.





Why the condition "$x$ not free in $Q$" is necessary ?



First of all we have to agree on the way to define what does it mean : $mathcal M vDash varphi(x)$ with $x$ free.



One convention is to consider the $text {Closure}$ $forall x varphi(x)$ of the formula, i.e. :




$mathcal M vDash varphi(x) text { iff } mathcal M vDash text {Cl}(varphi(x))$.




Consider now a simple interpretation with domain $D = { 0,1 }$ and interpret both $P(x)$ and $Q(x)$ as $(x=0)$.



The LH formula is : $forall x ((x=0) to (x=0))$ while the RH formula is : $exists x (x=0) to (x=0)$.






share|cite|improve this answer











$endgroup$



Let $mathcal M$ a structure whatever, with domain $D$.



Two cases :



(i) $∃xP(x)$ is False.



Thus $∃xP(x) to Q$ is True.



But to say that $∃xP(x)$ is False in $mathcal M$ means that for $a in D$ whatever, we have that $P(x)[a/x]$ is False, and thus $(P(x) to Q)[a/x]$ is True in $mathcal M$.



And this means in turn that $mathcal M vDash ∀x(P(x) to Q)$.



(ii) $∃xP(x)$ is True, i.e. there is an object $a in D$ such that $P(x)[a/x]$ is True.



Two sub-cases :



(a) $Q$ is False. Thus $∃xP(x) to Q$ is False.



But $(P(x) to Q)[a/x]$ is False for the $a in D$ above, and thus $∀x(P(x) to Q)$ is False in $mathcal M$.



(b) $Q$ is True. Thus $∃xP(x) to Q$ is True.



But if $Q$ is True, also $(P(x) to Q)[a/x]$ is True, for $a in D$ whatever.



And this means that $∀x(P(x) to Q)$ is True in $mathcal M$.





Why the condition "$x$ not free in $Q$" is necessary ?



First of all we have to agree on the way to define what does it mean : $mathcal M vDash varphi(x)$ with $x$ free.



One convention is to consider the $text {Closure}$ $forall x varphi(x)$ of the formula, i.e. :




$mathcal M vDash varphi(x) text { iff } mathcal M vDash text {Cl}(varphi(x))$.




Consider now a simple interpretation with domain $D = { 0,1 }$ and interpret both $P(x)$ and $Q(x)$ as $(x=0)$.



The LH formula is : $forall x ((x=0) to (x=0))$ while the RH formula is : $exists x (x=0) to (x=0)$.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Dec 10 '18 at 8:12

























answered Dec 9 '18 at 8:41









Mauro ALLEGRANZAMauro ALLEGRANZA

65.5k448112




65.5k448112












  • $begingroup$
    Thank you for the response. I think I'm getting understand the logic behind these question. So what would be a proper example for the second part of the statement: the formula will not necessarily be equivalent if $x$ does occur free in $Q$.
    $endgroup$
    – keqiao li
    Dec 9 '18 at 20:46


















  • $begingroup$
    Thank you for the response. I think I'm getting understand the logic behind these question. So what would be a proper example for the second part of the statement: the formula will not necessarily be equivalent if $x$ does occur free in $Q$.
    $endgroup$
    – keqiao li
    Dec 9 '18 at 20:46
















$begingroup$
Thank you for the response. I think I'm getting understand the logic behind these question. So what would be a proper example for the second part of the statement: the formula will not necessarily be equivalent if $x$ does occur free in $Q$.
$endgroup$
– keqiao li
Dec 9 '18 at 20:46




$begingroup$
Thank you for the response. I think I'm getting understand the logic behind these question. So what would be a proper example for the second part of the statement: the formula will not necessarily be equivalent if $x$ does occur free in $Q$.
$endgroup$
– keqiao li
Dec 9 '18 at 20:46


















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%2f3032081%2fwhy-%25e2%2588%2580xpx%25e2%2586%2592q-is-equivalent-to-%25e2%2588%2583xpx%25e2%2586%2592q%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

Quarter-circle Tiles

build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

Mont Emei