Skip to content

Instantly share code, notes, and snippets.

@KeenS
Created April 7, 2014 16:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save KeenS/10023816 to your computer and use it in GitHub Desktop.
Save KeenS/10023816 to your computer and use it in GitHub Desktop.
Theorem DeMorgan3 : forall P Q : Prop, ~(P \/ Q) -> ~P /\ ~Q.
Proof.
intros.
split.
intro.
destruct H.
left.
apply H0.
intro.
destruct H.
right.
apply H0.
Qed.
Theorem NotNot_LEM : forall P : Prop, ~~(P \/ ~P).
Proof.
intros.
intro Q.
apply DeMorgan3 in Q.
destruct Q.
apply H0.
apply H.
Qed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment