Natural Deduction

Examples of natural deduction proofs that use proof by contradiction aka reductio ad absurdum (RAA). [1] [2]

(All of the statements can be easily verified using truth tables. It is instructive to compare the method of truth tables with the natural deduction proofs.)

Remark on Notation: If

P and
Q
are logical formulas, then
PQ
claims that there is a proof of
Q
assuming
P
. Below, the task is to find such proofs. For this to make sense, we need to agree on what is meant by formula and by proof.

  • A formula is built from "atomic propositions" denoted
    A,B
    , etc and logical operations
    (and),
    (or),
    (implies),
    ¬
    (not).
  • A proof of
    PQ
    is a sequence of formulas (each written in their own line), starting with the assumption
    P
    and finishing with the conclusion
    Q
    . Each line needs to be justified by a rule and the formulas appearing before. The rules are Gentzen's rules of natural deduction. See this screenshot from Gentzens original paper for a summary of the rules.[3]
  • The Fitch style method of writing proofs I employ in the following uses indentation in the same way as it is used in programming languages such as Python, see eg https://plato.stanford.edu/entries/natural-deduction/#ModeVersJaskMeth . (Each time one makes a new assumption, one increases indentation; each time one introduces an implication
    AB
    the assumption is "cancelled" by decreasing the level of indentation.)
  • For more details, these videos look promising. [4]

A Lemma (no reductio ad absurdum)

Implication

BAB [5] [6]

Warming Up

Double Negation

¬¬AA [7]

Ex Falso Quodlibet

A¬AB [8]

Implication

¬AAB [9]

Tertium Non Datur

A¬A [10]

Eliminating Negation

Also show the directions from right to left (which are easier).

Negated Implication

¬(AB)A¬B [11]

Negated Conjunction

¬(AB)¬A¬B [12]

Negated Disjunction

¬(AB)¬A¬B [13]

Implication again

AB¬AB [14]

More Training Questions

¬(PQ)RQR

Quantifiers

Outlook

In many of the our proofs we used double negation, that is,

¬¬AA. These proofs are also known as proofs by contradiction or indirect proofs.

The logic in which one removes double negation is called intuitionistic logic.

It is interesting to think about whether it is possible to replace our proofs by contradiction with constructive proofs, that is, proofs that do not use double negation, that is, proofs in intuitionistic logic.

The answer is no, but for this we would need to find an interpretation of intuitionistic logic that provides a counter example of double negation.

Maybe more on this later


  1. The following are not "proper" RAA, but just negation-introduction (ie the proof of a negated statement):

    ¬B
    (here we use some other assumptions we made)
    B
    (now we have a contradiction between
    ¬B
    and
    B
    )

    ¬¬B (and we conclude
    ¬¬B
    )

    More generally,

    A (assumption)
    (proof continues)
    B¬B
    (found a contradiction)

    ¬A (conclude the negation of
    A
    )

    On the other hand,

    ¬B

    contradiction

    B

    is a "proper" RAA proof. As one can see, in the latter case one additionally uses the principle of double negation, that is

    ¬¬BB. (If one takes "liberal" RAA to include proofs such as the latter one, then one can derive double negation from RAA.) ↩︎

  2. We also use this form of or-elimination:

    AB
    ¬A

    B
    ↩︎

  3. Instead of

    & we write
    for and,
    is or, the rules of the quantifiers
    for for all and
    for there is are not used in the following, instead of
    we write
    for implies and the funny mountain symbol is Gentzen's notation for contradiction (or falsum or false), today mostly written as
    . ↩︎

  4. The video calls RAA what I call negation introduction and calls indirect proof what I call proper RAA and do in two steps via negation introduction and double negation elimination. ↩︎

  5. BAB

    B

    A
    B
    (copying the
    B
    , not needed)

    AB ↩︎

  6. The proof is strange in that the conclusion

    B does not depend on
    A
    . (Or, in other words, if we do not allow copying, the conclusion
    B
    comes before the assumption
    A
    in the deduction.) There is a logic, relevance logic, in which such proofs are not allowed. ↩︎

  7. ¬¬AA

    ¬¬A

    ¬A

    A


    ↩︎
  8. A¬AB
    A¬A

    ¬B
    A

    ¬A

    ¬¬B
    B


    ↩︎
  9. ¬AAB

    ¬A

    A

    ¬B

    B

    AB


    ↩︎
  10. A¬A

    ¬(A¬A)

    A
    A¬A

    ¬A
    A¬A

    A¬A


    ↩︎
  11. ¬(AB)A¬B (uses Implication)

    ¬(AB)

    ¬A
    AB

    ¬¬A
    A

    B
    AB

    ¬B

    A¬B


    The other direction does not use double negation (proper RAA):

    A¬B
    A

    ¬B

    AB
    B

    ¬(AB)


    ↩︎
  12. ¬(AB)¬A¬B

    ¬(AB)

    ¬(¬A¬B)

    ¬A
    ¬A¬B

    A

    ¬B
    ¬A¬B

    B
    AB

    ¬A¬B


    The other direction does not use double negation (proper RAA):

    ¬A¬B

    AB
    A

    B

    ¬B

    ¬(¬A¬B)


    ↩︎
  13. ¬(AB)¬A¬B

    ¬(AB)

    A
    AB

    ¬A

    B
    AB

    ¬B

    ¬(AB)


    The other direction does not use double negation (proper RAA):

    ¬A¬B
    ¬A

    ¬B

    AB
    B

    ¬(AB) ↩︎

  14. AB¬AB (uses Negated Disjunction and Double Negation)

    AB

    ¬(¬AB)
    ¬¬A¬B

    ¬¬A

    ¬B

    A

    B

    ¬AB


    The other direction does not use double negation (proper RAA):

    ¬AB

    A
    B

    AB ↩︎