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 NumberTheory.ClassNumber.Finite #5337

Closed
wants to merge 15 commits into from

Conversation

Genora51
Copy link
Collaborator


Open in Gitpod

@Genora51 Genora51 changed the title feat: Port/number theory.class number.finite feat: port NumberTheory.ClassNumber.Finite Jun 21, 2023
@Genora51 Genora51 added WIP Work in progress mathlib-port This is a port of a theory file from mathlib. labels Jun 21, 2023
@semorrison semorrison added the merge-conflict The PR has a merge conflict with master, and needs manual merging. label Jun 22, 2023
@Genora51 Genora51 added the help-wanted The author needs attention to resolve issues label Jun 23, 2023
@Genora51
Copy link
Collaborator Author

Currently struggling with a couple of errors that I can't seem to resolve, plus a timeout issue on exists_mem_finsetApprox.

@riccardobrasca
Copy link
Member

riccardobrasca commented Jun 23, 2023

Can you please fix the conflict? Not sure I have time today, but I will have a look tomorrow.

@Genora51 Genora51 force-pushed the port/NumberTheory.ClassNumber.Finite branch from 553d393 to 582df94 Compare June 23, 2023 13:06
@Genora51
Copy link
Collaborator Author

@riccardobrasca I've rebased onto latest master so should be all good to go.

@semorrison semorrison removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. label Jun 23, 2023

attribute [-instance] Real.decidableEq

set_option maxHeartbeats 800000 in
Copy link
Member

Choose a reason for hiding this comment

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

This proof is rather slow. Maybe @Vierkantor wants to have a look at it (but it is already slow in mathlib3).

@riccardobrasca
Copy link
Member

@Genora51 I think this is now green. I didn't fix any doc/name.

@Genora51 Genora51 added awaiting-review The author would like community review of the PR and removed help-wanted The author needs attention to resolve issues WIP Work in progress labels Jun 24, 2023
finite extension `L` of `K = Frac(R)` is finite if there is an admissible
absolute value.

See also `class_group.fintype_of_admissible_of_algebraic` where `L` is an
Copy link
Member

Choose a reason for hiding this comment

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

This name is still the mathlib3 name.

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.

I suggest we look at speedups in follow-up PRs. The file looks good syntactically. Thanks 🎉

bors merge

@semorrison semorrison 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 Jun 24, 2023
bors bot pushed a commit that referenced this pull request Jun 24, 2023
Co-authored-by: Chris Hughes <chrishughes24@gmail.com>
Co-authored-by: Riccardo Brasca <riccardo.brasca@gmail.com>
@bors
Copy link

bors bot commented Jun 24, 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 NumberTheory.ClassNumber.Finite [Merged by Bors] - feat: port NumberTheory.ClassNumber.Finite Jun 24, 2023
@bors bors bot closed this Jun 24, 2023
@bors bors bot deleted the port/NumberTheory.ClassNumber.Finite branch June 24, 2023 15:28
semorrison pushed a commit that referenced this pull request Jun 25, 2023
Co-authored-by: Chris Hughes <chrishughes24@gmail.com>
Co-authored-by: Riccardo Brasca <riccardo.brasca@gmail.com>
semorrison pushed a commit that referenced this pull request Jun 28, 2023
Co-authored-by: Chris Hughes <chrishughes24@gmail.com>
Co-authored-by: Riccardo Brasca <riccardo.brasca@gmail.com>
kbuzzard pushed a commit that referenced this pull request Jul 6, 2023
Co-authored-by: Chris Hughes <chrishughes24@gmail.com>
Co-authored-by: Riccardo Brasca <riccardo.brasca@gmail.com>
semorrison pushed a commit that referenced this pull request Aug 14, 2023
Co-authored-by: Chris Hughes <chrishughes24@gmail.com>
Co-authored-by: Riccardo Brasca <riccardo.brasca@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mathlib-port This is a port of a theory file from mathlib. ready-to-merge This PR has been sent to bors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants