Partial fractions #
For f, g : R[X], if g is expressed as a product g₁ ^ n₁ * g₂ ^ n₂ * ... * gₙ ^ nₙ,
where the gᵢ are monic and pairwise coprime, then there is a quotient q and
for each i from 1 to n and for each 0 ≤ j < nᵢ there is a remainder rᵢⱼ
with degree less than the degree of gᵢ, such that the fraction f / g
decomposes as q + ∑ i j, rᵢⱼ / gᵢ ^ (j + 1).
Since polynomials do not have a division, the main theorem
mul_prod_pow_inverse_eq_quo_add_sum_rem_mul_pow_inverse is stated in an R[X]-algebra K
containing inverses giᵢ for each polynomial gᵢ occuring in the denominator.
These results were formalised by the Xena Project, at the suggestion of Patrick Massot.
Main results #
mul_prod_pow_inverse_eq_quo_add_sum_rem_mul_pow_inverse: Partial fraction decomposition for polynomials over a commutative ringR, the denomiator is a product of powers of monic pairwise coprime polynomials. Division is done in anR[X]-algebraKcontaining inversesgi ifor eachg ioccuring in the denomiator.eq_quo_mul_prod_pow_add_sum_rem_mul_prod_pow: Partial fraction decomposition for polynomials over a commutative ringR, the denomiator is a product of powers of monic pairwise coprime polynomials. The denominators are multiplied out on both sides and formally cancelled.eq_quo_mul_prod_add_sum_rem_mul_prod: Partial fraction decomposition for polynomials over a commutative ringR, the denomiator is a product of monic pairwise coprime polynomials. The denominators are multiplied out on both sides and formally cancelled.div_prod_eq_quo_add_sum_rem_div: Partial fraction decomposition for polynomials over an integral domainR, the denominator is a product of monic pairwise coprime polynomials. Division is done in a fieldKcontainingR[X].div_eq_quo_add_rem_div_add_rem_div: Partial fraction decomposition for polynomials over an integral domainR, the denominator is a product of two monic coprime polynomials. Division is done in a fieldKcontainingR[X].
Naming #
The lemmas in this file proving existence of partial fraction decomposition all have
conclusions of the form ∃ q r, degree r < degree g ∧ f / g = q + ∑ r / g.
The names of these lemmas depict only the final equality f / g = q + ∑ r / g.
They are named structurally, except the bound variable q is called quo (for quotient)
and the bound variable r is called rem (for remainder), since they are the quotient
and remainder of the division f / g.
For example, div_prod_eq_quo_add_sum_rem_div has the conclusion
∃ q r, (∀ i ∈ s, (r i).degree < (g i).degree) ∧
↑f / ∏ i ∈ s, ↑(g i) = ↑q + ∑ i ∈ s, ↑(r i) / ↑(g i)
The name of the lemma only shows the final equality, and in order we have
/ (div), ∏ (prod), = (eq), q (quo),
+ (add), ∑ (sum), r i (rem), / (div).
The lemmas in this file proving uniqueness of partial fraction decomposition all have
conclusions of the form q₁ + ∑ r₁ / g = q₂ + ∑ r₂ / g → q₁ = q₂ ∧ r₁ = r₂.
The names of these lemmas show a side of the equality hypothesis q₁ + ∑ r₁ / g = q₂ + ∑ r₂ / g,
and are suffixed by _unique.
In analogy with the existence lemmas, the variables qᵢ are called quotients
and referred to as quo in the name of the lemma and the variables rᵢ are called remainders
and referred to as rem in the name of the lemma.
For example, quo_add_sum_rem_div_unique has the conclusion
↑q₁ + ∑ i ∈ s, ↑(r₁ i) / ↑(g i) = ↑q₂ + ∑ i ∈ s, ↑(r₂ i) / ↑(g i)) →
q₁ = q₂ ∧ ∀ i ∈ s, r₁ i = r₂ i
The name of the lemmas shows one side of the equality hypothesis (the other is the same),
and in order we have
q (quo), + (add), ∑ (sum), r i (rem), / (div).
Let R be a commutative ring and f g : R[X]. Let n be a natural number.
Then f can be written in the form g ^ n * (q + ∑ i : Fin n, r i / g ^ (i + 1)), where
degree (r i) < degree g and the denominator cancels formally.
See quo_mul_pow_add_sum_rem_mul_pow_unique for the uniqueness of this representation.
Let R be a commutative ring and f g : R[X]. Let n be a natural number.
Then f can be written in the form g ^ n * (q + ∑ i : Fin n, r i / g ^ (i + 1))
in at most one way, where degree (r i) < degree g and the denominator cancels formally.
See eq_quo_mul_pow_add_sum_rem_mul_pow for the existence of such a representation.
Let R be a commutative ring and f : R[X]. Let s be a finite index set.
Let g i be a collection of monic and pairwise coprime polynomials indexed by s.
Then f can be written in the form (∏ i ∈ s, g i) * (q + ∑ i ∈ s, r i / g i), where
degree (r i) < degree (g i) and the denominator cancels formally.
See quo_mul_prod_add_sum_rem_mul_prod_unique for the uniqueness of this representation.
Let R be a commutative ring and f : R[X]. Let s be a finite index set.
Let g i be a collection of monic and pairwise coprime polynomials indexed by s.
Then f can be written in the form (∏ i ∈ s, g i) * (q + ∑ i ∈ s, r i / g i)
in at most one way, where degree (r i) < degree (g i) and the denominator cancels formally.
See eq_quo_mul_prod_add_sum_rem_mul_prod for the existence of such a representation.
Let R be a commutative ring and f : R[X]. Let s be a finite index set.
Let g i be a collection of monic and pairwise coprime polynomials indexed by s,
and for each g i let n i be a natural number. Then f can be written in the form
(∏ i ∈ s, g i ^ n i) * (q + ∑ i ∈ s, ∑ j : Fin (n i), r i j / g i ^ (j + 1)), where
degree (r i j) < degree (g i) and the denominator cancels formally.
See quo_mul_prod_pow_add_sum_rem_mul_prod_pow_unique for the uniqueness of this representation.
Let R be a commutative ring and f : R[X]. Let s be a finite index set.
Let g i be a collection of monic and pairwise coprime polynomials indexed by s,
and for each g i let n i be a natural number. Then f can be written in the form
(∏ i ∈ s, g i ^ n i) * (q + ∑ i ∈ s, ∑ j : Fin (n i), r i j / g i ^ (j + 1))
in at most one way, where degree (r i j) < degree (g i) and the denominator cancels formally.
See eq_quo_mul_prod_pow_add_sum_rem_mul_prod_pow for the existence of such a representation.
Let R be a commutative ring and f : R[X]. Let s be a finite index set.
Let g i be a collection of monic and pairwise coprime polynomials indexed by s,
and for each g i let n i be a natural number.
Let K be an algebra over R[X] containing inverses gi i for each g i.
Then a fraction of the form f * ∏ i ∈ s, gi i ^ n i can be rewritten as
q + ∑ i ∈ s, ∑ j : Fin (n i), r i j * gi i ^ (j + 1), where degree (r i j) < degree (g i).
See mul_prod_pow_inverse_eq_quo_add_sum_rem_mul_pow_inverse for the
uniqueness of this representation.
Let R be a commutative ring and f : R[X]. Let s be a finite index set.
Let g i be a collection of monic and pairwise coprime polynomials indexed by s,
and for each g i let n i be a natural number.
Let K be an algebra over R[X] containing inverses gi i for each g i.
Then a fraction of the form f * ∏ i ∈ s, gi i ^ n i can be rewritten as
q + ∑ i ∈ s, ∑ j : Fin (n i), r i j * gi i ^ (j + 1)
in at most one way, where degree (r i j) < degree (g i).
See mul_prod_pow_inverse_eq_quo_add_sum_rem_mul_pow_inverse for the
existence of such a representation.
Let R be an integral domain and f : R[X]. Let s be a finite index set.
Then a fraction of the form f / ∏ i ∈ s, g i evaluated in a field K containing R[X]
can be rewritten as q + ∑ i ∈ s, r i / g i, where
degree (r i) < degree (g i), provided that the g i are monic and pairwise coprime.
See quo_add_sum_rem_div_unique for the uniqueness of this representation.
Alias of Polynomial.div_prod_eq_quo_add_sum_rem_div.
Let R be an integral domain and f : R[X]. Let s be a finite index set.
Then a fraction of the form f / ∏ i ∈ s, g i evaluated in a field K containing R[X]
can be rewritten as q + ∑ i ∈ s, r i / g i, where
degree (r i) < degree (g i), provided that the g i are monic and pairwise coprime.
See quo_add_sum_rem_div_unique for the uniqueness of this representation.
Let R be an integral domain and f : R[X]. Let s be a finite index set.
Then a fraction of the form f / ∏ i ∈ s, g i evaluated in a field K containing R[X]
can be rewritten as q + ∑ i ∈ s, r i / g i in at most one way, where
degree (r i) < degree (g i), provided that the g i are monic and pairwise coprime.
See div_prod_eq_quo_add_sum_rem_div for the existence of such a representation.
Let R be an integral domain and f, g₁, g₂ : R[X]. Let g₁ and g₂ be monic and coprime.
Then ∃ q, r₁, r₂ : R[X] such that f / (g₁ * g₂) = q + r₁ / g₁ + r₂ / g₂ and
degree rᵢ < degree gᵢ, where the equality is taken in a field K containing R[X].
See quo_add_rem_div_add_rem_div_unique for the uniqueness of this representation.
Alias of Polynomial.div_eq_quo_add_rem_div_add_rem_div.
Let R be an integral domain and f, g₁, g₂ : R[X]. Let g₁ and g₂ be monic and coprime.
Then ∃ q, r₁, r₂ : R[X] such that f / (g₁ * g₂) = q + r₁ / g₁ + r₂ / g₂ and
degree rᵢ < degree gᵢ, where the equality is taken in a field K containing R[X].
See quo_add_rem_div_add_rem_div_unique for the uniqueness of this representation.
Let R be an integral domain and f, g₁, g₂ : R[X]. Let g₁ and g₂ be monic and coprime.
Then the representation of f / (g₁ * g₂) as q + r₁ / g₁ + r₂ / g₂ for q r₁ r₂ : R[X] and
degree rᵢ < degree gᵢ is unique, where the equality is taken in a field K containing R[X].
See div_eq_quo_add_rem_div_add_rem_div for the existence of such a representation.