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: add a Module.Finite instance for units of number field #7412

Closed
wants to merge 9 commits into from

Conversation

xroblot
Copy link
Collaborator

@xroblot xroblot commented Sep 27, 2023

Add the following instance

instance : Module.Finite ℤ (Additive (𝓞 K)ˣ) 

To prove this instance, it is helpful to add some rfl lemmas about Additive and AddMonoidHom.toIntLinearMap

This PR also fixes a couple of typo in the docstring


Open in Gitpod

@xroblot xroblot added WIP Work in progress awaiting-CI t-number-theory Number theory (also use t-algebra or t-analysis to specialize) labels Sep 27, 2023
@xroblot xroblot added awaiting-review The author would like community review of the PR WIP Work in progress and removed WIP Work in progress awaiting-review The author would like community review of the PR labels Sep 28, 2023
@xroblot xroblot added awaiting-review The author would like community review of the PR and removed WIP Work in progress labels Sep 28, 2023
@riccardobrasca riccardobrasca self-assigned this Sep 29, 2023
Copy link
Member

@riccardobrasca riccardobrasca left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

Can you add Dirichlet's theorem to the library overview, in the number theory section? (Feel free to expand that section as much as you want, it seems really outdated).

@xroblot
Copy link
Collaborator Author

xroblot commented Sep 29, 2023

LGTM, thanks!

Can you add Dirichlet's theorem to the library overview, in the number theory section? (Feel free to expand that section as much as you want, it seems really outdated).

Thanks. I'll have a look.

@xroblot
Copy link
Collaborator Author

xroblot commented Sep 29, 2023

#7429

Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. label Oct 2, 2023
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added merge-conflict The PR has a merge conflict with master, and needs manual merging. and removed merge-conflict The PR has a merge conflict with master, and needs manual merging. labels Oct 4, 2023
@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. label Oct 11, 2023
@riccardobrasca
Copy link
Member

Thanks!

bors merge

@github-actions github-actions bot added ready-to-merge This PR has been sent to bors. and removed awaiting-review The author would like community review of the PR labels Oct 16, 2023
bors bot pushed a commit that referenced this pull request Oct 16, 2023
Add the following instance
```lean
instance : Module.Finite ℤ (Additive (𝓞 K)ˣ) 
```

To prove this instance, it is helpful to add some `rfl` lemmas about `Additive` and `AddMonoidHom.toIntLinearMap`

This PR also fixes a couple of typo in the docstring
@bors
Copy link

bors bot commented Oct 16, 2023

Build failed (retrying...):

bors bot pushed a commit that referenced this pull request Oct 16, 2023
Add the following instance
```lean
instance : Module.Finite ℤ (Additive (𝓞 K)ˣ) 
```

To prove this instance, it is helpful to add some `rfl` lemmas about `Additive` and `AddMonoidHom.toIntLinearMap`

This PR also fixes a couple of typo in the docstring
@bors
Copy link

bors bot commented Oct 16, 2023

Build failed (retrying...):

bors bot pushed a commit that referenced this pull request Oct 16, 2023
Add the following instance
```lean
instance : Module.Finite ℤ (Additive (𝓞 K)ˣ) 
```

To prove this instance, it is helpful to add some `rfl` lemmas about `Additive` and `AddMonoidHom.toIntLinearMap`

This PR also fixes a couple of typo in the docstring
@bors
Copy link

bors bot commented Oct 16, 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: add a Module.Finite instance for units of number field [Merged by Bors] - feat: add a Module.Finite instance for units of number field Oct 16, 2023
@bors bors bot closed this Oct 16, 2023
@bors bors bot deleted the xfr-finite_units branch October 16, 2023 14:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has been sent to bors. t-number-theory Number theory (also use t-algebra or t-analysis to specialize)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants