Validity in propositional calculus.

315 Views Asked by At

I have read some of the answers on similar questions but I can't really get my head around this.

So, here are 2 questions I need to answer.

Show using a truth table:

That the inference from:

$ p\rightarrow(q \land r),\neg q$ to $ \neg p$ is valid

And the inference from:

$p\rightarrow(q\lor r),\neg q$ to $\neg p$ is not valid.

Ok so if I'm correct a truth table contains all possible situations (or valuations) of an argument. An inference would be getting a conclusion out of two pieces of information $ p\rightarrow(q \vee r),\neg q$ and $\neg p\rightarrow(q\wedge r),\neg q$ respectively for both questions, and drawing a conclusion based on that.

An argument or inference is valid if the conclusion is true as well as the "two pieces of information" or "premises", correct? This would mean that, a situation or "valuation" (only one out of a possible 8 in the case of my examples) where $ p\rightarrow(q \vee r),\neg q, \neg p$ should be true?

So all I would have to do is make a truth table, where all the true-false values are present for the given formulas, and look for a "line" (aka valuation) in the truth-table that has that property?

Because I feel I'm making things way more complex than they have to be. I was looking into modus tollens, but that only applies to a situation where you have 2 formulas and not 3 (as is the case in both of my questions). However if it is possible to answer these questions with modus tollens, how do I do this? Or could you show me how?

Thanks in advance, Rope.

PS. If you could also tell me if my assumption about the definitions of some of the keywords in this question I stated are corect, that would be awesome :P.

2

There are 2 best solutions below

1
On BEST ANSWER

An inference (or argument) from given premises to a conclusion is valid if and only if there is no possible situation in which the premises are true and the conclusion is false. So, talking about propositional logic and truth-tables, the inference is valid (or the premises entail the conclusion) if and only if there is no valuation of the atoms (p, q, r,...) that makes the premises true and the conclusion false.

Check that your definition is not correct, since you say that both premises and conclusion must be true for some valuation. But the correct definition above means that the only case in which an inference is invalid is when there is a line in the truth-table (so there is a truth-valuation) which makes the promises true and the conclusion false. Otherwise, the inference is valid.

I would recommend checking the book An introduction to formal logic, by Peter Smith. Or A modern formal logic primer, by Paul Teller, freely available from the author (check Chapter 4)

4
On

Modus tollens does indeed apply. In each scenario, you are given two premises, and asked if you can infer, from the two given premises, the conclusion, $\lnot p$. It is also the case that we need to determine whether from $\lnot q$ we can then infer $\lnot(p\land q)$ in the first case, or $\lnot(p \lor q)$ in the second.

In the first case, put $t = (q\land r)$. Now, we have $p \rightarrow t$. If we can assert $\lnot t$ from the second premise $\lnot q$, then by modus tollens, we can validly infer $\lnot p$.

So when can we assert $\lnot t = \lnot(q \land r) \equiv \lnot q \lor \lnot r$?

Since we have $\lnot q$ as a premise, we can certainly infer $\lnot q \lor \lnot r \equiv \lnot (q \land r)$. That is, we can validly conclude, given $\lnot q$, that it is not the case that $q\land r$, i.e. that $\lnot (q\land r)$ holds. So $p \rightarrow (q \land r), \quad \lnot (q \land r)\,$ together imply $\;\lnot p$.


However, in the second case, put $t = q\lor r$. Having $\lnot q$ tells us nothing about whether we can negate $t$. It might be the case that $r$ is true, in which case $t$ is true. So we cannot negate $t =q\lor r$ knowing only $\lnot q$. Since we cannot negate $(q\lor r)$ based only on $\lnot q$, we cannot validly infer $\lnot p$.