If we consider AI in some hypothetical large-scale implementation. Suppose search services are transformed into expert systems and then into the global artificial intelligence. Probably, the Turing test such a thing will pass, but it still will not have something that encourages to set tasks to itself. Those. there will be no will. It is worth noting here that intuitive human ideas about the will are usually formed in the conditions of society. As a result, the will is conceived as an opportunity to set fairly spontaneous, random goals, which are usually directly or indirectly stimulated by social interactions. For a hypothetical God this does not work. God is a loner. His goals are more like the laws of the universe, according to which everything develops. AI in this sense is like God.
18th-century philosophers were often at the same time mathematicians and, curiously, many of them were obsessed with the idea of ​​a single universal law or principle that governs the entire universe. They talked about the
principle of minimum . Now a forgotten idea, it seems to me that she is really beautiful. Its implementation would be a natural candidate for what might be called the will of God. Naturally, the aforementioned philosophers did not solve the problem in general, but they developed classical mechanics in that version, which later turned out to be convenient for generalization to quantum mechanics. Who cares, read about Lagrangian on Wikipedia. Surprisingly - the forgotten philosophical idea lies at the basis of modern physics, in particular, the standard model, within which the Higgs bosons were predicted and experiments were conducted at the Large Hadron Collider. Nowadays, Sergey Grinchenko
develops a similar theory in relation to the evolution of biological systems.
In quite complex systems, finding a minimum in a certain way of a mathematically given value can easily become a super-complex task, which can be divided into many stages and subtasks and can take as many millions of years :) Even for the artificial superintelligence mentioned at the beginning. So from the outside it can really be like the realization of some kind of “world will” in it.