Created
March 26, 2012 15:19
-
-
Save takeouchida/2205840 to your computer and use it in GitHub Desktop.
x * 2 / 2 = x
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
Require Import Div2. | |
Theorem div2_double : forall x, div2 (double x) = x. | |
intro x. | |
induction x. | |
reflexivity. | |
unfold double. | |
unfold double in IHx. | |
rewrite plus_Sn_m. | |
rewrite Plus.plus_comm. | |
rewrite plus_Sn_m. | |
simpl. | |
rewrite IHx. | |
reflexivity. | |
Qed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment