Analysis I, Section 10.2: Local maxima, local minima, and derivatives #
I have attempted to make the translation as faithful a paraphrasing as possible of the original text. When there is a choice between a more idiomatic Lean solution and a more faithful translation, I have generally chosen the latter. In particular, there will be places where the Lean code could be "golfed" to be more elegant and idiomatic, but I have consciously avoided doing so.
Main constructions and results of this section:
- Relation between local extrema and derivatives.
- Rolle's theorem.
- mean value theorem.
Definition 10.2.1 (Local maxima and minima). Here we use Mathlib's IsLocalMaxOn type.
Remark 10.2.5
Proposition 10.2.6 (Local extrema are stationary) / Exercise 10.2.1
Proposition 10.2.6 (Local extrema are stationary) / Exercise 10.2.1
Theorem 10.2.7 (Rolle's theorem) / Exercise 10.2.4
Corollary 10.2.9 (Mean value theorem ) / Exercise 10.2.5
Exercise 10.2.6
Exercise 10.2.7