Each result cited is universally quantified over the data in its own statement. Throughout, "claim n of the tuple lemma" refers to Euclidean Points as Tuples of Real Numbers, "of the Borel lemma" to The Borel Sigma-Algebra of a Euclidean Space as a Product, and Measurability of Projections, Sequentially Continuous Maps, and Open and Closed Sets, and "of the concatenation lemma" to Concatenation Identifies a Product of Euclidean Spaces with a Euclidean Space. For k∈[q+p] the coordinate map πk:Rq+p→R, πk(z)=zk, is Borel by claim 1 of the Borel lemma. By claim 5 of Basic Properties of Initial Segments of the Natural Numbers, [q]⊆[q+p] and q+j∈[q+p] for j∈[p].
Claim 1. For z∈Rq+p let pr1q,p(z) be the point of Rq whose kth component is zk for k∈[q], and pr2q,p(z) the point of Rp whose jth component is zq+j for j∈[p]; both exist and are unique by claim 2 of the tuple lemma. For x∈Rq and y∈Rp the point ι(x,y) has kth component xk for k∈[q] and (q+j)th component yj for j∈[p], so pr1q,p(ι(x,y)) and x have the same components and are equal by claim 1 of the tuple lemma; likewise pr2q,p(ι(x,y))=y. Given z, claim 1 of the concatenation lemma provides x,y with z=ι(x,y), whence pr1q,p(z)=x, pr2q,p(z)=y and z=ι(pr1q,p(z),pr2q,p(z)); the same representation shows that any map Q:Rq+p→Rq with Q(ι(x,y))=x for all x,y satisfies Q(z)=x=pr1q,p(z), so the projections are unique. The kth component of pr1q,p is the map z↦zk=πk(z), which is Borel, so pr1q,p is Borel by claim 2 of the Borel lemma (with (X,F)=(Rq+p,B(Rq+p))); the jth component of pr2q,p is πq+j, so pr2q,p is Borel likewise. Finally, writing z=ι(x,y) as above, claim 3 of the concatenation lemma gives ∥z∥2=∥x∥2+∥y∥2; since 0≤∥y∥2 by claim 2 of Nonnegativity of Squares in an Ordered Field, ∥x∥2≤∥z∥2 by claim 3 of Elementary Arithmetic in an Ordered Field, and ∥x∥≤∥z∥ by claim 2 of Monotonicity of Squaring on the Nonnegative Elements of an Ordered Field, both norms being nonnegative by The Euclidean Norm on Rn; the bound for pr2q,p is the same with the roles of x and y exchanged.
Claim 2. By claim 3 of the tuple lemma, the map (u,v):s↦ι(u(s),v(s)) has kth component s↦(u(s))k for k∈[q] and (q+j)th component s↦(v(s))j for j∈[p], by the description of ι. Since u is measurable with respect to E and B(Rq)=Bq, each of its components is measurable with respect to E and B(R) by claim 2 of the Borel lemma, and likewise for v; hence every component of (u,v) is measurable, and (u,v) is measurable with respect to E and Bq+p=B(Rq+p) by claim 2 of the Borel lemma again. The case (E,E)=(Rl,B(Rl)) is the statement for Borel u,v. The swap σq,p is the pairing of pr2q,p:Rq+p→Rp and pr1q,p:Rq+p→Rq, formed with ιp,q; both are Borel by claim 1, so σq,p is Borel by what was just shown, with (E,E)=(Rq+p,B(Rq+p)) and the roles of q and p exchanged.
Claim 3. By claim 1 of Finite Products of Lebesgue Measure and Coordinate Integration on Rl, Bq+p is generated by the Borel rectangles of Rq+p, the sets R={z∈Rq+p:zi∈Ai for every i∈[q+p]} with all Ai∈B(R); by claim 2 of Generator Criterion for Measurability it therefore suffices to show ι−1(R)∈B(Rq)⊗B(Rp) for every such R. By the description of ι, a pair with entries x and y lies in ι−1(R) exactly when xk∈Ak for all k∈[q] and yj∈Aq+j for all j∈[p]; thus ι−1(R)=R′×R′′, where R′={x∈Rq:xk∈Ak for k∈[q]} and R′′={y∈Rp:yj∈Aq+j for j∈[p]} are Borel rectangles of Rq and of Rp. These belong to Bq=B(Rq) and Bp=B(Rp), since a generated σ-algebra contains its generators by claim 2 of Closure Properties of σ-Algebras, Intersections and Traces of σ-Algebras, and the Generated σ-Algebra; so R′×R′′ is a measurable rectangle, which belongs to B(Rq)⊗B(Rp) by Measurable Rectangles and the Product σ-Algebra and the same claim. Hence ι is measurable.
A probability measure is σ-finite (take every Xm in Measure, Measure Space, and Probability Measure to be the whole space, of measure 1<∞), so μ⊗ν exists by Existence and Uniqueness of the Product Measure, and it is a probability measure, as (μ⊗ν)(Rq×Rp)=μ(Rq)ν(Rp)=1 by that theorem; hence μ⊠ν is a probability measure on (Rq+p,B(Rq+p)) by claim 1 of Image Measures and Measures with a Density: Measures, Integrals and Change of Variables. For A∈B(Rq) and B∈B(Rp), a point z lies in ι(A×B) exactly when ι−1(z), which is the pair with entries pr1q,p(z) and pr2q,p(z) by claim 1 (as z=ι(pr1q,p(z),pr2q,p(z)) and ι is injective), lies in A×B; that is, ι(A×B)=(pr1q,p)−1(A)∩(pr2q,p)−1(B), an intersection of two members of B(Rq+p) by claim 1 and Measurable Map, and the Set of Measurable Maps, hence a member by σ-Algebra and Measurable Space. Since ι is a bijection, ι−1(ι(A×B))=A×B, so by the definition of the image measure and Existence and Uniqueness of the Product Measure,
(μ⊠ν)(ι(A×B))=(μ⊗ν)(A×B)=μ(A)ν(B).
Taking B=Rp gives (μ⊠ν)((pr1q,p)−1(A))=μ(A)ν(Rp)=μ(A), since (pr2q,p)−1(Rp)=Rq+p; so the image measure of μ⊠ν under pr1q,p is μ, and taking A=Rq shows that the image under pr2q,p is ν. Finally let F:Rq+p→[0,∞] be Borel. For real c, {w:F(ι(w))>c}=ι−1({z:F(z)>c}), the preimage under the measurable map ι of a member of B(Rq+p), so F∘ι is measurable with respect to B(Rq)⊗B(Rp) in the sense of Measurable Functions and the Lebesgue Integral: Standing Notation (iii); and the integral identity is claim 2 of Image Measures and Measures with a Density: Measures, Integrals and Change of Variables with T=ι and g=F.
Claim 4. By claim 1 of Properties of the Euclidean Norm on Rn: Square, Distance, Vanishing, Coordinate Bounds, Homogeneity, Triangle Inequalities and Expansion of a Square, ∥x∥2=∑k=1qxk2 for x∈Rq; each x↦xk2 is the product of the Borel map πk with itself, Borel by claim 3 of Arithmetic of Measurable Real- and [0,∞]-Valued Maps, and the finite sum is Borel by claim 2 there. Thus x↦∥x∥2 is Borel. For real c, the set {x:∥x∥>c} is Rq if c<0, and equals {x:∥x∥2>c2} if 0≤c, by claim 1 of Monotonicity of Squaring on the Nonnegative Elements of an Ordered Field applied to the nonnegative numbers c and ∥x∥; in both cases it belongs to B(Rq), so x↦∥x∥ is Borel by Measurable Functions and the Lebesgue Integral: Standing Notation (iii). Now let p=q and z∈Rq+q. By Difference, Dot Product, and Orthogonality in Rn, pr1(z)⋅pr2(z)=∑k=1qzkzq+k, and the difference pr1(z)−pr2(z) has kth component zk−zq+k, so ∥pr1(z)−pr2(z)∥2=∑k=1q(zk−zq+k)2 by claim 1 of Properties of the Euclidean Norm on Rn: Square, Distance, Vanishing, Coordinate Bounds, Homogeneity, Triangle Inequalities and Expansion of a Square; both are finite sums of products of finite linear combinations of the Borel maps πk, πq+k, hence Borel by claims 2 and 3 of Arithmetic of Measurable Real- and [0,∞]-Valued Maps, and z↦∥pr1(z)−pr2(z)∥ is Borel by the square-root argument just given. For the consequence, let u,v:E→Rq be measurable. Each Euclidean space is a metric space under dE whose Borel σ-algebra in the sense of Borel Sigma-Algebra of a Metric Space is B(Rq) by The Borel σ-Algebras of Euclidean Space and of the Euclidean Metric Coincide, so claim 4 of Borel Measurability and Bounded Integration on a Metric Space applies: s↦∥u(s)∥2 is the composition of u with the Borel map x↦∥x∥2, hence measurable. The pairing (u,v) is measurable with respect to E and B(Rq+q) by claim 2, and pr1((u,v)(s))=u(s), pr2((u,v)(s))=v(s) by claim 1; so s↦u(s)⋅v(s) and s↦∥u(s)−v(s)∥2 are the compositions of (u,v) with the Borel maps z↦pr1(z)⋅pr2(z) and z↦∥pr1(z)−pr2(z)∥2, measurable by the same claim.
For the inequalities, let x,y∈Rq and write a=∥x∥, b=∥y∥, both nonnegative. By claim 5 of Zero Products and Elementary Identities in a Field, (a+b)2=a2+2ab+b2 and (a−b)2=a2−2ab+b2, the latter from the former with −b in place of b, using claim 2 of that lemma; as 0≤(a−b)2=(a2+b2)−2ab by claim 2 of Nonnegativity of Squares in an Ordered Field, claim 3 of Elementary Arithmetic in an Ordered Field gives 2ab≤a2+b2, hence (a+b)2≤2a2+2b2. Now x−y=x+(−1)y by claims 2 and 3 of Euclidean Space Rn is a Real Vector Space, and ∥(−1)y∥=∣−1∣b=b by claim 5 of Properties of the Euclidean Norm on Rn: Square, Distance, Vanishing, Coordinate Bounds, Homogeneity, Triangle Inequalities and Expansion of a Square, so claim 6 there gives ∥x−y∥≤a+b; as both sides are nonnegative, claim 2 of Monotonicity of Squaring on the Nonnegative Elements of an Ordered Field gives ∥x−y∥2≤(a+b)2≤2∥x∥2+2∥y∥2. For the second inequality, x=y+(x−y) by claim 3 of Euclidean Space Rn is a Real Vector Space and the axioms of Vector Space over a Field, so a≤b+∥x−y∥ by claim 6 of Properties of the Euclidean Norm on Rn: Square, Distance, Vanishing, Coordinate Bounds, Homogeneity, Triangle Inequalities and Expansion of a Square, and squaring as before gives ∥x∥2≤2∥y∥2+2∥x−y∥2. Finally ∣x⋅y∣≤ab is The Cauchy-Schwarz Inequality on Rn, and ab≤21(a2+b2) follows from 2ab≤a2+b2 by multiplying with 2−1, which is positive by claims 8 and 7 of Elementary Order Arithmetic in an Ordered Field, using claim 5 of Elementary Arithmetic in an Ordered Field and 2−1(2ab)=ab.
Claim 5. Let a∈Rq. If x∈Rq∖{a}, then x−a=0Rq by claim 2 of Elementary Identities in a Vector Space, so r=∥x−a∥=dE(x,a) is positive by claims 1, 2 and 3 of Properties of the Euclidean Norm on Rn: Square, Distance, Vanishing, Coordinate Bounds, Homogeneity, Triangle Inequalities and Expansion of a Square, and the open ball B(x,r) does not contain a, since dE(x,a)=r is not less than r; thus B(x,r)⊆Rq∖{a}, and Rq∖{a} is open. Hence {a} is closed. A finite set F is either empty, and then closed by claim 1 of Complements, Unions and Intersections of Closed Sets in a Topological Space, or has n elements for some n∈N by Finite Set, that is, is the image of a bijection [n]→F by Number of Elements of a Set, and then F=⋃i=1n{ai} with ai the image of i, a finite union of closed sets, closed by claim 2 of that lemma. Closed sets belong to B(Rq) by Product Measures and Lebesgue Measure on ℝⁿ: Standing Notation and Background (iv), and so do their complements by σ-Algebra and Measurable Space. For the last assertion, if F=∅ the map is the constant 0, Borel by claim 1 of Arithmetic of Measurable Real- and [0,∞]-Valued Maps; otherwise, with a1,…,an as above, the map equals ∑i=1nw(ai)1{ai} pointwise: at x=aj every summand with i=j vanishes by injectivity of i↦ai, so the sum is w(aj) by claim 7 of Properties of Finite Sums, and at x∈/F every summand vanishes, so the sum is 0 by the same claim. Each 1{ai} is Borel by claim 1 of Arithmetic of Measurable Real- and [0,∞]-Valued Maps, as {ai}∈B(Rq), and the finite linear combination is Borel by claim 2 there.