The areas / V17. Differential calculus in normed spaces
Mathlib.Analysis.Calculus.InverseFunctionTheorem.FDeriv
21 declarations. Mathlib docs · Source
Inverse function theorem
In this file we prove the inverse function theorem. It says that if a map f : E → F
has an invertible strict derivative f' at a, then it is locally invertible,
and the inverse function has derivative f' ⁻¹.
We define HasStrictFDerivAt.toOpenPartialHomeomorph that repacks a function f
with a hf : HasStrictFDerivAt f f' a, f' : E ≃L[𝕜] F, into an OpenPartialHomeomorph.
The toFun of this OpenPartialHomeomorph is defeq to f, so one can apply theorems
about OpenPartialHomeomorph to hf.toOpenPartialHomeomorph f, and get statements about f.
Then we define HasStrictFDerivAt.localInverse to be the invFun of this OpenPartialHomeomorph,
and prove two versions of the inverse function theorem:
-
HasStrictFDerivAt.to_localInverse: iffhas an invertible derivativef'atain the strict sense (hf), thenhf.localInverse f f' ahas derivativef'.symmatf ain the strict sense; -
HasStrictFDerivAt.to_local_left_inverse: iffhas an invertible derivativef'atain the strict sense andgis locally left inverse tofneara, thenghas derivativef'.symmatf ain the strict sense.
Some related theorems, providing the derivative and higher regularity assuming that we already know
the inverse function, are formulated in the Analysis/Calculus/FDeriv and Analysis/Calculus/Deriv
folders, and in ContDiff.lean.
Tags
derivative, strictly differentiable, continuously differentiable, smooth, inverse function
Inverse function theorem
Let f : E → F be a map defined on a complete vector
space E. Assume that f has an invertible derivative f' : E ≃L[𝕜] F at a : E in the strict
sense. Then f approximates f' in the sense of ApproximatesLinearOn on an open neighborhood
of a, and we can apply ApproximatesLinearOn.toOpenPartialHomeomorph to construct the inverse
function.
theorem HasStrictFDerivAt.localInverse.congr_simp E1 #
∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] {F : Type u_3} [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] (f f_1 : E → F)
(e_f : f = f_1) (f' f'_1 : E ≃L[𝕜] F) (e_f' : f' = f'_1) (a a_1 : E) (e_a : a = a_1) [inst_5 : CompleteSpace E]
(hf : HasStrictFDerivAt f (↑f') a) (a_2 a_3 : F),
a_2 = a_3 → HasStrictFDerivAt.localInverse f f' a hf a_2 = HasStrictFDerivAt.localInverse f_1 f'_1 a_1 ⋯ a_3
theorem HasStrictFDerivAt.toOpenPartialHomeomorph.congr_simp E1 #
∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] {F : Type u_3} [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] (f f_1 : E → F)
(e_f : f = f_1) {f' f'_1 : E ≃L[𝕜] F} (e_f' : f' = f'_1) {a a_1 : E} (e_a : a = a_1) [inst_5 : CompleteSpace E]
(hf : HasStrictFDerivAt f (↑f') a),
HasStrictFDerivAt.toOpenPartialHomeomorph f hf = HasStrictFDerivAt.toOpenPartialHomeomorph f_1 ⋯
theorem HasStrictFDerivAt.approximates_deriv_on_nhds E1 #
∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] {F : Type u_3} [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {f : E → F}
{f' : E →L[𝕜] F} {a : E},
HasStrictFDerivAt f f' a → ∀ {c : NNReal}, Subsingleton E ∨ 0 < c → ∃ s ∈ nhds a, ApproximatesLinearOn f f' s c
If f has derivative f' at a in the strict sense and c > 0, then f approximates f'
with constant c on some neighborhood of a.
theorem HasStrictFDerivAt.map_nhds_eq_of_surj E0 #
∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] {F : Type u_3} [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] [CompleteSpace E]
[CompleteSpace F] {f : E → F} {f' : E →L[𝕜] F} {a : E},
HasStrictFDerivAt f f' a → (↑f').range = ⊤ → Filter.map f (nhds a) = nhds (f a)
theorem HasStrictFDerivAt.approximates_deriv_on_open_nhds E1 #
∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] {F : Type u_3} [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {f : E → F}
{f' : E ≃L[𝕜] F} {a : E},
HasStrictFDerivAt f (↑f') a → ∃ s, a ∈ s ∧ IsOpen s ∧ ApproximatesLinearOn f (↑f') s (‖↑f'.symm‖₊⁻¹ / 2)
def HasStrictFDerivAt.toOpenPartialHomeomorph E1 #
{𝕜 : Type u_1} →
[inst : NontriviallyNormedField 𝕜] →
{E : Type u_2} →
[inst_1 : NormedAddCommGroup E] →
[inst_2 : NormedSpace 𝕜 E] →
{F : Type u_3} →
[inst_3 : NormedAddCommGroup F] →
[inst_4 : NormedSpace 𝕜 F] →
(f : E → F) →
{f' : E ≃L[𝕜] F} →
{a : E} → [CompleteSpace E] → HasStrictFDerivAt f (↑f') a → OpenPartialHomeomorph E F
Given a function with an invertible strict derivative at a, returns an OpenPartialHomeomorph
with to_fun = f and a ∈ source. This is a part of the inverse function theorem.
The other part HasStrictFDerivAt.to_localInverse states that the inverse function
of this OpenPartialHomeomorph has derivative f'.symm.
theorem HasStrictFDerivAt.toOpenPartialHomeomorph_coe E0 #
∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] {F : Type u_3} [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {f : E → F}
{f' : E ≃L[𝕜] F} {a : E} [inst_5 : CompleteSpace E] (hf : HasStrictFDerivAt f (↑f') a),
↑(HasStrictFDerivAt.toOpenPartialHomeomorph f hf) = f
theorem HasStrictFDerivAt.mem_toOpenPartialHomeomorph_source E0 #
∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] {F : Type u_3} [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {f : E → F}
{f' : E ≃L[𝕜] F} {a : E} [inst_5 : CompleteSpace E] (hf : HasStrictFDerivAt f (↑f') a),
a ∈ (HasStrictFDerivAt.toOpenPartialHomeomorph f hf).source
theorem HasStrictFDerivAt.image_mem_toOpenPartialHomeomorph_target E1 #
∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] {F : Type u_3} [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {f : E → F}
{f' : E ≃L[𝕜] F} {a : E} [inst_5 : CompleteSpace E] (hf : HasStrictFDerivAt f (↑f') a),
f a ∈ (HasStrictFDerivAt.toOpenPartialHomeomorph f hf).target
theorem HasStrictFDerivAt.map_nhds_eq_of_equiv E0 #
∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] {F : Type u_3} [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {f : E → F}
{f' : E ≃L[𝕜] F} {a : E} [CompleteSpace E], HasStrictFDerivAt f (↑f') a → Filter.map f (nhds a) = nhds (f a)
def HasStrictFDerivAt.localInverse E1 #
{𝕜 : Type u_1} →
[inst : NontriviallyNormedField 𝕜] →
{E : Type u_2} →
[inst_1 : NormedAddCommGroup E] →
[inst_2 : NormedSpace 𝕜 E] →
{F : Type u_3} →
[inst_3 : NormedAddCommGroup F] →
[inst_4 : NormedSpace 𝕜 F] →
(f : E → F) → (f' : E ≃L[𝕜] F) → (a : E) → [CompleteSpace E] → HasStrictFDerivAt f (↑f') a → F → E
Given a function f with an invertible derivative, returns a function that is locally inverse
to f.
theorem HasStrictFDerivAt.localInverse_def E0 #
∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] {F : Type u_3} [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {f : E → F}
{f' : E ≃L[𝕜] F} {a : E} [inst_5 : CompleteSpace E] (hf : HasStrictFDerivAt f (↑f') a),
HasStrictFDerivAt.localInverse f f' a hf = ↑(HasStrictFDerivAt.toOpenPartialHomeomorph f hf).symm
theorem HasStrictFDerivAt.eventually_left_inverse E1 #
∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] {F : Type u_3} [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {f : E → F}
{f' : E ≃L[𝕜] F} {a : E} [inst_5 : CompleteSpace E] (hf : HasStrictFDerivAt f (↑f') a),
∀ᶠ (x : E) in nhds a, HasStrictFDerivAt.localInverse f f' a hf (f x) = x
theorem HasStrictFDerivAt.localInverse_apply_image E0 #
∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] {F : Type u_3} [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {f : E → F}
{f' : E ≃L[𝕜] F} {a : E} [inst_5 : CompleteSpace E] (hf : HasStrictFDerivAt f (↑f') a),
HasStrictFDerivAt.localInverse f f' a hf (f a) = a
theorem HasStrictFDerivAt.eventually_right_inverse E1 #
∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] {F : Type u_3} [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {f : E → F}
{f' : E ≃L[𝕜] F} {a : E} [inst_5 : CompleteSpace E] (hf : HasStrictFDerivAt f (↑f') a),
∀ᶠ (y : F) in nhds (f a), f (HasStrictFDerivAt.localInverse f f' a hf y) = y
theorem HasStrictFDerivAt.localInverse_continuousAt E1 #
∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] {F : Type u_3} [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {f : E → F}
{f' : E ≃L[𝕜] F} {a : E} [inst_5 : CompleteSpace E] (hf : HasStrictFDerivAt f (↑f') a),
ContinuousAt (HasStrictFDerivAt.localInverse f f' a hf) (f a)
theorem HasStrictFDerivAt.localInverse_tendsto E1 #
∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] {F : Type u_3} [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {f : E → F}
{f' : E ≃L[𝕜] F} {a : E} [inst_5 : CompleteSpace E] (hf : HasStrictFDerivAt f (↑f') a),
Filter.Tendsto (HasStrictFDerivAt.localInverse f f' a hf) (nhds (f a)) (nhds a)
theorem HasStrictFDerivAt.localInverse_unique E1 #
∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] {F : Type u_3} [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {f : E → F}
{f' : E ≃L[𝕜] F} {a : E} [inst_5 : CompleteSpace E] (hf : HasStrictFDerivAt f (↑f') a) {g : F → E},
(∀ᶠ (x : E) in nhds a, g (f x) = x) → ∀ᶠ (y : F) in nhds (f a), g y = HasStrictFDerivAt.localInverse f f' a hf y
theorem HasStrictFDerivAt.to_localInverse E3 #
∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] {F : Type u_3} [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {f : E → F}
{f' : E ≃L[𝕜] F} {a : E} [inst_5 : CompleteSpace E] (hf : HasStrictFDerivAt f (↑f') a),
HasStrictFDerivAt (HasStrictFDerivAt.localInverse f f' a hf) (↑f'.symm) (f a)
If f has an invertible derivative f' at a in the sense of strict differentiability (hf),
then the inverse function hf.localInverse f has derivative f'.symm at f a.
theorem HasStrictFDerivAt.to_local_left_inverse E1 #
∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] {F : Type u_3} [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] {f : E → F}
{f' : E ≃L[𝕜] F} {a : E} [CompleteSpace E],
HasStrictFDerivAt f (↑f') a →
∀ {g : F → E}, (∀ᶠ (x : E) in nhds a, g (f x) = x) → HasStrictFDerivAt g (↑f'.symm) (f a)
If f : E → F has an invertible derivative f' at a in the sense of strict differentiability
and g (f x) = x in a neighborhood of a, then g has derivative f'.symm at f a.
For a version assuming f (g y) = y and continuity of g at f a but not [CompleteSpace E]
see of_local_left_inverse.
theorem isOpenMap_of_hasStrictFDerivAt_equiv E1 #
∀ {𝕜 : Type u_1} [inst : NontriviallyNormedField 𝕜] {E : Type u_2} [inst_1 : NormedAddCommGroup E]
[inst_2 : NormedSpace 𝕜 E] {F : Type u_3} [inst_3 : NormedAddCommGroup F] [inst_4 : NormedSpace 𝕜 F] [CompleteSpace E]
{f : E → F} {f' : E → E ≃L[𝕜] F}, (∀ (x : E), HasStrictFDerivAt f (↑(f' x)) x) → IsOpenMap f
If a function has an invertible strict derivative at all points, then it is an open map.