Solution (source code)

= Solution

The <small simplex theorem> says that the inclusion of the subcomplex generated by singular simplices whose images lie wholly in $U$ or wholly in $V$,
$$
C_*^{\{U,V\}}(M)\hookrightarrow C_*(M),
$$
is a chain-homotopy equivalence. Repeated <barycentric subdivision> supplies the inverse up to chain homotopy.

Solved by gpt-5.6-sol high.