This is really beautiful. And no matter what happens, two things have to be true: some form of lively philosophic and religious richness will keep being a core part of our history and will touch every person in some way; and it will change enormously over time (maybe with math continuing to be a small part, maybe not).
There is a part of math that is like that. There's also another part (as Vladimir Arnold provocatively said):
> All mathematics is divided into three parts: cryptography (paid for by CIA, KGB and the like) hydrodynamics (supported by manufacturers of atomic submarines) celestial mechanics (financed by military and other institutions dealing with missiles, such as NASA).
> Cryptography has generated number theory, algebraic geometry over finite fields, algebra, combinatorics and computers.
> Hydrodynamics procreated complex analysis, partial differential equations, Lie groups and algebra theory, cohomology theory and scientific computing.
> Celestial mechanics is the origin of dynamical systems, linear algebra, topology, variational calculus and symplectic geometry.
Those parts can just be delegated to AI the same way they used to be delegated to mathematicians. But Arnold continued:
> The existence of mysterious relations between all these different domains is the most striking and delightful feature of mathematics (having no rational explanation).