Remainder #
The following definition is abstracted from the "remainder" as in MonomialOrder.div_set. And more
properties of it is covered in this file.
MonomialOrder.IsRemainder m f B r: Given a multivariate polynomialfand a "divisors" setBof with respect to a monomial orderm. A polynomialris called a remainder offon division byBif there exists:- Finite linear combination:
f = ∑ (g(b) * b) + r; - Degree condition:
For each
b ∈ B, the degree (with bot) ofg(b) * b≤ the degree (with bot) offw.r.t. monomial orderm; - Remainder irreducibility:
No term of
ris divisible by the leading monomial of any non-zerob ∈ B.
- Finite linear combination:
And there're also some equivalent variants.
MonomialOrder.IsRemainder.isRemainder_def': A variant ofMonomialOrder.IsRemainderwithout coercion of aSet (MvPolynomial σ R).MonomialOrder.IsRemainder.isRemainder_def'': A variant ofMonomialOrder.IsRemainderwhereg : MvPolynomial σ R →₀ MvPolynomial σ Ris replaced with a functiong : MvPolynomial σ R → MvPolynomial σ Rwithout limitation on its support.MonomialOrder.IsRemainder.isRemainder_def_degree: A variant where the degree condition is formalized withm.degree, which matches the statement ofMonomialOrder.div_set.MonomialOrder.IsRemainder.isRemainder_range: A variant ofMonomialOrder.IsRemainderwhere divisors are given as a family of polynomials.
There exists a remainder when the polynomial ring is communitive and any divisor either has an invertible leading coefficient or is 0.
Naming convention #
Some theorems with an argument in type Set (MvPolynomial σ R) and a hypothesis that leading
coefficients of all polynomials in the set are invertible have 2 variants, named as following
respectively:
- without suffix
'or₀: any polynomialbin the set has an invertible leading coefficient (IsUnit (m.leadingCoeff p)); - with suffix
₀: any polynomialbin the set either has an invertible leading coefficient or is equal to 0 (IsUnit (m.leadingCoeff p) ∨ b = 0); - with suffix
': no hypotheses on leading coefficients, while requiringRto be a field (Field k, where the ring is denoted askinstead).
Implementation notes #
The definition of remainder makes sense when R is a communitive ring and any polynomial in B
either has an invertible leading coefficient or is 0, while for simplicity we try to formalize
it without applying these restrictions as its hypotheses.
We try to adjust its formal definition s.t. it corresponds with the informal definition well when the above condition holds, while keeps simple and still shares some common properties without these hypotheses.
Degree condition is formalized as
m.toWithBotSyn (m.withBotDegree b.val) + m.toWithBotSyn (m.withBotDegree (g b)) ≤ m.toWithBotSyn (m.withBotDegree f)instead of
m.withBotDegree (b.val * g b) ≼'[m] m.withBotDegree f.If
IsRemainderwas formalized with the latter one, some properties would require polynomials inBto have non-zero divisor leading coefficients since they needm.withBotDegree (b.val * g b) = m.withBotDegree (b.val) + m.withBotDegree (g b)with this formalization ofIsRemainder. They no longer require this ifIsRemainderis formalized with former one.Remainder irreducibility is formalized as
∀ c ∈ r.support, ∀ b ∈ B, b ≠ 0 → ¬ (m.degree b ≤ c), where¬ (m.degree b ≤ c)is sufficient but unnecessary for the indivisibility between the leading term ofb(m.leadingTerm b) and the term ofrwith exponentsc(monomial c (b.coeff c)).
Reference : [Cox2015] #
Given a multivariate polynomial f and a set B of multivariate polynomials over R.
A polynomial r is called a remainder of f on division by B with respect to a monomial order
m, if there exists g : B →₀ R[X] and a polynomial r s.t.
- Finite linear combination:
f = ∑ (g(b) * b) + r; - Degree condition:
For eacho
b ∈ B, the degree (with bot) ofg(b) * b≤ the degree (with bot) offw.r.t.m; - Remainder irreducibility:
No term of
ris divisible by the leading monomial of any non-zerob ∈ B.
The definition of remainder makes sense when R is a communitive ring and any polynomial in B
either has an invertible leading coefficient or is 0. See the implementation note for the
formalization unaligned with the informal definition when not in this case.
Equations
- One or more equations did not get rendered due to their size.
Instances For
A variant of MonomialOrder.IsRemainder without coercion of a Set (MvPolynomial σ R).
A variant of MonomialOrder.IsRemainder where g : MvPolynomial σ R →₀ MvPolynomial σ R is
replaced with a function g : MvPolynomial σ R → MvPolynomial σ R without limitation on its
support.
A variant of MonomialOrder.IsRemainder_def' where B is Finset (MvPolynomial σ R).
r is a remainder of a family of polynomials, if and only if it is a remainder with properities
defined in MonomialOrder.div with this family of polynomials given as a map from indexes to them.
It is a variant of MonomialOrder.IsRemainder where divisors are given as a map from indexes to
polynomials.
Remainders are preserved on insertion of the zero polynomial into the set of divisors.
Remainders are preserved with the zero polynomial removed from the set of divisors.
A variant of div_set' including 0
A variant of div_set' in field