-
-
Save miikka/8c1c9df08115dfe56f4f 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
(* Original version of the proof in | |
https://quanttype.net/posts/2016-02-16-elementary-algebra.html *) | |
Theorem square_is_unique (G : group) : | |
forall (f : G), f <.> f = f -> f = id. | |
Proof. | |
intros f H1. | |
assert ((inv f) <.> (f <.> f) = (inv f) <.> f) as H2. | |
- f_equal. assumption. | |
- rewrite op_assoc, <- op_inv_l, <- op_id_l in H2. | |
assumption. | |
Qed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment