0

These statements came up when my friend and I wanted to prove a proposition by using proof by contradiction. We seemed to negate the statement differently.

My negation of the statement was of the form $$(\exists x \neg P(x)) \wedge(\exists y \neg Q(y))\tag A$$ and his was $$\exists x,y \neg P(x) \wedge \neg Q(y).\tag {B1}$$ Note here that the only difference is the quantifier. It seems intuitive to us that these statements are equivalent, but negating both of these give us $$(\forall x P(x)) \vee (\forall y Q(y))\tag{NA}$$ and $$\forall x,y P(x) \vee Q(y).\tag{NB1}$$ For example, consider

"All humans are male or all humans are female"

and

"All humans are either male or female."

Which seems to be two really different statements. What went wrong?

For context, I have not been into predicate logic for a while now.

UPDATE To add more context, the statement we were trying to prove is (see here)

Either $xy=y$ for all $x,y\in S$ or $xy=x$ for all $x,y\in S$

Which seemed very different to

For all $x,y\in S$ either $xy = y$ or $xy = x$.

In the first statement, one of the properties needs to hold for all $x,y$. While in the second one, it need not be, since they can be mixed. I already understand the difference between these statements, thanks to the comment of Mauro ALLEGRANZA. The latter is of the form $\forall x P(x) \vee Q(x)$ rather than NB1, hence not equivalent.

My friend's negation of the first statement is

There exist $x,y,z,w \in S$ such that $xy \neq x$ and $wz \neq z,$

while I think it should be

There exist $x,y\in S$ such that $xy \neq x$ and there exist $w,z\in S$ such that $wz \neq z$.

Which one is correct? Are they both wrong? Since it seems they are most likely equivalent, I think they are both correct.

Azlif
  • 2,307
  • 2
    The two examples do not fit... $\forall x Px \lor \forall y Qy$ is equiv to $\forall x \forall y (Px \lor Qy)$ but not to $\forall x (Px \lor Qx)$ , as showed by tour counterexample. – Mauro ALLEGRANZA Sep 07 '21 at 12:34
  • @MauroALLEGRANZA Fixed. It was a typo. Ah Yes, I think I get it. (Or maybe not) – Azlif Sep 07 '21 at 12:35
  • 2
    No change... When you read it as "All humans are (either ... or ...)" you are assuming a single variable occurring in both predicates. The reading is more subtle: "for every pair of human (either one of them is male or one is female)" which is True (and it is possible that the two elements of the pair are the same). – Mauro ALLEGRANZA Sep 07 '21 at 12:42
  • Both pairs are equivalent. Your interpretation of the last pair is wrong. Also, I seems to have read a totally different question with four variables when I commented. Editing the question without indicating it may make answers confusing to read. – Trebor Sep 07 '21 at 12:44
  • 1
    @MauroALLEGRANZA I get it now (this time for sure). And sorry Trebor to edit it without notice, I Just realize that the variables can be simplified to only two without changing the main questions. – Azlif Sep 07 '21 at 12:59

3 Answers3

2

Please note that this Answer addresses only the portion of the OP before the Addendum-Update.


$$(\exists x \neg P(x)) \wedge(\exists y \neg Q(y))\tag A$$ $$\exists x \neg P(x) \wedge\exists y \neg Q(y)\tag {A rewrite}$$ $$\exists x,y \neg P(x) \wedge \neg Q(y)\tag {B1}$$ $$\bigg(\exists x,y \neg P(x)\bigg) \wedge \neg Q(z)\tag {B1 rewrite}$$ $$\exists x,y\bigg( \neg P(x) \wedge \neg Q(y)\bigg)\tag {B2}$$ $\text A$$\equiv$$\text {B2}$$\not\equiv$$\text B1.$

Translation of $\text{B2}:$ Some dog is not a canine and some lion is not a cat.


$$(\forall x P(x)) \vee (\forall y Q(y))\tag{NA}$$ $$\forall x P(x) \vee \forall y Q(y)\tag{NA rewrite}$$ $$\forall x,y P(x) \vee Q(y)\tag{NB1}$$ $$\bigg(\forall x,y P(x)\bigg) \vee Q(z)\tag{NB1 rewrite}$$ $$\forall x,y \bigg(P(x) \vee Q(y)\bigg)\tag{NB2}$$ $\text {NA}\equiv \text{NB2}\not\equiv \text{NB1}.$

Translation of $\text{NB2}:$ Every dog is a canine or every lion is a cat.

ryang
  • 44,428
  • @RyanG If free($P) = y$ and then you changed the scope then $y$ will be no longer free in $P$ and thus not equivalent. You've to show that the bounded variables are still the same even if the quantifier goes outside. This is emphasized when turning formulae in PNF. –  Sep 07 '21 at 15:36
  • @RyanG I'm trying to elaborate on what I believe Mauro is trying to say regarding the reasoning behind why they should or shouldn't be equivalent. –  Sep 07 '21 at 15:47
  • If for a formula $\forall x ; \phi(x) , \land , \forall y ; \psi(y)$, it is said that it cannot be equivalent to $\forall x ; \forall y ; (\phi(x) , \land , \psi(y))$ if $y$ was free in $\phi$ or $x$ was free in $\psi$. (Check PNF [Prenex Normal Form] for proof.) Mauro is saying (or at least I believe), that the equivalence holds iff said condition applies to both formulae not that they're simply equivalent because we moved the quantifiers around. –  Sep 07 '21 at 16:04
  • Thank you. I have added some edits to the post. It seems like both of my and my friend's negations are incorrect. @MauroALLEGRANZA – Azlif Sep 08 '21 at 02:16
2

UPDATE To add more context, the statement we were trying to prove is (see here)

Please note that neither your original Question nor your Addendum-Update is an accurate translation of the linked exercise. Here, I shall address your Addendum-Update (which really is a New Question)—which may have only a tenuous link to the motivating linked exercise.

Either $xy=y$ for all $x,y\in S$ or $xy=x$ for all $x,y\in S$

Here is the translation: $$\forall\, x,y\in S\:\,P(x,y) \;\;\lor\;\; \forall\, w,z\in S\:\,Q(w,z).\tag1$$

Which seemed very different to

For all $x,y\in S$ either $xy = y$ or $xy = x$.

Here is the translation: $$\forall\, x,y\in S\,\bigg(P(x,y)\lor Q(x,y)\bigg).\tag2$$

You are correct that $$(1)\not\equiv(2).$$

The latter is of the form $$\forall x P(x) \vee Q(x)$$

No it is not. Incidentally, please understand that $$\bigg(\forall x P(x)\bigg) \vee Q(x)\quad\text{ and }\quad\forall x\bigg( P(x) \vee Q(x)\bigg)$$ have different meanings, and that your suggestion is the same as the former, not the latter. In any case, none of these three is equivalent to the correct translation $(2).$

My friend's negation of the first statement is

There exist $x,y,z,w \in S$ such that $xy \neq x$ and $zw \neq w,$

while I think it should be

There exist $x,y\in S$ such that $xy \neq x$ and there exist $w,z\in S$ such that $wz \neq z$.

Which one is correct? Are they both wrong? Since it seems they are most likely equivalent, I think they are both correct.

For ease of reading, here again is the first statement: $$\forall\, x,y\in S\:\,P(x,y) \;\;\lor\;\; \forall\, w,z\in S\:\,Q(w,z).\tag1$$

And here is its negation: $$\exists\, x,y\in S\:\,\lnot P(x,y) \;\;\land\;\; \exists\, w,z\in S\:\,\lnot Q(w,z)\tag{N1}$$ $$\exists\, x,y\in S\:\,xy\neq x \;\;\land\;\; \exists\, w,z\in S\:\,wz\neq z\tag{N1}$$ $$\exists\, x,y\in S\:\, \bigg(xy\neq x \;\;\land\;\; \exists\, w,z\in S\:\,wz\neq z \bigg)\tag{N1}$$ $$\exists\, x,y,w,z\in S\,\bigg(xy\neq x \land wz\neq z\bigg)\tag{N1}$$

Since your negation attempt is exactly the second line, while your friend's is exactly the fourth line, you are both correct!

ryang
  • 44,428
0

Saying $$(\lnot \forall x) \phi(x) \; \land \; (\lnot \forall y) \psi(y)$$ Is equivalent to $$(\lnot \forall x) (\lnot \forall y)(\phi(x) \; \land \; \psi(y))$$ Is only true, if $\{y\} \subseteq$ free($\phi$) is not true. If $y$ was free in $\phi$ then quantifying over it would not make it equivalent, and the same thing goes with $x$ and $\psi$. Also, there are cases that use quantifier elimination to find an equivalent free formula for a quantified formula too (this is applicable to all formulae in Prenex Normal Form [i.e. even if it is not the case that they're equivalent, then it can be resoled]). Therefore, they're equivalent (as you can observe that the bounded variables don't change).