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] - chore(*): use sq
as convention for "squared"
#7368
Conversation
bors d+ |
✌️ benjamindavidson can now approve this pull request. To approve and merge a pull request, simply reply with |
bors r+ Since this has a high potential for conflicts, lets kick this on the queue now. |
Unfortunately, this already has a merge conflict. When merging again we should use a priority, like |
✌️ benjamindavidson can now approve this pull request. To approve and merge a pull request, simply reply with |
Canceled. |
I'm not sure what's causing the build to fail. |
I did a brief scan of the other PRs in the queue and it seems like it should be safe to add this to the next one. 🤞 |
Okay. I had been waiting because I was concerned that if I add it with priority it would cancel the other PRs it is currently running but if you think this will work then great! |
This PR establishes `sq x` as the notation for `x ^ 2`. See [this Zulip conversation](https://leanprover.zulipchat.com/#narrow/stream/113488-general/topic/sqr.20vs.20sq.20vs.20pow_two/near/224972795). A breakdown of the refactor: - All instances of `square` and `sqr` are changed to `sq` (except where `square` means something other than "to the second power") - All instances of `pow_two` are changed to `sq`, though many are kept are aliases - All instances of `sum_of_two_squares` are changed to `sq_add_sq` n.b. I did NOT alter any instances of: - `squarefree` - `sum_of_four_squares` - `fpow_two` or `rpow_two` <!-- The text above the ` Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Pull request successfully merged into master. Build succeeded: |
sq
as convention for "squared"sq
as convention for "squared"
This PR establishes
sq x
as the notation forx ^ 2
. See this Zulip conversation.A breakdown of the refactor:
square
andsqr
are changed tosq
(except wheresquare
means something other than "to the second power")pow_two
are changed tosq
, though many are kept are aliasessum_of_two_squares
are changed tosq_add_sq
n.b. I did NOT alter any instances of:
squarefree
sum_of_four_squares
fpow_two
orrpow_two