The closed formula for every derivative order
AutoSamplingTheory.TechnicalLemmas.Analysis.FinitePowerSeries.finitePowerSeriesDerivative · def · Teaching coverage
Mathematical statement
The order-r derivative expression weights u^(j-r) by the descending factorial j^(r) and the original coefficient.
Lean statement · finitePowerSeriesDerivative
The order is explicit and the result is real-valued.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
def finitePowerSeriesDerivative
(order : ℕ) (support : Finset ℕ) (a : ℕ → ℝ) (u : ℝ) : ℝProof roadmap
- 1Differentiate each monomial formally
The r-th derivative of u^j is j falling r times u^(j-r), including the zero case j<r.
Full assumptions and notation
All objects and hypotheses
- r and j are natural numbers.
- Natural subtraction is truncated.
- When j<r, the descending factorial is zero.
Construction and meaning
1. Differentiate each monomial formally
The r-th derivative of u^j is j falling r times u^(j-r), including the zero case j<r.
Corresponding Lean step
Nat.descFactorial handles all orders uniformly.
Lean verification
The exact proof begins folded immediately after the mathematical argument; the statement is folded beside the claim above.
Lean construction · finitePowerSeriesDerivative
The later theorem identifies this expression with Mathlib's actual iterated derivative.
Braces mark parameters Lean can infer; square brackets request structures such as a measurable space or probability measure. Named hypotheses are mathematical premises, not facts established by this declaration. Section parameters are described in the mathematical hypotheses above; the module link retains their exact source context.
def finitePowerSeriesDerivative
(order : ℕ) (support : Finset ℕ) (a : ℕ → ℝ) (u : ℝ) : ℝ :=
∑ j ∈ support,
(j.descFactorial order : ℝ) * a j * u ^ (j - order)Scope and omitted-condition boundaries
- This definition alone does not assert differentiability.
Sources, dependencies, and reuse
Source and reuse
Samplinglib parents called
Mathlib API called (external library)
No direct Mathlib call recorded; see the Samplinglib parents.
Mathematical sources
- Samplinglib compiled source — Exact statement and proof.
Samplinglib prose is not a quotation or a source-equivalence certificate. Definitions and aliases are explained as constructions, not counted as new mathematical proofs.