2

Suppose we want to prove that a statement $p$ is true. Furthermore, suppose that we can find a contradiction $q$ such that $\neg p \rightarrow q$ is true. Because $q$ is false, but $\neg p \rightarrow q$ is true, we can conclude that $\neg p$ is false, which means that $p$ is true.

Chapter 1, page 86 of K.H. Rosen's Discrete Mathematics and Its Applications (7th ed)

How can we show $ \neg p \rightarrow q$ is true? We'd have to show that if $\neg p$ is true, then $q$ is true (because this rules out the only case where the implication is false) - but the latter is impossible, as a contradiction is always false.

Maybe we don't need to show that the above implication is true?! Instead, can we argue that the above implication is true due to the fact that we've only used valid arguments to arrive at $q$? If so, how exactly can we formalizes this argument?

To summarize my question: How does Rosen conclude that the implication $\neg p \rightarrow q$ is true?

Jakob
  • 426

6 Answers6

4

How can we show $¬p→q$ is true?

Usually by a conditional subproof. Whenever under the assumption of $\neg p$ you may derive $q$, then you may deduce $\neg p\to q$.$$\begin{array}{|l}\quad\begin{array}{|l}\neg p\\\hline \vdots\\ q\end{array}\\\neg p\to q\end{array}$$

How you derive $q$ in that subproof will depend on what else you have to work with.

... but the latter is impossible, as a contradiction is always false.

A contradiction can be derived from an inconsistent set of assumptions, because they are inherently contradictory. Programmers have an acronym for this: G.I.G.O., or Garbage In Garbage Out.

Deriving something under an assumption means that it will be true on condition that the assumption is true also (well, that and all prior assumptions). So if the conclusion is a contradiction, then the assumptions are suspect.

That's the basis of Proof by Contradiction: If the assumption produces garbage, then throw it out.$$\begin{array}{|l} \quad \lnot p\to q\\\quad \lnot q\\\therefore~p\end{array}$$

Graham Kemp
  • 129,094
  • Thank you very much for the answer! I really understand the first part of this answer and I understand that you can derive anything from a contradiction. However, I am confused in how one proves the implication. Indeed, an implication $A \rightarrow B$ in general can be proven by proving that whenever $A$ is true, $B$ is true. And, as you also said, this then does not mean that $A$ or $B$ are true a priori, but only that $B$ is true if $A$ (and possibly some other conditions) are true. But I am still confused in how $q$, a 'universally' false proposition can be shown to be true?! – Jakob Aug 03 '22 at 05:10
  • Could we argue that the implication is true because we used a valid argument (which, as far as I understand, means that the implication of the argument is a tautology)? – Jakob Aug 03 '22 at 05:13
  • This is not a case of "how do we" but "when we can". So indeed, when you can prove $\neg p$ implies two contradictory consequences, then you may infer $p$ – Graham Kemp Aug 03 '22 at 05:32
3

However, how can one show that ¬p→q is true? We'd have to show that if ¬p is true, then q is true (because this rules out the only case where the implication could be false) - but the latter is impossible, as a contradiction is always false.

This isn't how the system works. By this criterion, one would have to reject the idea that $q → q$ always holds, because if $q$ is actually false, the same sort of argument applies.

$p → q$ being true doesn't imply that $q$ is true. It means that $q$ is at least as true as $p$. When $p$ is false, $q$ may be false as well, because false is just as true as false. The flip side of this is that $p$ can be at most as true as $q$. So if $q$ is false, then $p$ must be false, because false is minimally true.

Edit: Perhaps this will help. It seems like you might be getting stuck on some kind of informal semantic reasoning that proving an implication requires reasoning from "$p$ is true" to "$q$ is true." But $q$ is false, and therefore "cannot be true." However, at this semantic level, $p$ could be false, so that the premise is "false is true." Given that "false is true" it's no problem to conclude "false is true." So it is erroneous to presume that because we know "$q$ is false," there are no premises that yield "$q$ is true."

Also, it seems like what you're reading has not adequately conveyed the relationship between proof and truth.

  • Proving is an activity where you use inference rules and axioms to deduce propositions from other propositions. A theorem is a proposition that can be deduced entirely from axioms (or similar).

  • Truth involves assigning values to propositions by choosing values for each atomic proposition, while the values of compound propositions are functions of the values of their sub-formulas.

There are meta-theorems relating proof and truth. For example, "a proposition is a theorem if and only if it is true under every assignment of atomic propositions." And the inference rules are designed to 'preserve truth.'

But when you 'prove' something, it means you are using the rule system. The meta-theorems mean that based on thinking about truth, one can conclude that a proof could be built. But inspecting truth values and such is not the proof.

Dan Doel
  • 3,715
  • 1
    Thanks for your answer and time. But I can't see how this answers my question: I did not mean to say that the implication $p \rightarrow q$ (symbols do not have the same meaning as in the question) means that $q$ is true. I wanted to say the following: The above implication can only be false if $p$ is true and $q$ is false. Hence, to show that the implication is true, we have to show that $q$ is true if $p$ is true. As far as I know, this is the general strategy to prove that an implication is true, cf. p. 82 of Ref.1 - section titled 'Direct Proofs'. Correct me if I am wrong. – Jakob Aug 02 '22 at 19:13
  • Also, I think, your conclusion: So if $q$ is false, then $p$ must be false, because false is minimally true. is not correct. If the implication is false, then $p$ must be true, no? But this is of course what I want to show/ask for: How do we know that the implication in the question is true - then your reasoning is correct and thus answers my question. – Jakob Aug 02 '22 at 19:21
  • I said "$p → q$ being true" entails the other things I said. The implication being true is the premise. For the first question, it is incorrect to say we cannot "show $q$ is true" given some hypotheses simply because $q$ can also be shown to be false. $q → q$ is an example of this. Given $q$ we can prove $q$, even if we can separately disprove $q$. Similarly, it may be the case that given $¬p$ we can prove $q$, even if we can separately disprove $q$. – Dan Doel Aug 02 '22 at 19:36
  • Dear @DanDoel , thank you very much for the reply. Would you mind to expand the comment a bit (maybe in the answer) and relate it to the question a bit further (as I am still struggling to see the connection)? – Jakob Aug 02 '22 at 19:40
2

I think I've understood it now: We start from $\neg p$ and some other assumptions $\varphi_1,\ldots,\varphi_n$ which we know are true. We then make valid arguments (e.g. by using inference rules) which lead to a contradiction $q$. And the argument is valid if and only if $(\neg p \wedge \varphi_1 \wedge \ldots \wedge \varphi_n) \rightarrow q$ is a tautology. The only way for this implication being true is that $\neg p$ is false, i.e. $p$ is true.

So the implication in the quote is true because we used a valid argument.

Jakob
  • 426
  • Comments are not for extended discussion; this conversation has been moved to chat. – Pedro Aug 05 '22 at 09:12
  • [My comment about the inaccuracy in this answer was moved away, but readers should not have to go somewhere else to see it. I'm reproducing the content here:] Your view here is the right idea, but is a tiny bit inaccurate. Those φ[1..n] need only be true within the current context. In other words, there may be nested proofs by contradiction. – user21820 Aug 05 '22 at 09:29
  • Take a look at the two example Fitch-style proofs I just posted starting here. In the first one, we have a contradiction-subproof under a false assumption "If A:". In the second one, we have a contradiction-subproof with an actually true assumption (as later proven)! – user21820 Aug 05 '22 at 09:29
1

I will admit it's a little difficult to understand what your question based on reading your question and the comments, but I'll at least throw in my two cents here to see if I could help out (if you get completely lost by it, feel free to say so).

How proof by contradiction works is that a proposition is either true of false. We get a contradiction when we show a statement is both true and false, showing that our initial assumptions are inconsistent. For implication statements, we use this to show $P \implies Q$ by assuming both $P$ and $\neg Q$ are simultaneously true and deriving a contradiction. When we get this contradiction, it means one of our assumptions cannot be correct.

In general, let's say we want to prove a proposition $P$. To prove it by contradiction, suppose $\neg P$. Then we write some sentences and eventually we'll get $R$ and $\neg R$ where $R$ is another statement. Since that last line of reasoning is inconsistent, this ends the proof because after all, $\neg P \implies (R \text{ and } \neg R)$ is true (and you can use a truth table to verify that).

Notice how if you have a false statement and another false statement, then a false statement implying another false statement makes the entire implication true. For instance, $\neg P$ is a false statement and $R \text{ and } \neg R$ is a false statement. By a truth table, $\neg P \implies (R \text{ and } \neg R)$ is true. That's basically the idea behind proof by contradiction.

Why exactly is a false statement implying another false statement considered "true"? Let's use an example: "If I have 60 dollars ($P$), then I am able to buy a new video game for 60 dollars ($Q$)." If I don't have 60 dollars ($\neg P$), then obviously I can't buy a new video game for 60 dollars ($\neg Q$) because I don't have enough money. Both of those implication statements are true, and we can extend that same idea into mathematics as well.

Accelerator
  • 4,923
  • Thanks for your answer and time! I 'understand' the general procedure of the proof by contradiction, in the way I described as a comment under the question. May question in short is this: After we arrive at the contradiction $R \wedge \neg R$, how does this imply that $\neg P$ is false? Put differently: How do you conclude that $\neg P \Longrightarrow R \wedge \neg R$ is true? I don't see this. – Jakob Aug 02 '22 at 20:08
  • 2
    Yeah, sorry I meant $R$ instead of $C$. I'll edit my post now. – Accelerator Aug 02 '22 at 20:12
  • @Jakob This goes back to how we construct truth tables for implication statements. If we assume $P$ is true, notice how both $\neg P$ and $C \text { and } \neg C$ are false statements. If we have two false statements, then one false statement implying another false statement makes that whole implication statement true. – Accelerator Aug 02 '22 at 20:15
  • But we want to show that $P$ is true?! – Jakob Aug 02 '22 at 20:16
  • @Jakob Yes I agree, we want to show $P$ is true, that's the goal. And how we show that is by going off the fact that if $P$ is false and $Q$ is false (that is, $\neg P$ and $\neg Q$), then $\neg P \implies \neg Q$ is true. Try researching implication statements in general, because I think that's what is confusing you. – Accelerator Aug 02 '22 at 20:29
  • You wrote, as an reply to my comment/question : If we assume P is true, notice how both ¬P and C and ¬C are false statements. If we have two false statements, then one false statement implying another false statement makes that whole implication statement true. - I completely agree. But the point is that we cannot assume that $P$ is true. – Jakob Aug 02 '22 at 20:36
  • @Jakob I was just giving a general claim. When I was typing that, I didn't have proof by contradiction in mind. Yes, in a proof by contradiction, we can't automatically assume the given statement $P$ is true, so we try to use this to prove $P$ is true: show that $\neg P \implies (R \text { and } \neg R)$ is true. – Accelerator Aug 02 '22 at 20:41
1

How can we show $ \neg p \rightarrow q$ is true? We'd have to show that if $\neg p$ is true, then $q$ is true (because this rules out the only case where the implication is false) - but the latter is impossible, as a contradiction is always false.

$q$ can tentatively be true and false at the same time, but if you want to continue with your axioms being consistent, you need to reject the assumption that caused this contradiction (of $q$ being true and false at the same time). In this case, the assumption that caused/led to the contradiction was "$\neg p$ is true".

If you never allowed for the tentative (conditional) possibility of a statement being true and false at the same time, then there would be no such concept as a contradiction...

Adam Rubinson
  • 20,052
  • I don't understand your last paragraph. Take any proposition $r$. Then $r\wedge \neg r$ is a contradiction, i.e. always false, irrespective of the truth value of $r$ itself. – Jakob Aug 03 '22 at 11:28
  • Yes $r \wedge \neg r$ is false. What is your point? Your issue in your question was, "How can we show $ \neg p \rightarrow q$ is true?". I am saying overall that there is nothing wrong with $ \neg p \rightarrow q$ being true. – Adam Rubinson Aug 03 '22 at 11:36
  • If you never allowed for the tentative (conditional) possibility of a statement being true and false at the same time, then there would be no such concept as a contradiction ... maybe I am misunderstanding this last paragraph. – Jakob Aug 03 '22 at 11:38
  • If $\neg p$ is true then $q$ is true and $q$ is false. Therefore $\neg p$ is false... – Adam Rubinson Aug 03 '22 at 11:42
1

Suppose we want to prove that a statement $p$ is true. Furthermore, suppose that we can find a contradiction $q$ such that $\neg p \rightarrow q$ is true. Because $q$ is false, but $\neg p \rightarrow q$ is true, we can conclude that $\neg p$ is false, which means that $p$ is true.

Let me rephrase what the author wrote, hopefully clearer:

  • Suppose that we can determine that $(\neg p \rightarrow q)$ is valid and that $q$ is a contradiction. This means that $q$ is false, which means that $\neg p$ is false, which means that $p$ is true.

    In other words, if by assuming the negation of statement $p$ then performing a sequence of valid steps/arguments we can derive a contradiction, then we know that $p$ is true.

To summarize my question: How does Rosen conclude that the implication in the quote is true?

Maybe we don't need to show that the above implication is true?! Instead, can we argue that the above implication is true due to the fact that we've only used valid arguments to arrive at $q$?

Precisely! $$\neg p \rightarrow q$$ is an argument with premise $\neg p$ and conclusion $q.$ It is valid (not merely true) precisely because in making it, you have performed only valid steps/ sub-arguments.

ryang
  • 38,879
  • 14
  • 81
  • 179