[Merged by Bors] - feat(RingTheory/MvPowerSeries/Trunc): generalize truncation lemmas#39625
Conversation
PR summary f084f1bbe9Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
|
@justus-springer Can you update master here as well? Thanks |
tb65536
left a comment
There was a problem hiding this comment.
Very nice, thanks!
maintainer delegate
|
🚀 Pull request has been placed on the maintainer queue by tb65536. |
|
✌️ justus-springer can now approve this pull request until 2026-07-10 11:37 UTC (in 2 weeks). To approve and merge, reply with
|
Co-authored-by: Thomas Browning <tb65536@users.noreply.github.com>
|
bors r+ |
…39625) Generalize `coeff_trunc_mul_trunc_eq_coeff_mul` (and its analogs for `truncFinset` and `trunc'`) to allow for different truncation levels for the two arguments. This matches the API for univariate power series, where we already have `PowerSeries.coeff_mul_eq_coeff_trunc_mul_trunc₂`. This is useful for defining partial derivatives of multivariate power series, see PR #39626. Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
|
Pull request successfully merged into master. Build succeeded:
|
#39626) Previously, we had formal derivatives for `PowerSeries` and `Polynomial` and formal partial derivatives for `MvPolynomial`, but no formal partial derivatives for `MvPowerSeries`. This PR adds them. Furthermore, `PowerSeries.derivative` is refactored to be defined in terms of `MvPowerSeries.pderiv`, which reduces code duplication (In particular, there is no need to define the bare function `PowerSeries.derivativeFun` anymore). 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: - [x] depends on: #39623 - [x] depends on: #39624 - [x] depends on: #39625
Generalize
coeff_trunc_mul_trunc_eq_coeff_mul(and its analogs fortruncFinsetandtrunc') to allow for different truncation levels for the two arguments. This matches the API for univariate power series, where we already havePowerSeries.coeff_mul_eq_coeff_trunc_mul_trunc₂.This is useful for defining partial derivatives of multivariate power series, see PR #39626.