Natural deduction: predicate logic proof (Prenex form)
up vote
0
down vote
favorite
I'm pretty familiar with proofs in propositional logic, but not so much with predicate logic.
I'm trying to prove the following (which can be used during construction of prenex normal form).
If x is not free in $psi$, then:
$forall xphirightarrow psi $
if and only if
$exists x(phi rightarrow psi)$
I personally use tree proofs, but any notation is fine.
I don't really know how to start this one to be honest.
predicate-logic natural-deduction
New contributor
NaborDH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
0
down vote
favorite
I'm pretty familiar with proofs in propositional logic, but not so much with predicate logic.
I'm trying to prove the following (which can be used during construction of prenex normal form).
If x is not free in $psi$, then:
$forall xphirightarrow psi $
if and only if
$exists x(phi rightarrow psi)$
I personally use tree proofs, but any notation is fine.
I don't really know how to start this one to be honest.
predicate-logic natural-deduction
New contributor
NaborDH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I'm pretty familiar with proofs in propositional logic, but not so much with predicate logic.
I'm trying to prove the following (which can be used during construction of prenex normal form).
If x is not free in $psi$, then:
$forall xphirightarrow psi $
if and only if
$exists x(phi rightarrow psi)$
I personally use tree proofs, but any notation is fine.
I don't really know how to start this one to be honest.
predicate-logic natural-deduction
New contributor
NaborDH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I'm pretty familiar with proofs in propositional logic, but not so much with predicate logic.
I'm trying to prove the following (which can be used during construction of prenex normal form).
If x is not free in $psi$, then:
$forall xphirightarrow psi $
if and only if
$exists x(phi rightarrow psi)$
I personally use tree proofs, but any notation is fine.
I don't really know how to start this one to be honest.
predicate-logic natural-deduction
predicate-logic natural-deduction
New contributor
NaborDH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
NaborDH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
NaborDH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked Nov 27 at 20:10
NaborDH
32
32
New contributor
NaborDH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
NaborDH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
NaborDH is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
up vote
0
down vote
accepted
Here's a proof sketch for the "if" direction, where the proof more or less writes itself. Obviously you have to use $exists$-Elim, since you have an $exists$ premiss which you need to make use of. So you already know the proof has to look like this (Fitch style --re-arrange for a tree!)
$exists x(phi(x) to psi)\
quadquad |quad phi(a) to psi\
quadquad |quad vdots\
quadquad |quad forall xphi(x) to psi\
forall xvarphi(x) to psi$
Then how to fill in the dots is pretty obvious since you'll have to use Conditional Proof -- i.e. assume the antecedent of the conditional you want to prove and aim for the consequent. Easy!
$exists x(phi(x) to psi)\
quadquad |quad phi(a) to psi\
quadquad |quad quad |quad forall xphi(x)\
quadquad |quad quad |quad phi(a)\
quadquad |quad quad |quad psi\
quadquad |quad forall xphi(x) to psi\
forall xvarphi(x) to psi$
The other direction is trickier. But try using reductio (always a good plan if nothing else looks an obvious move) so the overall shape of the proof will look like this:
$forall xvarphi(x) to psi\
quadquad |quad negexists x(phi(x) to psi)\
quadquad |quad vdots\
quadquad |quad bot\
negnegexists x(phi(x) to psi)\
exists x(phi(x) to psi)$
You can complete the proof like this (think through why this is now an obvious way, and what justifies each step).
$forall xvarphi(x) to psi\
quadquad |quad negexists x(phi(x) to psi)\
quadquad |quad quad |quad phi(a) to psi\
quadquad |quad quad |quad exists x(phi(x) to psi)\
quadquad |quad quad |quad bot\
quadquad |quad neg(phi(a) to psi)\
quadquad |quad vdots\
quadquad |quad phi(a)\
quadquad |quad negpsi\
quadquad |quad forall xphi(x)\
quadquad |quad psi\
quadquad |quad bot\
negnegexists x(phi(x) to psi)\
exists x(phi(x) to psi)$
Fill in the dots by propositional calculus reasoning. $forall$ intro is justified from $phi(a)$ since $a$ appears in no undischarged assumption on which $phi(a)$ depends.
Thank you for the very clear explanation.
– NaborDH
2 days ago
add a comment |
up vote
-1
down vote
Here's an informal deduction. Express it in your own formal system.
- Take the premise: $forall x~phi ~to~psi$
- Derive the contraposition: $lnotpsitolnotforall x~phi$
- Assuming $lnotpsi$, derive that there is some $x$ where $lnotphi$.
- Deduce then that, there is some $x$ where $lnotpsitolnotphi$, which is to say $phitopsi$
- Therefore $exists x~(phitopsi)$ is derived from the premise
- Take the premise: $exists x~(phitopsi)$
- Thence there is some witness $x$ where $phitopsi$ holds
- Assuming $forall x~phi$, derive that for the witness, $phi$ holds, and apply modus ponens.
- Thus deduce that $forall x~phi ~to~psi$ is derivable from the premise.
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
accepted
Here's a proof sketch for the "if" direction, where the proof more or less writes itself. Obviously you have to use $exists$-Elim, since you have an $exists$ premiss which you need to make use of. So you already know the proof has to look like this (Fitch style --re-arrange for a tree!)
$exists x(phi(x) to psi)\
quadquad |quad phi(a) to psi\
quadquad |quad vdots\
quadquad |quad forall xphi(x) to psi\
forall xvarphi(x) to psi$
Then how to fill in the dots is pretty obvious since you'll have to use Conditional Proof -- i.e. assume the antecedent of the conditional you want to prove and aim for the consequent. Easy!
$exists x(phi(x) to psi)\
quadquad |quad phi(a) to psi\
quadquad |quad quad |quad forall xphi(x)\
quadquad |quad quad |quad phi(a)\
quadquad |quad quad |quad psi\
quadquad |quad forall xphi(x) to psi\
forall xvarphi(x) to psi$
The other direction is trickier. But try using reductio (always a good plan if nothing else looks an obvious move) so the overall shape of the proof will look like this:
$forall xvarphi(x) to psi\
quadquad |quad negexists x(phi(x) to psi)\
quadquad |quad vdots\
quadquad |quad bot\
negnegexists x(phi(x) to psi)\
exists x(phi(x) to psi)$
You can complete the proof like this (think through why this is now an obvious way, and what justifies each step).
$forall xvarphi(x) to psi\
quadquad |quad negexists x(phi(x) to psi)\
quadquad |quad quad |quad phi(a) to psi\
quadquad |quad quad |quad exists x(phi(x) to psi)\
quadquad |quad quad |quad bot\
quadquad |quad neg(phi(a) to psi)\
quadquad |quad vdots\
quadquad |quad phi(a)\
quadquad |quad negpsi\
quadquad |quad forall xphi(x)\
quadquad |quad psi\
quadquad |quad bot\
negnegexists x(phi(x) to psi)\
exists x(phi(x) to psi)$
Fill in the dots by propositional calculus reasoning. $forall$ intro is justified from $phi(a)$ since $a$ appears in no undischarged assumption on which $phi(a)$ depends.
Thank you for the very clear explanation.
– NaborDH
2 days ago
add a comment |
up vote
0
down vote
accepted
Here's a proof sketch for the "if" direction, where the proof more or less writes itself. Obviously you have to use $exists$-Elim, since you have an $exists$ premiss which you need to make use of. So you already know the proof has to look like this (Fitch style --re-arrange for a tree!)
$exists x(phi(x) to psi)\
quadquad |quad phi(a) to psi\
quadquad |quad vdots\
quadquad |quad forall xphi(x) to psi\
forall xvarphi(x) to psi$
Then how to fill in the dots is pretty obvious since you'll have to use Conditional Proof -- i.e. assume the antecedent of the conditional you want to prove and aim for the consequent. Easy!
$exists x(phi(x) to psi)\
quadquad |quad phi(a) to psi\
quadquad |quad quad |quad forall xphi(x)\
quadquad |quad quad |quad phi(a)\
quadquad |quad quad |quad psi\
quadquad |quad forall xphi(x) to psi\
forall xvarphi(x) to psi$
The other direction is trickier. But try using reductio (always a good plan if nothing else looks an obvious move) so the overall shape of the proof will look like this:
$forall xvarphi(x) to psi\
quadquad |quad negexists x(phi(x) to psi)\
quadquad |quad vdots\
quadquad |quad bot\
negnegexists x(phi(x) to psi)\
exists x(phi(x) to psi)$
You can complete the proof like this (think through why this is now an obvious way, and what justifies each step).
$forall xvarphi(x) to psi\
quadquad |quad negexists x(phi(x) to psi)\
quadquad |quad quad |quad phi(a) to psi\
quadquad |quad quad |quad exists x(phi(x) to psi)\
quadquad |quad quad |quad bot\
quadquad |quad neg(phi(a) to psi)\
quadquad |quad vdots\
quadquad |quad phi(a)\
quadquad |quad negpsi\
quadquad |quad forall xphi(x)\
quadquad |quad psi\
quadquad |quad bot\
negnegexists x(phi(x) to psi)\
exists x(phi(x) to psi)$
Fill in the dots by propositional calculus reasoning. $forall$ intro is justified from $phi(a)$ since $a$ appears in no undischarged assumption on which $phi(a)$ depends.
Thank you for the very clear explanation.
– NaborDH
2 days ago
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
Here's a proof sketch for the "if" direction, where the proof more or less writes itself. Obviously you have to use $exists$-Elim, since you have an $exists$ premiss which you need to make use of. So you already know the proof has to look like this (Fitch style --re-arrange for a tree!)
$exists x(phi(x) to psi)\
quadquad |quad phi(a) to psi\
quadquad |quad vdots\
quadquad |quad forall xphi(x) to psi\
forall xvarphi(x) to psi$
Then how to fill in the dots is pretty obvious since you'll have to use Conditional Proof -- i.e. assume the antecedent of the conditional you want to prove and aim for the consequent. Easy!
$exists x(phi(x) to psi)\
quadquad |quad phi(a) to psi\
quadquad |quad quad |quad forall xphi(x)\
quadquad |quad quad |quad phi(a)\
quadquad |quad quad |quad psi\
quadquad |quad forall xphi(x) to psi\
forall xvarphi(x) to psi$
The other direction is trickier. But try using reductio (always a good plan if nothing else looks an obvious move) so the overall shape of the proof will look like this:
$forall xvarphi(x) to psi\
quadquad |quad negexists x(phi(x) to psi)\
quadquad |quad vdots\
quadquad |quad bot\
negnegexists x(phi(x) to psi)\
exists x(phi(x) to psi)$
You can complete the proof like this (think through why this is now an obvious way, and what justifies each step).
$forall xvarphi(x) to psi\
quadquad |quad negexists x(phi(x) to psi)\
quadquad |quad quad |quad phi(a) to psi\
quadquad |quad quad |quad exists x(phi(x) to psi)\
quadquad |quad quad |quad bot\
quadquad |quad neg(phi(a) to psi)\
quadquad |quad vdots\
quadquad |quad phi(a)\
quadquad |quad negpsi\
quadquad |quad forall xphi(x)\
quadquad |quad psi\
quadquad |quad bot\
negnegexists x(phi(x) to psi)\
exists x(phi(x) to psi)$
Fill in the dots by propositional calculus reasoning. $forall$ intro is justified from $phi(a)$ since $a$ appears in no undischarged assumption on which $phi(a)$ depends.
Here's a proof sketch for the "if" direction, where the proof more or less writes itself. Obviously you have to use $exists$-Elim, since you have an $exists$ premiss which you need to make use of. So you already know the proof has to look like this (Fitch style --re-arrange for a tree!)
$exists x(phi(x) to psi)\
quadquad |quad phi(a) to psi\
quadquad |quad vdots\
quadquad |quad forall xphi(x) to psi\
forall xvarphi(x) to psi$
Then how to fill in the dots is pretty obvious since you'll have to use Conditional Proof -- i.e. assume the antecedent of the conditional you want to prove and aim for the consequent. Easy!
$exists x(phi(x) to psi)\
quadquad |quad phi(a) to psi\
quadquad |quad quad |quad forall xphi(x)\
quadquad |quad quad |quad phi(a)\
quadquad |quad quad |quad psi\
quadquad |quad forall xphi(x) to psi\
forall xvarphi(x) to psi$
The other direction is trickier. But try using reductio (always a good plan if nothing else looks an obvious move) so the overall shape of the proof will look like this:
$forall xvarphi(x) to psi\
quadquad |quad negexists x(phi(x) to psi)\
quadquad |quad vdots\
quadquad |quad bot\
negnegexists x(phi(x) to psi)\
exists x(phi(x) to psi)$
You can complete the proof like this (think through why this is now an obvious way, and what justifies each step).
$forall xvarphi(x) to psi\
quadquad |quad negexists x(phi(x) to psi)\
quadquad |quad quad |quad phi(a) to psi\
quadquad |quad quad |quad exists x(phi(x) to psi)\
quadquad |quad quad |quad bot\
quadquad |quad neg(phi(a) to psi)\
quadquad |quad vdots\
quadquad |quad phi(a)\
quadquad |quad negpsi\
quadquad |quad forall xphi(x)\
quadquad |quad psi\
quadquad |quad bot\
negnegexists x(phi(x) to psi)\
exists x(phi(x) to psi)$
Fill in the dots by propositional calculus reasoning. $forall$ intro is justified from $phi(a)$ since $a$ appears in no undischarged assumption on which $phi(a)$ depends.
edited yesterday
answered Nov 27 at 23:31
Peter Smith
40.2k339118
40.2k339118
Thank you for the very clear explanation.
– NaborDH
2 days ago
add a comment |
Thank you for the very clear explanation.
– NaborDH
2 days ago
Thank you for the very clear explanation.
– NaborDH
2 days ago
Thank you for the very clear explanation.
– NaborDH
2 days ago
add a comment |
up vote
-1
down vote
Here's an informal deduction. Express it in your own formal system.
- Take the premise: $forall x~phi ~to~psi$
- Derive the contraposition: $lnotpsitolnotforall x~phi$
- Assuming $lnotpsi$, derive that there is some $x$ where $lnotphi$.
- Deduce then that, there is some $x$ where $lnotpsitolnotphi$, which is to say $phitopsi$
- Therefore $exists x~(phitopsi)$ is derived from the premise
- Take the premise: $exists x~(phitopsi)$
- Thence there is some witness $x$ where $phitopsi$ holds
- Assuming $forall x~phi$, derive that for the witness, $phi$ holds, and apply modus ponens.
- Thus deduce that $forall x~phi ~to~psi$ is derivable from the premise.
add a comment |
up vote
-1
down vote
Here's an informal deduction. Express it in your own formal system.
- Take the premise: $forall x~phi ~to~psi$
- Derive the contraposition: $lnotpsitolnotforall x~phi$
- Assuming $lnotpsi$, derive that there is some $x$ where $lnotphi$.
- Deduce then that, there is some $x$ where $lnotpsitolnotphi$, which is to say $phitopsi$
- Therefore $exists x~(phitopsi)$ is derived from the premise
- Take the premise: $exists x~(phitopsi)$
- Thence there is some witness $x$ where $phitopsi$ holds
- Assuming $forall x~phi$, derive that for the witness, $phi$ holds, and apply modus ponens.
- Thus deduce that $forall x~phi ~to~psi$ is derivable from the premise.
add a comment |
up vote
-1
down vote
up vote
-1
down vote
Here's an informal deduction. Express it in your own formal system.
- Take the premise: $forall x~phi ~to~psi$
- Derive the contraposition: $lnotpsitolnotforall x~phi$
- Assuming $lnotpsi$, derive that there is some $x$ where $lnotphi$.
- Deduce then that, there is some $x$ where $lnotpsitolnotphi$, which is to say $phitopsi$
- Therefore $exists x~(phitopsi)$ is derived from the premise
- Take the premise: $exists x~(phitopsi)$
- Thence there is some witness $x$ where $phitopsi$ holds
- Assuming $forall x~phi$, derive that for the witness, $phi$ holds, and apply modus ponens.
- Thus deduce that $forall x~phi ~to~psi$ is derivable from the premise.
Here's an informal deduction. Express it in your own formal system.
- Take the premise: $forall x~phi ~to~psi$
- Derive the contraposition: $lnotpsitolnotforall x~phi$
- Assuming $lnotpsi$, derive that there is some $x$ where $lnotphi$.
- Deduce then that, there is some $x$ where $lnotpsitolnotphi$, which is to say $phitopsi$
- Therefore $exists x~(phitopsi)$ is derived from the premise
- Take the premise: $exists x~(phitopsi)$
- Thence there is some witness $x$ where $phitopsi$ holds
- Assuming $forall x~phi$, derive that for the witness, $phi$ holds, and apply modus ponens.
- Thus deduce that $forall x~phi ~to~psi$ is derivable from the premise.
edited Nov 27 at 23:28
answered Nov 27 at 23:03
Graham Kemp
84.4k43378
84.4k43378
add a comment |
add a comment |
NaborDH is a new contributor. Be nice, and check out our Code of Conduct.
NaborDH is a new contributor. Be nice, and check out our Code of Conduct.
NaborDH is a new contributor. Be nice, and check out our Code of Conduct.
NaborDH is a new contributor. Be nice, and check out our Code of Conduct.
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%2f3016248%2fnatural-deduction-predicate-logic-proof-prenex-form%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