I'm going to assume that you're asking if this is correct, which is yes.
If x = y, then anything x is, y would be the same.
4.6m questions
5.9m answers