Let $\pi:P \to M $ be a smooth circle bundle, so $S^1$ is the fibre, $f:N \to M$ a smooth map. I would like to know what are the necessary and sufficient conditions for $f$ to lift to a map $g:N \to P$ covering $f$.
There are related questions reading which I think the answer is that $f$ lifts if and only if $f^*:H^2(M,\mathbb{Z})\to H^2(N,\mathbb{Z})$ is the zero map. However my understanding of algebraic topology is very basic and I cannot quite follow the arguments presented, so I would like for someone to confirm or correct what I wrote. Incidentally, advice for the most accessible introduction to obstruction theory you know of would be appreciated.
In fact I am interested in a related but slightly different question: with $\pi:P\to M$ as above when does a diffeomorphism $f:M\to M$ lifts to a map $h:P\to P$? If the above criterium is correct $f$ lifts if and only if $\pi^*: H^2(M) \to H^2(P)$ is the zero map. Can anything be said about when that happens given that $P$ is a circle bundle?
You do not need obstruction theory for that: $f$ lift to $g$ if and only if $[v]=f^*([u])=0$ where $u\in H^2(M,\mathbb{Z})$ is the Euler class of $P\rightarrow M$. To see that:
Consider the pullback $f':P'\rightarrow N$ of $P\rightarrow M$. It is classified by $[v]$. $[v]=0$, if and only if $P'\rightarrow N$ is trivial, This is equivalent to $P'$ is isomorphic to $N\times S^1$ which induces a section $g':N\rightarrow P'$ that can be composed with $P'\rightarrow P$ (the projection of the pullback). On the other hand, if the map $g$ is a lift of $f$, $g$ defines a section of the pullback of $P\rightarrow M$ by $f$, which is thus trivial since it is a principal bundle.