Indexed product of extended metric spaces #
theorem
edist_pi_const_le
{α : Type u}
{β : Type v}
[PseudoEMetricSpace α]
[Fintype β]
(a : α)
(b : α)
:
@[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)