Homotopy based on Marcus–Wyse topology and its applications