[summary: Here, we prove that the Universal property of the product characterises objects uniquely up to Isomorphism. That is, if two objects both satisfy the universal property of the product of A and B, then they are isomorphic objects.]
Recall the Universal property of the product:
Given objects A and B, we define the product to be the following collection of three objects, if it exists: A×BπA:A×B→AπB:A×B→B with the requirement that for every object X and every pair of maps fA:X→A,fB:X→B, there is a unique map f:X→A×B such that πA∘f=fA and πB∘f=fB.
We wish to show that if the collections (R,πA,πB) and (S,ϕA,ϕB) satisfy the above condition, then there is an Isomorphism between R and S. %%note: I'd write A×1B and A×2B instead of R and S, except that would be really unwieldy. Just remember that R and S are both standing for products of A and B.%%
Proof
The proof follows a pattern which is standard for these things.
Since R is a product of A and B, we can let X=S in the universal property to obtain:
For every pair of maps fA:S→A,fB:S→B there is a unique map f:S→R such that πA∘f=fA and πB∘f=fB.
Now let fA=ϕA,fB=ϕB:
There is a unique map ϕ:S→R such that πA∘ϕ=ϕA and πB∘ϕ=ϕB.
Doing the same again but swapping R for S and ϕ for π (basically starting over with the line "Since S is a product of A and B, we can let X=R…"), we obtain:
There is a unique map π:R→S such that ϕA∘π=πA and ϕB∘π=πB.
Now, π∘ϕ:S→S is a map which we wish to be the identity on S; that would get us halfway to the answer, because it would tell us that π is left-inverse to ϕ.
But we can use the universal property of S once more, this time looking at maps into S:
For every pair of maps fA:S→A,fB:S→B there is a unique map f:S→S such that ϕA∘f=fA and ϕB∘f=fB.
Letting fA=ϕA and fB=ϕB, we obtain:
There is a unique map f:S→S such that ϕA∘f=ϕA and ϕB∘f=ϕB.
But I claim that both the identity 1S and also π∘ϕ satisfy the same property as f, and hence they're equal by the uniqueness of f. Indeed,
- 1S certainly satisfies the property, since that would just say that ϕA=ϕA and ϕB=ϕB;
- π∘ϕ satisfies the property, since we already found that ϕA∘π=πA and that ϕB∘π=πB.
Therefore π is left-inverse to ϕ.
Now to complete the proof, we just need to repeat exactly the same steps but with (R,πA,πB) and (S,ϕA,ϕB) interchanged throughout. The outcome is that ϕ is left-inverse to π.
Hence π and ϕ are genuinely inverse to each other, so they are both isomorphisms R→S and S→R respectively.
The characterisation is not unique
To show that we can't do better than "characterised up to isomorphism", we show that the product is not characterised uniquely. Indeed, if (A×B,πA,πB) is a product of A and B, then so is (B×A,π′A,π′B), where π′A(b,a)=a and π′B(b,a)=b. (You can check that this does satisfy the universal property for a product of A and B.)
Notice, though, that A×B and B×A are isomorphic as guaranteed by the theorem. The isomorphism is the map A×B→B×A given by (a,b)↦(b,a).