I am trying to understand the SSH model. I am studying the book A Short Course on Topological Insulators by J. Asbóth. I have a problem because he claims that eigenstates may be decomposed into external and internal degrees, i.e.,
$$|m, \alpha\rangle = |m\rangle \otimes |\alpha\rangle,$$
where $|m\rangle$ denotes a unit cell and $\alpha$ means sublattice $A$ or $B$.
Then he introduces a basis in momentum space, i.e.,
$$|k\rangle = \frac{1}{\sqrt{N}}\sum_{m=1}^N e^{imk}|m\rangle \quad k\in \mathrm{First~Brilloune~Zone}.$$
And now he defines eigenstate as follows
$$ |\psi_n(k)\rangle = |k\rangle \otimes|u_n(k)\rangle, $$
$$|u_n(k)\rangle = a_n(k)|A\rangle + b_n(k) |B\rangle,$$ where $|u_n(k)\rangle$ are the eigenstates of the bulk momentum Hamiltonian which is defined as $$ H(k) = \sum_{\alpha,\beta\in\{A,B\}} \langle k | H_{bulk} | k \rangle = \sum_{\alpha,\beta\in\{A,B\}} \langle k, \alpha | H_{bulk} | k, \beta \rangle \cdot |\alpha\rangle\langle\beta|. $$
And I am baffled by all these signs. What are $H(k)$ and how he gets this form after the second equal to? Moreover, he defines $|\psi_n(k)\rangle$ and doesn't use it. Instead, he projects Hamiltonian od $k$ states, but $|u_n(k)\rangle$ are eigenstates of this Hamiltonian. Can somebody please explain it to me?