Created
December 13, 2015 05:07
-
-
Save umedaikiti/df91879c3e9d80e1e325 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
Section s1. | |
Axiom a : nat. | |
Variable b : nat. | |
Definition c : nat := 1. | |
Let d : nat := 1. | |
Print All. | |
Definition e : nat := a+b+c+d. | |
Print e. | |
End s1. | |
Print All. | |
Print e. |
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
Definition K : forall (P Q : Prop), P -> Q -> P. | |
Proof. | |
Show Proof. | |
intros. | |
Show Proof. | |
assumption. | |
Show Proof. | |
Qed. | |
Print K. | |
Definition K' : forall (P Q : Prop), P -> Q -> P := | |
fun (P Q : Prop) (H : P) (_ : Q) => H. | |
Check K'. | |
Goal forall (P Q : Prop), P -> Q -> P /\ Q. | |
Proof. | |
intros. | |
split. | |
Show Proof. | |
Abort. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment