I am a little confused about the validity of first order logic formulas.
How we can using formal notation to prove the following is VALID?
$ \exists x \exists y p(x,y) \to \neg \forall x \forall y \neg p(x,y)$
I am a little confused about the validity of first order logic formulas.
How we can using formal notation to prove the following is VALID?
$ \exists x \exists y p(x,y) \to \neg \forall x \forall y \neg p(x,y)$
On
Proof: Just switch both quantifiers and remove the resulting double negation.
$\exists x: \exists y: P(x,y)$ (Premise)
$\neg \forall x: \neg \exists y: P(x,y)$ (Switch Quantifier)
$\neg \forall x: \neg \neg \forall y: \neg P(x,y)$ (Switch Quantifier)
$\neg \forall x: \forall y: \neg P(x,y)$ (Remove $\neg\neg$)
$\exists x: \exists y: P(x,y)\implies \neg \forall x: \forall y: \neg P(x,y)$ (Conclusion)
You have to note that : $\lnot \forall$ is equivalent to $\exists \lnot$.
Thus the formula :
By double negation, this amounts to the valid formula :
For a "formal" proof we can use Natural Deduction to show that :