feat(Analysis/Calculus/Deriv): add deriv_const_mul_id'#38171
feat(Analysis/Calculus/Deriv): add deriv_const_mul_id'#38171emlis42 wants to merge 3 commits intoleanprover-community:masterfrom
Conversation
Welcome new contributor!Thank you for contributing to Mathlib! If you haven't done so already, please review our contribution guidelines, as well as the style guide and naming conventions. In particular, we kindly remind contributors that we have guidelines regarding the use of AI when making pull requests. We use a review queue to manage reviews. If your PR does not appear there, it is probably because it is not successfully building (i.e., it doesn't have a green checkmark), has the If you haven't already done so, please come to https://leanprover.zulipchat.com/, introduce yourself, and mention your new PR. Thank you again for joining our community. |
PR summary 96c2df6e3dImport changes for modified filesNo significant changes to the import graph Import changes for all files
Declarations diff
You can run this locally as follows## summary with just the declaration names:
./scripts/pr_summary/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/pr_summary/declarations_diff.sh long <optional_commit>The doc-module for No changes to technical debt.You can run this locally as
|
|
!bench |
|
Benchmark results for c7edc0d against 96c2df6 are in. No significant results found. @emlis42
Small changes (1🟥)
|
This PR adds a simp lemma for the derivative of multiplication by a constant on the left.
In practice,
simpis already able to simplifyfun x => x * candfun x => x / c. However, it getting stuck onfun x => c * xandderiv (HMul.hMul c).This PR fix this by adding a simp lemma so that
simpcan also handlefun x => c * xwithout requiring an explicitrw [deriv_const_mul].This is useful for examples such as: