Skip to content

[Merged by Bors] - feat(Ring/DedekindDomain): formula for the splitting of prime ideals in an extension - #27105

Closed
xroblot wants to merge 12 commits into
leanprover-community:masterfrom
xroblot:prime_splitting
Closed

xroblot wants to merge 12 commits into
leanprover-community:masterfrom
xroblot:prime_splitting

Conversation

@xroblot

@xroblot xroblot commented Jul 14, 2025 •

Copy link
Copy Markdown
Collaborator

This PR just puts together all the results that were already there to deduce:

 map (algebraMap S R) p = ∏ P ∈ p.primesOver R, P ^ p.ramificationIdx (algebraMap S R) P

for p a maximal ideal of a ring S and R an extension of S that is a Dedekind ring.

Note. There is a significant import increase in the file RingTheory.DedekindDomain.Factorization. However, this file is almost a leaf file so this increase only affects a limited number of files. If the increase is too big, a new file, say RingTheory.DedekindDomain.PrimeSplitting, can be added instead.


Open in Gitpod

@github-actions github-actions Bot added large-import Automatically added label for PRs with a significant increase in transitive imports t-algebra Algebra (groups, rings, fields, etc) labels Jul 14, 2025
@github-actions

github-actions Bot commented Jul 14, 2025 •

Copy link
Copy Markdown

PR summary eb83b6d633

Import changes exceeding 2%

% File
+21.14% Mathlib.RingTheory.DedekindDomain.Factorization

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.RingTheory.DedekindDomain.Factorization 1613 1954 +341 (+21.14%)
Import changes for all files
Files Import difference
3 files Mathlib.NumberTheory.NumberField.AdeleRing Mathlib.NumberTheory.NumberField.FinitePlaces Mathlib.NumberTheory.NumberField.ProductFormula
2
Mathlib.RingTheory.DedekindDomain.FiniteAdeleRing 49
Mathlib.Topology.Algebra.Ring.Compact 267
Mathlib.RingTheory.DedekindDomain.Factorization 341

Declarations diff

+ Ideal.liesOver_iff_dvd_map
+ Ideal.map_algebraMap_eq_finset_prod_pow
+ IsDedekindDomain.HeightOneSpectrum.maxPowDividing_eq_pow_multiset_count
+ equivPrimesOver
+ equivPrimesOver_apply
+ instance : Fintype (p.primesOver B) := Set.Finite.fintype (primesOver_finite p B)
+ ne_bot_of_mem_primesOver
+ pow_eq_top_iff

You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>

## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>

The doc-module for script/declarations_diff.sh contains some details about this script.


No changes to technical debt.

You can run this locally as

./scripts/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@xroblot xroblot changed the title feat(Ring/DedekindDomain): formula for the splitting of primes in extension feat(Ring/DedekindDomain): formula for the splitting of prime ideals in an extension Jul 14, 2025
@xroblot xroblot added the t-number-theory Number theory (also use t-algebra or t-analysis to specialize) label Jul 30, 2025
@leanprover-community-bot-assistant leanprover-community-bot-assistant added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Jul 31, 2025
@leanprover-community-bot-assistant

Copy link
Copy Markdown
Contributor

This pull request has conflicts, please merge master and resolve them.

@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Aug 1, 2025
@mathlib4-merge-conflict-bot mathlib4-merge-conflict-bot added the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Aug 16, 2025
@mathlib4-merge-conflict-bot

Copy link
Copy Markdown

This pull request has conflicts, please merge master and resolve them.

@github-actions github-actions Bot removed the merge-conflict The PR has a merge conflict with master, and needs manual merging. (this label is managed by a bot) label Aug 17, 2025
@riccardobrasca

Copy link
Copy Markdown
Member

Thanks!

bors d+

@mathlib-bors

mathlib-bors Bot commented Sep 22, 2025

Copy link
Copy Markdown
Contributor

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

@ghost ghost added the delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). label Sep 22, 2025
@xroblot

xroblot commented Sep 22, 2025

Copy link
Copy Markdown
Collaborator Author

bors r+

mathlib-bors Bot pushed a commit that referenced this pull request Sep 22, 2025
…in an extension (#27105)

This PR just puts together all the results that were already there to deduce:
```lean
 map (algebraMap S R) p = ∏ P ∈ p.primesOver R, P ^ p.ramificationIdx (algebraMap S R) P
```
for `p` a maximal ideal of a ring `S` and `R` an extension of `S` that is a Dedekind ring. 

Note. There is a significant import increase in the file `RingTheory.DedekindDomain.Factorization`. However, this file is almost a leaf file so this increase only affects a limited number of files. If the increase is too big, a new file, say `RingTheory.DedekindDomain.PrimeSplitting`, can be added instead.
@mathlib-bors

mathlib-bors Bot commented Sep 22, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title feat(Ring/DedekindDomain): formula for the splitting of prime ideals in an extension [Merged by Bors] - feat(Ring/DedekindDomain): formula for the splitting of prime ideals in an extension Sep 22, 2025
@mathlib-bors mathlib-bors Bot closed this Sep 22, 2025
joelriou pushed a commit to joelriou/mathlib4 that referenced this pull request Oct 2, 2025
…in an extension (leanprover-community#27105)

This PR just puts together all the results that were already there to deduce:
```lean
 map (algebraMap S R) p = ∏ P ∈ p.primesOver R, P ^ p.ramificationIdx (algebraMap S R) P
```
for `p` a maximal ideal of a ring `S` and `R` an extension of `S` that is a Dedekind ring. 

Note. There is a significant import increase in the file `RingTheory.DedekindDomain.Factorization`. However, this file is almost a leaf file so this increase only affects a limited number of files. If the increase is too big, a new file, say `RingTheory.DedekindDomain.PrimeSplitting`, can be added instead.
zhuyizheng pushed a commit to zhuyizheng/mathlib4 that referenced this pull request Oct 2, 2025
…in an extension (leanprover-community#27105)

This PR just puts together all the results that were already there to deduce:
```lean
 map (algebraMap S R) p = ∏ P ∈ p.primesOver R, P ^ p.ramificationIdx (algebraMap S R) P
```
for `p` a maximal ideal of a ring `S` and `R` an extension of `S` that is a Dedekind ring. 

Note. There is a significant import increase in the file `RingTheory.DedekindDomain.Factorization`. However, this file is almost a leaf file so this increase only affects a limited number of files. If the increase is too big, a new file, say `RingTheory.DedekindDomain.PrimeSplitting`, can be added instead.
@xroblot
xroblot deleted the prime_splitting branch March 16, 2026 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

delegated This pull request has been delegated to the PR author (or occasionally another non-maintainer). large-import Automatically added label for PRs with a significant increase in transitive imports t-algebra Algebra (groups, rings, fields, etc) 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.

5 participants