Analysis I, Section 9.8: Monotonic functions #
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:
- Review of Mathlib monotonicity concepts.
Definition 9.8.1
theorem Chapter9.MonotoneOn.exist_inverse {a b : ℝ} (h : a < b) (f : ℝ → ℝ) (hcont : ContinuousOn f (Set.Icc a b)) (hmono : StrictMonoOn f (Set.Icc a b)) :
Proposition 9.8.3 / Exercise 9.8.4
theorem Chapter9.mono_of_continuous_inj {a b : ℝ} (h : a < b) {f : ℝ → ℝ} (hf : ContinuousOn f (Set.Icc a b)) (hinj : Function.Injective fun (x : ↑(Set.Icc a b)) => f ↑x) :
Exercise 9.8.3
def Chapter9.MonotoneOn.exist_inverse_without_continuity :
Decidable
(∀ (a b : ℝ),
a < b →
∀ (f : ℝ → ℝ),
StrictMonoOn f (Set.Icc a b) →
f '' Set.Icc a b = Set.Icc (f a) (f b) ∧ ∃ (finv : ℝ → ℝ),
ContinuousOn finv (Set.Icc (f a) (f b)) ∧ StrictMonoOn finv (Set.Icc (f a) (f b)) ∧ finv '' Set.Icc (f a) (f b) = Set.Icc a b ∧ (∀ x ∈ Set.Icc a b, finv (f x) = x) ∧ ∀ y ∈ Set.Icc (f a) (f b), f (finv y) = y)
Exercise 9.8.4 (without continuity)
Equations
Instances For
def Chapter9.MonotoneOn.exist_inverse_without_strictmono :
Decidable
(∀ (a b : ℝ),
a < b →
∀ (f : ℝ → ℝ),
ContinuousOn f (Set.Icc a b) →
MonotoneOn f (Set.Icc a b) →
f '' Set.Icc a b = Set.Icc (f a) (f b) ∧ ∃ (finv : ℝ → ℝ),
ContinuousOn finv (Set.Icc (f a) (f b)) ∧ StrictMonoOn finv (Set.Icc (f a) (f b)) ∧ finv '' Set.Icc (f a) (f b) = Set.Icc a b ∧ (∀ x ∈ Set.Icc a b, finv (f x) = x) ∧ ∀ y ∈ Set.Icc (f a) (f b), f (finv y) = y)
Exercise 9.8.4 (without strict monotonicity)
Equations
Instances For
@[reducible, inline]
An equivalence between the natural numbers and the rationals.
Equations
Instances For
@[reducible, inline]
Instances For
Exercise 9.8.5(c)