Davinci was consumed with his works, and wanted to maximize time spent working on them without sacrificing quality of thought.
It also poses the reality that if youre stuck on a problem, sleeping and then coming back to it works more often than not.
Something about dreaming that connects things for you.