Skip to content

[Merged by Bors] - refactor(RingTheory/Polynomial/Eisenstein/Criterion): refactor using the generalized criterion - #23948

Closed
AntoineChambert-Loir wants to merge 7 commits into
masterfrom
ACL/Eisenstein2
Closed

AntoineChambert-Loir wants to merge 7 commits into
masterfrom
ACL/Eisenstein2

Conversation

@AntoineChambert-Loir

Copy link
Copy Markdown
Collaborator

This PR refactors the proof of the classic Eisenstein criterion using its generalized form.

It also moves the classic criterion from RingTheory.EisensteinCriterion to RingTheory.Polynomial.Eisenstein.Criterion.


Open in Gitpod

@github-actions github-actions Bot added the large-import Automatically added label for PRs with a significant increase in transitive imports label Apr 11, 2025
@github-actions

github-actions Bot commented Apr 11, 2025 •

Copy link
Copy Markdown

PR summary 15a1c23254

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.RingTheory.EisensteinCriterion 1208 0 -1208 (-100.00%)
Mathlib.RingTheory.Polynomial.Eisenstein.Basic 1210 1213 +3 (+0.25%)
Import changes for all files
Files Import difference
Mathlib.RingTheory.EisensteinCriterion -1208
Mathlib.RingTheory.Polynomial.Eisenstein.Generalized -1201
31 files Mathlib.Algebra.GCDMonoid.IntegrallyClosed Mathlib.Analysis.Fourier.ZMod Mathlib.Analysis.SpecialFunctions.Complex.CircleAddChar Mathlib.NumberTheory.Cyclotomic.Basic Mathlib.NumberTheory.Cyclotomic.CyclotomicCharacter Mathlib.NumberTheory.Cyclotomic.Discriminant Mathlib.NumberTheory.Cyclotomic.Embeddings Mathlib.NumberTheory.Cyclotomic.Gal Mathlib.NumberTheory.Cyclotomic.PrimitiveRoots Mathlib.NumberTheory.DirichletCharacter.GaussSum Mathlib.NumberTheory.Fermat Mathlib.NumberTheory.GaussSum Mathlib.NumberTheory.JacobiSum.Basic Mathlib.NumberTheory.LSeries.DirichletContinuation Mathlib.NumberTheory.LSeries.Nonvanishing Mathlib.NumberTheory.LSeries.PrimesInAP Mathlib.NumberTheory.LSeries.ZMod Mathlib.NumberTheory.LegendreSymbol.AddCharacter Mathlib.NumberTheory.LegendreSymbol.JacobiSymbol Mathlib.NumberTheory.LegendreSymbol.QuadraticChar.GaussSum Mathlib.NumberTheory.LegendreSymbol.QuadraticReciprocity Mathlib.NumberTheory.PrimesCongruentOne Mathlib.RingTheory.LittleWedderburn Mathlib.RingTheory.Polynomial.Cyclotomic.Eval Mathlib.RingTheory.Polynomial.Cyclotomic.Expand Mathlib.RingTheory.Polynomial.Cyclotomic.Roots Mathlib.RingTheory.Polynomial.Eisenstein.IsIntegral Mathlib.RingTheory.RootsOfUnity.AlgebraicallyClosed Mathlib.RingTheory.RootsOfUnity.Minpoly Mathlib.Tactic.NormNum.LegendreSymbol Mathlib.Tactic
-1
Mathlib.RingTheory.Polynomial.Eisenstein.Basic Mathlib.RingTheory.Polynomial.Eisenstein.Distinguished 3
Mathlib.RingTheory.Polynomial.Eisenstein.Criterion 1211

Declarations diff

- eval_zero_mem_ideal_of_eq_mul_X_pow
- isUnit_of_natDegree_eq_zero_of_isPrimitive
- le_natDegree_of_map_eq_mul_X_pow
- map_eq_C_mul_X_pow_of_forall_coeff_mem

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.


Decrease in tech debt: (relative, absolute) = (1.00, 0.00)
Current number Change Type
1588 -1 porting notes

Current commit 15a1c23254
Reference commit 0ac690b505

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).

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

@jcommelin jcommelin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

bors d+

@mathlib-bors

mathlib-bors Bot commented Apr 11, 2025

Copy link
Copy Markdown
Contributor

✌️ AntoineChambert-Loir 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 Apr 11, 2025
@AntoineChambert-Loir

Copy link
Copy Markdown
Collaborator Author

bors r+

mathlib-bors Bot pushed a commit that referenced this pull request Apr 11, 2025
…the generalized criterion (#23948)

This PR refactors the proof of the classic Eisenstein criterion using its generalized form.

It also moves the classic criterion from `RingTheory.EisensteinCriterion` to `RingTheory.Polynomial.Eisenstein.Criterion`.
@mathlib-bors

mathlib-bors Bot commented Apr 11, 2025

Copy link
Copy Markdown
Contributor

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors Bot changed the title refactor(RingTheory/Polynomial/Eisenstein/Criterion): refactor using the generalized criterion [Merged by Bors] - refactor(RingTheory/Polynomial/Eisenstein/Criterion): refactor using the generalized criterion Apr 11, 2025
@mathlib-bors mathlib-bors Bot closed this Apr 11, 2025
@mathlib-bors
mathlib-bors Bot deleted the ACL/Eisenstein2 branch April 11, 2025 16:42
tannerduve pushed a commit that referenced this pull request May 13, 2025
…the generalized criterion (#23948)

This PR refactors the proof of the classic Eisenstein criterion using its generalized form.

It also moves the classic criterion from `RingTheory.EisensteinCriterion` to `RingTheory.Polynomial.Eisenstein.Criterion`.
grunweg added a commit that referenced this pull request May 14, 2025
grunweg added a commit that referenced this pull request May 14, 2025
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). t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants