Zulip Chat Archive
Stream: maths
Topic: about fderiv and the transformation of the types
Chenyi Li (Jun 02 2023 at 01:28):
Hi! If I want to express the fderiv of a continuous differentiable function , that is . I found the type of the fderiv at one point is as , which is in this case. If I want to do the inner product , where are points in . How can I accomplish this goal, or rather how can I transform the type of to a type the same as , then I can use has_inner.inner to accomplish the inner product? Thank you very much !
Notification Bot (Jun 02 2023 at 02:09):
This topic was moved here from #mathlib4 > about fderiv and the transformation of the types by Heather Macbeth.
Heather Macbeth (Jun 02 2023 at 02:10):
Hi @Chenyi Li, it sounds like you might implicitly be working with where is a finite-dimensional inner product space. Can you generalize to this situation?
Heather Macbeth (Jun 02 2023 at 02:24):
If you have , then the fderiv is of type , so it already typechecks to consider, for , the object . That object is a real number. And in fact, you're not even using an inner product on for this.
Chenyi Li (Jun 02 2023 at 07:05):
Let me have a try, thank you very much!
Last updated: Dec 20 2023 at 11:08 UTC