I am trying to work through this Karoubi paper on twisted bundles for research purposes.
I understand most of the construction, however, one point is still confusing me. The paper seems to insist on the following isomorphism:
$H^2 (X, U(1)) \simeq H^3 (X, Z)$
or sometimes:
$H^2 (X, C^{\times})$ instead of U(1).
Using the Universal Coefficient Theorem, it seems like:
$H^2 (X, U(1)) \simeq (U(1))^{\beta_2} \times T_2$
but we know that:
$H^3 (X, Z) \simeq Z^{\beta_3} \times T_2$ from the UCT for Z into Z.
So the torsion part is correct, but the Betti number part seems like it's off by one. Am I missing something obvious?
PS: I used the following facts for the UCT:
$\forall G, Ext_Z (Z, G) \simeq 0$
$Ext_Z (Z/n, U(1)) \simeq U(1)/nU(1) \simeq 0$
$\forall G, Hom_Z (Z, G) \simeq G$
$Hom_Z (Z/n, U(1)) \simeq \{x \in U(1) | nx = 0\} \simeq Z/n$
The notation $H^2(X, U(1))$ is somewhat ambiguous. It could mean one of two possible things depending on whether or not $U(1)$ is taken with the discrete topology or with the usual topology. With the usual topology, we have $H^2(X, U(1)) \cong H^3(X, \mathbb{Z})$. With the discrete topology, we have a short exact sequence
$$0 \to \mathbb{Z} \to \mathbb{R} \to U(1) \to 0$$
inducing a long exact sequence
$$\dots \to H^2(X, \mathbb{Z}) \to H^2(X, \mathbb{R}) \to H^2(X, U(1)) \to H^3(X, \mathbb{Z}) \to H^3(X, \mathbb{R}) \to \dots$$
so things are more complicated in this case.