Skip to content
LeanLearn
Level 2~30 minLean 4

Proof by contradiction

Assume the opposite and show it leads somewhere impossible. Discover which contradiction proofs are constructive, and see Lean report the axiom that the others rely on.

You will be able to
  • Structure a proof by contradiction.
  • Distinguish proving a negation (constructive) from proving a statement by refuting its negation (classical).
  • Read Lean's axiom report to see when classical logic was used.

Recommended first: Writing proofs: direct proof and proof by cases, Natural deduction: the rules of proof. You can start anyway. Nothing is locked.

EncounterActivity 1 of 9

Encounter

A detective says: "Suppose the butler did it. Then he was in the library at nine. But at nine he was on camera in the kitchen. Impossible, so the butler did not do it."

That is a proof by contradiction: assume the opposite of what you want, follow the consequences, and reach something impossible (a contradiction, ⊥\bot). The assumption must have been false.

Is there a largest natural number? Suppose there were one, call it NN...