Theoretical solid state physics