Skip to content
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

refactor(analysis/calculus/mean_value): prove the mean value theorem using 1D derivative #1740

Merged
merged 7 commits into from Dec 1, 2019

Conversation

sgouezel
Copy link
Collaborator

The proof of the mean value inequality was convoluted due to the use of the general Fréchet derivative. It becomes more natural when written in terms of one-dimensional derivatives, recently introduced in mathlib. This is done in the PR, adding along the way some missing bits on one-dimensional derivatives and some documentation.

@sgouezel sgouezel added the awaiting-review The author would like community review of the PR label Nov 25, 2019
@sgouezel sgouezel requested a review from gebner November 25, 2019 12:53
src/analysis/calculus/deriv.lean Outdated Show resolved Hide resolved
src/analysis/calculus/deriv.lean Outdated Show resolved Hide resolved
Copy link
Member

@robertylewis robertylewis left a comment

Choose a reason for hiding this comment

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

Looks great!

@robertylewis robertylewis added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels Dec 1, 2019
@PatrickMassot
Copy link
Member

It would be nice to use more dot notation in deriv.lean.

@mergify mergify bot merged commit 8a89b06 into leanprover-community:master Dec 1, 2019
@sgouezel sgouezel deleted the mean_value2 branch December 2, 2019 10:35
anrddh pushed a commit to anrddh/mathlib that referenced this pull request May 15, 2020
… using 1D derivative (leanprover-community#1740)

* refactor(analysis/calculus/mean_value): prove the mean value theorem using 1D derivative

* docstring

* use iff.rfl

* fix build

* fix docstring
anrddh pushed a commit to anrddh/mathlib that referenced this pull request May 16, 2020
… using 1D derivative (leanprover-community#1740)

* refactor(analysis/calculus/mean_value): prove the mean value theorem using 1D derivative

* docstring

* use iff.rfl

* fix build

* fix docstring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants