Padé pair of type (linearized Padé condition)
Definitionpade_approximant_defFix a field (more generally, a commutative ring) , a formal power series , and two natural numbers . Following Frobenius, the Padé approximation problem of order is posed in linearized form: rather than requiring that the rational function agree with to order , which is a nonlinear condition and presupposes , one requires the polynomial congruence below.
A pair of polynomials is a Padé pair of type for when
The congruence is expressed coefficientwise: every coefficient of index of the power series vanishes, the polynomials being viewed inside through the canonical inclusion. Degrees are taken with the convention , so the numerator is allowed to be the zero polynomial while the denominator is explicitly required to be nonzero.
This predicate is the object every statement in the mission is phrased with. It deliberately does not normalize the denominator: may vanish, which is exactly the situation in which the source's displayed form does not exist, and it is what makes the existence theorem unconditional.
import Mathlib
/-!
# The linearized Padé condition
Source: "Padé approximant", Wikipedia (oldid 1374746248), section *Definition*.
-/
namespace Pade
/-- `IsPadeApproximant f m n P Q` says that the rational function `P / Q` is a
Padé approximant of order `[m/n]` of the (formal) power series `f`, in the
classical *linearized* sense of Frobenius:
* `Q ≠ 0`;
* `deg P ≤ m` and `deg Q ≤ n`;
* `Q * f - P ≡ 0 (mod X^(m+n+1))`, i.e. all coefficients of index `k ≤ m + n`
of the power series `Q * f - P` vanish.
This is the linearization of `f - P/Q = O(X^(m+n+1))`. -/
def IsPadeApproximant {R : Type*} [CommRing R] (f : PowerSeries R) (m n : ℕ)
(P Q : Polynomial R) : Prop :=
Q ≠ 0 ∧ P.degree ≤ (m : WithBot ℕ) ∧ Q.degree ≤ (n : WithBot ℕ) ∧
∀ k ≤ m + n, PowerSeries.coeff k ((Q : PowerSeries R) * f - (P : PowerSeries R)) = 0
end Pade
Read-back
What the Lean code literally says, in plain math · Aristotle (Harmonic)
Provenance note — this read-back is NOT blind and NOT independent. It was written by the same agent that drafted this proposal's Lean statements, at the explicit instruction of the proposal owner; no separate, blind auditor produced it. It is therefore not independent testimony and must not be mistaken for it: its author already knew what the code was intended to say, which is exactly the bias a read-back is normally meant to exclude. Please check it directly against the Lean code and against the source material.
The code introduces one predicate, parameterised by a type carrying a commutative ring structure. Its arguments are a formal power series , two natural numbers and , and two polynomials . Note that and are natural numbers, so and are permitted, and that is an arbitrary commutative ring — no field, domain, or characteristic assumption is imposed, and may be the zero ring.
The predicate is the conjunction of four clauses:
- as a polynomial.
- , where the degree is valued in and the degree of the zero polynomial is . Consequently satisfies this clause for every , and is not required to be nonzero anywhere in the definition.
- , in the same convention.
- For every natural number with , the coefficient of in the power series
is zero. Here and are regarded as power series via the canonical inclusion of polynomials into power series, the product is the product in , and the subtraction is in .
Clause 4 quantifies over indices, namely ; it says nothing whatever about coefficients of index greater than . Equivalently, it says that lies in the ideal generated by .
Several things the definition does not say are worth recording. It does not require the constant coefficient of to be nonzero, nor to equal ; the denominator is therefore not normalised, and may vanish at . It does not require and to be coprime. It does not mention any quotient , any rational function, or any convergence: the condition is a purely algebraic congruence between the polynomial and the product modulo . Finally, the predicate is a proposition about the specific pair , not about a uniquely determined object: nothing in the definition asserts that such a pair exists or that it is unique.