Documentation

Mathlib.Topology.ContinuousMap.Bounded.Basic

Bounded continuous functions #

The type of bounded continuous functions taking values in a metric space, with the uniform distance.

structure BoundedContinuousFunction (α : Type u) (β : Type v) [TopologicalSpace α] [PseudoMetricSpace β] extends C(α, β) :
Type (max u v)

α →ᵇ β is the type of bounded continuous functions α → β from a topological space to a metric space.

When possible, instead of parametrizing results over (f : α →ᵇ β), you should parametrize over (F : Type*) [BoundedContinuousMapClass F α β] (f : F).

When you extend this structure, make sure to extend BoundedContinuousMapClass.

Instances For

    α →ᵇ β is the type of bounded continuous functions α → β from a topological space to a metric space.

    When possible, instead of parametrizing results over (f : α →ᵇ β), you should parametrize over (F : Type*) [BoundedContinuousMapClass F α β] (f : F).

    When you extend this structure, make sure to extend BoundedContinuousMapClass.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      class BoundedContinuousMapClass (F : Type u_2) (α : outParam (Type u_3)) (β : outParam (Type u_4)) [TopologicalSpace α] [PseudoMetricSpace β] [FunLike F α β] extends ContinuousMapClass F α β :

      BoundedContinuousMapClass F α β states that F is a type of bounded continuous maps.

      You should also extend this typeclass when you extend BoundedContinuousFunction.

      Instances

        Turn an element of a type F satisfying BoundedContinuousMapClass F α β into an actual BoundedContinuousFunction.

        Equations
        Instances For
          @[instance_reducible, macro_inline]
          Equations
          @[simp]
          theorem BoundedContinuousFunction.coe_ofClass {F : Type u_1} {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] [FunLike F α β] [BoundedContinuousMapClass F α β] (f : F) :
          ⇑(ofClass f) = ⇑f

          See Note [custom simps projection]. We need to specify this projection explicitly in this case, because it is a composition of multiple projections.

          Equations
          Instances For
            theorem BoundedContinuousFunction.bounded {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] (f : BoundedContinuousFunction α β) :
            ∃ (C : ℝ), ∀ (x y : α), dist (f x) (f y) ≤ C
            theorem BoundedContinuousFunction.ext {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {f g : BoundedContinuousFunction α β} (h : ∀ (x : α), f x = g x) :
            f = g
            theorem BoundedContinuousFunction.ext_iff {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {f g : BoundedContinuousFunction α β} :
            f = g ↔ ∀ (x : α), f x = g x
            @[simp]
            theorem BoundedContinuousFunction.coe_mk {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] (f : α → β) (h : Continuous f) (h' : ∃ (C : ℝ), ∀ (x y : α), dist ({ toFun := f, continuous_toFun := h }.toFun x) ({ toFun := f, continuous_toFun := h }.toFun y) ≤ C) :
            ⇑{ toFun := f, continuous_toFun := h, map_bounded' := h' } = f
            def BoundedContinuousFunction.mkOfBound {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] (f : C(α, β)) (C : ℝ) (h : ∀ (x y : α), dist (f x) (f y) ≤ C) :

            A continuous function with an explicit bound is a bounded continuous function.

            Equations
            Instances For
              @[simp]
              theorem BoundedContinuousFunction.mkOfBound_coe {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {f : C(α, β)} {C : ℝ} {h : ∀ (x y : α), dist (f x) (f y) ≤ C} :
              ⇑(mkOfBound f C h) = ⇑f

              A continuous function on a compact space is automatically a bounded continuous function.

              Equations
              Instances For
                @[simp]
                theorem BoundedContinuousFunction.mkOfCompact_apply {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] [CompactSpace α] (f : C(α, β)) (a : α) :
                (mkOfCompact f) a = f a
                def BoundedContinuousFunction.mkOfDiscrete {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] [DiscreteTopology α] (f : α → β) (C : ℝ) (h : ∀ (x y : α), dist (f x) (f y) ≤ C) :

                If a function is bounded on a discrete space, it is automatically continuous, and therefore gives rise to an element of the type of bounded continuous functions.

                Equations
                Instances For
                  @[simp]
                  theorem BoundedContinuousFunction.mkOfDiscrete_apply {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] [DiscreteTopology α] (f : α → β) (C : ℝ) (h : ∀ (x y : α), dist (f x) (f y) ≤ C) (a✝ : α) :
                  (mkOfDiscrete f C h) a✝ = f a✝
                  @[instance_reducible]

                  The uniform distance between two bounded continuous functions.

                  Equations
                  theorem BoundedContinuousFunction.dist_eq {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {f g : BoundedContinuousFunction α β} :
                  dist f g = sInf {C : ℝ | 0 ≤ C ∧ ∀ (x : α), dist (f x) (g x) ≤ C}
                  theorem BoundedContinuousFunction.dist_set_exists {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {f g : BoundedContinuousFunction α β} :
                  ∃ (C : ℝ), 0 ≤ C ∧ ∀ (x : α), dist (f x) (g x) ≤ C
                  theorem BoundedContinuousFunction.dist_coe_le_dist {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {f g : BoundedContinuousFunction α β} (x : α) :
                  dist (f x) (g x) ≤ dist f g

                  The pointwise distance is controlled by the distance between functions, by definition.

                  theorem BoundedContinuousFunction.dist_le {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {f g : BoundedContinuousFunction α β} {C : ℝ} (C0 : 0 ≤ C) :
                  dist f g ≤ C ↔ ∀ (x : α), dist (f x) (g x) ≤ C

                  The distance between two functions is controlled by the supremum of the pointwise distances.

                  theorem BoundedContinuousFunction.dist_le_iff_of_nonempty {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {f g : BoundedContinuousFunction α β} {C : ℝ} [Nonempty α] :
                  dist f g ≤ C ↔ ∀ (x : α), dist (f x) (g x) ≤ C
                  theorem BoundedContinuousFunction.dist_lt_of_nonempty_compact {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {f g : BoundedContinuousFunction α β} {C : ℝ} [Nonempty α] [CompactSpace α] (w : ∀ (x : α), dist (f x) (g x) < C) :
                  dist f g < C
                  theorem BoundedContinuousFunction.dist_lt_iff_of_compact {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {f g : BoundedContinuousFunction α β} {C : ℝ} [CompactSpace α] (C0 : 0 < C) :
                  dist f g < C ↔ ∀ (x : α), dist (f x) (g x) < C
                  theorem BoundedContinuousFunction.dist_lt_iff_of_nonempty_compact {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {f g : BoundedContinuousFunction α β} {C : ℝ} [Nonempty α] [CompactSpace α] :
                  dist f g < C ↔ ∀ (x : α), dist (f x) (g x) < C
                  @[instance_reducible]

                  The type of bounded continuous functions, with the uniform distance, is a pseudometric space.

                  Equations
                  • One or more equations did not get rendered due to their size.
                  @[instance_reducible]

                  The type of bounded continuous functions, with the uniform distance, is a metric space.

                  Equations
                  theorem BoundedContinuousFunction.nnDist_eq {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {f g : BoundedContinuousFunction α β} :
                  nnDist f g = sInf {C : NNReal | ∀ (x : α), nnDist (f x) (g x) ≤ C}
                  @[deprecated BoundedContinuousFunction.nnDist_eq (since := "2026-11-07")]
                  theorem BoundedContinuousFunction.nndist_eq {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {f g : BoundedContinuousFunction α β} :
                  nnDist f g = sInf {C : NNReal | ∀ (x : α), nnDist (f x) (g x) ≤ C}

                  Alias of BoundedContinuousFunction.nnDist_eq.

                  theorem BoundedContinuousFunction.nnDist_set_exists {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {f g : BoundedContinuousFunction α β} :
                  ∃ (C : NNReal), ∀ (x : α), nnDist (f x) (g x) ≤ C
                  @[deprecated BoundedContinuousFunction.nnDist_set_exists (since := "2026-11-07")]
                  theorem BoundedContinuousFunction.nndist_set_exists {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {f g : BoundedContinuousFunction α β} :
                  ∃ (C : NNReal), ∀ (x : α), nnDist (f x) (g x) ≤ C

                  Alias of BoundedContinuousFunction.nnDist_set_exists.

                  @[deprecated BoundedContinuousFunction.nnDist_coe_le_nnDist (since := "2026-11-07")]

                  Alias of BoundedContinuousFunction.nnDist_coe_le_nnDist.

                  On an empty space, bounded continuous functions are at distance 0.

                  theorem BoundedContinuousFunction.dist_eq_iSup {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {f g : BoundedContinuousFunction α β} :
                  dist f g = ⨆ (x : α), dist (f x) (g x)
                  theorem BoundedContinuousFunction.nnDist_eq_iSup {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {f g : BoundedContinuousFunction α β} :
                  nnDist f g = ⨆ (x : α), nnDist (f x) (g x)
                  @[deprecated BoundedContinuousFunction.nnDist_eq_iSup (since := "2026-11-07")]
                  theorem BoundedContinuousFunction.nndist_eq_iSup {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {f g : BoundedContinuousFunction α β} :
                  nnDist f g = ⨆ (x : α), nnDist (f x) (g x)

                  Alias of BoundedContinuousFunction.nnDist_eq_iSup.

                  theorem BoundedContinuousFunction.edist_eq_iSup {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {f g : BoundedContinuousFunction α β} :
                  edist f g = ⨆ (x : α), edist (f x) (g x)
                  theorem BoundedContinuousFunction.tendsto_iff_tendstoUniformly {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {ι : Type u_2} {F : ι → BoundedContinuousFunction α β} {f : BoundedContinuousFunction α β} {l : Filter ι} :
                  Filter.Tendsto F l (nhds f) ↔ TendstoUniformly (fun (i : ι) => ⇑(F i)) (⇑f) l

                  The topology on α →ᵇ β is exactly the topology induced by the natural map to α →ᵤ β.

                  Constant as a continuous bounded function.

                  Equations
                  Instances For
                    @[simp]
                    theorem BoundedContinuousFunction.const_apply (α : Type u) {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] (b : β) :
                    ⇑(const α b) = fun (x : α) => b
                    theorem BoundedContinuousFunction.const_apply' {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] (a : α) (b : β) :
                    (const α b) a = b
                    @[instance_reducible]

                    If the target space is inhabited, so is the space of bounded continuous functions.

                    Equations

                    The evaluation map is continuous, as a joint function of u and x.

                    When x is fixed, (f : α →ᵇ β) ↦ f x is continuous.

                    Bounded continuous functions taking values in a complete space form a complete space.

                    Composition of a bounded continuous function and a continuous function.

                    Equations
                    • f.compContinuous g = let __ContinuousMap := f.comp g; { toContinuousMap := __ContinuousMap, map_bounded' := ⋯ }
                    Instances For
                      @[simp]
                      theorem BoundedContinuousFunction.coe_compContinuous {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {δ : Type u_2} [TopologicalSpace δ] (f : BoundedContinuousFunction α β) (g : C(δ, α)) :
                      ⇑(f.compContinuous g) = ⇑f ∘ ⇑g
                      @[simp]
                      theorem BoundedContinuousFunction.compContinuous_apply {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {δ : Type u_2} [TopologicalSpace δ] (f : BoundedContinuousFunction α β) (g : C(δ, α)) (x : δ) :
                      (f.compContinuous g) x = f (g x)

                      Restrict the domain of a bounded continuous function to a set.

                      Equations
                      Instances For
                        @[simp]
                        theorem BoundedContinuousFunction.domRestrict_apply {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] (f : BoundedContinuousFunction α β) (s : Set α) (x : ↑s) :
                        (f.domRestrict s) x = f ↑x
                        @[deprecated BoundedContinuousFunction.domRestrict (since := "2026-07-19")]

                        Alias of BoundedContinuousFunction.domRestrict.


                        Restrict the domain of a bounded continuous function to a set.

                        Equations
                        Instances For
                          @[deprecated BoundedContinuousFunction.coe_domRestrict (since := "2026-07-19")]

                          Alias of BoundedContinuousFunction.coe_domRestrict.

                          @[deprecated BoundedContinuousFunction.domRestrict_apply (since := "2026-07-19")]
                          theorem BoundedContinuousFunction.restrict_apply {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] (f : BoundedContinuousFunction α β) (s : Set α) (x : ↑s) :
                          (f.domRestrict s) x = f ↑x

                          Alias of BoundedContinuousFunction.domRestrict_apply.

                          Composition (in the target) of a bounded continuous function with a Lipschitz map again gives a bounded continuous function.

                          Equations
                          Instances For
                            @[simp]
                            theorem BoundedContinuousFunction.comp_apply {α : Type u} {β : Type v} {γ : Type w} [TopologicalSpace α] [PseudoMetricSpace β] [PseudoMetricSpace γ] (G : β → γ) {C : NNReal} (H : LipschitzWith C G) (f : BoundedContinuousFunction α β) (a : α) :
                            (comp G H f) a = G (f a)
                            theorem BoundedContinuousFunction.lipschitz_comp {α : Type u} {β : Type v} {γ : Type w} [TopologicalSpace α] [PseudoMetricSpace β] [PseudoMetricSpace γ] {G : β → γ} {C : NNReal} (H : LipschitzWith C G) :

                            The composition operator (in the target) with a Lipschitz map is Lipschitz.

                            The composition operator (in the target) with a Lipschitz map is uniformly continuous.

                            theorem BoundedContinuousFunction.continuous_comp {α : Type u} {β : Type v} {γ : Type w} [TopologicalSpace α] [PseudoMetricSpace β] [PseudoMetricSpace γ] {G : β → γ} {C : NNReal} (H : LipschitzWith C G) :

                            The composition operator (in the target) with a Lipschitz map is continuous.

                            def BoundedContinuousFunction.codRestrict {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] (s : Set β) (f : BoundedContinuousFunction α β) (H : ∀ (x : α), f x ∈ s) :

                            Restriction (in the target) of a bounded continuous function taking values in a subset.

                            Equations
                            Instances For

                              A version of Function.extend for bounded continuous maps. We assume that the domain has discrete topology, so we only need to verify boundedness.

                              Equations
                              Instances For
                                @[simp]
                                theorem BoundedContinuousFunction.extend_apply {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {δ : Type u_2} [TopologicalSpace δ] [DiscreteTopology δ] (f : α ↪ δ) (g : BoundedContinuousFunction α β) (h : BoundedContinuousFunction δ β) (x : α) :
                                (extend f g h) (f x) = g x
                                @[simp]
                                theorem BoundedContinuousFunction.extend_comp {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {δ : Type u_2} [TopologicalSpace δ] [DiscreteTopology δ] (f : α ↪ δ) (g : BoundedContinuousFunction α β) (h : BoundedContinuousFunction δ β) :
                                ⇑(extend f g h) ∘ ⇑f = ⇑g
                                theorem BoundedContinuousFunction.extend_apply' {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {δ : Type u_2} [TopologicalSpace δ] [DiscreteTopology δ] {f : α ↪ δ} {x : δ} (hx : x ∉ Set.range ⇑f) (g : BoundedContinuousFunction α β) (h : BoundedContinuousFunction δ β) :
                                (extend f g h) x = h x
                                @[simp]
                                theorem BoundedContinuousFunction.dist_extend_extend {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] {δ : Type u_2} [TopologicalSpace δ] [DiscreteTopology δ] (f : α ↪ δ) (g₁ g₂ : BoundedContinuousFunction α β) (h₁ h₂ : BoundedContinuousFunction δ β) :
                                dist (extend f g₁ h₁) (extend f g₂ h₂) = max (dist g₁ g₂) (dist (h₁.domRestrict (Set.range ⇑f)ᶜ) (h₂.domRestrict (Set.range ⇑f)ᶜ))

                                The indicator function of a clopen set, as a bounded continuous function.

                                Equations
                                Instances For
                                  @[simp]
                                  theorem BoundedContinuousFunction.indicator_apply {α : Type u} [TopologicalSpace α] (s : Set α) (hs : IsClopen s) (x : α) :
                                  (indicator s hs) x = s.indicator 1 x
                                  @[deprecated FunLike.coe_zero (since := "2026-10-20")]
                                  theorem BoundedContinuousFunction.coe_zero {F : Type u_2} {α : Type u_4} {β : α → Type u_5} [DFunLike F α β] [Zero F] [(a : α) → Zero (β a)] [IsZeroApply F] :
                                  ⇑0 = 0

                                  Alias of FunLike.coe_zero.

                                  @[deprecated FunLike.coe_one (since := "2026-10-20")]
                                  theorem BoundedContinuousFunction.coe_one {F : Type u_2} {α : Type u_4} {β : α → Type u_5} [DFunLike F α β] [One F] [(a : α) → One (β a)] [IsOneApply F] :
                                  ⇑1 = 1

                                  Alias of FunLike.coe_one.

                                  theorem BoundedContinuousFunction.forall_coe_one_iff_one {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] [One β] (f : BoundedContinuousFunction α β) :
                                  (∀ (x : α), f x = 1) ↔ f = 1
                                  theorem BoundedContinuousFunction.forall_coe_zero_iff_zero {α : Type u} {β : Type v} [TopologicalSpace α] [PseudoMetricSpace β] [Zero β] (f : BoundedContinuousFunction α β) :
                                  (∀ (x : α), f x = 0) ↔ f = 0
                                  @[simp]
                                  @[simp]
                                  @[instance_reducible]
                                  Equations
                                  @[instance_reducible]
                                  Equations
                                  @[deprecated FunLike.coe_add (since := "2026-10-20")]
                                  theorem BoundedContinuousFunction.coe_add {F : Type u_2} {α : Type u_4} {β : α → Type u_5} [DFunLike F α β] [Add F] [(a : α) → Add (β a)] [IsAddApply F] (f g : F) :
                                  ⇑(f + g) = ⇑f + ⇑g

                                  Alias of FunLike.coe_add.

                                  @[deprecated FunLike.coe_mul (since := "2026-10-20")]
                                  theorem BoundedContinuousFunction.coe_mul {F : Type u_2} {α : Type u_4} {β : α → Type u_5} [DFunLike F α β] [Mul F] [(a : α) → Mul (β a)] [IsMulApply F] (f g : F) :
                                  ⇑(f * g) = ⇑f * ⇑g

                                  Alias of FunLike.coe_mul.

                                  @[deprecated add_apply (since := "2026-10-20")]
                                  theorem BoundedContinuousFunction.add_apply {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (α → Type u_3)} {inst✝ : DFunLike F α β} {inst✝¹ : (a : α) → Add (β a)} {inst✝² : Add F} [self : IsAddApply F] (f g : F) (x : α) :
                                  (f + g) x = f x + g x

                                  Alias of add_apply.

                                  @[deprecated mul_apply (since := "2026-10-20")]
                                  theorem BoundedContinuousFunction.mul_apply {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (α → Type u_3)} {inst✝ : DFunLike F α β} {inst✝¹ : (a : α) → Mul (β a)} {inst✝² : Mul F} [self : IsMulApply F] (f g : F) (x : α) :
                                  (f * g) x = f x * g x

                                  Alias of mul_apply.

                                  @[instance_reducible]
                                  Equations
                                  @[instance_reducible]
                                  Equations
                                  @[deprecated FunLike.coe_smul (since := "2026-10-20")]
                                  theorem BoundedContinuousFunction.coe_nsmul {M : Type u_1} {F : Type u_2} {α : Type u_4} {β : α → Type u_5} [DFunLike F α β] [SMul M F] [(a : α) → SMul M (β a)] [IsSMulApply M F] (n : M) (f : F) :
                                  ⇑(n • f) = n • ⇑f

                                  Alias of FunLike.coe_smul.

                                  @[deprecated FunLike.coe_pow (since := "2026-10-20")]
                                  theorem BoundedContinuousFunction.coe_pow {M : Type u_1} {F : Type u_2} {α : Type u_4} {β : α → Type u_5} [DFunLike F α β] [Pow F M] [(a : α) → Pow (β a) M] [IsPowApply M F] (f : F) (n : M) :
                                  ⇑(f ^ n) = ⇑f ^ n

                                  Alias of FunLike.coe_pow.

                                  @[deprecated smul_apply (since := "2026-10-20")]
                                  theorem BoundedContinuousFunction.nsmul_apply {M : Type u_1} {F : Type u_2} {α : outParam (Type u_3)} {β : outParam (α → Type u_4)} {inst✝ : DFunLike F α β} {inst✝¹ : (a : α) → SMul M (β a)} {inst✝² : SMul M F} [self : IsSMulApply M F] (f : F) (n : M) (x : α) :
                                  (n • f) x = n • f x

                                  Alias of smul_apply.

                                  @[deprecated pow_apply (since := "2026-10-20")]
                                  theorem BoundedContinuousFunction.pow_apply {M : Type u_1} {F : Type u_2} {α : outParam (Type u_3)} {β : outParam (α → Type u_4)} {inst✝ : DFunLike F α β} {inst✝¹ : (a : α) → Pow (β a) M} {inst✝² : Pow F M} [self : IsPowApply M F] (f : F) (n : M) (x : α) :
                                  (f ^ n) x = f x ^ n

                                  Alias of pow_apply.

                                  @[instance_reducible]
                                  Equations
                                  • One or more equations did not get rendered due to their size.
                                  @[instance_reducible]
                                  Equations
                                  • One or more equations did not get rendered due to their size.
                                  @[deprecated FunLike.coeAddMonoidHom (since := "2026-10-20")]
                                  def BoundedContinuousFunction.coeFnAddMonoidHom (F : Type u_1) (α : Type u_2) (β : α → Type u_3) [DFunLike F α β] [AddZero F] [(a : α) → AddZeroClass (β a)] [IsZeroApply F] [IsAddApply F] :
                                  F →+ (a : α) → β a

                                  Alias of FunLike.coeAddMonoidHom.

                                  Equations
                                  Instances For
                                    @[deprecated FunLike.coeMonoidHom (since := "2026-10-20")]
                                    def BoundedContinuousFunction.coeFnMonoidHom (F : Type u_1) (α : Type u_2) (β : α → Type u_3) [DFunLike F α β] [MulOne F] [(a : α) → MulOneClass (β a)] [IsOneApply F] [IsMulApply F] :
                                    F →* (a : α) → β a

                                    Alias of FunLike.coeMonoidHom.

                                    Equations
                                    Instances For

                                      The multiplicative map forgetting that a bounded continuous function is bounded.

                                      Equations
                                      Instances For

                                        The additive map forgetting that a bounded continuous function is bounded.

                                        Equations
                                        Instances For
                                          @[deprecated FunLike.coe_sum (since := "2026-10-20")]
                                          theorem BoundedContinuousFunction.coe_sum {F : Type u_8} {α : Type u_9} {ι : Type u_10} {β : α → Type u_11} [DFunLike F α β] [(a : α) → AddCommMonoid (β a)] [AddCommMonoid F] [IsZeroApply F] [IsAddApply F] (s : Finset ι) (f : ι → F) :
                                          ⇑(∑ i ∈ s, f i) = ∑ i ∈ s, ⇑(f i)

                                          Alias of FunLike.coe_sum.

                                          @[deprecated FunLike.coe_prod (since := "2026-10-20")]
                                          theorem BoundedContinuousFunction.coe_prod {F : Type u_8} {α : Type u_9} {ι : Type u_10} {β : α → Type u_11} [DFunLike F α β] [(a : α) → CommMonoid (β a)] [CommMonoid F] [IsOneApply F] [IsMulApply F] (s : Finset ι) (f : ι → F) :
                                          ⇑(∏ i ∈ s, f i) = ∏ i ∈ s, ⇑(f i)

                                          Alias of FunLike.coe_prod.

                                          @[deprecated sum_apply (since := "2026-10-20")]
                                          theorem BoundedContinuousFunction.sum_apply {F : Type u_8} {α : Type u_9} {ι : Type u_10} {β : α → Type u_11} [DFunLike F α β] [(a : α) → AddCommMonoid (β a)] [AddCommMonoid F] [IsZeroApply F] [IsAddApply F] (s : Finset ι) (f : ι → F) (x : α) :
                                          (∑ i ∈ s, f i) x = ∑ i ∈ s, (f i) x

                                          Alias of sum_apply.

                                          @[deprecated prod_apply (since := "2026-10-20")]
                                          theorem BoundedContinuousFunction.prod_apply {F : Type u_8} {α : Type u_9} {ι : Type u_10} {β : α → Type u_11} [DFunLike F α β] [(a : α) → CommMonoid (β a)] [CommMonoid F] [IsOneApply F] [IsMulApply F] (s : Finset ι) (f : ι → F) (x : α) :
                                          (∏ i ∈ s, f i) x = ∏ i ∈ s, (f i) x

                                          Alias of prod_apply.

                                          Composition on the left by a (lipschitz-continuous) homomorphism of topological monoids, as a MonoidHom. Similar to MonoidHom.compLeftContinuous.

                                          Equations
                                          Instances For

                                            Composition on the left by a (lipschitz-continuous) homomorphism of topological AddMonoids, as a AddMonoidHom. Similar to AddMonoidHom.compLeftContinuous.

                                            Equations
                                            Instances For
                                              @[instance_reducible]

                                              The pointwise difference of two bounded continuous functions is again bounded continuous.

                                              Equations
                                              @[deprecated FunLike.coe_sub (since := "2026-10-20")]
                                              theorem BoundedContinuousFunction.coe_sub {F : Type u_2} {α : Type u_4} {β : α → Type u_5} [DFunLike F α β] [Sub F] [(a : α) → Sub (β a)] [IsSubApply F] (f g : F) :
                                              ⇑(f - g) = ⇑f - ⇑g

                                              Alias of FunLike.coe_sub.

                                              @[deprecated sub_apply (since := "2026-10-20")]
                                              theorem BoundedContinuousFunction.sub_apply {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (α → Type u_3)} {inst✝ : DFunLike F α β} {inst✝¹ : (a : α) → Sub (β a)} {inst✝² : Sub F} [self : IsSubApply F] (f g : F) (x : α) :
                                              (f - g) x = f x - g x

                                              Alias of sub_apply.

                                              @[deprecated natCast_apply_eq_const (since := "2026-10-20")]
                                              theorem BoundedContinuousFunction.natCast_apply {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (α → Type u_3)} {inst✝ : DFunLike F α β} {inst✝¹ : NatCast F} {inst✝² : (a : α) → NatCast (β a)} [self : IsNatCastApply F] (n : ℕ) (x : α) :
                                              ↑n x = ↑n

                                              Alias of natCast_apply_eq_const.

                                              @[deprecated intCast_apply_eq_const (since := "2026-10-20")]
                                              theorem BoundedContinuousFunction.intCast_apply {F : Type u_1} {α : outParam (Type u_2)} {β : outParam (α → Type u_3)} {inst✝ : DFunLike F α β} {inst✝¹ : IntCast F} {inst✝² : (a : α) → IntCast (β a)} [self : IsIntCastApply F] (n : ℤ) (x : α) :
                                              ↑n x = ↑n

                                              Alias of intCast_apply_eq_const.

                                              @[instance_reducible]
                                              Equations
                                              • One or more equations did not get rendered due to their size.

                                              IsBoundedSMul (in particular, topological module) structure #

                                              In this section, if β is a metric space and a 𝕜-module whose addition and scalar multiplication are compatible with the metric structure, then we show that the space of bounded continuous functions from α to β inherits a so-called IsBoundedSMul structure (in particular, a ContinuousMul structure, which is the mathlib formulation of being a topological module), by using pointwise operations and checking that they are compatible with the uniform distance.

                                              @[instance_reducible]
                                              instance BoundedContinuousFunction.instSMul {α : Type u} {β : Type v} {𝕜 : Type u_2} [PseudoMetricSpace 𝕜] [TopologicalSpace α] [PseudoMetricSpace β] [Zero 𝕜] [Zero β] [SMul 𝕜 β] [IsBoundedSMul 𝕜 β] :
                                              Equations
                                              • One or more equations did not get rendered due to their size.
                                              instance BoundedContinuousFunction.instIsSMulApply {α : Type u} {β : Type v} {𝕜 : Type u_2} [PseudoMetricSpace 𝕜] [TopologicalSpace α] [PseudoMetricSpace β] [Zero 𝕜] [Zero β] [SMul 𝕜 β] [IsBoundedSMul 𝕜 β] :
                                              @[deprecated FunLike.coe_smul (since := "2026-10-20")]
                                              theorem BoundedContinuousFunction.coe_smul {M : Type u_1} {F : Type u_2} {α : Type u_4} {β : α → Type u_5} [DFunLike F α β] [SMul M F] [(a : α) → SMul M (β a)] [IsSMulApply M F] (n : M) (f : F) :
                                              ⇑(n • f) = n • ⇑f

                                              Alias of FunLike.coe_smul.

                                              @[deprecated smul_apply (since := "2026-10-20")]
                                              theorem BoundedContinuousFunction.smul_apply {M : Type u_1} {F : Type u_2} {α : outParam (Type u_3)} {β : outParam (α → Type u_4)} {inst✝ : DFunLike F α β} {inst✝¹ : (a : α) → SMul M (β a)} {inst✝² : SMul M F} [self : IsSMulApply M F] (f : F) (n : M) (x : α) :
                                              (n • f) x = n • f x

                                              Alias of smul_apply.

                                              instance BoundedContinuousFunction.instIsScalarTower {α : Type u} {β : Type v} {𝕜 : Type u_2} [PseudoMetricSpace 𝕜] [TopologicalSpace α] [PseudoMetricSpace β] [Zero 𝕜] [Zero β] [SMul 𝕜 β] [IsBoundedSMul 𝕜 β] {𝕜' : Type u_3} [PseudoMetricSpace 𝕜'] [Zero 𝕜'] [SMul 𝕜' β] [IsBoundedSMul 𝕜' β] [SMul 𝕜' 𝕜] [IsScalarTower 𝕜' 𝕜 β] :
                                              instance BoundedContinuousFunction.instSMulCommClass {α : Type u} {β : Type v} {𝕜 : Type u_2} [PseudoMetricSpace 𝕜] [TopologicalSpace α] [PseudoMetricSpace β] [Zero 𝕜] [Zero β] [SMul 𝕜 β] [IsBoundedSMul 𝕜 β] {𝕜' : Type u_3} [PseudoMetricSpace 𝕜'] [Zero 𝕜'] [SMul 𝕜' β] [IsBoundedSMul 𝕜' β] [SMulCommClass 𝕜' 𝕜 β] :
                                              @[instance_reducible]
                                              Equations
                                              @[instance_reducible]
                                              Equations
                                              def BoundedContinuousFunction.evalCLM {α : Type u} {β : Type v} (𝕜 : Type u_2) [PseudoMetricSpace 𝕜] [TopologicalSpace α] [PseudoMetricSpace β] [Semiring 𝕜] [AddCommMonoid β] [Module 𝕜 β] [IsBoundedSMul 𝕜 β] [BoundedAdd β] [ContinuousAdd β] (x : α) :

                                              The evaluation at a point, as a continuous linear map from α →ᵇ β to β.

                                              Equations
                                              Instances For
                                                @[simp]
                                                theorem BoundedContinuousFunction.evalCLM_apply {α : Type u} {β : Type v} (𝕜 : Type u_2) [PseudoMetricSpace 𝕜] [TopologicalSpace α] [PseudoMetricSpace β] [Semiring 𝕜] [AddCommMonoid β] [Module 𝕜 β] [IsBoundedSMul 𝕜 β] [BoundedAdd β] [ContinuousAdd β] (x : α) (f : BoundedContinuousFunction α β) :
                                                (evalCLM 𝕜 x) f = f x

                                                The linear map forgetting that a bounded continuous function is bounded.

                                                Equations
                                                Instances For