Use cohomology with coefficients in . The cellular homology of real projective space has one cell in degrees zero, one and two, and its boundary coefficients become zero modulo two. Hence there is a one-dimensional cohomology group in each of those degrees. Let be the Poincare dual of a projective line. Two distinct projective lines intersect transversely in one point, so . Thus
This is the mod-two cohomology ring of real projective space in dimension two. The Künneth theorem over a field makes the cross product an isomorphism of graded rings. Writing for the factor pullbacks gives
There are no additional signs over .
The obstruction to a graph avoiding the diagonal is the mod-two diagonal class of the real projective plane. Its dual class is determined by
where is the diagonal embedding. Test . Each diagonal pullback is , with evaluation one. Since is the product's top generator, comparison of coefficients gives
If the submanifold were the graph of a smooth map , its parametrization would be . For some , , and therefore
On the other hand, the Poincare dual of the diagonal comes from its relative Thom class in . It restricts to zero on the complement. A graph disjoint from the diagonal would factor through that complement and force , a contradiction. Such a submanifold cannot be the graph of a smooth map . The relative Thom-class argument also applies to continuous self-maps.