For a CW complex , let be its -skeleton. The cellular chain complex is
The isomorphism uses excision and , after choosing an orientation for each cell. In degree zero, take and the free group on the vertices. The differential is the composite
The long exact sequences of skeleton pairs imply . The cellular boundary formula describes its coefficient at a -cell as the mapping degree of the attaching sphere after all other -cells are collapsed. In degree one this is the signed difference of the two endpoints. The cellular homology theorem identifies the homology of this complex with singular homology: relative homology of successive skeletons is concentrated in their cell dimension, and the exact skeleton sequences leave precisely these kernels modulo images. This is the construction, rather than merely a count of cells.
The filtration gives one cell in each of dimensions zero, two and four, since . There are no odd-dimensional cells, so every cellular differential vanishes. Thus
The complex projective line has one zero-cell and one two-cell. Its product with itself has one zero-cell, two two-cells and one four-cell. Its cellular chain complex again has zero differentials, giving
A homeomorphism induces isomorphisms on homology groups. The second groups have different ranks, and therefore
Now orient the Complex projective plane by its complex coordinates. The inclusion of its two-skeleton identifies the fundamental class of a projective line with a generator of : the cellular generator has no incoming three-cell boundary and no outgoing boundary.
Take the projective lines and . A path of unitary coordinate transformations takes one to the other, so their oriented homology classes are both . They meet in the single point . In its affine chart, let and . Their tangent spaces are the complex -axis and complex -axis, so the intersection is a transverse intersection. The ordered real bases
concatenate to the complex orientation of the ambient four-manifold. Thus the local sign is , and
This computes the intersection form using distinct representatives of the same class, avoiding an ill-defined attempt to count a line intersecting itself as a set. Bilinearity now gives
Equivalently, the map sending to is an isomorphism. This is exactly a unimodular intersection pairing, and proves projective lines generate a unimodular intersection form. Reversing the ambient orientation would change the matrix to and would still be unimodular.
The fundamental class of a complex projective line generates . Two distinct projective lines are homologous and meet at one transverse point. In complex affine coordinates their two complex tangent lines concatenate to the complex orientation of the plane, so the signed intersection is . The integral intersection form therefore has matrix , giving a unimodular intersection pairing. This computes a self-intersection through distinct representatives of the same class.