0
$\begingroup$

I have to do a simple translation of a sentence in first-order logic to natural language. The sentence is $$\exists x \forall y (\text{soldier}(x) \land \text{general}(x,y)),$$

where $\text{soldier}(x) $ means "$x$ is a soldier" and $\text{general}(x,y)$ means "$x$ is the general of $y$".

Now this formula, as with a couple of minutes thinking, means in natural language $$\text{there is someone who is everyone's general.}$$

My question is: To what does that formula translate, if we replace $\land$ with $\rightarrow $ ?

Somehow it seems to me that in natural language it would mean the same, but that can't be, since $\exists x \forall y (\text{soldier}(x) \rightarrow \text{general}(x,y))$ is a different formula than the one above.

  • 3
    Actually, your first sentence means "there is a soldier for whom everyone is his general"2017-01-14
  • 0
    @ZoranLoncarevic Sorry, typo, I interchanged accidentally $x$ with $y$ (now corrected). I'm actually quoting the solution from a solution set here.2017-01-14

3 Answers 3

1

$$\exists x \forall y \; (\text{soldier}(x) \rightarrow \text{general}(x,y))$$ means that there is someone ($x$) such that if if he is a soldier, then he is general of everyone.

This may be true either because there is a soldier who is the general of everyone, or because there is at least one non-soldier.

It may be easier to unravel the meaning if you remember that $p\to q$ is the same as $\neg p\lor q$, so what you have is equivalent to

$$\exists x \forall y \; (\neg\text{soldier}(x) \lor \text{general}(x,y))$$

and because $\forall y(p\lor q(y))$ is the same as $p\lor\forall y\,q(y)$ when $p$ does not depend on $y$, this is the same as

$$\exists x \; (\neg\text{soldier}(x) \lor \forall y\, \text{general}(x,y))$$

and $\exists$ distributes over $\lor$ so this is again the same as

$$(\exists x \; \neg\text{soldier}(x)) \lor \exists x \forall y\, \text{general}(x,y)$$


While this is all impeccable from a strictly technical point of view, it can feel a bit counterintuitive. That basic source of this strangeness is that you have an existentially quantified variable to the left of a $\to$ (where the quantifier ranges over the entire implication), which is not really a situation that $\to$ is designed to be useful for.

One famous example of this is the so-called drinker's paradox.

  • 0
    The unravelling of the formula really helped, thanks. Though when we look at the formula in the form $(\exists x \; \neg\text{soldier}(x)) \lor \exists x \forall y\, \text{general}(x,y)$ and compare that to your translation "that there is someone $(x)$ such that if if he is a soldier, then he is general of everyone", do we really need to specify that $x$ is a soldier ? The right parts of the disjunction only contains the general predicate, which doesn't mention what $x$ and $y$ are, so I think we don't need to explicitly say that $x$ is a soldier, and just say that there exists $x$ ?2017-01-14
  • 0
    (and +1 for the reference to the drinker's paradox, which is essentially this example).2017-01-14
0

The sentence $$\exists x \forall y \; (\text{soldier}(x) \land \text{general}(x,y))$$ means there is someone who is everyone's general and also a soldier, while $$\exists x \forall y \; (\text{soldier}(x) \rightarrow \text{general}(x,y))$$ means if everyone is a soldier, one of them is everyone's general.

In the second case, if there is any $x$ who isn't a soldier, for every $y$ and this $x$ the formula under quantificators is true (since implication is true whenever the premise is false). So, your sentence is true whenever there is someone who is not a soldier; on the other hand, if everyone is a soldier, then sentence reduces to $$\exists x \forall y \; (\text{general}(x,y)).$$

  • 0
    I don't really get your answer, could you please explain it in more detail? In particlar, why, for example, do you start with "if everyone is a **soldier**" ? We have have no information about what $y$ is, since there is no predicate soldier($y$).2017-01-14
  • 0
    After thinking about the answer a bit more, shouldn't it be "if there is someone who is a soldier, then he is everyone's general" ?2017-01-14
  • 0
    @user10324 I added some explanation.2017-01-14
0

(NB: Assuming the domain is a subset of "people". )


The following statement reads "There exists someone who is a soldier, and they are everyone's general." $$\exists x~\forall y~(\operatorname{soldier}(x)\wedge\operatorname{general}(x,y))$$ I assert that this is true if and only if, indeed, there is a soldier who is general of everyone in the domain.


The following statement reads "There exists someone who, if they are a soldier, then they are everyone's general." $$\exists x~\forall y~(\operatorname{soldier}(x)\to\operatorname{general}(x,y))$$ I assert that this is true if and only if either (a) everyone(in the domain) is a soldier and one of them is general of them all, or (b) there is someone who is not a soldier.