Entailment

“Going back to being a head coach entails a full-time commitment to that job.”
—Bill Cowher

Now that we know to determine whether WFFs are true or false in a given model, we can ask how WFFs are related to each other, in terms of which models make them true.

Example

  1. Every model that makes (PQ)(P\land Q) true also makes (QP)(Q\land P) true, and vice-versa.
  2. Every model that makes (PQ)(P\land Q) true also makes PP true.
  3. Not every model that makes PP true also makes (PQ)(P\land Q) true.
  4. Every model where WFFs PP and (PQ)(P\to Q) are both true also makes QQ true.

Part (4) above follows by inspection of the truth table for implication; the only way that (PQ)(P\to Q) can be true in a model where PP is true is if that model also makes QQ true.

The Entailment Relation

Definition

We say that assumptions A1,,An{\cal A}_1,\ldots,{\cal A}_n entail a conclusion B{\cal B} if in every situation (model) where the assumptions are all true, the conclusion is true as well. In this case we write

A1,,An  B{\cal A}_1,\ldots,{\cal A}_n \ \vDash \ {\cal B}

Equivalently, A1,,An  B{\cal A}_1,\ldots,{\cal A}_n \ \vDash \ {\cal B} if there is no possible scenario where our assumptions A1,,An{\cal A}_1,\ldots,{\cal A}_n are true but the conclusion B{\cal B} is false.

If A1,,An{\cal A}_1,\ldots,{\cal A}_n does not entail B{\cal B} then we write

A1,,An ⊭ B{\cal A}_1,\ldots,{\cal A}_n \ \not\vDash \ {\cal B}

Example

We can rewrite the four observations above as:

  1. (PQ)(QP)(P\land Q)\vDash (Q\land P) and (QP)(PQ)(Q\land P)\vDash (P\land Q).
  2. (PQ)P(P\land Q)\vDash P
  3. P⊭(PQ)P\not\vDash (P\land Q).
  4. P, (PQ)QP,\ (P\to Q)\vDash Q.

Definition

As a special case (n=0n=0), we say that B{\cal B} is valid or is a tautology if it is true in every possible model, and write

B\vDash {\cal B}

In the entailment A1,,AnB{\cal A}_1,\ldots,{\cal A}_n\vDash {\cal B}, we can think of A1,,An{\cal A}_1,\ldots,{\cal A}_n as constraining which models we care about B{\cal B} being true in. The base case of having n=0n=0 is that there is no constraint at all, and we need B{\cal B} to be true in all models.

Checking for Entailment

Entailment defines when a conclusion WFF follows from assumption WFFs, but says nothing about “step-by-step reasoning” or “proof.”

If we want to check whether

(PQ),  ¬Q  ¬P(P\to Q),\ \ \lnot Q\ \vDash\ \lnot P

then we must (for now, at least) check every relevant model, and confirm that every (relevant) model that makes the two assumptions true also makes the conclusion true.

Example

In order to verify that (PQ),  ¬Q  ¬P(P\to Q),\ \ \lnot Q\ \vDash\ \lnot P, we can build a truth table. In a truth table, each row represents a different model, each column represents a WFF, and each cell represents whether the model makes the WFF true or false.

For this example, since there are two propositional variables involved (PP and QQ), we need four rows, corresponding to the four relevant models:

PPQQPQP\to Q¬Q\lnot Q¬P\lnot P
TTTFF
TFFTF
FTTFT
FFTTT

By inspection of the truth table, we see that the entailment holds: in every model where the assumptions (PQ)(P\to Q) and ¬Q\lnot Q are simultanously true (there’s only one such model), the conclusion PP is true.

Example

Now suppose we want to check whether (PQ),¬P  ¬Q(P\to Q), \lnot P\ \vDash \ \lnot Q. Again, there are four possible models and we can build a truth table:

PPQQPQP\to Q¬P\lnot P¬Q\lnot Q
TTTFF
TFFFT
FTTTF
FFTTT

By inspection of the truth table we can see that the entailment fails; in the third model (where PP is false and QQ is true), both assumptions are true, but the conclusion is false. We conclude that

(PQ),  ¬P ⊭ ¬Q.(P\to Q),\ \ \lnot P\ \not\vDash\ \lnot Q.

Example

Now suppose we want to know whether  (P(QP))\ \vDash (P\to (Q\to P)). (Recall that this means that (P(QP))(P\to (Q\to P)) is valid, i.e., true in every model.)

Again, there are four possible models and we can build a truth table. Previously we had columns for each assumption and conclusion, but just to make the calculations easier to do by hand, we can add a column for the intermediate formula (QP)(Q\to P).

PPQQ(QP)(Q\to P)(P(QP))(P\to(Q\to P))
TTTT
TFTT
FTFT
FFTT

By inspection of the truth table we can see that the conclusion is true in every model. Thus the entailment holds and (P(QP))(P\to(Q\to P)) is valid.

Example

Finally, suppose we want to know whether P\bot \vDash P.

This time there are only two models (not because of the \bot, but because this entailment doesn’t involve QQ, so we only care whether PP is true or false). We build the truth table. (We didn’t have to repeat the conclusion PP in the third column, but it’s harmless and my personal preference is to put the conclusion in the final column.)

PP\botPP
TFT
FFF

The entailment holds, because in all models where the assumption \bot is true (all zero of them), the conclusion PP is true.

Another way to think about this: the entailment holds because there are no counterexamples, i.e., no model where the assumption \bot is true and the conclusion PP is false.

Logical Equivalence

WFFs A{\cal A} and B{\cal B} are logically equivalent if AB{\cal A} \vDash {\cal B} and BA{\cal B} \vDash {\cal A}. In this case, we write

AB.{\cal A} \equiv {\cal B}.

An easier way to say this is that AB{\cal A} \equiv {\cal B} whenever A{\cal A} and B{\cal B} have the same truth value in every model (i.e., no matter value we give their propositional variables, either A{\cal A} and B{\cal B} are both true, or they’re both false).

The following equivalences are important, and should be memorized.

  • A    ¬¬A{\cal A} \ \ \equiv \ \ \lnot\lnot {\cal A}
  • AB    ¬A  B{\cal A}\to {\cal B} \ \ \equiv \ \ \lnot {\cal A}\ \lor\ {\cal B}
  • AB    (¬B  ¬A){\cal A}\to {\cal B} \ \ \equiv \ \ (\lnot {\cal B}\ \to\ \lnot {\cal A}) (contrapositive)
  • ¬(AB)    (¬A  ¬B)\lnot ({\cal A}\land {\cal B}) \ \ \equiv \ \ (\lnot {\cal A} \ \lor\ \lnot {\cal B}) (DeMorgan’s Law)
  • ¬(AB)    (¬A  ¬B)\lnot ({\cal A}\lor {\cal B}) \ \ \equiv \ \ (\lnot {\cal A} \ \land\ \lnot {\cal B}) (DeMorgan’s Law)
  • ¬(AB)    (A  ¬B)\lnot ({\cal A}\to {\cal B}) \ \ \equiv \ \ ({\cal A} \ \land\ \lnot {\cal B})
  • ¬A    (A)\lnot {\cal A} \ \ \equiv \ \ ({\cal A} \to \bot)

Because equivalence preserves truth value, we can apply these equations inside other formulas without changing the truth value:

¬(P¬Q)    (P¬¬Q)    (PQ).\lnot(P\to\lnot Q) \ \ \equiv \ \ (P\land \lnot\lnot Q) \ \ \equiv \ \ (P\land Q).