/-
Copyright (c) 2025 Winston Yin. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Winston Yin
-/
module
public import Mathlib.Analysis.Calculus.ImplicitFunction.ProdDomain
public import Mathlib.Analysis.Calculus.InverseFunctionTheorem.ContDiff
/-!
# Implicit function theorem
In this file, we apply the generalised implicit function theorem to the more familiar case and show
that the implicit function preserves the smoothness class of the implicit equation.
Let `E₁`, `E₂`, and `F` be real or complex Banach spaces. Let `f : E₁ × E₂ → F` be a function that
is $C^n$ at a point `(u₁, u₂) : E₁ × E₂`, where `n ≥ 1`. Let `f'` be the derivative of `f` at
`(u₁, u₂)`. If the map `y ↦ f' (0, y)` is a Banach space isomorphism, then there exists a function
`ψ : E₁ → E₂` such that `ψ u₁ = u₂`, and `f (x, ψ x) = f (u₁, u₂)` holds for all `x` in a
neighbourhood of `u₁`. Furthermore, `ψ` is $C^n$ at `u₁`.
## Tags
implicit function, inverse function
-/
public section
variable { : Type*} [RCLike ]
{E₁ : Type*} [NormedAddCommGroup E₁] [NormedSpace E₁] [CompleteSpace E₁]
{E₂ : Type*} [NormedAddCommGroup E₂] [NormedSpace E₂] [CompleteSpace E₂]
{F : Type*} [NormedAddCommGroup F] [NormedSpace F] [CompleteSpace F]
open scoped Topology ContDiff
namespace ImplicitFunctionData
/-- The implicit function defined by a $C^n$ implicit equation is $C^n$. This applies to the general
form of the implicit function theorem. -/
theorem contDiffAt_implicitFunction {φ : ImplicitFunctionData E₁ E₂ F} {n : ℕ∞ω}
(hl : ContDiffAt n φ.leftFun φ.pt) (hr : ContDiffAt n φ.rightFun φ.pt) (pn : n ≠ 0) :
ContDiffAt n φ.implicitFunction.uncurry (φ.prodFun φ.pt) := by
rw [implicitFunction_def, Function.uncurry_curry, ← HasStrictFDerivAt.localInverse_def]
refine ContDiffAt.to_localInverse ?_ (φ.hasStrictFDerivAt.hasFDerivAt) pn
convert! hl.prodMk hr <;> simp
end ImplicitFunctionData
namespace ContDiffAt
variable {u : E₁ × E₂} {f : E₁ × E₂ → F} {n : ℕ∞ω}
/-- Implicit function `ψ` defined by `f (x, ψ x) = f u`. -/
noncomputable def implicitFunction
(cdf : ContDiffAt n f u) (pn : n ≠ 0) (if₂ : (fderiv f u ∘L .inr E₁ E₂).IsInvertible) :
E₁ → E₂ :=
(cdf.hasStrictFDerivAt_fderiv pn).implicitFunctionOfProdDomain if₂
theorem implicitFunction_def
(cdf : ContDiffAt n f u) (pn : n ≠ 0) (if₂ : (fderiv f u ∘L .inr E₁ E₂).IsInvertible) :
cdf.implicitFunction pn if₂ =
(cdf.hasStrictFDerivAt_fderiv pn).implicitFunctionOfProdDomain if₂ := by
rfl
/-- At the base point `u.1`, the implicit function evaluates to `u.2`. -/
theorem implicitFunction_apply_self
(cdf : ContDiffAt n f u) (pn : n ≠ 0) (if₂ : (fderiv f u ∘L .inr E₁ E₂).IsInvertible) :
cdf.implicitFunction pn if₂ u.1 = u.2 :=
eq_of_tendsto_nhds ((cdf.hasStrictFDerivAt_fderiv pn).tendsto_implicitFunctionOfProdDomain if₂)
/-- `implicitFunction` is indeed the (local) implicit function defined by `f`. -/
theorem eventually_apply_implicitFunction
(cdf : ContDiffAt n f u) (pn : n ≠ 0) (if₂ : (fderiv f u ∘L .inr E₁ E₂).IsInvertible) :
∀ᶠ x in u.1, f (x, cdf.implicitFunction pn if₂ x) = f u :=
(cdf.hasStrictFDerivAt_fderiv pn).eventually_apply_implicitFunctionOfProdDomain if₂
theorem eventually_apply_eq_iff_implicitFunction
(cdf : ContDiffAt n f u) (pn : n ≠ 0) (if₂ : (fderiv f u ∘L .inr E₁ E₂).IsInvertible) :
∀ᶠ v in u, f v = f u ↔ cdf.implicitFunction pn if₂ v.1 = v.2 :=
(cdf.hasStrictFDerivAt_fderiv pn).eventually_apply_eq_iff_implicitFunctionOfProdDomain if₂
theorem hasStrictFDerivAt_implicitFunction
(cdf : ContDiffAt n f u) (pn : n ≠ 0) (if₂ : (fderiv f u ∘L .inr E₁ E₂).IsInvertible) :
HasStrictFDerivAt (cdf.implicitFunction pn if₂)
(-(fderiv f u ∘L .inr E₁ E₂).inverse ∘L (fderiv f u ∘L .inl E₁ E₂)) u.1 :=
(cdf.hasStrictFDerivAt_fderiv pn).hasStrictFDerivAt_implicitFunctionOfProdDomain if₂
/-- If the implicit equation `f` is $C^n$ at `(u₁, u₂)`, then its implicit function `ψ` around `u₁`
is also $C^n$ at `u₁`. -/
theorem contDiffAt_implicitFunction
(cdf : ContDiffAt n f u) (pn : n ≠ 0) (if₂ : (fderiv f u ∘L .inr E₁ E₂).IsInvertible) :
ContDiffAt n (cdf.implicitFunction pn if₂) u.1 := by
rw [ContDiffAt.implicitFunction_def, HasStrictFDerivAt.implicitFunctionOfProdDomain_def]
set φ := (cdf.hasStrictFDerivAt_fderiv pn).implicitFunctionDataOfProdDomain if₂
have : ContDiffAt n φ.implicitFunction.uncurry (f u, u.1) := by
simpa [φ] using φ.contDiffAt_implicitFunction
(by simpa [φ] using cdf) (by simpa [φ] using contDiffAt_fst) pn
fun_prop
end ContDiffAt
end
¤ Dauer der Verarbeitung: 0.381 Sekunden
¤
*Bot Zugriff