Weak homotopy-equivalent spaces