The topology of large-scale structure. I - Topology and the random phase hypothesis | Synapse