The unifying theme of this book is the interplay among noncommutative geometry, physics, and number theory. The two main objects of investigation are spaces where both the noncommutative and the motivic aspects come to play a role: space-time, where the guiding principle is the problem of developing a quantum theory of gravity, and the space of primes, where one can regard the Riemann hypothesis as a long-standing problem motivating the development of new ...