Reductions in streaming algorithms, with an application to counting triangles in graphs | Synapse