Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

[5/5][5/5][5/5] Padé approximant of exp⁡(x)\exp(x)exp(x)

Proved
Pade.pade_exp_five_five

by LG · Sep 21, 2026 · Mathlib 0df444a (Lean v4.33.1)

analysisexamplespower-series

The [5/5][5/5][5/5] Padé approximant of exp⁡(x)\exp(x)exp(x). Let E(x)=∑k≥0xk/k!∈Q[[x]]E(x) = \sum_{k\ge0} x^k/k! \in \mathbb{Q}[[x]]E(x)=∑k≥0​xk/k!∈Q[[x]] be the formal exponential series, and set

P(x)=1+12x+19x2+172x3+11008x4+130240x5,Q(x)=P(−x).P(x) = 1 + \tfrac{1}{2}x + \tfrac{1}{9}x^2 + \tfrac{1}{72}x^3 + \tfrac{1}{1008}x^4 + \tfrac{1}{30240}x^5, \qquad Q(x) = P(-x).P(x)=1+21​x+91​x2+721​x3+10081​x4+302401​x5,Q(x)=P(−x).

Then (P,Q)(P,Q)(P,Q) is a Padé pair of type [5/5][5/5][5/5] for EEE: both degrees are at most 555, Q≠0Q \ne 0Q=0, and

Q(x)E(x)−P(x)≡0(modx11).Q(x)E(x) - P(x) \equiv 0 \pmod{x^{11}} .Q(x)E(x)−P(x)≡0(modx11).

Equivalently,

exp⁡(x)  ≈  1+12x+19x2+172x3+11008x4+130240x51−12x+19x2−172x3+11008x4−130240x5,\exp(x) \;\approx\; \frac{1 + \frac{1}{2}x + \frac{1}{9}x^2 + \frac{1}{72}x^3 + \frac{1}{1008}x^4 + \frac{1}{30240}x^5}{1 - \frac{1}{2}x + \frac{1}{9}x^2 - \frac{1}{72}x^3 + \frac{1}{1008}x^4 - \frac{1}{30240}x^5},exp(x)≈1−21​x+91​x2−721​x3+10081​x4−302401​x51+21​x+91​x2+721​x3+10081​x4+302401​x5​,

with agreement of the Maclaurin expansions through order 10=m+n10 = m+n10=m+n. This is the second worked example of the source's Examples section. The antisymmetry Q(x)=P(−x)Q(x) = P(-x)Q(x)=P(−x) is the diagonal symmetry of the Padé table for exp⁡\expexp, reflecting exp⁡(−x)=1/exp⁡(x)\exp(-x) = 1/\exp(x)exp(−x)=1/exp(x); the example is a demanding test vector, since eleven rational coefficient identities must hold simultaneously.

Preamble
import Mathlib
import Definitions.Def_pade_approximant_def
open Polynomial
Formal statement
namespace Pade

theorem pade_exp_five_five :
    IsPadeApproximant (PowerSeries.exp ℚ) 5 5
      (1 + C (1 / 2 : ℚ) * X + C (1 / 9 : ℚ) * X ^ 2 + C (1 / 72 : ℚ) * X ^ 3
        + C (1 / 1008 : ℚ) * X ^ 4 + C (1 / 30240 : ℚ) * X ^ 5)
      (1 - C (1 / 2 : ℚ) * X + C (1 / 9 : ℚ) * X ^ 2 - C (1 / 72 : ℚ) * X ^ 3
        + C (1 / 1008 : ℚ) * X ^ 4 - C (1 / 30240 : ℚ) * X ^ 5) := by sorry

end Pade
Source
Padé approximant, Wikipedia, revision oldid=1374746248, https://en.wikipedia.org/w/index.php?title=Pad%C3%A9_approximant&oldid=1374746248, section 'Examples', subsection 'exp(x)'
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.

This is a closed statement about explicit data over the rationals; it has no variables and no hypotheses.

Let E∈Q[[x]]E \in \mathbb{Q}[[x]]E∈Q[[x]] be the exponential formal power series, whose coefficient of xkx^kxk is 1/k!1/k!1/k!. Let

P  =  1+12x+19x2+172x3+11008x4+130240x5,P \;=\; 1 + \tfrac{1}{2}x + \tfrac{1}{9}x^2 + \tfrac{1}{72}x^3 + \tfrac{1}{1008}x^4 + \tfrac{1}{30240}x^5 ,P=1+21​x+91​x2+721​x3+10081​x4+302401​x5, Q  =  1−12x+19x2−172x3+11008x4−130240x5,Q \;=\; 1 - \tfrac{1}{2}x + \tfrac{1}{9}x^2 - \tfrac{1}{72}x^3 + \tfrac{1}{1008}x^4 - \tfrac{1}{30240}x^5 ,Q=1−21​x+91​x2−721​x3+10081​x4−302401​x5,

both in Q[x]\mathbb{Q}[x]Q[x]; thus Q(x)=P(−x)Q(x) = P(-x)Q(x)=P(−x), with the same six coefficients and alternating signs. Take m=5m = 5m=5 and n=5n = 5n=5, so that m+n=10m+n = 10m+n=10.

The assertion is that the pair (P,Q)(P,Q)(P,Q) satisfies all four conditions of the Padé predicate for EEE at these indices:

  1. Q≠0Q \neq 0Q=0;
  2. deg⁡P≤5\deg P \le 5degP≤5;
  3. deg⁡Q≤5\deg Q \le 5degQ≤5;
  4. for every natural number k≤10k \le 10k≤10, the coefficient of xkx^kxk in Q⋅E−PQ \cdot E - PQ⋅E−P vanishes, the product and difference being taken in Q[[x]]\mathbb{Q}[[x]]Q[[x]] with PPP and QQQ included as power series.

Condition 4 covers exactly the eleven coefficients of x0x^0x0 through x10x^{10}x10; nothing is asserted about the coefficient of x11x^{11}x11 or higher, and in particular the statement does not claim QE=PQ E = PQE=P. The exponential series here is the formal one defined by [xk]=1/k![x^k] = 1/k![xk]=1/k! over Q\mathbb{Q}Q; no analytic property of exp⁡\expexp is involved.

Human review
  • Endorsed by Shuze Chen · Sep 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by LG · Sep 24, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me