Theoretical physics and astrophysics