TITLE: Second page of Leray-Serre spectral sequence for fiber bundles
QUESTION [5 upvotes]: Given a fiber bundle $(E,B,p,F)$ with path connected base $B$ and fiber $F$, both closed smooth manifolds of finite dimensions. The second page $E_2^{p,q}$ of the Leray-Serre spectral sequence over $\mathbb{Z}_2$ is give by $H^p(B;\mathcal{H}^q(F;\mathbb{Z}_2))$, where $\mathcal{H}^q(F;\mathbb{Z}_2)$ is the local system (sheaf) of $\mathbb{Z}_2$-vector spaces on $B$ given by $\mathcal{H}^q(F;\mathbb{Z}_2)|_b=H^q(p^{-1}(b);\mathbb{Z}_2)$ for any $b\in B$. In the case this local system is trivial, namely, $\pi_1(B)$ acts trivially on it, we have $$E_2^{p,q}=H^p(B;\mathcal{H}^q(F;\mathbb{Z}_2))=H^p(B;\mathbb{Z}_2)\otimes H^q(F;\mathbb{Z}_2).$$ 
But if the local system is nontrivial, is there still any relation between two vector spaces $E_2^{p,q}$ and $H^p(B;\mathbb{Z}_2)\otimes H^q(F;\mathbb{Z}_2)$? More generally, is it true that the bi-graded $\mathbb{Z}_2$-algebra $E_2^{*,*}$ is  isomorphic as bi-graded $\mathbb{Z}_2$-algebras to  $\left(H^*(B;\mathbb{Z}_2)\otimes H^*(F;\mathbb{Z}_2)\right)/I$ for some ideal $I$?

REPLY [2 votes]: Let me first explain why your intuition is wrong, then let me provide a counterexample. You claim that "It is hard to imagine that $E_2^{*,*}$ has generators that cannot be expressed as a polynomial in generators of $H^*(B;\mathbb Z_2)$ and $H^∗(F;\mathbb Z_2)$". But it is not so hard to imagine, as the generators of $H^∗(F;\mathbb Z_2)$ in general do not correspond to any elements of $E_2^{*,*}$ at all. If they are not there, obviously elements that are there do not correspond to polynomials in them.
There are maps, but in the other direction, from $H^0(B;\mathcal H^q(F, \mathbb Z_2))$ to $H^q(F,\mathbb Z_2)$, but those don't help you.
A counterexample is provided by any space where $H^0(B;\mathcal H^1(F, \mathbb Z_2))$ vanishes but $H^1(B;\mathcal H^1(F, \mathbb Z_2))$ is nonzero. Then there is no such ideal $I$, because it would have to contain all of $H^1( F;\mathbb Z_2)$ but not all of $H^1(B;\mathbb Z_2) \otimes H^1(F,\mathbb Z_2)$.
We can do this using a suitable $T^2$-bundle on a Riemann surface $S$of genus $g \geq 2$. (If you used $\mathbb Q$-coefficients, an $S^1$-bundle would suffice.) Indeed, we can choose the torus bundle so the monodromy representation of $\pi_1(S)$ on $H^1(T_2,\mathbb Z)$ (and hence $H^1(T_2,\mathbb Z_2)$) factors through a cyclic subgroup of order $3$ acting by an order $3$ element of $GL_2(\mathbb Z)$. So $\mathcal H^1(F,\mathbb Z_2)$, as a sheaf, comes from a nontrivial irreducible two-dimensional representation of $\pi_1$. Then there are no global sctions of $\mathcal H^1(F,\mathbb Z_2)$, so $H^0(S, \mathcal H^1(F,\mathbb Z_2)) =0$, but by the Euler characteristic formula
$$\dim H^0(S, \mathcal H^1(F,\mathbb Z_2)) - \dim H^1(S, \mathcal H^1(F,\mathbb Z_2)) + \dim H^2(S, \mathcal H^1(F,\mathbb Z_2)) =2 (2-2g)$$
we can see that $H^1(S, \mathcal H^1(F,\mathbb Z_2)) $ is nonvanishing.