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).
Scope for Expansion #
- Proving uniqueness of the decomposition
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 i ^ n * (q + ∑ i : Fin n, r i / g i ^ (i + 1)), where
degree (r i) < degree (g i) and the denominator cancels formally.
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.
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.
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).
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.
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.
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].
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].