Let Q be the set of rational numbers and let Q>0 be the set of those s∈Q with 0<s. Let (Ω,F) be a measurable space.
Call a pair ((X,d),D) a separable metric datum when (X,d) is a metric space and D is a nonempty countable subset of X that is dense in X for the collection Td of subsets of X that are open in (X,d), which is a topology on X by Metric Open Sets Form a Topology; such a D witnesses that (X,d) is separable. For such a pair write B(X,d) for the Borel σ-algebra of (X,d), and write E for the family of subsets of X whose members are exactly the open balls Bd(q,s) with q∈D and s∈Q>0.
Claims 1, 2 and 3 are asserted for every separable metric datum ((X,d),D), with Td, B(X,d) and E as just described.
1. (Countable ball basis.) E is countable, and every U∈Td is the union of those members of E that are contained in U.
2. (Generation.) The σ-algebra generated by E is B(X,d).
3. (Criterion for measurability.) Let Y:Ω→X. Then Y is measurable with respect to F and B(X,d) if and only if
{ω∈Ω: d(Y(ω),q)<s}∈Ffor every q∈D and every s∈Q>0.
In particular, if for every q∈D the real-valued map ω↦d(Y(ω),q) is measurable with respect to F and the Borel σ-algebra B(R) of the real line, then Y is measurable with respect to F and B(X,d).
4. (Pairs.) Let ((X,d),D) and ((X′,d′),D′) be separable metric data, and let X×X′ carry the product metric dX×X′, a metric by claim 1 of The Product Metric is a Metric. Then ((X×X′,dX×X′),D×D′) is again a separable metric datum. Moreover, if Y:Ω→X is measurable with respect to F and B(X,d), and Y′:Ω→X′ is measurable with respect to F and B(X′,d′), then the map Z:Ω→X×X′ given by Z(ω)=(Y(ω),Y′(ω)) is measurable with respect to F and B(X×X′,dX×X′).