Skip to content
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: port number_theory.legendre_symbol.norm_num to Tactic.NormNum.LegendreSymbol #5548

Closed
wants to merge 8 commits into from

Conversation

Komyyy
Copy link
Collaborator

@Komyyy Komyyy commented Jun 28, 2023


Open in Gitpod

Mathbin -> Mathlib
fix certain import statements
move "by" to end of line
add import to Mathlib.lean
@Komyyy Komyyy added WIP Work in progress mathlib-port This is a port of a theory file from mathlib. t-meta Tactics, attributes or user commands labels Jun 28, 2023
@Komyyy Komyyy added awaiting-review The author would like community review of the PR awaiting-CI and removed WIP Work in progress labels Jun 29, 2023
@Komyyy Komyyy changed the title feat: port NumberTheory.LegendreSymbol.NormNum feat: port number_theory.legendre_symbol.norm_num to Tactic.NormNum.LegendreSymbol Jun 29, 2023
@semorrison
Copy link
Contributor

Looks very nice!

bors d+

@bors
Copy link

bors bot commented Jun 29, 2023

✌️ Komyyy can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@github-actions github-actions bot added delegated and removed awaiting-review The author would like community review of the PR labels Jun 29, 2023
@Komyyy
Copy link
Collaborator Author

Komyyy commented Jun 29, 2023

bors r+

bors bot pushed a commit that referenced this pull request Jun 29, 2023
@bors
Copy link

bors bot commented Jun 29, 2023

Pull request successfully merged into master.

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot changed the title feat: port number_theory.legendre_symbol.norm_num to Tactic.NormNum.LegendreSymbol [Merged by Bors] - feat: port number_theory.legendre_symbol.norm_num to Tactic.NormNum.LegendreSymbol Jun 29, 2023
@bors bors bot closed this Jun 29, 2023
@bors bors bot deleted the port/NumberTheory.LegendreSymbol.NormNum branch June 29, 2023 13:24
show (er : Q(ℤ)) × Q(jacobiSymNat 1 $eb = $er) from
⟨mkRawIntLit 1, q(jacobiSymNat.one_left $eb)⟩
| a =>
match a % 0 with
Copy link
Collaborator

Choose a reason for hiding this comment

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

This looks incorrect. I guess it should be a % 2 instead of a % 0.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oh, that's wrong, thank you.
I'll create the PR after porting Traversable deriving handler.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

kbuzzard pushed a commit that referenced this pull request Jul 6, 2023
semorrison pushed a commit that referenced this pull request Aug 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated mathlib-port This is a port of a theory file from mathlib. t-meta Tactics, attributes or user commands
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants