Submillimetre galaxies in a hierarchical universe: number counts, redshift distribution and implications for the IMF | Synapse