I see it exactly in the reverse. IMO, reality from necessity is based on simple mathematical functions and interactions of the *stuff* which makes up our universe. Granting that we do not know everything that make up this stuff and their mathematical functions and interactions, humans can and do imagine things which are not mathematically possible. A sentient and motivated God is but one example of a mathematically impossible human imaginary construct, IMO. The fact that many people believe in such a construct is due to a human need to make sense of those things we do not yet understand. In the past Gods were part of our everyday life, but as we learn and understand more and more of universal functions all those gods have fallen by the wayside, until there was only an Image (Tulpa) of a single God, which already has become a *God of the gaps*, due to our ever expanding knowledge of the stuff and their mathematical functions and interactions in this universe.