I understand the principle of explosion proof using the inversion
tactic:
Theorem ex_falso_quodlibet : forall (P:Prop),
False -> P.
Proof.
intros P contra.
inversion contra. Qed.
However, I don't understand the steps taken by Coq in order to do the same proof but using destruct
instead of inversion
:
Theorem ex_falso_quodlibet' : forall (P:Prop),
False -> P.
Proof.
intros P contra.
destruct contra. Qed.
How is False
inductive to be destructed? How does it affect to the goal and complete the proof?