Skip to content

[Merged by Bors] - feat(Algebra/MvPolynomial/PDeriv): a coefficient formula for pderiv#39624

Closed
justus-springer wants to merge 1 commit into
leanprover-community:masterfrom
justus-springer:justus/MvPolynomial_coeff_pderiv
Closed

[Merged by Bors] - feat(Algebra/MvPolynomial/PDeriv): a coefficient formula for pderiv#39624
justus-springer wants to merge 1 commit into
leanprover-community:masterfrom
justus-springer:justus/MvPolynomial_coeff_pderiv

Conversation

@justus-springer

@justus-springer justus-springer commented May 20, 2026

Copy link
Copy Markdown
Collaborator

This formula is useful for defining partial derivatives of multivariate power series, see PR #39626.


Open in Gitpod

@github-actions github-actions Bot added the t-algebra Algebra (groups, rings, fields, etc) label May 20, 2026
@github-actions

Copy link
Copy Markdown

PR summary 85e531ad7f

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff

+ coeff_pderiv

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.


No changes to strong technical debt.
No changes to weak technical debt.

@tb65536 tb65536 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

maintainer merge

@github-actions

Copy link
Copy Markdown

🚀 Pull request has been placed on the maintainer queue by tb65536.

@mathlib-triage mathlib-triage Bot added the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Jun 23, 2026
@riccardobrasca

Copy link
Copy Markdown
Member

Thanks!

bors merge

@mathlib-bors mathlib-bors Bot added the ready-to-merge This PR has been sent to bors. label Jun 26, 2026
@mathlib-triage mathlib-triage Bot removed the maintainer-merge A reviewer has approved the changed; awaiting maintainer approval. label Jun 26, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Jun 26, 2026
…#39624)

This formula is useful for defining partial derivatives of multivariate power series, see PR #39626.
@mathlib-bors mathlib-bors Bot added the bors-staging This PR is currently being built by bors on the staging branch. label Jun 26, 2026
@mathlib-bors

mathlib-bors Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

@mathlib-bors mathlib-bors Bot changed the title feat(Algebra/MvPolynomial/PDeriv): a coefficient formula for pderiv [Merged by Bors] - feat(Algebra/MvPolynomial/PDeriv): a coefficient formula for pderiv Jun 26, 2026
@mathlib-bors mathlib-bors Bot closed this Jun 26, 2026
mathlib-bors Bot pushed a commit that referenced this pull request Jul 16, 2026
#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bors-staging This PR is currently being built by bors on the staging branch. ready-to-merge This PR has been sent to bors. t-algebra Algebra (groups, rings, fields, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants