Topic 2. Mathematical theories for spiking networks