Nicely written enjoyed reading it . Lots of questions came up as I was reading this. Is a dream what we call AI or Machine Learning ? Our brain ( CPU ) is continuing to perform without external stimuli creating its own alternate reality ( scary ) . Is that bi-polar ? Or is the dream a delayed reaction to stimuli received earlier in your day . Imagine a traffic jam in your mind during the day , so all stimuli have yet to be reacted to. So when you sleep the brain slowly starts reacting to the stimuli in your queue .