Zulip Chat Archive

Stream: new members

Topic: Representing n-times differentiable fn in theorem statement


Anika-Roy (Jan 21 2025 at 15:35):

img.png
Hello!
I'm a beginner in lean and trying to formalize this theorem statement, using mathlib4. I'm confused about how to go about defining a function that is n-times differentiable. Could anyone help me out?

I apologize if this should be asked on another channel, please redirect me to the same!

Tomas Skrivan (Jan 21 2025 at 15:58):

I think you are looking for docs#ContDiff

Tomas Skrivan (Jan 21 2025 at 15:59):

It also assumes that n-th derivative is also continuous.

Ruben Van de Velde (Jan 21 2025 at 16:00):

So maybe ContDiff (n-1)?

Sébastien Gouëzel (Jan 21 2025 at 16:01):

I'd say first try to prove your lemma assuming ContDiff n, and only then consider generalizing if you really need the stronger result where the function is just C^{n-1} with differentiable (n-1)-th derivative.

Anika-Roy (Jan 24 2025 at 19:13):

That was very helpful, thank you to all!
I'll definitely try again myself :+1:


Last updated: May 02 2025 at 03:31 UTC