The areas / V13. General topology
Mathlib.Topology.ContinuousMap.Defs
33 declarations and 3 deprecated aliases. Mathlib docs · Source
Continuous bundled maps
In this file we define the type ContinuousMap of continuous bundled maps.
We use the DFunLike design, so each type of morphisms has a companion typeclass
which is meant to be satisfied by itself and all stricter types.
Continuous maps
theorem ContinuousMap.mk.injEq E0 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (toFun : X → Y)
(continuous_toFun : autoParam (Continuous toFun) ContinuousMap.continuous_toFun._autoParam) (toFun_1 : X → Y)
(continuous_toFun_1 : autoParam (Continuous toFun_1) ContinuousMap.continuous_toFun._autoParam),
({ toFun := toFun, continuous_toFun := continuous_toFun } =
{ toFun := toFun_1, continuous_toFun := continuous_toFun_1 }) =
(toFun = toFun_1)
def ContinuousMap.ctorIdx E1 #
{X : Type u_1} → {Y : Type u_2} → {inst : TopologicalSpace X} → {inst_1 : TopologicalSpace Y} → C(X, Y) → ℕ
theorem ContinuousMap.mk.inj E1 #
∀ {X : Type u_1} {Y : Type u_2} {inst : TopologicalSpace X} {inst_1 : TopologicalSpace Y} {toFun : X → Y}
{continuous_toFun : autoParam (Continuous toFun) ContinuousMap.continuous_toFun._autoParam} {toFun_1 : X → Y}
{continuous_toFun_1 : autoParam (Continuous toFun_1) ContinuousMap.continuous_toFun._autoParam},
{ toFun := toFun, continuous_toFun := continuous_toFun } =
{ toFun := toFun_1, continuous_toFun := continuous_toFun_1 } →
toFun = toFun_1
structure ContinuousMap E3 #
(X : Type u_1) → (Y : Type u_2) → [TopologicalSpace X] → [TopologicalSpace Y] → Type (max u_1 u_2)
The type of continuous maps from X to Y.
When possible, instead of parametrizing results over (f : C(X, Y)),
you should parametrize over {F : Type*} [ContinuousMapClass F X Y] (f : F).
When you extend this structure, make sure to extend ContinuousMapClass.
ctor ContinuousMap.mk E0 #
{X : Type u_1} →
{Y : Type u_2} →
[inst : TopologicalSpace X] →
[inst_1 : TopologicalSpace Y] →
(toFun : X → Y) → autoParam (Continuous toFun) ContinuousMap.continuous_toFun._autoParam → C(X, Y)
abbrev ContinuousMap.toFun E1 #
{X : Type u_1} → {Y : Type u_2} → [inst : TopologicalSpace X] → [inst_1 : TopologicalSpace Y] → C(X, Y) → X → Y
The function X → Y
theorem ContinuousMap.continuous_toFun E0 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (self : C(X, Y)),
Continuous self.toFun
Proposition that toFun is continuous
def «termC(_,_)» E1 #
Lean.ParserDescr
C(X, Y) is the type of continuous maps from X to Y.
class ContinuousMapClass E1 #
(F : Type u_1) →
(X : outParam (Type u_2)) →
(Y : outParam (Type u_3)) → [TopologicalSpace X] → [TopologicalSpace Y] → [FunLike F X Y] → Prop
ContinuousMapClass F X Y states that F is a type of continuous maps.
You should extend this class when you extend ContinuousMap.
ctor ContinuousMapClass.mk E0 #
∀ {F : Type u_1} {X : outParam (Type u_2)} {Y : outParam (Type u_3)} [inst : TopologicalSpace X]
[inst_1 : TopologicalSpace Y] [inst_2 : FunLike F X Y], (∀ (f : F), Continuous ⇑f) → ContinuousMapClass F X Y
theorem ContinuousMapClass.map_continuous E0 #
∀ {F : Type u_1} {X : outParam (Type u_2)} {Y : outParam (Type u_3)} {inst : TopologicalSpace X}
{inst_1 : TopologicalSpace Y} {inst_2 : FunLike F X Y} [self : ContinuousMapClass F X Y] (f : F), Continuous ⇑f
Continuity
def ContinuousMap.ofClass E1 #
{F : Type u_1} →
{X : Type u_2} →
{Y : Type u_3} →
[inst : TopologicalSpace X] →
[inst_1 : TopologicalSpace Y] → [inst_2 : FunLike F X Y] → [ContinuousMapClass F X Y] → F → C(X, Y)
Coerce a bundled morphism with a ContinuousMapClass instance to a ContinuousMap.
instance instCoeTCContinuousMap E0 #
{F : Type u_1} →
{X : Type u_2} →
{Y : Type u_3} →
[inst : TopologicalSpace X] →
[inst_1 : TopologicalSpace Y] → [inst_2 : FunLike F X Y] → [ContinuousMapClass F X Y] → CoeTC F C(X, Y)
instance ContinuousMap.instFunLike E0 #
{X : Type u_1} → {Y : Type u_2} → [inst : TopologicalSpace X] → [inst_1 : TopologicalSpace Y] → FunLike C(X, Y) X Y
instance ContinuousMap.instContinuousMapClass E0 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y],
ContinuousMapClass C(X, Y) X Y
theorem ContinuousMap.toFun_eq_coe E0 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f : C(X, Y)}, f.toFun = ⇑f
instance ContinuousMap.instCanLiftForallCoeContinuous E0 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y],
CanLift (X → Y) C(X, Y) DFunLike.coe Continuous
def ContinuousMap.Simps.apply E1 #
{X : Type u_1} → {Y : Type u_2} → [inst : TopologicalSpace X] → [inst_1 : TopologicalSpace Y] → C(X, Y) → X → Y
See note [custom simps projection].
theorem ContinuousMap.coe_ofClass E0 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {F : Type u_3}
[inst_2 : FunLike F X Y] [inst_3 : ContinuousMapClass F X Y] (f : F), ⇑↑f = ⇑f
theorem ContinuousMap.coe_apply E0 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {F : Type u_3}
[inst_2 : FunLike F X Y] [inst_3 : ContinuousMapClass F X Y] (f : F) (x : X), ↑f x = f x
theorem ContinuousMap.injective_ofClass E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {F : Type u_3}
[inst_2 : FunLike F X Y] [inst_3 : ContinuousMapClass F X Y], Function.Injective ContinuousMap.ofClass
Coercion to a ContinuousMap is injective.
The unprimed version ContinuousMap.coe_injective
is used for the coercion from C(X, Y) to X → Y.
theorem ContinuousMap.ext_iff E0 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f g : C(X, Y)},
f = g ↔ ∀ (a : X), f a = g a
theorem ContinuousMap.ext E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f g : C(X, Y)},
(∀ (a : X), f a = g a) → f = g
def ContinuousMap.copy E1 #
{X : Type u_1} →
{Y : Type u_2} →
[inst : TopologicalSpace X] → [inst_1 : TopologicalSpace Y] → (f : C(X, Y)) → (f' : X → Y) → f' = ⇑f → C(X, Y)
Copy of a ContinuousMap with a new toFun equal to the old one. Useful to fix definitional
equalities.
theorem ContinuousMap.coe_copy E0 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (f : C(X, Y)) (f' : X → Y)
(h : f' = ⇑f), ⇑(f.copy f' h) = f'
theorem ContinuousMap.copy_eq E0 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (f : C(X, Y)) (f' : X → Y)
(h : f' = ⇑f), f.copy f' h = f
theorem ContinuousMap.continuous E2 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (f : C(X, Y)), Continuous ⇑f
Deprecated. Use map_continuous instead.
theorem ContinuousMap.congr_fun E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] {f g : C(X, Y)},
f = g → ∀ (x : X), f x = g x
Deprecated. Use DFunLike.congr_fun instead.
theorem ContinuousMap.congr_arg E1 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (f : C(X, Y)) {x y : X},
x = y → f x = f y
Deprecated. Use DFunLike.congr_arg instead.
theorem ContinuousMap.coe_injective E0 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y],
Function.Injective DFunLike.coe
theorem ContinuousMap.coe_mk E0 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] (f : X → Y)
(h : Continuous f), ⇑{ toFun := f, continuous_toFun := h } = f
instance ContinuousMap.instSubsingleton E0 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [Subsingleton Y],
Subsingleton C(X, Y)
instance ContinuousMap.instSubsingletonOfIsEmpty E0 #
∀ {X : Type u_1} {Y : Type u_2} [inst : TopologicalSpace X] [inst_1 : TopologicalSpace Y] [IsEmpty X],
Subsingleton C(X, Y)
Deprecated aliases
| Name | New name | Since |
|---|---|---|
ContinuousMap.coe_coe | ContinuousMap.coe_ofClass | 2026-10-15 |
ContinuousMap.coe_injective' | ContinuousMap.injective_ofClass | 2026-10-15 |
toContinuousMap | ContinuousMap.ofClass | 2026-10-14 |