This trick loosely reminds me of Neal Stephenson's excellent Anathem; by imagining a narrative in which you've solved the problem you're trying to solve, you actually create that narrative with the solved problem; then it's just a matter of merging that narrative with your own.