Repository navigation
MvPolynomial: polynomial reduction as a relation - #41475
Sanghyeok0 wants to merge 8 commits into
Conversation
Welcome new contributor!Thank you for contributing to Mathlib! If you haven't done so already, please review our contribution guidelines, as well as the style guide and naming conventions. In particular, we kindly remind contributors that we have guidelines regarding the use of AI when making pull requests. We use a review queue to manage reviews. If your PR does not appear there, it is probably because it is not successfully building (i.e., it doesn't have a green checkmark), has the If you haven't already done so, please come to https://leanprover.zulipchat.com/, introduce yourself, and mention your new PR. Thank you again for joining our community. |
PR summary c51af61474Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
| Current number | Change | Type (weak) |
|---|---|---|
| exposed public sections | 5049 | 2 |
Current commit c51af61474
Reference commit 69fe4f49ff
This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.py pr_summary
- The
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
7a79f9c to
36c9f6c
Compare
|
This PR/issue depends on:
|
|
This pull request is now in draft mode. No active bors state needed cleanup. While this PR remains draft, bors will ignore commands on this PR. Mark it ready for review before using commands like |
Summary
This PR defines polynomial reduction on multivariate polynomials as an ordinary
binary relation and develops its basic reduction-theoretic API.
The main results cover reducibility and normal forms over general commutative
coefficient rings, termination, degree bounds, linear-combination certificates,
ideal-membership bridges, and translation and confluence results under the
coefficient hypotheses required by each theorem.
The polynomial results follow the reduction theory in
Becker--Weispfenning--Kredel, Chapter 5.
Polynomial reduction as a relation
The central definition is one-step reduction modulo a set of polynomials:
A reduction step chooses one nonzero reducer and one term of the source
polynomial. Both monomial divisibility and coefficient divisibility are
required. The resulting polynomial is obtained by subtracting the witnessed
monomial multiple of that reducer.
For example, reducibility is characterized without assumptions on leading
coefficients by:
Likewise, a polynomial is in normal form exactly when no support term satisfies
both divisibility conditions for a nonzero reducer. When every nonzero reducer
has unit leading coefficient, this specializes to the usual monomial
divisibility condition.
Termination and certificates
Every reduction step strictly decreases the colexicographic order on finite
supports. This proves that the reverse reduction relation is well-founded,
without imposing unit or regularity assumptions on leading coefficients.
Finite reduction also produces explicit quotient data with the expected degree
bound:
Thus a finite reduction sequence supplies the linear-combination certificate
expected from a division/remainder statement.
Coefficient assumptions
The API separates the assumptions needed by different results:
characterizations, termination, degree bounds, certificates, and the
implication from reduction equivalence to ideal congruence require no unit
assumptions.
coefficient of that reducer to be a non-zero-divisor when the reducer is
nonzero.
congruence modulo
Ideal.span Puse the hypothesis that every reducer iseither zero or has unit leading coefficient.
{p}requires only thatphave unit leading coefficient. The corresponding result for a setgenerating the same principal ideal uses the zero-or-unit hypothesis on that
set.
Relation-level API
This development is intended to depend on #40368 for
Relation.Diamond,Relation.Confluent, andRelation.ChurchRosser, together with their basicconversion API.
The new file
Mathlib.Logic.Relation.NormalFormadds the normal-formvocabulary and Newman-style results used by polynomial reduction:
Relation.IsNormalFormRelation.IsNormalFormOfRelation.UniqueNormalFormsRelation.LocallyConfluentScope
The reduction relation in this PR is a termwise, single-reducer relation: each
step uses one polynomial from the reducer set to eliminate one term of the
source polynomial.
An earlier version also included a reduction-theoretic Gröbner basis criterion.
That layer is intentionally deferred. Over arbitrary coefficient rings,
relating single-reducer reduction to an ideal-based leading-term criterion
requires a careful distinction between single-reducer and weak reduction.
Keeping the criterion in a separate PR will also allow it to reuse the shared
Gröbner-basis API rather than introduce a competing definition.