Consider special points s_1,\ldots,s_n,\ldots\in \mathrm{S}_\approx with representatives [\tau_1, a_1],\ldots,[\tau_1, a_n],\ldots\in \mathrm{S},
\sigma: s_i\mapsto t_i,\ \ t_i=[\tau_i,b_i]_\approx, \mbox{ canonical representatives}.
Since \sigma preserves R, we get
\vDash R(s_1,s_i,t_1,t_i), \mbox{ for }i=1,...,n,...
and hence
b_i=r_i\cdot a_i\cdot \det r_i^{-1},\ r_i\in N_{\tau_i}, \ \det r_1=\det r_i, \mbox{ for }i=1,...,n...
By ? there is a \rho\in \mathrm{Aut}\, \mathbf{S}^\mathrm{Pure}(\mathrm{CM}) such that r_i=r_{\tau_i}(\rho), i=1,...,n..., and hence
s_i^\sigma=t_i=[\tau_i,b_i \Delta]=[\tau_i,a_i\Delta]^\rho=s_i^\rho,\ \ i=1,...,n...
Claim proved.
Note that the last argument in the proof of the claim also shows that \bigwedge_i R(s_1,s_i,t_1,t_i) implies the existence of \sigma: s_i\mapsto t_i.
Now let \sigma\in \mathrm{Aut}\, \tilde{\mathbb{H}}^\mathrm{Pure} and \sigma^\mathrm{CM} be its restriction to \tilde{\mathbb{H}}(\mathrm{CM}). By the claim there is \rho^\mathrm{CM}\in \mathrm{Aut}\, \mathbf{S}^\mathrm{Pure}(\mathrm{CM}) whose restriction to \tilde{\mathbb{H}}(\mathrm{CM}) is \sigma^\mathrm{CM}.
Since special points are Zariski dense in the components \mathrm{S}^\mu_{K(N)}, \rho^\mathrm{CM} determines the unique bijective map \mathrm{S}^\mu\to \mathrm{S}^{\rho^\mathrm{CM}(\mu)} on the set of components of \mathrm{S}. More precisely,
\rho^\mathrm{CM}(\mu)=\mu\cdot \lambda_{\rho}
where \lambda_{\rho}=\det r_\tau(\rho^\mathrm{CM})\in \hat{{\mathbb Z}}^\times is obtained from the property (?) of automorphisms acting on CM-points.
Consider an arbitrary s\in \mathrm{S}_\approx. It follows from the definition of \approx that for each component \mathrm{S}^\mu there is a unique x\in \mathrm{S}^\mu such that x_\approx=s. Call this element x(s,\mathrm{S}^\mu). By construction any element of \mathrm{S} has the form x(s,\mathrm{S}^\mu) for some s\in \mathrm{S}_\approx and a component \mathrm{S}^\mu of \mathrm{S}.
Consider the element \mathbf{t}\in \mathrm{GL}_2^+({\mathbb Q}) and the set \mathbf{t}^\Delta definable in \tilde{\mathbb{H}}^\mathrm{Pure} by definition. Elements \mathbf{t}^\mu of \mathbf{t}^\Delta can be identified with curves C^\mu_{\mathbf{t}/\approx} on \tilde{\mathbb{H}}\times \tilde{\mathbb{H}} (see ?A(b)) and there is a one-to-one correspondence between elements \mathbf{t}^\mu of \mathbf{t}^\Delta and components \mathrm{S}^\mu of \mathrm{S} given by
C^\mu_{\mathbf{t}}=C_{\mathbf{t}}\cap (\mathrm{S}^\mu\times \mathrm{S}^\mu)
(see ?A).
Clearly,
\rho^\mathrm{CM}: \mathbf{t}^\mu\mapsto \mathbf{t}^{ \rho^\mathrm{CM}(\mu)}=\sigma(\mathbf{t}^\mu)=\mathbf{t}^{ \sigma(\mu)},\ \ \mathbf{t}^{ \rho^\mathrm{CM}(\mu)}=\mathbf{t}^{\mu\cdot \lambda_\rho}=\mathbf{t}^{\mu\cdot \lambda_\sigma}.
for \sigma and \rho^\mathrm{CM} as above. This gives us an extension of the action of \sigma\in \mathrm{Aut}\, \tilde{\mathbb{H}}^\mathrm{Pure} to components of \mathrm{S},
\sigma: \mathrm{S}^\mu \to \mathrm{S}^{\mu\cdot \lambda_\sigma}.
Define the map
\rho: \mathrm{S}\to \mathrm{S}; \ \ x(s,\mathrm{S}^\mu)^\rho:= x(s^\sigma, \mathrm{S}^{\mu\cdot \lambda_\sigma}).
This is the lift of \sigma\in \mathrm{Aut}\, \tilde{\mathbb{H}}^\mathrm{Pure} to a transformation \rho of \mathrm{S} and by definition the restriction of \rho to the CM-substructure is \rho^\mathrm{CM} above.
By construction \rho respects the splitting of \mathrm{S} into components.
In order to prove that \rho\in \mathrm{Aut}\, \mathbf{S}^\mathrm{Pure} it remains to prove that \rho respects the action by elements of \mathrm{GL}_2(\mathbb{A}_f).
Consider h\in \Delta'({\mathbb Q}_+)\cdot \mathrm{SL}_2(\mathbb{A}_f). By definition ?A(b)) via the action on \mathrm{S}^\mu h induces on \tilde{\mathbb{H}} the transformation h^\mu. This means that
h\cdot x(s,\mathrm{S}^\mu)=x(h^\mu\cdot s,\mathrm{S}^\mu)
and thus
(h\cdot x(s,\mathrm{S}^\mu))^\rho=x(h^\mu\cdot s,\mathrm{S}^\mu)^\rho=
x((h^{\mu}\cdot s)^\sigma, \mathrm{S}^{\mu\cdot \lambda_\sigma})=x(h^{\mu\cdot \lambda_\sigma}\cdot s^\sigma, \mathrm{S}^{\mu\cdot \lambda_\sigma})=
=h\cdot x(s^\sigma, \mathrm{S}^{\mu\cdot \lambda_\sigma})=
h\cdot x(s,\mathrm{S}^\mu)^\rho
which proves that any such h is invariant under \rho.
Next consider the action of an element d of \Delta(\mathbb{A}_f) on x(s,\mathrm{S}^\mu). Since any a\in \mathbb{A}_f can be represented as a=q\cdot \nu, for q\in {\mathbb Q}_+ and \nu\in \hat{{\mathbb Z}}^\times, d can be represented as d=\mathbf{d}_q\cdot \mathbf{d}_\nu. Thus, the action by d is invariant under \rho if and only if the action by \mathbf{d}_\nu is.
We have by construction
\mathbf{d}_\nu\cdot x(s,\mathrm{S}^\mu)=x(s,\mathrm{S}^{\mu\cdot\nu})
Thus
(\mathbf{d}_\nu\cdot x(s,\mathrm{S}^\mu))^\rho= x(s,\mathrm{S}^{\mu\cdot\nu}))^\rho=x(s^\sigma,\mathrm{S}^{\mu\cdot\nu\cdot \lambda_\sigma})=\mathbf{d}_\nu\cdot x(s^\sigma,\mathrm{S}^{\mu\cdot \lambda_\sigma})=\mathbf{d}_\nu\cdot x(s,\mathrm{S}^{\mu})^\rho
which proves that the actions by \mathbf{d}_\nu and by d on \mathrm{S} are invariant under \rho.
Since any element of \mathrm{GL}_2(\mathbb{A}_f) can be represented in the form d\cdot h where d\in \Delta(\mathbb{A}_f) and h\in \mathrm{SL}_2(\mathbb{A}_f) we proved that \rho satisfies (?) and thus \rho\in \mathrm{Aut}\, \mathbf{S}^\mathrm{Pure}. \rho is the lifting of \sigma\in \mathrm{Aut}\, \tilde{\mathbb{H}}^\mathrm{Pure} to \mathrm{Aut}\, \mathbf{S}^\mathrm{Pure}.
This completes the proof of the theorem. \Box