/-
Copyright (c) 2025 Michael Rothgang. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Michael Rothgang
-/
module
public import Mathlib.Analysis.Normed.Module.ContinuousInverse
public import Mathlib.Geometry.Manifold.LocalDiffeomorph
/-! # Immersions in the sense of differentials
Given a map `f : M → N` between manifolds, we say `f` is an immersion in the sense of differentials
at `x` if and only if the `mfderiv` of `f` at `x` *splits*, i.e. admits a continuous left inverse.
(If `N` is finite-dimensional, this is equivalent to injectivity of the `mfderiv`.)
Under (relatively mild) conditions, this is equivalent to being an immersion at `x`.
This is not true in full generality; there are counterexamples involving manifolds with boundary.
This equivalence will be shown in a future PR.
`IsDiffImmersionAt` always behaves nicely under composition: future PRs will use the above
equivalence to prove that immersions compose (in nice situations).
## Main definitions and results
* `IsDiffImmersionAt`: `f` is an immersion at `x` in the sense of differentials
iff `mfderiv I J f x` has a continuous left inverse
* `IsLocalDiffeomorphAt.isDiffImmersionAt`: if `f` is a local diffeomorphism at `x`, then `f` is an
immersion at `x` in the sense of differentials.
* `IsDiffImmersionAt.comp`: if `f` is an immersion at `x`, and `g` is an immersion at `f x`
(both in the sense of differentials), then `g ∘ f` is an immersion (of differentials) at `x`
* `IsDiffImmersionAt.of_comp`: if `g ∘ f` is an immersion at `x` (of differentials), then
(assuming `f` and `g` are differentiable at `x` resp. `f x`), `f` is also an immersion at `x`
* `IsDiffImmersionAt.prodMap`: if `f` is an immersion at `x` and `g` is an immersion at `y`,
then `f × g` is an immersion at `(x, y)` (all in the sense of differentials)
* `IsDiffImmersionAt.of_injective_of_finiteDimensional`: if `f : M → N` has injective `mfderiv` at
`x` and `N` is finite-dimensional, then `f` is an immersion at `x`
-/
open Function Topology
open scoped Manifold
public section
universe u
variable { : Type*} [NontriviallyNormedField ] {E F F' G : Type*} {E' : Type u}
[NormedAddCommGroup E] [NormedSpace E] [NormedAddCommGroup E'] [NormedSpace E']
[NormedAddCommGroup F] [NormedSpace F] [NormedAddCommGroup F'] [NormedSpace F']
[NormedAddCommGroup G] [NormedSpace G]
{H : Type*} [TopologicalSpace H] {H' : Type*} [TopologicalSpace H']
{G : Type*} [TopologicalSpace G] {G' : Type*} [TopologicalSpace G']
{I : ModelWithCorners E H} {I' : ModelWithCorners E' H'}
{J : ModelWithCorners F G} {J' : ModelWithCorners F G'}
{M : Type*} [TopologicalSpace M] [ChartedSpace H M]
{M' : Type*} [TopologicalSpace M'] [ChartedSpace H' M']
{N : Type*} [TopologicalSpace N] [ChartedSpace G N]
{N' : Type*} [TopologicalSpace N'] [ChartedSpace G' N']
variable (I I' f x) in
/-- We say a map `f : M → M` is an immersion at `x` in the sense of differentials
if `mfderiv I I' f x` splits, i.e. has a continuous left inverse.
In nice situations (but not always), this is equivalent to `IsImmersionAt`.
Please use `IsImmersionAt` in general. -/
def IsDiffImmersionAt (f : M → M') (x : M) : Prop := mfderiv% f x |>.HasLeftInverse
variable {n : WithTop ℕ∞} {f g : M → M'} {x : M}
lemma isDiffImmersionAt_iff : IsDiffImmersionAt I I' f x ↔ (mfderiv% f x).HasLeftInverse := by rfl
namespace IsDiffImmersionAt
lemma mfderiv_injective (hf : IsDiffImmersionAt I I' f x) : Injective (mfderiv% f x) :=
hf.injective
lemma mdifferentiableAt (hf : IsDiffImmersionAt I I' f x) : MDiffAt f x :=
mdifferentiableAt_of_mfderiv_injective hf.mfderiv_injective
lemma continuousAt (hf : IsDiffImmersionAt I I' f x) : ContinuousAt f x :=
hf.mdifferentiableAt.continuousAt
lemma congr (hf : IsDiffImmersionAt I I' f x) (hfg : g =ᶠ[ x] f) : IsDiffImmersionAt I I' g x := by
rwa [isDiffImmersionAt_iff, hfg.mfderiv_eq]
/-- If `f` is an immersion at `x` and `g` is an immersion at `y`, then `f × g` is an immersion at
`(x, y)` (all in the sense of differentials). -/
lemma prodMap {y : N} (hf : IsDiffImmersionAt I I' f x) {g : N → N'}
(hg : IsDiffImmersionAt J J' g y) :
IsDiffImmersionAt (I.prod J) (I'.prod J') (Prod.map f g) (x, y) := by
rw [isDiffImmersionAt_iff, mfderiv_prodMap hf.mdifferentiableAt hg.mdifferentiableAt]
rw [isDiffImmersionAt_iff] at hf hg
exact hf.prodMap hg
lemma of_mfderiv_isInvertible (hf : (mfderiv% f x).IsInvertible) : IsDiffImmersionAt I I' f x := by
rw [isDiffImmersionAt_iff]
exact ContinuousLinearMap.HasLeftInverse.of_isInvertible hf
/-- If `f` is a local diffeomorphism at `x`, then `f` is an immersion at `x`
(in the sense of differentials). -/
lemma _root_.IsLocalDiffeomorphAt.isDiffImmersionAt
(hf : IsLocalDiffeomorphAt I I' n f x) (hn : n ≠ 0) : IsDiffImmersionAt I I' f x :=
of_mfderiv_isInvertible (hf.isInvertible_mfderiv hn)
/-- A continuous linear equivalence is an immersion at every point
(in the sense of differentials). -/
lemma _root_.ContinuousLinearEquiv.isDiffImmersionAt (f : E ≃L[] F) {x : E} :
IsDiffImmersionAt (, E) (, F) f x :=
(f.toDiffeomorph.isLocalDiffeomorph _).isDiffImmersionAt (by simp)
/-- If `f` is an immersion at `x`, and `g` is an immersion at `f x` (both in the sense of
differentials), then `g ∘ f` is an immersion at `x`. -/
lemma comp {g : M' → N} (hg : IsDiffImmersionAt I' J g (f x)) (hf : IsDiffImmersionAt I I' f x) :
IsDiffImmersionAt I J (g ∘ f) x := by
rw [isDiffImmersionAt_iff, mfderiv_comp x hg.mdifferentiableAt hf.mdifferentiableAt]
rw [isDiffImmersionAt_iff] at hf hg
exact hg.comp hf
/-- If `g ∘ f` is an immersion at `x` (of differentials), then (assuming `f` and `g` are
differentiable at `x` resp. `f x`), `f` is also an immersion at `x`. -/
lemma of_comp {g : M' → N} (hf : MDiffAt f x) (hg : MDiffAt g (f x))
(hfg : IsDiffImmersionAt I J (g ∘ f) x) : IsDiffImmersionAt I I' f x := by
rw [isDiffImmersionAt_iff, mfderiv_comp x hg hf] at hfg
exact ContinuousLinearMap.HasLeftInverse.of_comp hfg
lemma comp_isInvertible_mfderiv_left (hf : IsDiffImmersionAt I I' f x)
{f₀ : N → M} {y : N} (hxy : f₀ y = x) (hf₀ : (mfderiv% f₀ y) |>.IsInvertible) :
IsDiffImmersionAt J I' (f ∘ f₀) y :=
(hxy ▸ hf).comp (.of_mfderiv_isInvertible hf₀)
lemma comp_isLocalDiffeomorphAt_left (hf : IsDiffImmersionAt I I' f x)
{f₀ : N → M} {y : N} (hxy : f₀ y = x) (hf₀ : IsLocalDiffeomorphAt J I n f₀ y) (hn : n ≠ 0) :
IsDiffImmersionAt J I' (f ∘ f₀) y :=
(hxy ▸ hf).comp (hf₀.isDiffImmersionAt hn)
lemma comp_isLocalDiffeomorphAt_left_iff {f₀ : N → M} {y : N} (hxy : f₀ y = x)
(hf₀ : IsLocalDiffeomorphAt J I n f₀ y) (hn : n ≠ 0) :
IsDiffImmersionAt I I' f x ↔ IsDiffImmersionAt J I' (f ∘ f₀) y := by
refine ⟨fun hf ↦ hf.comp_isLocalDiffeomorphAt_left hxy hf₀ hn,
fun h ↦ ?_⟩
have := (hxy ▸ hf₀.localInverse_left_inv hf₀.localInverse_mem_target)
apply (h.comp_isLocalDiffeomorphAt_left this
(hxy ▸ hf₀.localInverse_isLocalDiffeomorphAt) hn).congr
exact (hxy ▸ hf₀.localInverse_eventuallyEq_right.symm).fun_comp f
lemma comp_isInvertible_mfderiv_right (hf : IsDiffImmersionAt I I' f x)
{g : M' → N} (hg : (mfderiv% g (f x)).IsInvertible) :
IsDiffImmersionAt I J (g ∘ f) x :=
(IsDiffImmersionAt.of_mfderiv_isInvertible hg).comp hf
lemma comp_isLocalDiffeomorphAt_right (hf : IsDiffImmersionAt I I' f x)
{g : M' → N} (hg : IsLocalDiffeomorphAt I' J n g (f x)) (hn : n ≠ 0) :
IsDiffImmersionAt I J (g ∘ f) x :=
(hg.isDiffImmersionAt hn).comp hf
lemma comp_isLocalDiffeomorphAt_right_iff (hf : ContinuousAt f x)
{g : M' → N} (hg : IsLocalDiffeomorphAt I' J n g (f x)) (hn : n ≠ 0) :
IsDiffImmersionAt I I' f x ↔ IsDiffImmersionAt I J (g ∘ f) x := by
refine ⟨fun hf ↦ hf.comp_isLocalDiffeomorphAt_right hg hn, fun h ↦ ?_⟩
apply (h.comp_isLocalDiffeomorphAt_right hg.localInverse_isLocalDiffeomorphAt hn).congr
symm
exact Filter.eventuallyEq_of_mem (hf hg.localInverse_eventuallyEq_left) (by intro; simp)
/-- If `mfderiv I J f x` is injective and `N` is finite-dimensional, then `f` is an immersion
(in the sense of differentials) at `x`. -/
lemma of_injective_of_finiteDimensional [CompleteSpace ] [FiniteDimensional E']
(hf' : Injective (mfderiv% f x)) : IsDiffImmersionAt I I' f x :=
ContinuousLinearMap.HasLeftInverse.of_injective_of_finiteDimensional hf'
end IsDiffImmersionAt
end
¤ Dauer der Verarbeitung: 0.6 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*Bot Zugriff