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(measure_theory/interval_integral): FTC-2 #4945
Conversation
…of_I?? (#4918) Some propositions about intervals that I thought may be useful (despite their simplicity).
@benjamindavidson I've merged master and fixed some statements. I didn't touch the proofs. |
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 measurability assumptions on f'
when you assume that it is continuous on the relevant interval feel really strange. Of course, I understand that it comes from the current implementation in terms of the restricted measure, but it hints that a refactor might be a good idea. Still, this should wait in any case for another PR.
continuous_on (λ u, ∫ x in a..u, f x) s := | ||
(integral_of_continuous_differentiable_on hintg hcont).continuous_on | ||
|
||
theorem integral_eq_sub_of_has_deriv_right_of_le (hab : a ≤ b) (hcont : continuous_on f (Icc a b)) |
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.
Why of_le
in the name?
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.
Because this form assumes a ≤ b
. Should we move le
somewhere else?
Yes, I was surprised by this too recently (had to do something similar in #5288). (EDIT: I see it's for a variant of the lemmas from #5288, so not surprising.) |
@sgouezel Yury will have to answer the other questions/concerns you raised, I'm not sure about them myself. |
This is a side-effect of my choice to use
|
Does it seem reasonable to try to replace the |
Let's merge this. I'll adjust #5510 accordingly afterwards. |
The second fundamental theorem of calculus and supporting lemmas Co-authored-by: Yury G. Kudryashov <urkud@urkud.name>
Pull request successfully merged into master. Build succeeded: |
The second fundamental theorem of calculus and supporting lemmas Co-authored-by: Yury G. Kudryashov <urkud@urkud.name>
A follow-up to #4945. I replaced `integral_eq_sub_of_has_deriv_at'` with a stronger version that holds for functions that have a derivative on an `Ioo` (as opposed to an `Ico`). Inspired by [this](https://leanprover.zulipchat.com/#narrow/stream/116395-maths/topic/FTC-2.20on.20open.20set/near/222177308) conversation on Zulip. I also emended docstrings to reflect changes made in #5647.
The second fundamental theorem of calculus and supporting lemmas