Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

[Merged by Bors] - feat(number_theory/quadratic_reciprocity): change order of arguments … #13311

Closed
wants to merge 2 commits into from

Conversation

MichaelStollBayreuth
Copy link
Collaborator

…in legendre_sym

This is the first step in a major overhaul of the contents of number_theory/quadratic_reciprocity.

As a first step, the order of the arguments a and p to legendre_sym is swapped, based on a poll on Zulip.


Open in Gitpod

@MichaelStollBayreuth MichaelStollBayreuth added the awaiting-review The author would like community review of the PR label Apr 10, 2022
@@ -356,13 +360,13 @@ namespace zmod
* `-1` otherwise.

-/
def legendre_sym (a : ) (p : ) : ℤ :=
def legendre_sym (p : ) (a : ) : ℤ :=
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please also include a warning about the order of the arguments in the docstring. (I saw you already added that warning above in the module docs.)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks; I had overlooked that. I have changed the docstring accordingly.

@jcommelin jcommelin added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review The author would like community review of the PR labels Apr 11, 2022
@MichaelStollBayreuth MichaelStollBayreuth added awaiting-review The author would like community review of the PR and removed awaiting-author A reviewer has asked the author a question or requested changes labels Apr 11, 2022
Copy link
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🎉

bors merge

@leanprover-community-bot-assistant leanprover-community-bot-assistant added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels Apr 11, 2022
bors bot pushed a commit that referenced this pull request Apr 11, 2022
#13311)

…in legendre_sym

This is the first step in a major overhaul of the contents of number_theory/quadratic_reciprocity.

As a first step, the order of the arguments `a` and `p` to `legendre_sym` is swapped, based on a [poll](https://leanprover.zulipchat.com/#narrow/stream/116395-maths/topic/Quadratic.20Hilbert.20symbol.20over.20.E2.84.9A) on Zulip.
@bors
Copy link

bors bot commented Apr 11, 2022

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title feat(number_theory/quadratic_reciprocity): change order of arguments … [Merged by Bors] - feat(number_theory/quadratic_reciprocity): change order of arguments … Apr 11, 2022
@bors bors bot closed this Apr 11, 2022
@bors bors bot deleted the legendre_symbol branch April 11, 2022 23:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants