Created
January 6, 2016 20:20
-
-
Save Fuco1/4532228923c0249faecf to your computer and use it in GitHub Desktop.
Groups
This file contains hidden or 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
Variable G : Set. | |
Variable e : G. | |
Variable inv : G -> G. | |
Variable mult : G -> G -> G. | |
Infix "*" := mult. | |
Axiom left_id : forall x : G, e * x = x. | |
Axiom left_inv : forall x : G, inv x * x = e. | |
Axiom assoc : forall x y z : G, x * (y * z) = (x * y) * z. | |
Theorem right_id : forall x : G, x * e = x. | |
Proof. | |
intros x. | |
assert (inv x * (x * e) = inv x * x) as H. | |
rewrite assoc. | |
rewrite left_inv. | |
apply left_id. | |
apply left_cancel in H. | |
exact H. | |
Qed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment