0

Trying to learn about predicate formulas. I was told that (let E and F be predicates and Q be a quantifier ∃ or ∀)

E ∧ QxF is logically equivalent to Qx(E∧F), if x is not free in E

So let's take the formula below:

P(x) ∧ ∀xQ(x)  is logically equivalent to ∀x(P(x)∧Q(x))

Where P and Q are predicates. I was told these two are logically equivalent only if P(x) is bound. So let's bound P(x) with a ∃.

Let the domain be natural numbers. Let Q(x) : x>=0 and P(x) : x/2 is even number. So far so good?

Q(x) is bound, and says for all x, x>= 0 which is true. P(x) is bound by and says there exists an integer in natural numbers which is even when divided by 2, which is true (12/2 = 6).

My question is, the x in P(x) was bound with ∃, but when it was moved into ∀x(P(x)∧Q(x)), it is now bound by ∀, which makes the statement not true, right? Because not all x are even when divided by 2?

Question #1) So how is P(x) ∧ ∀xQ(x) logically equivalent to ∀x(P(x)∧Q(x)) when P(x) is bound?

Question #2) I'm going to try to prove that P(x) ∧ ∀xQ(x) is NOT logically equivalent to ∀x(P(x)∧Q(x)) when P(x) is free.

Let P(x) : x/2 is even number and make it free (not bound by ∃ and ∀). Let Q(x) : x>= 0.

To prove these two are not logically equivalent, I will take an x which makes P(x) ∧ ∀xQ(x) true and ∀x(P(x)∧Q(x)) false (am I on the right track)?

Take x = 12. P(x) ∧ ∀xQ(x) is true because 12 divided by 2 is even, and 12>=0. But ∀x(P(x)∧Q(x)) is false because it states that ∀x(P(x) so even though 12 holds true, it is not true for 11.

Is that a valid proof to show that P(x) ∧ ∀xQ(x) is NOT logically equivalent to ∀x(P(x)∧Q(x)) when P(x) is free?

  • 3
    No, $P(x)\lor \forall x(Q(x))$ is equivalen to $\forall x(P(x)\lor \forall y(Q(y))$, which you can reduce to $(\forall x(P(x))\lor(\forall y(Q(y))$. Basically, no occurence of $x$ outside $\forall x(Q(x))$ is referring to the same thing as the $x$ inside $\forall x(Q(x))$, even if it is the same variable name. – Thomas Andrews Aug 06 '17 at 20:50
  • @ThomasAndrews Oh okay. So from my understanding, you are clarifying Question #1 right? So basically you are saying that even though the x in P(x) is moved inside of ∀x(P(x)∧Q(x)), it is still bound by the quantifier which it was bound by before moving it inside (i.e. the ∃ quantifier, in my example when I said "So let's bound P(x) with a ∃")? – user2719875 Aug 06 '17 at 20:57
  • 2
    I'm not clarifying, I'm answering. I'm not following your language after "So basically, you are saying that..." Inside $\forall x(P(x)\lor Q(x))$ is a different statement. In the original statement, there were two essentially different $x$es. – Thomas Andrews Aug 06 '17 at 21:00
  • 2
    IMHO, using a syntax such as P(x) ∧ ∀xQ(x) is merely looking for trouble. – Did Aug 06 '17 at 21:15
  • @ThomasAndrews Okay, so is ∃x(P(x)) ∨ ∀x(Q(x)) logically equivalent to ∃x( P(x) ∨ ∀y(Q(y) )? Which is reduced to ∃x(P(x)) ∨ (∀y(Q(y)? – user2719875 Aug 06 '17 at 21:42
  • @ThomasAndrews It isn't always true that $P(x) \dots$ is equivalent to $\forall x ~ P(x) \dots$. The $x$ could be shared with another formula. For example $x > 2 \vdash x > 1$ ,but $x > 2 \not \vdash \forall x~x>1$. – DanielV Aug 07 '17 at 17:11
  • It doesn't make sense to say "$P(x)$ is free". Variables such as $x$ are free or bound, not entire expressions. – DanielV Aug 07 '17 at 17:51

1 Answers1

1

First of all, I would say that it is a bit strange to say that '$P(x) \land \forall x \ Q(x)$ is equivalent to $\forall x (P(x) \land \ Q(x))$ assuming the $x$ in $P(x)$ in the first formula is bound', given that that $x$ is not bound in that formula! And the equivalence of formulas can always be determined on the basis of those formulas, without referring to some implicit larger context.

Anyway, your criticism is on the mark. That is, if we do consider a formula where the $x$ is actually bound, we can of course bind it with an existential. As such: Is $\exists x (P(x) \land \forall x \ Q(x))$ (or the equivalent $\exists x P(x) \land \forall x \ Q(x)$ equivalent to $\forall x (P(x) \land \ Q(x))$? And clearly it is not, as your example clearly demonstrates.

So, yes, the claim is weird and unusual, and even if we are charitable and try to make sense of it, it is plainly false.

About question 2) As stand-alone formulas, we can make sense of what it would take for them being equivalent, as for any free variable we can consider possible variable-assignments. That is, with the $x$ being free in the first formula (again, as a stand-alone formula), we would say something like:

$P(x) \land \forall x \ Q(x)$ is equivalent to $\forall x (P(x) \land \ Q(x))$ if and only if for every any interpretation $I$ and variable-assignment $v$ that maps $x$ to some object $d$ in the domain $D$ of $I$:

$I,v \vDash P(x) \land \forall x \ Q(x)$ iff $I,v \vDash \forall x (P(x) \land \ Q(x))$

Does that biconditional hold? No. We can take your example here. Consider interpretation $I$ with domain $\mathbb{N}$, $P(x)$: $x$ is even and $Q(x)$: $x \ge 0$, and pick variable-assignment $v$ with $v(x) = 12$

Then indeed we have that $I,v \vDash P(x) \land \forall x \ Q(x)$, but we don't have that $I,v \vDash \forall x (P(x) \land \ Q(x))$

So indeed, as stand-alone formulas (and thus with $x$ ion $P(x)$ being free in first formula), $P(x) \land \forall x \ Q(x)$ is not equivalent to $\forall x (P(x) \land \ Q(x))$

So yes, as an answer to question 2) your approach to showing non-equivalence as stand-alone formulas is also good!

Bram28
  • 100,612
  • 6
  • 70
  • 118