5. Contrapositive
Given h : P → Q, prove ¬Q → ¬P. Remember that ¬P means P → False.
1theorem solution (P Q : Prop) (h : P → Q) : ¬Q → ¬P := by
givenLoading editor…
Type
\to in the editor, or click:Where you start. Everything above ⊢ may be assumed; the line below it is what you must prove.
P Q:Prop
h:P → Q
⊢¬Q → ¬P
ReadyLn 1, Col 1Lean 4
Draft saved in this browser