Repository navigation
[Merged by Bors] - feat: add Mathlib.NumberTheory.NumberField.DirichletDensity - #41765
riccardobrasca wants to merge 20 commits into
Conversation
PR summary 7478e24828Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01TtSdKGMfvjK5rpjMdf4Vos
Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01TtSdKGMfvjK5rpjMdf4Vos
Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01TtSdKGMfvjK5rpjMdf4Vos
Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01TtSdKGMfvjK5rpjMdf4Vos
Co-Authored-By: Claude Opus 4.8 <[email protected]> Claude-Session: https://claude.ai/code/session_01TtSdKGMfvjK5rpjMdf4Vos
|
The review-bot assigned this to me, but it looks like Thomas has it well in hand so I am reassigning it to him – don't hesitate to reach out to me if you want my input of course. |
tb65536
left a comment
There was a problem hiding this comment.
Thanks!
maintainer merge
|
🚀 Pull request has been placed on the maintainer queue by tb65536. |
faenuccio
left a comment
There was a problem hiding this comment.
Thanks, I left a couple of comments.
|
@faenuccio, there is a very short proof that the density is less than one that I forgot to put in the PR in the first place. I could add it if you don't mind. |
Sure, why would I mind!? |
Well, it's more work for reviewers 😅 Anyway, I pushed a new version but CI seems to have difficulties at the moment. |
No problem! Don't hesitate to ping me once CI passes so I can have a new look. |
@faenuccio CI is green again 😄 |
faenuccio
left a comment
There was a problem hiding this comment.
Thanks, I left one comment and two very minor golfing, but I'm happy to delegate this.
|
|
||
| open Filter IsDedekindDomain Topology Set | ||
|
|
||
| namespace NumberField |
There was a problem hiding this comment.
If you rather put this section in NumberField.Set either by writing namespace NumberField.Set or
namespace NumberField
namespace Set
and then open NumberField you can use dot notation and write S.primeIdealZetaSum and similarly S.HasDirichletDensity which seems nice, no?
There was a problem hiding this comment.
yes, it's a good ideal! Thanks for the review
| rw [dirichletDensity, dif_pos ⟨δ, h⟩] | ||
| exact tendsto_nhds_unique (Exists.choose_spec ⟨δ, h⟩) h |
There was a problem hiding this comment.
| rw [dirichletDensity, dif_pos ⟨δ, h⟩] | |
| exact tendsto_nhds_unique (Exists.choose_spec ⟨δ, h⟩) h | |
| rw [dirichletDensity, dif_pos ⟨δ, h⟩, tendsto_nhds_unique (Exists.choose_spec ⟨δ, h⟩) h] |
| · rw [tsum_eq_zero_of_not_summable hs, div_zero] | ||
| exact zero_le_one |
There was a problem hiding this comment.
| · rw [tsum_eq_zero_of_not_summable hs, div_zero] | |
| exact zero_le_one | |
| · grw [tsum_eq_zero_of_not_summable hs, div_zero, zero_le_one] |
|
bors d=@xroblot |
|
✌️ xroblot can now approve this pull request until 2026-08-19 12:02 UTC (in 2 weeks). To approve and merge, reply with
|
|
bors r+ |
This PR defines the Dirichlet density of a set of ideals. Co-authored-by: Xavier Roblot <[email protected]>
|
Pull request successfully merged into master. Build succeeded:
|
…er-community#41765) This PR defines the Dirichlet density of a set of ideals. Co-authored-by: Xavier Roblot <[email protected]>
This PR defines the Dirichlet density of a set of ideals.
A first version of the code has been written by Claude, but it has gone through extensive review by the authors.