/-
Copyright (c) 2024 Yury Kudryashov. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Yury Kudryashov
-/
module
public import Mathlib.Topology.Constructions
set_option doc.verso true
set_option doc.verso.suggestions false
/-!
# Bundled morphisms with continuous evaluation at a point
In this file we define a typeclass
saying that `F` is a type of bundled morphisms (in the sense of `DFunLike`)
with a topology on `F` such that evaluation at a point is continuous in `f : F`.
## Implementation Notes
For now, we define the typeclass for non-dependent bundled functions only.
Whenever we add a type of bundled dependent functions with a topology having this property,
we may decide to generalize from `FunLike` to `DFunLike`.
-/
public section
open scoped Topology
open Filter
/-- A typeclass saying that `F` is a type of bundled morphisms (in the sense of `DFunLike`)
with a topology on `F` such that evaluation at a point is continuous in `f : F`. -/
class ContinuousEvalConst (F : Type*) (α X : outParam Type*) [FunLike F α X]
[TopologicalSpace F] [TopologicalSpace X] : Prop where
continuous_eval_const (x : α) : Continuous fun f : F ↦ f x
export ContinuousEvalConst (continuous_eval_const)
section ContinuousEvalConst
variable {F α X Z : Type*} [FunLike F α X] [TopologicalSpace F] [TopologicalSpace X]
[ContinuousEvalConst F α X] [TopologicalSpace Z] {f : Z → F} {s : Set Z} {z : Z}
/-- If a type `F'` of bundled morphisms admits a continuous projection
to a type satisfying `ContinuousEvalConst`,
then `F'` satisfies this predicate too.
The word "forget" in the name is motivated by the term "forgetful functor". -/
theorem ContinuousEvalConst.of_continuous_forget {F' : Type*} [FunLike F' α X] [TopologicalSpace F']
{f : F' → F} (hc : Continuous f) (hf : ∀ g, ⇑(f g) = g := by intro; rfl) :
ContinuousEvalConst F' α X where
continuous_eval_const x := by simpa only [← hf] using! (continuous_eval_const x).comp hc
@[continuity, fun_prop]
protected theorem Continuous.eval_const (hf : Continuous f) (x : α) : Continuous (f · x) :=
(continuous_eval_const x).comp hf
theorem continuous_coeFun : Continuous (DFunLike.coe : F → α → X) :=
continuous_pi continuous_eval_const
protected theorem Continuous.coeFun (hf : Continuous f) : Continuous fun z ↦ ⇑(f z) :=
continuous_pi hf.eval_const
protected theorem Filter.Tendsto.eval_const {ι : Type*} {l : Filter ι} {f : ι → F} {g : F}
(hf : Tendsto f l ( g)) (a : α) : Tendsto (f · a) l ( (g a)) :=
((continuous_id.eval_const a).tendsto _).comp hf
protected theorem Filter.Tendsto.coeFun {ι : Type*} {l : Filter ι} {f : ι → F} {g : F}
(hf : Tendsto f l ( g)) : Tendsto (fun i ↦ ⇑(f i)) l ( ⇑g) :=
(continuous_id.coeFun.tendsto _).comp hf
protected nonrec theorem ContinuousAt.eval_const (hf : ContinuousAt f z) (x : α) :
ContinuousAt (f · x) z :=
hf.eval_const x
protected nonrec theorem ContinuousAt.coeFun (hf : ContinuousAt f z) :
ContinuousAt (fun z ↦ ⇑(f z)) z :=
hf.coeFun
protected nonrec theorem ContinuousWithinAt.eval_const (hf : ContinuousWithinAt f s z) (x : α) :
ContinuousWithinAt (f · x) s z :=
hf.eval_const x
protected nonrec theorem ContinuousWithinAt.coeFun (hf : ContinuousWithinAt f s z) :
ContinuousWithinAt (fun z ↦ ⇑(f z)) s z :=
hf.coeFun
protected theorem ContinuousOn.eval_const (hf : ContinuousOn f s) (x : α) :
ContinuousOn (f · x) s :=
fun z hz ↦ (hf z hz).eval_const x
protected theorem ContinuousOn.coeFun (hf : ContinuousOn f s) (x : α) : ContinuousOn (f · x) s :=
fun z hz ↦ (hf z hz).eval_const x
end ContinuousEvalConst
¤ Dauer der Verarbeitung: 0.1 Sekunden
(vorverarbeitet am 2026-11-24)
¤
*© Formatika GbR, Deutschland