Add a sharp bound for the integral Taylor remainder - #42544
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 d52ea99b42
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.Analysis.Calculus.Taylor | 2489 | 2530 | +41 (+1.65%) |
Import changes for all files
| Files | Import difference |
|---|---|
Mathlib.Analysis.Calculus.Taylor |
41 |
Declarations diff (regex)
+ taylor_integral_remainder_bound
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 -- pending)
Computed after the build finishes.
No changes to strong technical debt.
No changes to weak technical debt.
Current commit d52ea99b42
Reference commit fabf563a7c
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
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).
This adds an orientation-free norm bound obtained from the existing
vector-valued integral Taylor remainder:
Unlike
taylor_mean_remainder_bound, the statement allows either endpointordering and retains the sharp
(n + 1)!denominator. Nonnegativity ofCisderived from the derivative bound at the left endpoint rather than required as
a separate assumption.
Mathlib.Analysis.Calculus.TaylorIntegralwas also checked. Itsmap_add_eq_sum_add_integral_iteratedFDerivis a higher-dimensional formula interms of global
iteratedFDeriv, whereas this result bounds the existingone-dimensional
taylorWithinEval/iteratedDerivWithinremainder under aContDiffOnhypothesis. Converting between those interfaces would not shortenthe proof; this theorem is therefore derived directly from the existing
taylor_integral_remainderimmediately above it.Testing:
#print axiomsreports onlypropext,Classical.choice, andQuot.sound;git diff --checkpasses.The upstream
mastertoolchain changed to Lean 4.33.0-rc2 after this branchbase. This is deliberately opened as a draft so CI/rebase can expose any API
adjustment required by the new toolchain.