Zulip Chat Archive
Stream: Is there code for X?
Topic: mean value theorem for integration
Adhyayan Sharma (Aug 13 2025 at 00:23):
Is there any existing theorem in mathlib for MVT for integrals please? I went through the undergraduate maths section for Lean but couldn't find it
Aaron Liu (Aug 13 2025 at 00:24):
What is the statement you want?
Adhyayan Sharma (Aug 13 2025 at 00:29):
i wish to prove explicitly that $\int_a^b f(x)\,dx = f(c)\,(b - a)$, for a continuous function f and c in the closed interval [a,b], but was wondering if this is an existing theorem in mathlib thank you
Aaron Liu (Aug 13 2025 at 00:34):
I don't see it
Adhyayan Sharma (Aug 13 2025 at 00:36):
no worries! I'll try and formalise this proof by myself, thank you for looking!
Aaron Liu (Aug 13 2025 at 00:42):
It shouldn't be too hard
Last updated: Dec 20 2025 at 21:32 UTC