Modus tollens: is p→q, ¬q ⊨ ¬p valid?

If p → q holds and q is false, p must be false too: anything that made p true would make q true. Denying the consequent denies the antecedent.

Validp→q, ¬q ⊨ ¬p

Every branch of the tableau closes, so nothing makes the premises true and the conclusion false at once.

Proof (semantic tableau)

  1. 1True: p→qpremise
    1. 2True: ¬qpremise
      1. 3False: ¬pnegated conclusion
        1. 4False: qfrom line 2
          1. 5True: pfrom line 3
            1. 6False: pfrom line 1

              Branch closed: line 6 contradicts line 5.

            2. 7True: qfrom line 1

              Branch closed: line 7 contradicts line 4.

closed branch

How semantic tableaux work →

Try in Calculator

More worked proofs