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
feat(analysis/calculus/mean_value): add generalized "fencing" inequality #1838
Conversation
This version can be used to deduce, e.g., Gronwall inequality as well as its generalized version that deals with approximate solutions.
Rebased to resolve conflicts and simplify history. |
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.
The mathematical content is great, but documentation could still be improved. Notably, the file docstring of mean_value.lean
should be updated. Also, there are various similar statements, close but slightly different. It would help to comment a little bit on the differences and the different use cases.
Co-Authored-By: sgouezel <sebastien.gouezel@univ-rennes1.fr>
I went over all docstrings and hopefully fixed them. |
…ity (leanprover-community#1838) * feat(analysis/calculus/mean_value): add generalized "fencing" inequality This version can be used to deduce, e.g., Gronwall inequality as well as its generalized version that deals with approximate solutions. * Adjust to merged branches, use `liminf` instead of `limsup`, add more variations * Go through dim-1 liminf estimates * Fix: use `b ∈ Ioc a c` as a hypothesis for `I??_mem_nhds_within_Iio` * Update src/analysis/calculus/mean_value.lean Co-Authored-By: sgouezel <sebastien.gouezel@univ-rennes1.fr> * Drop `Prop`-valued `variables`, add some docs * More docstrings * Drop `Prop`-valued `variables`, drop assumption `x ∉ s`. Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
…ity (leanprover-community#1838) * feat(analysis/calculus/mean_value): add generalized "fencing" inequality This version can be used to deduce, e.g., Gronwall inequality as well as its generalized version that deals with approximate solutions. * Adjust to merged branches, use `liminf` instead of `limsup`, add more variations * Go through dim-1 liminf estimates * Fix: use `b ∈ Ioc a c` as a hypothesis for `I??_mem_nhds_within_Iio` * Update src/analysis/calculus/mean_value.lean Co-Authored-By: sgouezel <sebastien.gouezel@univ-rennes1.fr> * Drop `Prop`-valued `variables`, add some docs * More docstrings * Drop `Prop`-valued `variables`, drop assumption `x ∉ s`. Co-authored-by: sgouezel <sebastien.gouezel@univ-rennes1.fr> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
I'm taking a 3-4 days break from Lean. After this I'll add missing
docstrings to this PR, go over review comments, then formalize
Gronwall inequality based on the general fencing theorem from this PR.
TO CONTRIBUTORS:
Make sure you have:
If this PR is related to a discussion on Zulip, please include a link in the discussion.
For reviewers: code review check list