feat(RingTheory/MvPowerSeries): partial derivatives of MvPowerSeries#39626
feat(RingTheory/MvPowerSeries): partial derivatives of MvPowerSeries#39626justus-springer wants to merge 2 commits into
MvPowerSeries#39626Conversation
PR summary d24920be61
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.RingTheory.PowerSeries.Derivative | 1773 | 1546 | -227 (-12.80%) |
| Mathlib.RingTheory.PowerSeries.Exp | 1776 | 1780 | +4 (+0.23%) |
Import changes for all files
| Files | Import difference |
|---|---|
Mathlib.RingTheory.PowerSeries.Derivative |
-227 |
14 filesMathlib.NumberTheory.LSeries.HurwitzZetaValues Mathlib.NumberTheory.ModularForms.CuspFormSubmodule Mathlib.NumberTheory.ModularForms.DedekindEta Mathlib.NumberTheory.ModularForms.Delta Mathlib.NumberTheory.ModularForms.Derivative Mathlib.NumberTheory.ModularForms.DimensionFormulas.LevelOne Mathlib.NumberTheory.ModularForms.Discriminant Mathlib.NumberTheory.ModularForms.EisensteinSeries.E2.MDifferentiable Mathlib.NumberTheory.ModularForms.EisensteinSeries.E2.Summable Mathlib.NumberTheory.ModularForms.EisensteinSeries.E2.Transform Mathlib.NumberTheory.ModularForms.EisensteinSeries.QExpansion Mathlib.NumberTheory.ModularForms.LevelOne.DimensionFormula Mathlib.NumberTheory.ModularForms.LevelOne.GradedRing Mathlib.NumberTheory.ZetaValues |
1 |
4 filesMathlib.NumberTheory.BernoulliPolynomials Mathlib.NumberTheory.Bernoulli Mathlib.RingTheory.PowerSeries.Exp Mathlib.RingTheory.PowerSeries.Log |
4 |
Mathlib.RingTheory.MvPowerSeries.Derivative (new file) |
1244 |
Declarations diff
+ coeff_pderivFun
+ coeff_trunc'_mul_trunc'_eq_coeff_mul₂
+ coeff_truncFinset_mul_truncFinset_eq_coeff_mul₂
+ coeff_trunc_mul_trunc_eq_coeff_mul
+ coeff_trunc_mul_trunc_eq_coeff_mul₂
+ derivative_one
+ pderiv
+ pderiv.ext
+ pderivFun
+ pderivFun_C
+ pderivFun_add
+ pderivFun_coe
+ pderivFun_coe_mul_coe
+ pderivFun_mul
+ pderivFun_one
+ pderivFun_smul
+ pderiv_C
+ pderiv_X
+ pderiv_X_of_ne
+ pderiv_X_self
+ pderiv_coe
+ pderiv_inv
+ pderiv_inv'
+ pderiv_invOf
+ pderiv_one
+ pderiv_pow
+ trunc_pderiv
+ trunc_pderivFun
++ coeff_add_single_C
++ coeff_ne_zero_C
++ coeff_pderiv
- derivativeFun_coe_mul_coe
You can run this locally as follows
## from your `mathlib4` directory:
git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
## summary with just the declaration names:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh <optional_commit>
## more verbose report:
../mathlib-ci/scripts/pr_summary/declarations_diff.sh long <optional_commit>The doc-module for scripts/pr_summary/declarations_diff.sh in the mathlib-ci repository contains some details about this script.
Previously, we had formal derivatives for
PowerSeriesandPolynomialand formal partial derivatives forMvPolynomial, but no formal partial derivatives forMvPowerSeries. This PR adds them. Furthermore,PowerSeries.derivativeis refactored to be defined in terms ofMvPowerSeries.pderiv, which reduces code duplication (In particular, there is no need to define the bare functionPowerSeries.derivativeFunanymore).Most proofs are direct generalizations from the univariate case. I only had to add a few missing API lemmas, which I am PR'ing separately below:
coeff_C_of_ne_zeroandcoeff_add_single_C#39623pderiv#39624