If B then A is the same as if X then Y is the same as if A then B. They are saying it's the same as the OP. Changing the letters around doesn't change the meaning since the letters are just placeholders.
Now if you said If A then B AND If B then A as one it wouldn't be the same because A and B would have to keep the same meaning.
This is my Roman Empire