Most regular people have known this for years. Science is slow to catch on. I have solved more problems and come up with more ideas in my sleep than any other time. The key is to write it down as soon as you can. Because once you’re awake for a while all that background clutter caused by daily life dims down the thought.
If I had more time to sleep I’d be a genius.
All my life I have counted on solving problems in my sleep.
"Friedrich Kekule and the Benzene Ring
He was not a brilliant chemist nor was he an exceptional teacher, yet Friedreick Kekule is credited with making one of the more amazing chemical discoveries of the time. How did he do it? Through what he called 'a waking dream.' "
The only problem with it is that most dreams are in "Volatile memory" and not "Written to disk", and upon awakening, I can actually see them fade. A paper and pencil or a small recorder by the bed is important.