Zulip Chat Archive
Stream: maths
Topic: about fderiv and integral
Chenyi Li (May 18 2023 at 06:06):
Assume f is C^1 in \mathbb{R}^d, how to prove f(y)- f(x) = \int_0^1 \nabla f(x+t(y-x))^T (y-x) dt, or easily consider d=1?
Chenyi Li (May 18 2023 at 06:10):
I am confused about the type of the fderiv in lean and I am curious about how to transform the type of the fderiv to a type that can easily do integral or rather, it can be done with the fderiv type ?
Yury G. Kudryashov (May 18 2023 at 08:03):
Could you please use double dollars around LaTeX formulas and #backticks around code?
Yury G. Kudryashov (May 18 2023 at 08:04):
What is the domain and codomain of f
?
Chenyi Li (May 18 2023 at 08:21):
Assume f is in , how to prove , or easily consider d=1?
Chenyi Li (May 18 2023 at 08:23):
The domain is , codomain is . f is a continuous differentiable function. i.e.
Yury G. Kudryashov (May 18 2023 at 08:37):
You should consider .
Yury G. Kudryashov (May 18 2023 at 08:39):
Then apply something like docs#interval_integral.integral_deriv_eq_sub (exact lemma may depend on how you write your assumptions in Lean).
Yury G. Kudryashov (May 18 2023 at 08:42):
You will need deriv (λ t : ℝ, f (x + t • (y - x))) t₀ = fderiv ℝ f (x + t₀ • (y - x)) (y - x)
. Either we have it somewhere near docs#deriv, or you can prove it using generic lemmas from that file.
Last updated: Dec 20 2023 at 11:08 UTC