Zulip Chat Archive

Stream: lean4

Topic: about taking limitation in the proof of lean4


Chenyi Li (Jul 20 2023 at 09:30):

If I have a lemma claiming that for any h>0h>0, we have f(x)−f(x−h)h≤a\frac{f(x)-f(x-h)}{h} \leq a, and assuming that f(x)f(x) is derivative within an interval around x. How to show that f′(x)≤af'(x) \leq a. In the proof using natural language, we claim this is done by taking a limitation as h→0h \to 0. How can I do this in lean? Thanks very much for helping.


Last updated: Feb 28 2026 at 14:05 UTC