-
Notifications
You must be signed in to change notification settings - Fork 298
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - feat(group_theory/order_of_element): exists_pow_eq_self_of_coprime #6875
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a straightforward enough proof to me, unless you want to spin off an intermediate statement that for k, n
coprime with 1 < k
, ∃ m : ℕ, n * m % k = 1
, and then just throw that into pow_eq_mod_order_of
.
That sounds like a good refactor. Also, let's not actually use unnecessary |
Thanks! 🎉 bors merge |
…6875) If `n` is coprime to the order of `g`, then there exists an `m` such that `(g ^ n) ^ m = g`.
Pull request successfully merged into master. Build succeeded: |
…6875) If `n` is coprime to the order of `g`, then there exists an `m` such that `(g ^ n) ^ m = g`.
If
n
is coprime to the order ofg
, then there exists anm
such that(g ^ n) ^ m = g
.