-
Notifications
You must be signed in to change notification settings - Fork 235
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Merged by Bors] - feat: add of_eq
versions for lemmas on composition of derivatives
#11867
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sgouezel
added
awaiting-review
The author would like community review of the PR
t-analysis
Analysis (normed *, calculus)
labels
Apr 3, 2024
sgouezel
changed the title
feat: add
feat: add Apr 3, 2024
eq_on
versions for lemmas on composition of derivativesof_eq
versions for lemmas on composition of derivatives
ADedecker
approved these changes
Apr 5, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
bors d+
✌️ sgouezel can now approve this pull request. To approve and merge a pull request, simply reply with |
leanprover-community-mathlib4-bot
added
delegated
and removed
awaiting-review
The author would like community review of the PR
labels
Apr 5, 2024
Co-authored-by: Anatole Dedecker <anatolededecker@gmail.com>
bors r+ |
mathlib-bors bot
pushed a commit
that referenced
this pull request
Apr 6, 2024
…11867) The versions we have assume that `f` is differentiable at `h x` and `h` is differentiable at `x`, to deduce that `f o h` is differentiable at `x`. In many applications, we have that `f` is differentiable at some point which happens to be equal to `h x`, but not definitionally, so one needs to jump through some hoops to apply the composition lemma. We add `of_eq` versions assuming instead that `f` is differentiable at `y` and that `y = h x`, which is much more flexible in practice.
Pull request successfully merged into master. Build succeeded: |
mathlib-bors
bot
changed the title
feat: add
[Merged by Bors] - feat: add Apr 6, 2024
of_eq
versions for lemmas on composition of derivativesof_eq
versions for lemmas on composition of derivatives
Louddy
pushed a commit
that referenced
this pull request
Apr 15, 2024
…11867) The versions we have assume that `f` is differentiable at `h x` and `h` is differentiable at `x`, to deduce that `f o h` is differentiable at `x`. In many applications, we have that `f` is differentiable at some point which happens to be equal to `h x`, but not definitionally, so one needs to jump through some hoops to apply the composition lemma. We add `of_eq` versions assuming instead that `f` is differentiable at `y` and that `y = h x`, which is much more flexible in practice.
atarnoam
pushed a commit
that referenced
this pull request
Apr 16, 2024
…11867) The versions we have assume that `f` is differentiable at `h x` and `h` is differentiable at `x`, to deduce that `f o h` is differentiable at `x`. In many applications, we have that `f` is differentiable at some point which happens to be equal to `h x`, but not definitionally, so one needs to jump through some hoops to apply the composition lemma. We add `of_eq` versions assuming instead that `f` is differentiable at `y` and that `y = h x`, which is much more flexible in practice.
uniwuni
pushed a commit
that referenced
this pull request
Apr 19, 2024
…11867) The versions we have assume that `f` is differentiable at `h x` and `h` is differentiable at `x`, to deduce that `f o h` is differentiable at `x`. In many applications, we have that `f` is differentiable at some point which happens to be equal to `h x`, but not definitionally, so one needs to jump through some hoops to apply the composition lemma. We add `of_eq` versions assuming instead that `f` is differentiable at `y` and that `y = h x`, which is much more flexible in practice.
callesonne
pushed a commit
that referenced
this pull request
Apr 22, 2024
…11867) The versions we have assume that `f` is differentiable at `h x` and `h` is differentiable at `x`, to deduce that `f o h` is differentiable at `x`. In many applications, we have that `f` is differentiable at some point which happens to be equal to `h x`, but not definitionally, so one needs to jump through some hoops to apply the composition lemma. We add `of_eq` versions assuming instead that `f` is differentiable at `y` and that `y = h x`, which is much more flexible in practice.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The versions we have assume that
f
is differentiable ath x
andh
is differentiable atx
, to deduce thatf o h
is differentiable atx
. In many applications, we have thatf
is differentiable at some point which happens to be equal toh x
, but not definitionally, so one needs to jump through some hoops to apply the composition lemma. We addof_eq
versions assuming instead thatf
is differentiable aty
and thaty = h x
, which is much more flexible in practice.This could be done throughout the library for many composition-like lemmas. I'm only doing it in the file
Deriv.Comp
in this PR.