Three-dimensional topology and Verlinde formulas