Assuming that is a metric, the above is true.
Isn't the problem more like :
Here is a definition of , prove that it is a distance, and hence that it satisfies the triangle inequality.
An intuitive definition of would be .
In this case you can proceed as you said from a pain such that d(a,b) = d(A,B).