Can anyone explain why the predicate all
is true for an empty set? If the set is empty, there are no elements in it, so there is not really any elements to apply the predicate on? So it feels to me it should be false rather than true.
6 Answers
It hinges on the Law of the Excluded Middle. The claim itself is either TRUE or FALSE, one way or the other, not both, not neither.
Pretend that I am asserting "For every $x\in S$, property $P(x)$ holds." How could you declare me to be a liar? You would have to produce an element of the set ($S=\varnothing$, in this case) that does not have the property $P(x)$. Only then can you declare my assertion FALSE. Since you cannot do that here, my assertion is TRUE. I essentially spoke the truth by NOT speaking a lie.

- 598
- 3
- 18
-
1Okay that's pretty interesting argument. But why doesn't it work the other way around? -- Pretend that I'm asserting "There exists an
x∈S
such thatP(x)
doesn't hold." How could you declare me to be a liar? You would have to produce an element of the set (S=∅
, in this case) that does have the propertyP(x)
. Since S is the empty set, you can't convince me that there is anx
such thatP(x)
holds, therefore my assertion is true. ... I'm easily getting lost in logic. – bodacydo Sep 25 '12 at 21:48 -
3If you're asserting "there exists such-and-such" and I declare you to be a liar, it is your job to show me an actual something and defend the proposition that this particular something is a such-and-such. Someone claiming $\exists$ is a liar by default (just as someone who claims $\lor$ is), whereas someone claiming $\forall$ is right unless his opponent can find a counterexample (just as someone who claims $\land$ can relax until his opponent names one of the conjuncts that he claims is false). – hmakholm left over Monica Sep 25 '12 at 21:53
-
@HenningMakholm Suppose I claim that there is a well-ordering of the reals, and you declare me be to a liar ... – Peter Smith Sep 25 '12 at 22:03
-
1@PeterSmith: Then you make a call upon your good friend Axiom of Choice, and he goes out into his back room and does something magical whereupon he returns with a something that you then present to me. I have no idea how he does it. – hmakholm left over Monica Sep 25 '12 at 22:12
-
@HenningMakholm Indeed! :-) The serious point, though, is that issues pro or contra a constructivist reading of disjunction/existentials are one thing, and issues about the treatment of vacuous quantifiers surely something else. – Peter Smith Sep 25 '12 at 22:23
-
1@PeterSmith: Actually I think that the "declare me to be a liar" metaphor in the answer above is not meant to be about provability but about semantic truth relative to a particular model that we pretend to have physically available. Then something either exists in the model or it doesn't and somebody who claims a right based on its existence is allowed to just point at it. There may remain disagreement about whether the thing you point at actually has the property you promised, but physically locating the thing is not supposed to be a problem. (...) – hmakholm left over Monica Sep 25 '12 at 22:34
-
@bodacydo See what Henning said here. It's a matter of where the onus of proof is. To assert something exists is a strong claim; you should be able to point to such a thing! – Brendan W. Sullivan Sep 25 '12 at 22:35
-
(...) But I agree that this is at best tangentially related to vacuous quantification. I jumped in because bodacydo seemed to have problems with the general mode of argument that bwsullivan (for better or worse) brought in. – hmakholm left over Monica Sep 25 '12 at 22:35
"All of my children are rock stars."
"If we go through the list of my children, one at a time, you will never find one that is not a rock star."
Do you want the above two sentences to mean the same thing?
Also, do you want
"Not all of my children are rock stars."
to mean the same as
"At least one of my children is not a rockstar"?
Because in the situation that I have no children, the last statement is false, so we would want "all of my children are rock stars" to be true to preserve dichotomy.

- 54,717
-
20
-
4Thank you, they have all topped the charts and become pop icons! All of them. – 2'5 9'2 Sep 26 '12 at 02:23
-
I'd rather have a predicate on "all of my children" to have an undefined result since you have no children. And then I would extend set theory to have undefined-ness result in FALSE value because it only makes sense. You have no children, therefore you have no rockstar/scientist/redheaded/smart/awesome children. – pwned Aug 02 '13 at 11:06
-
6Since I wrote this, things have changed. None of my children are rock stars, but they might be some day. – 2'5 9'2 Feb 26 '18 at 15:13
-
But if for empty set is true that "For all x, P(x)" then isn't also true that "For all x, not P(x)"? Isn't this a contradiction? – user599310 Oct 12 '20 at 10:41
-
@user599310 Yes, that is also true; and no, it is not a contradiction. – 2'5 9'2 Oct 12 '20 at 14:48
-
@alex.jordan Universal quantifier is equivalent to the conjuction of P(x). When we have no x (empty set) how can we quantify over a set (we can't also apply conjuction of P(1), P(2) etc)? – user599310 Nov 01 '20 at 19:35
-
@user599310 I'm not sure what you are saying. But in general, do you want "not ($\forall x\in X, P(x))$" to mean the same as "$\exists x\in X\text{ such that }\operatorname{not}(P(x))$"? When $X$ is empty, everyone agrees the latter is false. So when $X$ is empty, the former is false. And so when $X$ is empty, "$\forall x\in X, P(x)$" is true. – 2'5 9'2 Nov 01 '20 at 19:38
-
3@user599310 Empty sums, empty products, empty conjunctions. All the same. Let me start with an empty sum. People often think of $\sum_{i=1}^n{x_i}$ as $x_1+\cdots+x_n$. Imho this is flawed for lacking symmetry. It has $n$ operands but only $n-1$ operators. I suggest thinking of it as "add $x_1$, add $x_2$, ..., add $x_n$. So it's the operator: ${}+x_1+x_2+\cdots+x_n$. Reach a value (instead of an operator) by applying it to $0$: $0+x_1+x_2+\cdots+x_n$. So when the summation is empty, you just have $0$. Continued below. – 2'5 9'2 Nov 01 '20 at 19:51
-
2An empty conjunction is the same, with "true" as the base instead of $0$, since "true" is the identity operand for conjunction. Assuming for now $X$ has a finite $n$ elements, "$\forall x\in X, P(x)$" is the same as $\bigwedge_{i=1}^nP(x_i)$, which under what I outline above, is nicely interpreted as $``\text{true}\wedge P(x_1)\wedge P(x_2)\wedge\cdots\wedge P(x_n)"$. And if $n=0$, that's just "true". – 2'5 9'2 Nov 01 '20 at 19:54
-
2So this is how to interpret empty expressions like this. They give the operator's identity element. Empty sum gives $0$. Empty product gives $1$. Empty conjunction gives "true". Empty disjunction gives "false". Empty union gives the empty set. Empty intersection gives whatever the ambient space is in that context. – 2'5 9'2 Nov 01 '20 at 19:59
It could be taken the other way, but it's simpler this way.
Say we believe that all rubies are red, and we consider some some collection of rubies, called $R$; say $R$ is all my rubies.
We would like to conclude that all my rubies are red. This seems very reasonable, since all rubies are red. But with your idea, this conclusion might be false! At best we can say that all my rubies are red, if I have any rubies.
This qualification doesn't add anything to the analysis. It doesn't illuminate any subtle point. It just complicates the discussion with an uninteresting special case.
Since the purpose of formal logic is to model plausible reasoning as closely and as simply as possible, we agree to the convention that "all my rubies are red" is deemed to be true even when I have no rubies, so that we don't have to qualify a lot of claims with "… if there are any such rubies".

- 65,394
- 39
- 298
- 580
-
Aren't all predicates true for an empty set, so "all rubies are green" also returns true? It's a vacuous truth. Knowing that, your argument doesn't make much sense. – user974006 Oct 31 '23 at 05:17
Another approach: the 'vacuous truth' for $\forall$ is roughly the logical equivalent of an empty product being defined as 1 or an empty sum being defined as 0. Just as we want $\sum_{i=1}^{n+1} a_i = a_{n+1} + \sum_{i=1}^{n} a_i$ (and want this to hold in every case, even the 'base case' where $n=0$) and want $\prod_{i=1}^{n+1} a_i = a_{n+1}\cdot \prod_{i=1}^{n} a_i$, so too we want $\forall x\in (S\cup \{z\})\ P(x) \Longleftrightarrow \bigl(\ (\forall x\in S\ P(x))\ \wedge P(z)\bigr)$ to hold even in the 'base case' where $S$ is empty. You should be able to convince yourself (through some relatively straightforward logical manipulation) that this is requires defining $\forall x\in\emptyset \ P(x)$ to be true for all predicates $P()$.

- 51,746
It kind of makes sense. If I understand correctly, I think you want to prove:
$\forall x (x\in \phi \rightarrow Q)$
where:
$\forall x (x\notin \phi)$
Q is any proposition whatsoever.
Proof: Suppose $y\in \phi$. We want to prove that $Q$ is true for any proposition $Q$ whatsoever. Suppose to the contrary that $Q$ is false.
Applying the definition of $\phi$ to $y$, we obtain the contradiction $y\notin \phi$. Therefore, by contradiction, $Q$ must be true. We have:
$y\in \phi \rightarrow Q$
Generalizing, we obtain, as required:
$\forall x (x\in \phi \rightarrow Q)$

- 14,529
An extension of the comment to bwsullivan's answer:
Suppose for all elements in a set P(x) holds and P(x) doesn't hold, i.e.
$\forall x \in A: P(x) \land \forall x \in A: \neg P(x)$
Suppose $y \in A$
then $P(y)\land \neg P(y)$
a contradiction.
So $\forall y: \neg y \in A$
I.e. $A = \emptyset$
Now if you made $\forall x \in A: P(x) $ or $ \forall x \in A: \neg P(x)$ not true for the empty set, you couldn't conclude this.

- 688
∀x∈S(R(x))
is true, then allx∈S
must haveR(x)
true. Since there is no suchx
for empty setS
, the statement∀x∈S(R(x))
is false. ... What happened? – bodacydo Sep 25 '12 at 21:27