Prime factorization of a rational function
ProvedLiouvilleDiffAlg.ratFunc_factordifferential-algebrasymbolic-integration
Let be a field and a nonzero rational function. Then there exist a nonzero constant and finite multisets of monic irreducible polynomials in such that
This is the factorization of a rational function into its leading constant and its prime factors, with multiplicities.
Formalization Note Multisets of polynomials record the multiplicities of the prime factors.
Preamble
import Mathlib open scoped Differential open Polynomial
Formal statement
namespace LiouvilleDiffAlg
theorem ratFunc_factor {K : Type*} [Field K] (u : RatFunc K) (hu : u ≠ 0) :
∃ (a : K) (N D : Multiset K[X]), a ≠ 0 ∧ (∀ p ∈ N, Monic p ∧ Irreducible p) ∧
(∀ p ∈ D, Monic p ∧ Irreducible p) ∧
u = algebraMap K (RatFunc K) a * algebraMap K[X] (RatFunc K) N.prod / algebraMap K[X] (RatFunc K) D.prod := by sorry
end LiouvilleDiffAlg
Source
Rosenlicht, Integration in finite terms, Amer. Math. Monthly 79 (1972), 963–972 (proof of Liouville's theorem by induction on an elementary tower); Geddes–Czapor–Labahn, Algorithms for Computer Algebra (Kluwer, 1992), §12.4; Wikipedia, "Liouville's theorem (differential algebra)", oldid=1349223559, section "Basic theorem"