Skip to content

feat(RingTheory/LaurentSeries): add Leibniz rule - #42471

Open
mo271 wants to merge 2 commits into
leanprover-community:masterfrom
mo271:leibniz-rule
Open

feat(RingTheory/LaurentSeries): add Leibniz rule#42471
mo271 wants to merge 2 commits into
leanprover-community:masterfrom
mo271:leibniz-rule

Conversation

@mo271

@mo271 mo271 commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

This adds hasseDeriv_mul and derivative_mul.

Written with the help of Gemini


Open in Gitpod

This adds `hasseDeriv_mul` and `derivative_mul`.

Written with the help of Gemini
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

PR summary 0ecab2aa3c

Import changes for modified files

No significant changes to the import graph

Import changes for all files
Files Import difference

Declarations diff (regex)

+ derivative_mul
+ hasseDeriv_mul

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.

Declarations diff (Lean)

Lean-aware diff — post-build, computed from the Lean environment (commit 0ecab2a).

  • +2 new declarations
  • −0 removed declarations
+LaurentSeries.derivative_mul
+LaurentSeries.hasseDeriv_mul

No changes to strong technical debt.

No changes to weak technical debt.

Current commit 0ecab2aa3c
Reference commit 2eecc3c0ec

This script lives in the mathlib-ci repository. To run it locally, from your mathlib4 directory:

git clone https://github.com/leanprover-community/mathlib-ci.git ../mathlib-ci
../mathlib-ci/scripts/reporting/technical-debt-metrics.sh pr_summary
  • The relative value is the weighted sum of the differences with weight given by the inverse of the current value of the statistic.
  • The absolute value is the relative value divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).

@github-actions github-actions Bot added the t-ring-theory Ring theory label Aug 5, 2026
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown

✅ PR Title Formatted Correctly

The title of this PR has been updated to match our commit style conventions.
Thank you!

@mo271 mo271 changed the title feat(RingTheory/LaurentSeries): Leibniz rule feat(RingTheory/LaurentSeries): add Leibniz rule Aug 5, 2026
@mo271
mo271 marked this pull request as draft August 5, 2026 08:18
@mathlib-bors

mathlib-bors Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

This pull request is now in draft mode. No active bors state needed cleanup.

While this PR remains draft, bors will ignore commands on this PR. Mark it ready for review before using commands like bors r+ or bors try.

@mo271
mo271 marked this pull request as ready for review August 5, 2026 08:19
@grunweg grunweg added the LLM-generated PRs with substantial input from LLMs - review accordingly label Aug 5, 2026
rw [← h_coeff1, ← h_coeff2]
exact hG_ne
· ext <;> dsimp <;> omega
· -- h

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.

--h ?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This is a comment about the named placeholders to not get disoriented when going through the 4 cases

refine Finset.sum_bij (fun x _ => (x.1 - (ij.1 : ℤ), x.2 - (ij.2 : ℤ))) ?hi ?inj ?surj ?h

Should I remove those?

@wwylele

wwylele commented Aug 5, 2026

Copy link
Copy Markdown
Collaborator

Is it possible to link hasseDeriv to iterated Derivation, then prove the multiplication formula there? (I haven't check thoroughly how much of this is already done)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

LLM-generated PRs with substantial input from LLMs - review accordingly t-ring-theory Ring theory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants