Indexed product of extended metric spaces #
@[simp]
theorem
edist_pi_const
{α : Type u}
{β : Type v}
[PseudoEMetricSpace α]
[Fintype β]
[Nonempty β]
(a b : α)
:
instance
pseudoEMetricSpacePi
{β : Type v}
{π : β → Type u_2}
[Fintype β]
[(b : β) → PseudoEMetricSpace (π b)]
:
PseudoEMetricSpace ((b : β) → π 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.
Equations
- pseudoEMetricSpacePi = PseudoEMetricSpace.mk ⋯ ⋯ ⋯ (Pi.uniformSpace π) ⋯
instance
emetricSpacePi
{β : Type v}
{π : β → Type u_2}
[Fintype β]
[(b : β) → EMetricSpace (π b)]
:
EMetricSpace ((b : β) → π 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.
Equations
- emetricSpacePi = EMetricSpace.ofT0PseudoEMetricSpace ((b : β) → π b)