Skip to content

[Merged by Bors] - feat(RingTheory/MvPolynomial/MonomialOrder/Monic): monic polynomials wrt a monomial order#21546

Closed
AntoineChambert-Loir wants to merge 13 commits intomasterfrom
ACL/MonomialOrderMonic
Closed

[Merged by Bors] - feat(RingTheory/MvPolynomial/MonomialOrder/Monic): monic polynomials wrt a monomial order#21546
AntoineChambert-Loir wants to merge 13 commits intomasterfrom
ACL/MonomialOrderMonic

Conversation

@AntoineChambert-Loir
Copy link
Copy Markdown
Collaborator


Open in Gitpod

@AntoineChambert-Loir AntoineChambert-Loir added the WIP Work in progress label Feb 7, 2025
@github-actions github-actions bot added the t-algebra Algebra (groups, rings, fields, etc) label Feb 7, 2025
@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 7, 2025

PR summary de0d329642

Import changes for modified files

Dependency changes

File Base Count Head Count Change
Mathlib.RingTheory.MvPolynomial.MonomialOrder 1157 1158 +1 (+0.09%)
Import changes for all files
Files Import difference
3 files Mathlib.RingTheory.MvPolynomial.Groebner Mathlib.RingTheory.MvPolynomial.MonomialOrder.DegLex Mathlib.RingTheory.MvPolynomial.MonomialOrder
1

Declarations diff

+ Monic
+ Monic.add_of_lt
+ Monic.coeff_degree
+ Monic.decidable
+ Monic.leadingCoeff_eq_one
+ Monic.mul
+ Monic.ne_zero
+ Monic.of_subsingleton
+ Monic.pow
+ Monic.prod
+ coeff_pow_nsmul_degree
+ degree_X_add_C
+ degree_X_sub_C
+ degree_mul_of_mul_leadingCoeff_ne_zero
+ degree_one
+ degree_pow
+ degree_pow_le
+ degree_pow_of_pow_leadingCoeff_ne_zero
+ degree_subsingleton
+ leadingCoeff_X
+ leadingCoeff_mul_of_mul_leadingCoeff_ne_zero
+ leadingCoeff_neg
+ leadingCoeff_one
+ leadingCoeff_pow
+ leadingCoeff_pow_of_pow_leadingCoeff_ne_zero
+ monic_X
+ monic_X_add_C
+ monic_X_sub_C
+ monic_monomial
+ monic_monomial_one
+ monic_one
- degree_mul_of_nonzero_mul

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

@AntoineChambert-Loir AntoineChambert-Loir removed the WIP Work in progress label Feb 8, 2025
@YaelDillies YaelDillies added the awaiting-author A reviewer has asked the author a question or requested changes. label Feb 18, 2025
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
@AntoineChambert-Loir AntoineChambert-Loir removed the awaiting-author A reviewer has asked the author a question or requested changes. label Feb 18, 2025
@YaelDillies YaelDillies added the awaiting-author A reviewer has asked the author a question or requested changes. label Feb 19, 2025
AntoineChambert-Loir and others added 2 commits February 19, 2025 19:50
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
@AntoineChambert-Loir AntoineChambert-Loir removed the awaiting-author A reviewer has asked the author a question or requested changes. label Feb 19, 2025
Copy link
Copy Markdown
Contributor

@YaelDillies YaelDillies left a comment

Choose a reason for hiding this comment

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

Thanks! 🚀

maintainer merge

@github-actions
Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by YaelDillies.

@github-actions github-actions bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Feb 20, 2025
@riccardobrasca
Copy link
Copy Markdown
Member

Thanks!

bors merge

@ghost ghost added the ready-to-merge This PR has been sent to bors. label Feb 20, 2025
@ghost ghost removed the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Feb 20, 2025
mathlib-bors bot pushed a commit that referenced this pull request Feb 20, 2025
@mathlib-bors
Copy link
Copy Markdown
Contributor

mathlib-bors bot commented Feb 20, 2025

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title feat(RingTheory/MvPolynomial/MonomialOrder/Monic): monic polynomials wrt a monomial order [Merged by Bors] - feat(RingTheory/MvPolynomial/MonomialOrder/Monic): monic polynomials wrt a monomial order Feb 20, 2025
@mathlib-bors mathlib-bors bot closed this Feb 20, 2025
@mathlib-bors mathlib-bors bot deleted the ACL/MonomialOrderMonic branch February 20, 2025 08:39
Comment on lines +168 to +174
@[simp] theorem degree_one : m.degree (1 : MvPolynomial σ R) = 0 := by
obtain h | h' := subsingleton_or_nontrivial R
· rw [Subsingleton.eq_zero 1, degree_zero]
· change m.degree (monomial 0 1) = 0
classical
rw [degree_monomial]
simp
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

(too late) Since you already put degree_subsingleton as @[simp, nontriviality], the first part of the proof could be exact degree_subsingleton or simp, or just replace obtain part by nontriviality R.

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.

Feel free to open another PR!

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

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-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants