Created
April 7, 2014 01:54
-
-
Save joisino/10013775 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Theorem Modus_ponens : forall P Q : Prop, P -> (P -> Q) -> Q. | |
Proof. | |
intros. | |
apply H0. | |
apply H. | |
Qed. | |
Theorem Modus_tollens : forall P Q : Prop, ~Q /\ (P -> Q) -> ~P. | |
Proof. | |
intros. | |
destruct H. | |
intro. | |
apply H. | |
apply H0. | |
apply H1. | |
Qed. | |
Theorem Disjunctive_syllogism : forall P Q : Prop, (P \/ Q) -> ~P -> Q. | |
Proof. | |
intros. | |
destruct H. | |
destruct H0. | |
apply H. | |
apply H. | |
Qed. | |
Theorem DeMorgan1 : forall P Q : Prop, ~P \/ ~Q -> ~(P /\ Q). | |
Proof. | |
unfold not. | |
intros. | |
destruct H. | |
apply H. | |
apply H0. | |
apply H. | |
apply H0. | |
Qed. | |
Theorem DeMorgan2 : forall P Q : Prop, ~P /\ ~Q -> ~(P \/ Q). | |
Proof. | |
unfold not. | |
intros. | |
destruct H. | |
destruct H0. | |
apply H. | |
apply H0. | |
apply H1. | |
apply H0. | |
Qed. | |
Theorem DeMorgan3 : forall P Q : Prop, ~(P \/ Q) -> ~P /\ ~Q. | |
Proof. | |
unfold not. | |
intros. | |
split. | |
intros. | |
apply H. | |
left. | |
apply H0. | |
intros. | |
apply H. | |
right. | |
apply H0. | |
Qed. | |
Theorem NotNot_LEM : forall P : Prop, ~ ~(P \/ ~P). | |
Proof. | |
unfold not. | |
intros. | |
apply H. | |
right. | |
intro. | |
apply H. | |
left. | |
apply H0. | |
Qed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment