The areas / V13. General topology
Mathlib.Topology.EMetricSpace.Pi
8 declarations. Mathlib docs · Source
instance instEDistForall E0 #
{β : Type v} → {X : β → Type u_2} → [Fintype β] → [(b : β) → EDist (X b)] → EDist ((b : β) → X b)
theorem edist_pi_def E0 #
∀ {β : Type v} {X : β → Type u_2} [inst : Fintype β] [inst_1 : (b : β) → EDist (X b)] (f g : (b : β) → X b),
edist f g = Finset.univ.sup fun b ↦ edist (f b) (g b)
theorem edist_le_pi_edist E1 #
∀ {β : Type v} {X : β → Type u_2} [inst : Fintype β] [inst_1 : (b : β) → EDist (X b)] (f g : (b : β) → X b) (b : β),
edist (f b) (g b) ≤ edist f g
theorem edist_pi_le_iff E0 #
∀ {β : Type v} {X : β → Type u_2} [inst : Fintype β] [inst_1 : (b : β) → EDist (X b)] {f g : (b : β) → X b}
{d : ENNReal}, edist f g ≤ d ↔ ∀ (b : β), edist (f b) (g b) ≤ d
theorem edist_pi_const_le E1 #
∀ {α : Type u} {β : Type v} [inst : TopologicalSpace α] [inst_1 : WeakPseudoEMetricSpace α] [inst_2 : Fintype β]
(a b : α), (edist (fun x ↦ a) fun x ↦ b) ≤ edist a b
theorem edist_pi_const E0 #
∀ {α : Type u} {β : Type v} [inst : TopologicalSpace α] [inst_1 : WeakPseudoEMetricSpace α] [inst_2 : Fintype β]
[Nonempty β] (a b : α), (edist (fun x ↦ a) fun x ↦ b) = edist a b
instance pseudoEMetricSpacePi E0 #
{β : Type v} →
{X : β → Type u_2} → [Fintype β] → [(b : β) → PseudoEMetricSpace (X b)] → PseudoEMetricSpace ((b : β) → X b)
The product of a finite number of pseudoemetric spaces, with the max distance, is still a pseudoemetric space. This construction would also work for infinite products, but it would not give rise to the product topology. Hence, we only formalize it in the good situation of finitely many spaces.
instance emetricSpacePi E0 #
{β : Type v} → {X : β → Type u_2} → [Fintype β] → [(b : β) → EMetricSpace (X b)] → EMetricSpace ((b : β) → X b)
The product of a finite number of emetric spaces, with the max distance, is still an emetric space. This construction would also work for infinite products, but it would not give rise to the product topology. Hence, we only formalize it in the good situation of finitely many spaces.