Equivalences involving universal quantifier

Let’s sum up the simplest equivalence statements involving universal quantification. Assume a domain of discourse DD containing elements e1,e2,e3,,ene_1, e_2, e_3, \ldots, e_n and a generic predicate P(x).P(x). We know that,

xP(x)i=1nP(ei).\forall x P(x) \equiv \bigwedge_{i=1}^n P(e_i).

This equivalence also shows us a connection between the propositional and predicate logic. We also know that for some generic predicate P(x,y)P(x,y), the quantification order does not matter if we quantify both variables with the universal quantifier. That is,

xyP(x,y)yxP(x,y).\forall x \forall y P(x,y)\equiv \forall y \forall x P(x,y).

Further, we know that:

¬xP(x)x¬P(x).\neg \forall x P(x) \equiv \exists x \neg P(x).

Is the universal quantifier distributive?

We want to look at the following question. Does the universal quantifier distribute over conjunction and disjunction? Let’s look at conjunction first.

Assume generic domain DD and two predicates P(x)P(x) and Q(x)Q(x). The question of distribution arises if the conjunction of both the predicates is universally quantified.

x(P(x)Q(x)).\forall x (P(x)\land Q(x)).

This statement says that every element of the domain has both the properties PP and QQ. That is equivalent to saying that all the domain elements have the property PP, and all the domain elements have the property QQ. This means:

(xP(x))(xQ(x)).\left(\forall x P(x)) \land (\forall x Q(x)\right).

If DD contains elements e1,e2,e3,,ene_1, e_2, e_3, \ldots, e_n, we can look at it as follows:

x(P(x)Q(x))i=1n(P(ei)Q(ei)).\forall x \left(P(x)\land Q(x)\right) \equiv \bigwedge_{i=1}^n \left(P(e_i)\land Q(e_i)\right).

We can write the following equivalence due to the commutativity and associativity of conjunction in our hand.

i=1n(P(ei)Q(ei))(i=1nP(ei))(i=1nQ(ei)).\bigwedge_{i=1}^n \left(P(e_i)\land Q(e_i)\right)\equiv \left (\bigwedge_{i=1}^n P(e_i)\right )\land \left (\bigwedge_{i=1}^n Q(e_i)\right ).

(i=1nP(ei))(i=1nQ(ei))(xP(x))(xQ(x)).\left (\bigwedge_{i=1}^n P(e_i)\right )\land \left (\bigwedge_{i=1}^n Q(e_i)\right ) \equiv ( \forall x P(x)) \land (\forall x Q(x)).

Therefore, we conclude that the universal quantifier distributes over conjunction operation.

x(P(x)Q(x))(xP(x))(xQ(x)).\forall x \left(P(x)\land Q(x)\right) \equiv \left(\forall x P(x)\right) \land \left(\forall x Q(x)\right).

Now, let’s look at the distribution over disjunction operation. Suppose we keep the assumption of the domain DD and two predicates P(x)P(x) and Q(x)Q(x). In that case, the question of distribution arises if the disjunction of both predicates is universally quantified.

x(P(x)Q(x)).\forall x \left(P(x)\lor Q(x)\right).

This statement says that every element of the domain has either the property PP or QQ or both. That is not equivalent to saying that all the domain elements either have the property PP or all the domain elements have the property QQ. This means:

(xP(x))(xQ(x)).\left(\forall x P(x)\right) \lor \left(\forall x Q(x)\right).

If DD contains elements e1,e2,e3,,ene_1, e_2, e_3, \ldots, e_n, we can look at it as follows:

x(P(x)Q(x))i=1n(P(ei)Q(ei)).\forall x \left(P(x)\lor Q(x)\right) \equiv \bigwedge_{i=1}^n \left(P(e_i)\lor Q(e_i)\right).

The commutativity and associativity of conjunction are not helpful because of disjunction. Therefore, we conclude that the universal quantifier does not distribute over disjunction operation.

x(P(x)Q(x))≢(xP(x))(xQ(x)).\forall x \left(P(x)\lor Q(x)\right) \not\equiv \left(\forall x P(x)\right) \lor \left(\forall x Q(x)\right).

Examples

Let’s have a look at an example.


Let’s consider the set of people taking the Basic Mathematical Logic course as the domain of discourse. We make the following two predicates:

  • P(x)P(x): xx has a laptop.
  • Q(x)Q(x): xx has a smartphone.

Now, let’s examine the universal quantification for the conjunction of PP and QQ.

  • c=x(P(x)Q(x))c = \forall x (P(x)\land Q(x)): Everybody taking Basic Mathematical Logic has both a laptop and a smartphone.

If we distribute the universal quantifier over the conjunction, it will follow.

  • d=xP(x)xQ(x)d = \forall x P(x) \land \forall x Q(x): Everybody taking Basic Mathematical Logic has a laptop, and everybody taking Basic Mathematical Logic has a smartphone.

We note that the statements cc and dd are equivalent. The statement cc is true if everyone taking Basic Mathematical Logic has a laptop as well as a smartphone. In this scenario, dd will also be true. The statement cc will be false if at least one such person is taking Basic Mathematical Logic who does not have a laptop or does not have a smartphone, which is precisely the scenario when dd will be false.

Now, let’s see what happens when we distribute the universal quantifier over disjunction. Consider the statement jj that follows.

  • j=x(P(x)Q(x))j=\forall x (P(x)\lor Q(x)): Everybody taking Basic Mathematical Logic either has a laptop or a smartphone or both.

If we distribute the universal quantifier over the disjunction, we have the statement kk.

  • k=xP(x)xQ(x)k = \forall x P(x) \lor \forall x Q(x): Everybody taking Basic Mathematical Logic has a laptop, or everybody taking Basic Mathematical Logic has a smartphone.

The statements jj and kk are not equivalent. Assume a scenario that half of the people taking Basic Mathematical Logic have laptops only, and the rest of the people have only smartphones. In that case, the statement jj will be true, but the statement kk will be false.

Equivalences involving existential quantifier

Assume a domain of discourse DD containing elements e1,e2,e3,,ene_1, e_2, e_3, \ldots, e_n and a generic predicate P(x).P(x). We know that,

xP(x)i=1nP(ei).\exists x P(x) \equiv \bigvee_{i=1}^n P(e_i).

We can see a connection between the propositional and predicate logic through this equivalence. We also know that for some generic predicate P(x,y)P(x,y), the quantification order does not matter if we quantify both variables with the existential quantifier. That is,

xyP(x,y)yxP(x,y).\exists x \exists y P(x,y)\equiv \exists y \exists x P(x,y).

Further, we know that:

¬xP(x)x¬P(x).\neg \exists x P(x) \equiv \forall x \neg P(x).

Is the existential quantifier distributive?

We want to look at the following question. Does the existential quantifier distribute over conjunction and disjunction? Let’s look at them one by one.

Assume generic domain DD and two predicates P(x)P(x) and Q(x)Q(x). The question of distribution arises if the conjunction of both the predicates is existentially quantified.

s=x(P(x)Q(x)).s=\exists x (P(x)\land Q(x)).

This statement says that at least one domain element has both the properties PP and QQ. This is not equivalent to saying that at least one domain element has the property PP, and at least one domain element has the property QQ. This means

t=(xP(x))(xQ(x)).t=\left(\exists x P(x)) \land (\exists x Q(x)\right).

The statement ss asserts the existence of a domain element with properties PP and QQ simultaneously. In contrast, the statement tt asserts the presence of an element with property PP and an element (same or different) with property QQ. Therefore, the statements ss and tt are not equivalent.

x(P(x)Q(x))≢(xP(x))(xQ(x)).\exists x (P(x)\land Q(x))\not\equiv \left(\exists x P(x)\right) \land \left(\exists x Q(x)\right).

Now let’s look at the distribution of the existential quantifier over disjunction operation. Suppose we keep the assumption of the domain DD and two predicates P(x)P(x) and Q(x)Q(x). In that case, the question of distribution arises if the disjunction of both the predicates is existentially quantified.

x(P(x)Q(x)).\exists x \left(P(x)\lor Q(x)\right).

This statement says that at least one domain element has the property PP or QQ (or both).

This is equivalent to saying that at least one domain element has the property PP, or at least one domain element has the property QQ. That means,

(xP(x))(xQ(x)).\left(\exists x P(x)\right) \lor \left(\exists x Q(x)\right).

If DD contains elements e1,e2,e3,,ene_1, e_2, e_3, \ldots, e_n, we can look at it as follows.

x(P(x)Q(x))i=1n(P(ei)Q(ei)).\exists x \left(P(x)\lor Q(x)\right) \equiv \bigvee_{i=1}^n (P(e_i)\lor Q(e_i)).

We can write the following equivalence because the disjunction operation is commutative and associative.

i=1n(P(ei)Q(ei))(i=1nP(ei))(i=1nQ(ei)).\bigvee_{i=1}^n (P(e_i)\lor Q(e_i))\equiv \left (\bigvee_{i=1}^n P(e_i)\right )\lor \left (\bigvee_{i=1}^n Q(e_i)\right ).

(i=1nP(ei))(i=1nQ(ei))(xP(x))(xQ(x)).\left (\bigvee_{i=1}^n P(e_i)\right )\lor \left (\bigvee_{i=1}^n Q(e_i)\right ) \equiv \left( \exists x P(x)\right) \lor \left(\exists x Q(x)\right).

Therefore, we conclude that the existential quantifier distributes over disjunction operation.

x(P(x)Q(x))(xP(x))(xQ(x)).\exists x \left(P(x)\lor Q(x)\right) \equiv (\exists x P(x)) \lor (\exists x Q(x)).

Examples

Let’s look at an example.


Consider the set of people taking physics classes at Monash University as the domain set. As these people can take other classes as well, let’s define the following two predicates:

  • P(x)P(x): xx is taking chemistry classes.
  • Q(x)Q(x): xx is taking astronomy classes.

Let’s existentially quantify the conjunction of PP and QQ.

  • u=x(P(x)Q(x))u = \exists x (P(x) \land Q(x)): Someone is taking chemistry and astronomy classes.

If we distribute the existential quantifier, it becomes a different statement; let us call it ww.

  • w=(xP(x))(xQ(x))w = \left ( \exists x P(x) \right ) \land \left ( \exists x Q(x) \right ): Someone is taking chemistry classes, and someone is taking astronomy classes.

Now assume that among the people taking physics classes at Monash University, no one is taking chemistry and astronomy classes. However, some are taking astronomy classes, and some are taking chemistry classes. In this case, the statement uu is false, but ww is true.

Now, let us existentially quantify the disjunction of PP and QQ.

  • m=x(P(x)Q(x))m = \exists x (P(x) \lor Q(x)): Someone is taking chemistry or astronomy classes.

If we distribute the existential quantifier, it becomes,

  • k=(xP(x))(xQ(x))k = \left ( \exists x P(x) \right ) \lor \left ( \exists x Q(x) \right ): Someone is taking chemistry classes or someone is taking astronomy classes.

We can observe that both mm and kk are true or false simultaneously for any scenario.

Equivalences involving both quantifiers

We should be cautious about the order of quantifiers if they are not of the same kind. This means we can not change the order of universal and existential quantifiers. For the sake of completion, we state DeMorgan’s laws for the quantified statements here.

¬xyP(x,y)xy¬P(x,y).\neg\forall x \exists y P(x,y) \equiv \exists x \forall y \neg P(x,y).

¬xyP(x,y)xy¬P(x,y).\neg \exists x \forall y P(x,y) \equiv \forall x \exists y \neg P(x,y).