The topology of the AdS/CFT/Randall–Sundrum complementarity